Big Code != Big Vocabulary: Open-Vocabulary Models for Source Code
Not on the map. Why?
Abstract (arXiv)
Statistical language modeling techniques have successfully been applied to large source code corpora, yielding a variety of new software development tools, such as tools for code suggestion, improving readability, and API migration. A major issue with these techniques is that code introduces new vocabulary at a far higher rate than natural language, as new identifier names proliferate. Both large vocabularies and out-of-vocabulary issues severely affect Neural Language Models (NLMs) of source code, degrading their performance and rendering them unable to scale. In this paper, we address this issue by: 1) studying how various modelling choices impact the resulting vocabulary on a large-scale corpus of 13,362 projects; 2) presenting an open vocabulary source code NLM that can scale to such a corpus, 100 times larger than in previous work; and 3) showing that such models outperform the state of the art on three distinct code corpora (Java, C, Python). To our knowledge, these are the largest NLMs for code that have been reported. All datasets, code, and trained models used in this work are publicly available.
Key facts. Cited by 53 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 11; 2023: 12; 2024: 7; 2025: 7; 2026: 2.
53 papers.
Sort:
By area:
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 193
- 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2024REPOFUSE: Repository-Level Code Completion with Fused Dual Contextcited by 32
- 2021Code Structure Guided Transformer for Source Code Summarizationcited by 29
- 2021On Multi-Modal Learning of Editing Source Codecited by 25
- 2021Learning to Complete Code with Sketchescited by 23
38 more
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2023Guiding Language Models of Code with Global Context using Monitorscited by 20
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representationscited by 17
- 2023Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completioncited by 14
- 2023Toward a Theory of Causation for Interpreting Neural Code Modelscited by 12
- 2023Static Code Analysis in the AI Era: An In-depth Exploration of the Concept, Function, and Potential of Intelligent Code Analysis Agentscited by 12
- 2024Studying LLM Performance on Closed- and Open-source Datacited by 11
- 2024An Investigation into Misuse of Java Security APIs by Large Language Modelscited by 11
- 2022Syntax-Aware On-the-Fly Code Completioncited by 10
- 2024Large Language Model Evaluation Via Multi AI Agents: Preliminary resultscited by 10
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanationscited by 10
- 2024RAMBO: Enhancing RAG-based Repository-Level Method Body Completioncited by 10
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Codecited by 9
- 2021SYNFIX: Automatically Fixing Syntax Errors using Compiler Diagnosticscited by 8
- 2021Capturing Structural Locality in Non-parametric Language Modelscited by 8
- 2021Recommending Metamodel Concepts during Modeling Activities with Pre-Trained Language Modelscited by 7
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completioncited by 7
- 2021Program Merge Conflict Resolution via Neural Transformerscited by 5
- 2022A Neural Network Architecture for Program Understanding Inspired by Human Behaviorscited by 5
- 2022No Word Embedding Model Is Perfect: Evaluating the Representation Accuracy for Social Bias in the Mediacited by 5
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2021Learning to Extend Program Graphs to Work-in-Progress Codecited by 3
- 2022Heterogeneous Graph Neural Networks for Software Effort Estimationcited by 3
- 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Backcited by 3
- 2025The Fools are Certain; the Wise are Doubtful: Exploring LLM Confidence in Code Completioncited by 3
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysiscited by 3
- 2022JEMMA: An Extensible Java Dataset for ML4Code Applicationscited by 2
- 2023ARIST: An Effective API Argument Recommendation Approachcited by 2
- 2023INSPECT: Intrinsic and Systematic Probing Evaluation for Code Transformerscited by 2
- 2022LAMNER: Code Comment Generation Using Character Language Model and Named Entity Recognitioncited by 1
- 2022Cross-Domain Evaluation of a Deep Learning-Based Type Inference Systemcited by 1
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
- 2025Previously on... Automating Code Reviewcited by 1
- 2021DeepMutants: Training neural bug detectors with contextual mutationscited by 0
- 2023Skill over Scale: The Case for Medium, Domain-Specific Models for SEcited by 0
- 2024Lost in Transmission: An Information-Theoretic Account of Unsupervised Software Traceabilitycited by 0
- 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectivescited by 0
50 most cited of 53 All 53 (JSON)
- 2026Understanding the Impact of AI Code Assistants on Security API Usage: An Empirical Study13 Jul 2026
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completion27 Jan 2026
- 2025How Do Semantically Equivalent Code Transformations Impact Membership Inference on LLMs for Code?17 Dec 2025
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis5 Nov 2025
- 2025Previously on... Automating Code Review25 Aug 2025
- 2025The Fools are Certain; the Wise are Doubtful: Exploring LLM Confidence in Code Completion22 Aug 2025
- 2025Resource-Efficient Automatic Software Vulnerability Assessment via Knowledge Distillation and Particle Swarm Optimization30 Jul 2025
- 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectives18 Mar 2025
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representations22 Jan 2025
- 2024Lost in Transmission: An Information-Theoretic Account of Unsupervised Software Traceability6 Dec 2024
- 2024RAMBO: Enhancing RAG-based Repository-Level Method Body Completion23 Sep 2024
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanations12 Jul 2024
38 more
- 2024An Investigation into Misuse of Java Security APIs by Large Language Models4 Apr 2024
- 2024Large Language Model Evaluation Via Multi AI Agents: Preliminary results1 Apr 2024
- 2024Studying LLM Performance on Closed- and Open-source Data23 Feb 2024
- 2024REPOFUSE: Repository-Level Code Completion with Fused Dual Context22 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023INSPECT: Intrinsic and Systematic Probing Evaluation for Code Transformers8 Dec 2023
- 2023Static Code Analysis in the AI Era: An In-depth Exploration of the Concept, Function, and Potential of Intelligent Code Analysis Agents13 Oct 2023
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Code1 Aug 2023
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Code5 Jul 2023
- 2023Guiding Language Models of Code with Global Context using Monitors19 Jun 2023
- 2023ARIST: An Effective API Argument Recommendation Approach11 Jun 2023
- 2023Skill over Scale: The Case for Medium, Domain-Specific Models for SE5 Jun 2023
- 2023Better Context Makes Better Code Language Models: A Case Study on Function Call Argument Completion1 Jun 2023
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generation13 Feb 2023
- 2023CCRep: Learning Code Change Representations via Pre-Trained Code Model and Query Back8 Feb 2023
- 2023Toward a Theory of Causation for Interpreting Neural Code Models7 Feb 2023
- 2022JEMMA: An Extensible Java Dataset for ML4Code Applications18 Dec 2022
- 2022Syntax-Aware On-the-Fly Code Completion9 Nov 2022
- 2022No Word Embedding Model Is Perfect: Evaluating the Representation Accuracy for Social Bias in the Media7 Nov 2022
- 2022Cross-Domain Evaluation of a Deep Learning-Based Type Inference System19 Aug 2022
- 2022Heterogeneous Graph Neural Networks for Software Effort Estimation22 Jun 2022
- 2022A Neural Network Architecture for Program Understanding Inspired by Human Behaviors10 May 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022LAMNER: Code Comment Generation Using Character Language Model and Named Entity Recognition5 Apr 2022
- 2022ReACC: A Retrieval-Augmented Code Completion Framework15 Mar 2022
- 2022A Systematic Evaluation of Large Language Models of Code26 Feb 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
- 2021Capturing Structural Locality in Non-parametric Language Models6 Oct 2021
- 2021Program Merge Conflict Resolution via Neural Transformers31 Aug 2021
- 2021Program Synthesis with Large Language Models16 Aug 2021
- 2021On Multi-Modal Learning of Editing Source Code15 Aug 2021
- 2021Log-based Anomaly Detection Without Log Parsing4 Aug 2021
- 2021DeepMutants: Training neural bug detectors with contextual mutations14 Jul 2021
- 2021Learning to Complete Code with Sketches18 Jun 2021
- 2021Learning to Extend Program Graphs to Work-in-Progress Code28 May 2021
- 2021SYNFIX: Automatically Fixing Syntax Errors using Compiler Diagnostics29 Apr 2021
- 2021Code Structure Guided Transformer for Source Code Summarization19 Apr 2021
50 newest of 53 All 53 (JSON)
- 2022ReACC: A Retrieval-Augmented Code Completion Frameworkcited by 117
- 2022ReACC: A Retrieval-Augmented Code Completion Framework15 Mar 2022
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2022A Systematic Evaluation of Large Language Models of Codecited by 360
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 193
- 2021Log-based Anomaly Detection Without Log Parsingcited by 59
- 2021PalmTree: Learning an Assembly Language Model for Instruction Embeddingcited by 49
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 49
- 2024REPOFUSE: Repository-Level Code Completion with Fused Dual Contextcited by 32
- 2021Code Structure Guided Transformer for Source Code Summarizationcited by 29
- 2021On Multi-Modal Learning of Editing Source Codecited by 25
- 2021Learning to Complete Code with Sketchescited by 23
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
12 most cited of 49 All 49 (JSON)
- 2026Understanding the Impact of AI Code Assistants on Security API Usage: An Empirical Study13 Jul 2026
- 2026AlignCoder: Aligning Retrieval with Target Intent for Repository-Level Code Completion27 Jan 2026
- 2025How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis5 Nov 2025
- 2025Previously on... Automating Code Review25 Aug 2025
- 2025The Fools are Certain; the Wise are Doubtful: Exploring LLM Confidence in Code Completion22 Aug 2025
- 2025Resource-Efficient Automatic Software Vulnerability Assessment via Knowledge Distillation and Particle Swarm Optimization30 Jul 2025
- 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectives18 Mar 2025
- 2025Correctness Assessment of Code Generated by Large Language Models Using Internal Representations22 Jan 2025
- 2024Lost in Transmission: An Information-Theoretic Account of Unsupervised Software Traceability6 Dec 2024
- 2024RAMBO: Enhancing RAG-based Repository-Level Method Body Completion23 Sep 2024
- 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanations12 Jul 2024
- 2024An Investigation into Misuse of Java Security APIs by Large Language Models4 Apr 2024
12 newest of 49 All 49 (JSON)