mlsanityData to 7 Oct 2026

Full Line Code Completion: Bringing AI to Desktop

arXiv 2405.08704 ↗First posted 14 May 2024cs.SE cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

In recent years, several industrial solutions for the problem of multi-token code completion appeared, each making a great advance in the area but mostly focusing on cloud-based runtime and avoiding working on the end user's device. In this work, we describe our approach for building a multi-token code completion feature for the JetBrains' IntelliJ Platform, which we call Full Line Code Completion. The feature suggests only syntactically correct code and works fully locally, i.e., data querying and the generation of suggestions happens on the end user's machine. We share important time and memory-consumption restrictions, as well as design principles that a code completion engine should satisfy. Working entirely on the end user's device, our code completion engine enriches user experience while being not only fast and compact but also secure. We share a number of useful techniques to meet the stated development constraints and also describe offline and online evaluation pipelines that allowed us to make better decisions. Our online evaluation shows that the usage of the tool leads to 1.3 times more Python code in the IDE being produced by code completion. The described solution was initially started with a help of researchers and was then bundled into all JetBrains IDEs where it is now used by millions of users. Thus, we believe that this work is useful for bridging academia and industry, providing researchers with the knowledge of what happens when complex research-based solutions are integrated into real products.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 25 of its 74 references that are in the map. First posted on arXiv 14 May 2024.

Builds on

25 of 74 references.

References · 25

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  7. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  8. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  9. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  10. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 798
  11. 2023StarCoder: may the source be with you!cited by 790
  12. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
13 more
  1. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  2. 2023Scaling Data-Constrained Language Modelscited by 391
  3. 2022A Systematic Evaluation of Large Language Models of Codecited by 360
  4. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  5. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
  6. 2022Productivity Assessment of Neural Code Completioncited by 97
  7. 2020Fast and Memory-Efficient Neural Code Completioncited by 38
  8. 2019Program Synthesis and Semantic Parsing with Learned Code Idiomscited by 34
  9. 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
  10. 2023Practitioners' Expectations on Code Completioncited by 8
  11. 2020Towards Full-line Code Completion with Neural Language Modelscited by 6
  12. 2020A Study of Potential Code Borrowing and License Violations in Java Projects on GitHubcited by 5
  13. 2021The IntelliJ Platform: a Framework for Building Plugins and Mining Software Datacited by 3

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.