mlsanityData to 7 Oct 2026

Learning Autocompletion from Real-World Datasets

arXiv 2011.04542 ↗First posted 9 Nov 2020cs.SEcited by 19

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

Cited by year

Citing papers per year: 2021: 3; 2022: 8; 2023: 5; 2024: 2; 2025: 1.

19 papers.

Sort:

By area:

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  3. 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
  4. 2022Productivity Assessment of Neural Code Completioncited by 97
  5. 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
  6. 2024Language Models for Code Completion: A Practical Evaluationcited by 38
  7. 2023Large Language Models of Code Fail at Completing Code with Potential Bugscited by 28
  8. 2021Counterfactual Explanations for Models of Codecited by 24
  9. 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
  10. 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
  11. 2023On the Usage of Continual Learning for Out-of-Distribution Generalization in Pre-trained Language Models of Codecited by 7
  12. 2021Improving Code Autocompletion with Transfer Learningcited by 6
7 more
  1. 2022Evaluating Generative Patent Language Modelscited by 6
  2. 2022GPoeT-2: A GPT-2 Based Poem Generatorcited by 5
  3. 2023MPI-rical: Data-Driven MPI Distributed Parallelism Assistance with Transformerscited by 5
  4. 2024A Critical Study of What Code-LLMs (Do Not) Learncited by 4
  5. 2023Neural Machine Translation for Code Generationcited by 3
  6. 2022Sensitivity Analysis on Transferred Neural Architectures of BERT and GPT-2 for Financial Sentiment Analysiscited by 0
  7. 2025Structure-Aware Corpus Construction and User-Perception-Aligned Metrics for Large-Language-Model Code Completioncited by 0