Learning Autocompletion from Real-World Datasets
Not on the map. Why?
Abstract (arXiv)
Code completion is a popular software development tool integrated into all major IDEs. Many neural language models have achieved promising results in completion suggestion prediction on synthetic benchmarks. However, a recent study When Code Completion Fails: a Case Study on Real-World Completions demonstrates that these results may not translate to improvements in real-world performance. To combat this effect, we train models on real-world code completion examples and find that these models outperform models trained on committed source code and working version snapshots by 12.8% and 13.8% accuracy respectively. We observe this improvement across modeling technologies and show through A/B testing that it corresponds to a 6.2% increase in programmers' actual autocompletion usage. Furthermore, our study characterizes a large corpus of logged autocompletion usages to investigate why training on real-world examples leads to stronger models.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 8; 2023: 5; 2024: 2; 2025: 1.
19 papers.
Sort:
By area:
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2024Language Models for Code Completion: A Practical Evaluationcited by 38
- 2023Large Language Models of Code Fail at Completing Code with Potential Bugscited by 28
- 2021Counterfactual Explanations for Models of Codecited by 24
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
- 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Codecited by 7
- 2021Improving Code Autocompletion with Transfer Learningcited by 6
7 more
- 2022Evaluating Generative Patent Language Modelscited by 6
- 2022GPoeT-2: A GPT-2 Based Poem Generatorcited by 5
- 2023MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformerscited by 5
- 2024A Critical Study of What Code-LLMs (Do Not) Learncited by 4
- 2023Neural Machine Translation for Code Generationcited by 3
- 2022Sensitivity Analysis on Transferred Neural Architectures of BERT and GPT-2 for Financial Sentiment Analysiscited by 0
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completioncited by 0
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completion19 May 2025
- 2024A Critical Study of What Code-LLMs (Do Not) Learn17 Jun 2024
- 2024Language Models for Code Completion: A Practical Evaluation25 Feb 2024
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Large Language Models of Code Fail at Completing Code with Potential Bugs6 Jun 2023
- 2023Neural Machine Translation for Code Generation22 May 2023
- 2023MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformers16 May 2023
- 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Code6 May 2023
- 2022Sensitivity Analysis on Transferred Neural Architectures of BERT and GPT-2 for Financial Sentiment Analysis7 Jul 2022
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning5 Jul 2022
- 2022Evaluating Generative Patent Language Models23 Jun 2022
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs21 May 2022
7 more
- 2022GPoeT-2: A GPT-2 Based Poem Generator18 May 2022
- 2022Productivity Assessment of Neural Code Completion13 May 2022
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequences14 Feb 2022
- 2022Competition-Level Code Generation with AlphaCode8 Feb 2022
- 2021Counterfactual Explanations for Models of Code10 Nov 2021
- 2021Evaluating Large Language Models Trained on Code7 Jul 2021
- 2021Improving Code Autocompletion with Transfer Learning12 May 2021
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2022Competition-Level Code Generation with AlphaCode8 Feb 2022
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2024Language Models for Code Completion: A Practical Evaluationcited by 38
- 2023Large Language Models of Code Fail at Completing Code with Potential Bugscited by 28
- 2021Counterfactual Explanations for Models of Codecited by 24
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
- 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Codecited by 7
- 2021Improving Code Autocompletion with Transfer Learningcited by 6
- 2022Evaluating Generative Patent Language Modelscited by 6
12 most cited of 18 All 18 (JSON)
- 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completion19 May 2025
- 2024A Critical Study of What Code-LLMs (Do Not) Learn17 Jun 2024
- 2024Language Models for Code Completion: A Practical Evaluation25 Feb 2024
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Large Language Models of Code Fail at Completing Code with Potential Bugs6 Jun 2023
- 2023Neural Machine Translation for Code Generation22 May 2023
- 2023MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformers16 May 2023
- 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Code6 May 2023
- 2022Sensitivity Analysis on Transferred Neural Architectures of BERT and GPT-2 for Financial Sentiment Analysis7 Jul 2022
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning5 Jul 2022
- 2022Evaluating Generative Patent Language Models23 Jun 2022
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs21 May 2022
12 newest of 18 All 18 (JSON)