Research map / Architectures and efficiency / RNNs and normalization
On the Embeddings of Variables in Recurrent Neural Networks for Source Code
Nadezhda Chirkova
HSE University
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
12improved
1hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| replace static with dynamic embeddings (anonymized data) | LSTM+pointer · Python150k code completion | accuracy (%): 60.28 -> 66.90 | Improved |
| replace static with dynamic embeddings (anonymized data) | plain LSTM · Python150k code completion | accuracy (%): 55.76 -> 66.35 | Improved |
| replace static with dynamic embeddings (anonymized data) | LSTM+pointer · JavaScript150k code completion | accuracy (%): 57.67 -> 62.85 | Improved |
| replace static with dynamic embeddings (anonymized data) | BiLSTM · Python150k variable misuse | joint accuracy (%): 25.17 -> 63.64 | Improved |
| replace static with dynamic embeddings (anonymized data) | BiLSTM · JavaScript150k variable misuse | joint accuracy (%): 13.16 -> 53.53 | Improved |
| replace static with dynamic embeddings (static initialization, full data) | LSTM+pointer · Python150k code completion | accuracy (%): 64.69 -> 68.61 | Improved |
| replace static with dynamic embeddings (static initialization, full data) | LSTM+pointer · JavaScript150k code completion | accuracy (%): 65.05 -> 65.67 | Improved |
| replace static with dynamic embeddings (static initialization, full data) | BiLSTM · JavaScript150k variable misuse | joint accuracy (%): 35.06 -> 53.74 | Improved |
| remove variable names (anonymized data) while using dynamic embeddings, versus static embeddings on full data (ablation) | LSTM+pointer · Python150k code completion | accuracy (%): 64.69 -> 66.90 | Improved |
| remove variable names (anonymized data) while using dynamic embeddings, versus static embeddings on full data (ablation) | LSTM+pointer · JavaScript150k code completion | accuracy (%): 65.05 -> 62.85 | Hurt |
| remove variable names (anonymized data) while using dynamic embeddings, versus static embeddings on full data (ablation) | BiLSTM · Python150k variable misuse | joint accuracy (%): 54.78 -> 63.64 | Improved |
| use variable names as initialization of dynamic embeddings (full data) instead of constant initialization (ablation) | LSTM+pointer · Python150k code completion | accuracy (%): 66.90 -> 68.61 | Improved |
Open problems in LSTM design and memory
How far do the memory and long-range results of recurrent models hold beyond their narrow theory and test settings?
- Findings come from one model, one dataset or one language. · 5 papers state it
- Theory is tied to continuous-time, linear or asymptotic assumptions. · 3 papers state it
- Hyperparameters were fixed or lightly searched and results may shift. · 3 papers state it
Closest papers by meaning
- Dynamic Neural Program Embeddings for Program Repair (ICLR 2018 · similarity 0.88)
- Neural Code Comprehension: A Learnable Representation of Code Semantics (NeurIPS 2018 · similarity 0.87)
- Learning and Evaluating Contextual Embedding of Source Code (ICML 2020 · similarity 0.87)
- Variable Computation in Recurrent Neural Networks (ICLR 2017 · similarity 0.86)
- Automatic Generation of Text Descriptive Comments for Code Blocks (AAAI 2018 · similarity 0.86)
- CODE REPRESENTATION LEARNING AT SCALE (ICLR 2024 · similarity 0.84)
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.