Fast and Memory-Efficient Neural Code Completion
Not on the map. Why?
Abstract (arXiv)
Code completion is one of the most widely used features of modern integrated development environments (IDEs). While deep learning has made significant progress in the statistical prediction of source code, state-of-the-art neural network models consume hundreds of megabytes of memory, bloating the development environment. We address this in two steps: first we present a modular neural framework for code completion. This allows us to explore the design space and evaluate different techniques. Second, within this framework we design a novel reranking neural completion model that combines static analysis with granular token encodings. The best neural reranking model consumes just 6 MB of RAM, - 19x less than previous models - computes a single completion in 8 ms, and achieves 90% accuracy in its top five suggestions.
Key facts. Cited by 38 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 10; 2022: 8; 2023: 11; 2024: 4; 2025: 3; 2026: 2.
38 papers.
Sort:
By area:
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
- 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 55
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2023SALLM: Security Assessment of Generated Codecited by 35
- 2021Code Completion by Modeling Flattened Abstract Syntax Trees as Graphscited by 30
26 more
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 21
- 2022AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language modelscited by 16
- 2023From Commit Message Generation to History-Aware Commit Message Completioncited by 16
- 2023Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completioncited by 14
- 2023FRANC: A Lightweight Framework for High-Quality Code Generationcited by 14
- 2024A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chain Attacks in Hugging Face Modelscited by 12
- 2021Energy-Based Models for Code Generation under Compilability Constraintscited by 10
- 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editingcited by 9
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2024The Fault in our Stars: Quality Assessment of Code Generation Benchmarkscited by 9
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 8
- 2021Recommending Metamodel Concepts during Modeling Activities with Pre-Trained Language Modelscited by 7
- 2023A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Taskscited by 5
- 2021Toward Less Hidden Cost of Code Completion with Acceptance and Ranking Modelscited by 4
- 2024Full Line Code Completion: Bringing AI to Desktopcited by 4
- 2021Learning to Extend Program Graphs to Work-in-Progress Codecited by 3
- 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?cited by 1
- 2021Advances in Electron Microscopy with Deep Learningcited by 0
- 2022CV4Code: Sourcecode Understanding via Visual Code Representationscited by 0
- 2024Insights into resource utilization of code small language models serving with runtime engines and execution providerscited by 0
- 2025Resource-Efficient Automatic Software Vulnerability Assessment via Knowledge Distillation and Particle Swarm Optimizationcited by 0
- 2025Assessing the Software Security Comprehension of Large Language Modelscited by 0
- 2026Complexity-based code embeddingscited by 0
- 2026Beyond FLOPs: Energy-Aware Knowledge Distillation for Sustainable LLMs on Code-Related Taskcited by 0
- 2026Beyond FLOPs: Energy-Aware Knowledge Distillation for Sustainable LLMs on Code-Related Task18 Aug 2026
- 2026Complexity-based code embeddings1 Jan 2026
- 2025Assessing the Software Security Comprehension of Large Language Models24 Dec 2025
- 2025Resource-Efficient Automatic Software Vulnerability Assessment via Knowledge Distillation and Particle Swarm Optimization30 Jul 2025
- 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generation14 Jan 2025
- 2024Insights into resource utilization of code small language models serving with runtime engines and execution providers19 Dec 2024
- 2024A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chain Attacks in Hugging Face Models6 Oct 2024
- 2024Full Line Code Completion: Bringing AI to Desktop14 May 2024
- 2024The Fault in our Stars: Quality Assessment of Code Generation Benchmarks15 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Tasks25 Dec 2023
- 2023SALLM: Security Assessment of Generated Code1 Nov 2023
26 more
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Survey27 Oct 2023
- 2023Towards Automatically Addressing Self-Admitted Technical Debt: How Far Are We?17 Aug 2023
- 2023From Commit Message Generation to History-Aware Commit Message Completion15 Aug 2023
- 2023FRANC: A Lightweight Framework for High-Quality Code Generation17 Jul 2023
- 2023Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completion1 Jun 2023
- 2023Coeditor: Leveraging Contextual Changes for Multi-round Code Auto-editing29 May 2023
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Study30 Apr 2023
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation22 Mar 2023
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning5 Jul 2022
- 2022AST-Probe: Recovering abstract syntax trees from hidden representations of pre-trained language models23 Jun 2022
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs21 May 2022
- 2022Productivity Assessment of Neural Code Completion13 May 2022
- 2022CV4Code: Sourcecode Understanding via Visual Code Representations11 May 2022
- 2022CoCoSoDa: Effective Contrastive Learning for Code Search7 Apr 2022
- 2022ReACC: A Retrieval-Augmented Code Completion Framework15 Mar 2022
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequences14 Feb 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translation13 Oct 2021
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Context26 Jun 2021
- 2021Toward Less Hidden Cost of Code Completion with Acceptance and Ranking Models26 Jun 2021
- 2021Energy-Based Models for Code Generation under Compilability Constraints9 Jun 2021
- 2021Learning to Extend Program Graphs to Work-in-Progress Code28 May 2021
- 2021Recommending Metamodel Concepts during Modeling Activities with Pre-Trained Language Models4 Apr 2021
- 2021Code Completion by Modeling Flattened Abstract Syntax Trees as Graphs17 Mar 2021
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languages15 Feb 2021
- 2021Advances in Electron Microscopy with Deep Learning4 Jan 2021
- 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
- 2022ReACC: A Retrieval-Augmented Code Completion Framework15 Mar 2022
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 357
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2022Productivity Assessment of Neural Code Completioncited by 97
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
- 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generationcited by 55
- 2023Using Large Language Models to Generate JUnit Tests: An Empirical Studycited by 53
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2023SALLM: Security Assessment of Generated Codecited by 35
- 2021Code Completion by Modeling Flattened Abstract Syntax Trees as Graphscited by 30
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
12 most cited of 37 All 37 (JSON)
- 2026Beyond FLOPs: Energy-Aware Knowledge Distillation for Sustainable LLMs on Code-Related Task18 Aug 2026
- 2026Complexity-based code embeddings1 Jan 2026
- 2025Assessing the Software Security Comprehension of Large Language Models24 Dec 2025
- 2025Resource-Efficient Automatic Software Vulnerability Assessment via Knowledge Distillation and Particle Swarm Optimization30 Jul 2025
- 2025CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generation14 Jan 2025
- 2024Insights into resource utilization of code small language models serving with runtime engines and execution providers19 Dec 2024
- 2024A Large-Scale Exploit Instrumentation Study of AI/ML Supply Chain Attacks in Hugging Face Models6 Oct 2024
- 2024Full Line Code Completion: Bringing AI to Desktop14 May 2024
- 2024The Fault in our Stars: Quality Assessment of Code Generation Benchmarks15 Apr 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023A Comprehensive Evaluation of Parameter-Efficient Fine-Tuning on Software Engineering Tasks25 Dec 2023
- 2023SALLM: Security Assessment of Generated Code1 Nov 2023
12 newest of 37 All 37 (JSON)