scimeatlas

Research map / Large language models / Language, safety and interpretability

A Simple Approach for Handling Out-of-Vocabulary Identifiers in Deep Learning for Source Code

Nadezhda Chirkova, Sergey Troshin

NAACL 2021Large language models › Language, safety and interpretabilityapproach: Text generation and evaluation metricsopen problems in this approach12 citations (OpenAlex)

HSE University

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
5improved
3no clear effect
3hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
anonymize OOV identifiers instead of replacing with UNKTransformer · Variable misuse Python, |V_full|=1000joint accuracy (%): 72.36 -> 86.76 (ordered)Improved
anonymize OOV identifiers instead of replacing with UNKTransformer · Variable misuse JavaScript, |V_full|=10000joint accuracy (%): 73.36 -> 82.68 (ordered)Improved
anonymize OOV identifiers instead of UNKTransformer · Code completion value prediction Python, |V_full|=10000MRR (%): 51.8 -> 65.25 (ordered)Improved
anonymize OOV identifiers instead of pointer mechanismTransformer · Code completion Python, |V_full|=10000MRR (%): 64.94 -> 65.25 (ordered)Mixed
anonymize OOV identifiers instead of pointer mechanismTransformer · Code completion Python, |V_full|=100000MRR (%): 65.09 vs 64.27 (ordered)Hurt
use ordered instead of randomized anonymization (ablation)Transformer · Variable misuse Python, |V_full|=10000joint accuracy (%): 86.66 -> 87.72Improved
increase vocabulary of standard model to the maximum (ablation)Standard Transformer · Variable misuse Pythonjoint accuracy (%): 81.42 (50K) -> 80.16 (Max)Hurt
add anonymization of rare identifiers on top of frequent identifier names (vs full anonymization) (ablation)Transformer · Variable misuse Python, |V_full|=1000 vs 1joint accuracy (%): 81.93 -> 86.76 (ordered)Improved
combine pointer mechanism with OOV anonymization (ablation)Transformer · Code completionMRR (%)No clear effect
increase anonymized vocabulary size |V_an| from 0.5K to 3K (ablation)Randomized anonymization · Code completion Python, |V_full|=1kMRR (%): 63.35 -> 62.79Hurt
increase |V_an| above max snippet length (ablation)Randomized anonymization · Variable misusejoint accuracy (%)No clear effect
use frequency-based instead of ordered anonymization (ablation)Transformer · Variable misusejoint accuracy (%)No clear effect

Open problems in text generation and evaluation metrics

Do language, text and evaluation results hold beyond one language, one corpus and one LLM judge?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy