Publication | Closed Access
Learning Autocompletion from Real-World Datasets
25
Citations
22
References
2021
Year
Unknown Venue
Artificial IntelligenceLlm Fine-tuningEngineeringMachine LearningReal-world DatasetsSoftware EngineeringLarge Language ModelSoftware AnalysisCommitted Source CodeNatural Language ProcessingData SciencePattern RecognitionSelf-supervised LearningComputational LinguisticsRobot LearningCompletion Suggestion PredictionSupervised LearningMachine TranslationLarge Ai ModelCode GenerationKnowledge DiscoveryComputer ScienceDeep LearningCode RepresentationCode CompletionProgram AnalysisSoftware TestingAutomated Machine Learning
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1