Pythia: AI-assisted Code Completion System
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose a novel end-to-end approach for AI-assisted code completion called Pythia. It generates ranked lists of method and API recommendations which can be used by software developers at edit time. The system is currently deployed as part of Intellicode extension in Visual Studio Code IDE. Pythia exploits state-of-the-art large-scale deep learning models trained on code contexts extracted from abstract syntax trees. It is designed to work at a high throughput predicting the best matching code completions on the order of 100 ms. We describe the architecture of the system, perform comparisons to frequency-based approach and invocation-based Markov Chain language model, and discuss challenges serving Pythia models on lightweight client devices. The offline evaluation results obtained on 2700 Python open source software GitHub repositories show a top-5 accuracy of 92%, surpassing the baseline models by 20% averaged over classes, for both intra and cross-project settings.
Key facts. Cited by 55 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 9; 2022: 13; 2023: 15; 2024: 7; 2025: 10; 2026: 1.
55 papers.
Sort:
By area:
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2023AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Headcited by 265
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 60
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 50
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completioncited by 40
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 40
- 2022Commonsense Knowledge Reasoning and Generation with Pre-trained Language Models: A Surveycited by 38
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
- 2022Training and Evaluating a Jupyter Notebook Data Science Assistantcited by 31
38 more
- 2023Learning Deep Semantics for Test Completioncited by 31
- 2021Code Completion by Modeling Flattened Abstract Syntax Trees as Graphscited by 30
- 2024Recent Advances in Generative AI and Large Language Models: Current Status, Challenges, and Perspectivescited by 30
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 24
- 2021Learning to Complete Code with Sketchescited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofscited by 18
- 2021Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchycited by 14
- 2023A Static Evaluation of Code Completion by Large Language Modelscited by 14
- 2022Cross-Language Binary-Source Code Matching with Intermediate Representationscited by 13
- 2022Don't Complete It! Preventing Unhelpful Code Completion for Productive and Sustainable Neural Code Completion Systemscited by 13
- 2025Vibe Coding as a Reconfiguration of Intent Mediation in Software Development: Definition, Implications, and Research Agendacited by 13
- 2023Static Code Analysis in the AI Era: An In-depth Exploration of the Concept, Function, and Potential of Intelligent Code Analysis Agentscited by 12
- 2025CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completioncited by 12
- 2022AutoPruner: Transformer-Based Call Graph Pruningcited by 11
- 2024Does Your Neural Code Completion Model Use My Code? A Membership Inference Approachcited by 11
- 2022Syntax-Aware On-the-Fly Code Completioncited by 10
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2021ManyTypes4Py: A Benchmark Python Dataset for Machine Learning-based Type Inferencecited by 9
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logscited by 9
- 2024Constrained Decoding for Fill-in-the-Middle Code Language Models via Efficient Left and Right Quotienting of Context-Sensitive Grammarscited by 8
- 2023Syntax and Domain Aware Model for Unsupervised Program Translationcited by 7
- 2024RepoGenReflex: Enhancing Repository-Level Code Completion with Verbal Reinforcement and Retrieval-Augmented Generationcited by 6
- 2021Toward Less Hidden Cost of Code Completion with Acceptance and Ranking Modelscited by 5
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2025Meta-RAG on Large Codebases Using Code Summarizationcited by 4
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
- 2023What are the Machine Learning best practices reported by practitioners on Stack Exchange?cited by 3
- 2025Sparse Attention Remapping with Clustering for Efficient LLM Decoding on PIMcited by 3
- 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agentscited by 3
- 2022Exploring and Evaluating Personalized Models for Code Generationcited by 2
- 2022A Survey and Perspective on Artificial Intelligence for Security-Aware Electronic Design Automationcited by 1
- 2022Are Machine Programming Systems using Right Source-Code Measures to Select Code Repositories?cited by 1
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Codecited by 1
- 2024The Rise and Fall(?) of Software Engineeringcited by 1
- 2025Call Me Maybe: Enhancing JavaScript Call Graph Construction using Graph Neural Networkscited by 1
- 2021Embedding Code Contexts for Cryptographic API Suggestion:New Methodologies and Comparisonscited by 0
- 2023Serenity: Library Based Python Code Analysis for Code Completion and Automated Machine Learningcited by 0
50 most cited of 55 All 55 (JSON)
- 2026AKRASIA: Stealthy Backdoor Attack on Reasoning-based Code LLMs1 Sep 2026
- 2025CoTDeceptor:Adversarial Code Obfuscation Against CoT-Enhanced LLM Code Agents24 Dec 2025
- 2025Smart Paste: Automatically Fixing Copy/Paste for Google Developers4 Oct 2025
- 2025CodeRAG: Finding Relevant and Necessary Knowledge for Retrieval-Augmented Repository-Level Code Completion19 Sep 2025
- 2025Teaching Code Refactoring Using LLMs12 Aug 2025
- 2025Meta-RAG on Large Codebases Using Code Summarization4 Aug 2025
- 2025TreeRanker: Fast and Model-agnostic Ranking System for Code Suggestions in IDEs4 Aug 2025
- 2025Vibe Coding as a Reconfiguration of Intent Mediation in Software Development: Definition, Implications, and Research Agenda29 Jul 2025
- 2025Call Me Maybe: Enhancing JavaScript Call Graph Construction using Graph Neural Networks22 Jun 2025
- 2025Sparse Attention Remapping with Clustering for Efficient LLM Decoding on PIM9 May 2025
- 2025From Informal to Formal -- Incorporating and Evaluating LLMs on Natural Language Requirements to Verifiable Formal Proofs27 Jan 2025
- 2024RepoGenReflex: Enhancing Repository-Level Code Completion with Verbal Reinforcement and Retrieval-Augmented Generation19 Sep 2024
38 more
- 2024Recent Advances in Generative AI and Large Language Models: Current Status, Challenges, and Perspectives20 Jul 2024
- 2024The Rise and Fall(?) of Software Engineering14 Jun 2024
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection10 Jun 2024
- 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion30 May 2024
- 2024Does Your Neural Code Completion Model Use My Code? A Membership Inference Approach22 Apr 2024
- 2024Constrained Decoding for Fill-in-the-Middle Code Language Models via Efficient Left and Right Quotienting of Context-Sensitive Grammars28 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 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
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embedding24 Aug 2023
- 2023An Exploratory Literature Study on Sharing and Energy Use of Language Models for Source Code5 Jul 2023
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Review4 Jul 2023
- 2023A Static Evaluation of Code Completion by Large Language Models5 Jun 2023
- 2023Towards Code Generation from BDD Test Case Specifications: A Vision19 May 2023
- 2023AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head25 Apr 2023
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation22 Mar 2023
- 2023Learning Deep Semantics for Test Completion20 Feb 2023
- 2023Syntax and Domain Aware Model for Unsupervised Program Translation8 Feb 2023
- 2023What are the Machine Learning best practices reported by practitioners on Stack Exchange?25 Jan 2023
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Models6 Jan 2023
- 2023Serenity: Library Based Python Code Analysis for Code Completion and Automated Machine Learning5 Jan 2023
- 2022Syntax-Aware On-the-Fly Code Completion9 Nov 2022
- 2022Are Machine Programming Systems using Right Source-Code Measures to Select Code Repositories?24 Sep 2022
- 2022Don't Complete It! Preventing Unhelpful Code Completion for Productive and Sustainable Neural Code Completion Systems13 Sep 2022
- 2022AutoPruner: Transformer-Based Call Graph Pruning7 Sep 2022
- 2022Exploring and Evaluating Personalized Models for Code Generation29 Aug 2022
- 2022All You Need Is Logs: Improving Code Completion by Learning from Anonymous IDE Usage Logs21 May 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022A Survey and Perspective on Artificial Intelligence for Security-Aware Electronic Design Automation19 Apr 2022
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequences14 Feb 2022
- 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspective10 Feb 2022
- 2022Training and Evaluating a Jupyter Notebook Data Science Assistant30 Jan 2022
- 2022Commonsense Knowledge Reasoning and Generation with Pre-trained Language Models: A Survey28 Jan 2022
- 2022Cross-Language Binary-Source Code Matching with Intermediate Representations19 Jan 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021Long-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchy17 Sep 2021
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Context26 Jun 2021
- 2021Toward Less Hidden Cost of Code Completion with Acceptance and Ranking Models26 Jun 2021
50 newest of 55 All 55 (JSON)
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detectioncited by 40
- 2024Does Your Neural Code Completion Model Use My Code? A Membership Inference Approachcited by 11
- 2026AKRASIA: Stealthy Backdoor Attack on Reasoning-based Code LLMscited by 0
- 2026AKRASIA: Stealthy Backdoor Attack on Reasoning-based Code LLMs1 Sep 2026
- 2024An LLM-Assisted Easy-to-Trigger Backdoor Attack on Code Completion Models: Injecting Disguised Vulnerabilities against Strong Detection10 Jun 2024
- 2024Does Your Neural Code Completion Model Use My Code? A Membership Inference Approach22 Apr 2024
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
- 2023AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Headcited by 265
- 2023TrojanPuzzle: Covertly Poisoning Code-Suggestion Modelscited by 60
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2022CodeFill: Multi-token Code Completion by Jointly Learning from Structure and Naming Sequencescited by 50
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completioncited by 40
- 2022Commonsense Knowledge Reasoning and Generation with Pre-trained Language Models: A Surveycited by 38
- 2023Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Reviewcited by 32
- 2022Training and Evaluating a Jupyter Notebook Data Science Assistantcited by 31
- 2023Learning Deep Semantics for Test Completioncited by 31
12 most cited of 46 All 46 (JSON)
- 2025Smart Paste: Automatically Fixing Copy/Paste for Google Developers4 Oct 2025
- 2025Teaching Code Refactoring Using LLMs12 Aug 2025
- 2025Meta-RAG on Large Codebases Using Code Summarization4 Aug 2025
- 2025TreeRanker: Fast and Model-agnostic Ranking System for Code Suggestions in IDEs4 Aug 2025
- 2025Vibe Coding as a Reconfiguration of Intent Mediation in Software Development: Definition, Implications, and Research Agenda29 Jul 2025
- 2025Call Me Maybe: Enhancing JavaScript Call Graph Construction using Graph Neural Networks22 Jun 2025
- 2024Recent Advances in Generative AI and Large Language Models: Current Status, Challenges, and Perspectives20 Jul 2024
- 2024The Rise and Fall(?) of Software Engineering14 Jun 2024
- 2024Dataflow-Guided Retrieval Augmentation for Repository-Level Code Completion30 May 2024
- 2024Constrained Decoding for Fill-in-the-Middle Code Language Models via Efficient Left and Right Quotienting of Context-Sensitive Grammars28 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023
12 newest of 46 All 46 (JSON)