Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Learning Autocompletion from Real-World Datasets (2011.04542v1)

Published 9 Nov 2020 in cs.SE

Abstract: Code completion is a popular software development tool integrated into all major IDEs. Many neural LLMs 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (3)
  1. Gareth Ari Aye (3 papers)
  2. Seohyun Kim (10 papers)
  3. Hongyu Li (107 papers)
Citations (33)

Summary

We haven't generated a summary for this paper yet.