Code completion with statistical language models
The DOI matches its Crossref record; 38 of the 39 references it cites were found in a registry or an index.
Abstract
We address the problem of synthesizing code completions for programs using APIs. Given a program with holes, we synthesize completions for holes with the most likely sequences of method calls.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Traditional code completion techniques typically involve analyzing code to identify potential suggestions, followed by re-ranking them”
From RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation (2023) · cites this paper as Raychev et al., 2014
In the citing paper
“While this approach offers efficient performance, it lacks the flexibility to generate code at arbitrary granularity.”
From RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation (2023) · cites this paper as Raychev et al., 2014
Citations
Cites
Elman, J. L. (1990) · Cognitive Science · doi:10.1207/s15516709cog1402_1 · Cited by 11,212
SRILM - an extensible language modeling toolkit
Stolcke, A. (2002) · 7th International Conference on Spoken Language Processing (ICSLP 2002) · doi:10.21437/icslp.2002-303 · Cited by 4,326
A neural probabilistic language model
BengioYoshua, DucharmeRéjean, VincentPascal, & JanvinChristian (2003) · Journal of Machine Learning Research · doi:10.5555/944919.944966 · Cited by 2,644
Estimation of probabilities from sparse data for the language model component of a speech recognizer
Katz, S. (1987) · IEEE Transactions on Acoustics, Speech, and Signal Processing · doi:10.1109/tassp.1987.1165125 · Cited by 1,637 · cited 1×
“Further, they smooth the probability by using models of lower length [20, 21] when sparseness problems in estimating sentence probabilities occur.”
Improved backing-off for M-gram language modeling
Kneser, R., & Ney, H. (2002) · 1995 International Conference on Acoustics, Speech, and Signal Processing · doi:10.1109/icassp.1995.479394 · Cited by 1,473
Points-to analysis in almost linear time
Steensgaard, B. (1996) · Proceedings of the 23rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '96 · doi:10.1145/237721.237727 · Cited by 1,088
Discovering models of software processes from event-based data
Cook, J. E., & Wolf, A. L. (1998) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/287000.287001 · Cited by 870 · cited 1×
“Code Search and Specification Mining There has been a lot of work on dynamic specification mining (e.g., [8, 11, 41]), most of it for extracting various forms of temporal specifications.”
BackgroundTwo decades of statistical language modeling: where do we go from here?
Rosenfeld, R. (2000) · Proceedings of the IEEE · doi:10.1109/5.880083 · Cited by 735 · cited 3×
“Our Approach: Synthesis with Statistical Language Models Statistical language models have been successfully used to model regularities in natural languages and applied to problems such as speech recognition, optical character recognition, and others [28].”
MethodInfluentialWitten, I. H., & Bell, T. C. (1991) · IEEE Transactions on Information Theory · doi:10.1109/18.87000 · Cited by 729
Ammons, G., Bodík, R., & Larus, J. R. (2002) · Proceedings of the 29th ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/503272.503275 · Cited by 665
Research works printed but not linked: 1
- Vallée-Rai , R. , Soot - a Java Optimization Framework. In Proceedings of CASCON 1999 ( 1999 ), pp. 125 -- 135 . Vallée-Rai, R., et al. Soot - a Java Optimization Framework. In Proceedings of CASCON 1999 (1999), pp. 125--135.
Cited by
Items 301–400 of 592
Code recommendation for android development: how does it work and what can be improved?
Wu, J., Shen, L., Guo, W., & Zhao, W. (2017) · Science China Information Sciences · doi:10.1007/s11432-017-9058-0 · Cited by 13
“The mechanisms from this category are designed to learn from a large amount of exiting applications to collect the reusable knowledge that can be offered to developers [11,12].”
BackgroundMethodDoes BERT Understand Code? – An Exploratory Study on the Detection of Architectural Tactics in Code
Keim, J., Kaplan, A., Koziolek, A., & Mirakhorli, M. T. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-58923-3_15 · Cited by 26
“In context of code completion and suggestion, we can find approaches that apply statistical and neural language models such as recurrent neural networks (RNNs) and N-gram (cf. [21,29]).”
MethodPlotCoder: Hierarchical Decoding for Synthesizing Visualization Code in Programmatic Context
Chen, X., Gong, L., Cheung, A., & Song, D. X. (2021) · doi:10.18653/v1/2021.acl-long.169 · Cited by 23
“Our code synthesis problem is also related to code completion, i.e., autocompleting the program given the code context (Raychev et al., 2014; Li et al., 2018; Svyatkovskiy et al., 2020).”
MethodEffective approaches to combining lexical and syntactical information for code summarization
Zhou, Z., Yu, H., & Fan, G. (2020) · Software Practice and Experience · doi:10.1002/spe.2893 · Cited by 14
“Raychev et al 40 use n -gram model and RNN to solve the problem of code completion, utilizing API calls.”
BackgroundMethodData-Driven Program CompletionPreprint
Lu, Y., Chaudhuri, S., Jermaine, C., & Melski, D. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1705.09042 · Cited by 15
“Statistical methods such as graphical models (Raychev et al. 2015), language models (Hindle et al. 2012; Nguyen and Nguyen 2015; Raychev et al. 2014) and learning from noisy data (Raychev et al. 2016) have been showed to be quite e ective in inferring program properties and code completion.”
MethodFinding and correcting syntax errors using recurrent neural networksPreprint
Santos, E. A., Campbell, J. C., Hindle, A., & Amaral, J. N. (2017) · doi:10.7287/peerj.preprints.3123v1 · Cited by 13
“(Raychev et al., 2014) used RNNs in code completion to synthesize method call chains in Java code.”
BackgroundMethodInfluentialLong-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax Hierarchy
Clement, C., Lu, S., Liu, X., Tufano, M., Drain, D., Duan, N., Sundaresan, N., & Svyatkovskiy, A. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.387 · Cited by 12
“…rapid progress in the software engineering space, including applications in code completion (Svyatkovskiy et al., 2020, 2019; Clement et al., 2020; Raychev et al., 2014; Bruch et al., 2009), natural language to code (NL2Code), code feature summarization (Clement et al., 2020; Moreno et al., 2013;…”
BackgroundMethodWang, C., Zhang, J., Wu, R., & Zhang, C. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3660816 · Cited by 18
Rachamala, N. R. (2024) · International Journal on Recent and Innovation Trends in Computing and Communication · doi:10.17762/ijritcc.v12i1.11726 · Cited by 12
“More Than Deep Learning”: post-processing for API sequence recommendation
Chen, C., Peng, X., Chen, B., Sun, J., Xing, Z., Wang, X., & Zhao, W. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-10040-2 · Cited by 13
“Many methods (Hindle et al. 2012; Allamanis and Sutton 2013; Nguyen et al. 2013, 2015, 2018; Tu et al. 2014; Raychev et al. 2014; Liu et al. 2018; White et al. 2015; Dam et al. 2016; Yan et al. 2018; Svyatkovskiy et al. 2019; Li et al. 2018; Terada and Watanobe 2019; Yang et al. 2017, a, b, c; Chen…”
MethodGenerating Adversarial Source Programs Using Important Tokens-based Structural Transformations
Chen, P., Li, Z., Wen, Y. J., & Liu, L. (2022) · IEEE International Conference on Engineering of Complex Computer Systems (ICECCS) · doi:10.1109/iceccs54210.2022.00029 · Cited by 17
xASTNN: Improved Code Representations for Industrial Practice
Xu, Z., Zhou, M. Q., Zhao, X., Chen, Y., Cheng, X., & Zhang, H. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3613869 · Cited by 14
“Raychev et al. [40] describes a recurrent neural network (RNN) and N-gram model for code completion.”
BackgroundConfInLog: Leveraging Software Logs to Infer Configuration Constraints
Zhou, S., Liu, X., Li, S., Jia, Z., Zhang, Y., Wang, T., Li, W., & Liao, X. (2021) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00018 · Cited by 12
Encodings for Enumeration-Based Program Synthesis
Orvalho, P., Terra-Neves, M., Ventura, M., Martins, R., & Manquinho, V. M. (2019) · Lecture notes in computer science · doi:10.1007/978-3-030-30048-7_34 · Cited by 16
VERT: Polyglot Verified Equivalent Rust Transpilation with Large Language Models
Yang, A. Z. H., Takashima, Y., Paulsen, B., Dodds, J., & Kroening, D. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00123 · Cited by 18
“a) Language model transpilers: Recent advances have shown that LLMs can perform code completion [19] and generate code based on natural language [34].”
Learning Syntactic Program Transformations from Examples
Rolim, R., Soares, G., D’Antoni, L., Polozov, O., Gulwani, S., Gheyi, R., Suzuki, R., & Hartmann, B. (2017) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2017.44 · Cited by 98
“Slang [38] is a technique that computes a statistical model based on code fragments from”
BackgroundMethodTowards better program obfuscation: optimization via language models
Liu, H. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2889160.2891040 · Cited by 11
“Since software is natural [14], people resort to NLP methods for software engineering tasks, such as code completion [14, 16, 22], API prediction [19] and name suggestion [2, 3, 18].”
MethodA dataset of simplified syntax trees for C#
Proksch, S., Amann, S., Nadi, S., & Mezini, M. (2016) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/2901739.2903507 · Cited by 11
“Examples include systems for code completion [5], code search [6], or snippet mining [1].”
BackgroundSong, L., Huang, H., Zhou, W., Wu, W., & Zhang, Y. (2016) · ACM SIGOPS Asia-Pacific Workshop on Systems (APSys) · doi:10.1145/2967360.2967367 · Cited by 11
“Many research efforts [1, 4, 9, 13, 14] have been made to explore how to leverage “big code” repositories, such as GitHub, BitBucket, and CodePlex, and these works inspire us to explore how to leverage data on VirusTotal.”
BackgroundMethodGuided code synthesis using deep neural networks
Alexandru, C. V. (2016) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2950290.2983951 · Cited by 11
“Raychev et al. extract method calls from large codebases to do a limited form of auto-completion for API usage, where gaps in existing source code are filled with appropriate to-kens [9].”
MethodNeural Reverse Engineering of Stripped Binaries
David, Y., Alon, U. S., & Yahav, E. (2019) · Cited by 11
Self-citationInferring crypto API rules from code changes
Paletov, R., Tsankov, P., Raychev, V., & Vechev, M. (2018) · ACM SIGPLAN Notices · doi:10.1145/3296979.3192403 · Cited by 11
Self-citationNaturalCC: an open-source toolkit for code intelligence
Wan, Y., He, Y., Bi, Z., Zhang, J., Sui, Y., Zhang, H., Hashimoto, K., Jin, H., Xu, G., Xiong, C., et al. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510454.3516863 · Cited by 15
“We evaluate LSTM and GPT-2 on next token prediction, and TravTrans on next leaf token prediction.”
MethodInfluentialCombining the logical and the probabilistic in program analysis
Zhang, X., Si, X., & Naik, M. (2017) · ACM SIGPLAN International Workshop on Machine Learning and Programming Languages (MAPL) · doi:10.1145/3088525.3088563 · Cited by 12
“Recently, probabilistic approaches have been proposed for various synthesis tasks, including code completion [32], code deobfuscation [3], variable naming [33], and program repair [15].”
Heuristic and Neural Network Based Prediction of Project-Specific API Member Access
Jiang, L. C., Liu, H., Jiang, H., Zhang, L., & Hong, M. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3017794 · Cited by 11
Program Classification Using Gated Graph Attention Neural Network for Online Programming ServicePreprint
Lu, M., Tan, D., Xiong, N. N., Chen, Z., & Li, H. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1903.03804 · Cited by 14
“Inspired by the Natural Language Processing (NLP), at the early stage of source code mining, researchers tended to regard source codes as text sequences and apply NLP models to the source codes to perform various prediction tasks [7]–[11].”
MethodLong-Range Modeling of Source Code Files with eWASH: Extended Window Access by Syntax HierarchyPreprint
Clement, C. B., Lu, S., Liu, X., Tufano, M., Drain, D., Duan, N., Sundaresan, N., & Svyatkovskiy, A. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2109.08780 · Cited by 14
“…rapid progress in the software engineering space, including applications in code completion (Svyatkovskiy et al., 2020, 2019; Clement et al., 2020; Raychev et al., 2014; Bruch et al., 2009), natural language to code (NL2Code), code feature summarization (Clement et al., 2020; Moreno et al., 2013;…”
BackgroundMethodGaDei: On Scale-Up Training as a Service for Deep Learning
Zhang, W., Feng, M., Zheng, Y., Ren, Y., Wang, Y., Liu, J., Liu, P., Xiang, B., Zhang, L., Zhou, B., et al. (2017) · Proceedings · doi:10.1109/icdm.2017.161 · Cited by 10
“Big code has seen great success in different areas of programing language and programming analysis, such like code completion[26, 44], type inference[45], and code similarity inspection[47, 54].”
BackgroundBoosting source code suggestion with self-supervised Transformer Gated Highway
Hussain, Y., Huang, Z., Zhou, Y., & Wang, S. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111553 · Cited by 10
Which Syntactic Capabilities Are Statistically Learned by Masked Language Models for Code?
Velasco, A., Palacio, D. N., Rodríguez-Cárdenas, D., & Poshyvanyk, D. (2024) · IEEE/ACM International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER) · doi:10.1145/3639476.3639768 · Cited by 11
“Numerous studies have investigated code completion automation using machine learning [4, 15, 28, 42].”
BackgroundProducts, developers, and milestones: how should I build my N-Gram language model
Saraiva, J. D. A. G., Bird, C., & Zimmermann, T. (2015) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/2786805.2804431 · Cited by 10
“The most common is code completion, as demonstrated by Raychev et al. [2] and Franks et al [11].”
BackgroundMethodHellendoorn, V. J., Dévanbu, P., & Alipour, M. A. (2018) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3236024.3264832 · Cited by 10
“This naturalness facilitates applications such as code completion [14], error checking, variable name recovery in minified Javascript [16] and style checking [2].”
BackgroundMethodGenerating precise error specifications for C: a zero shot learning approach
Wu, B.-J., Campora, J. P., He, Y., Schlecht, A., & Chen, S. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360586 · Cited by 10
“Machine learning techniques have been used to solve problems in program analysis [David et al. 2016; DeFreez et al. 2018; L. Seidel et al. 2017; Long and Rinard 2016; Raychev et al. 2014; Wu et al. 2017; Zhu et al. 2016].”
MethodBuilding Implicit Vector Representations of Individual Coding Style
Kovalenko, V., Bogomolov, E., Bryksin, T., & Bacchelli, A. (2020) · doi:10.1145/3387940.3391494 · Cited by 12
“Examples of such enhancements include code completion engines, static analysis, and automated code review systems [21].”
BackgroundOn the Applicability of Language Models to Block-Based Programs
Griebl, E., Fein, B., Obermüller, F., Fraser, G., & Just, R. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00199 · Cited by 13
“Prior work on code completion suggests various ways in which our baseline model could potentially be improved: For example, it is conceivable that other models, such as statistical graph models [7], [11] or neural models (e.”
BackgroundMethodMining framework usage graphs from app corpora
Mover, S., Sankaranarayanan, S., Olsen, R. B. P., & Chang, B.-Y. E. (2018) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2018.8330216 · Cited by 10
“, based on hidden markov model [16] or n-grams [17]) may be used for predictive tasks like code completion, they do not readily provide artifacts that could be human interpretable.”
BackgroundMethodYang, Y., & Chen, X. (2019) · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · doi:10.18293/seke2019-056 · Cited by 10
A hybrid code representation learning approach for predicting method names
Zhang, F., Chen, B., Li, R., & Peng, X. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111011 · Cited by 13
Turn tree into graph: Automatic code review via simplified AST driven graph convolutional network
Wu, B., Liang, B., & Zhang, X. (2022) · Knowledge-Based Systems · doi:10.1016/j.knosys.2022.109450 · Cited by 15
EdSketch: execution-driven sketching for Java
Hua, J., Zhang, Y., Zhang, Y., & Khurshid, S. (2019) · International Journal on Software Tools for Technology Transfer · doi:10.1007/s10009-019-00512-8 · Cited by 9
“Slang [40] predicts probabilities of API calls using statistical models based on machine learning.”
MethodHussain, Y., Huang, Z., & Zhou, Y. (2021) · IET Software · doi:10.1049/sfw2.12017 · Cited by 10
“Although the RNN ‐ based neural language models [3, 7] showed their effectiveness in the modelling of source code, they suffer from vanishing gradient problem.”
BackgroundMethodInfluentialAdding Context to Source Code Representations for Deep Learning
Tian, F., & Treude, C. (2022) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme55016.2022.00042 · Cited by 13
“For example, related work has shown that n-gram models can successfully handle token prediction across different project domains, given a large corpus for training [11], and n-gram models have been used to synthesise code completions for API method calls [12].”
MethodDeMinify: Neural Variable Name Recovery and Type Inference
Li, Y., Yadavally, A., Zhang, J., Wang, S., & Nguyen, T. N. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616368 · Cited by 9
“Data and code is available in a website [10].”
BackgroundOn the Uniqueness of Code Redundancies
Lin, B., Ponzanelli, L., Mocci, A., Bavota, G., & Lanza, M. (2017) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.36 · Cited by 13
“[30] extracted sequences of method calls from a large codebase and trained a language model on them.”
MethodNeural language models for code quality identification
Sengamedu, S. H., & Zhao, H. (2022) · doi:10.1145/3549034.3561175 · Cited by 11
“Ngram LMs has also been used for syntax error checking [5], code completion [13, 23] and bug detection by identifying low probability sequences [25].”
MethodLearning Defect Prediction from Unrealistic Data
Alrashedy, K., Hellendoorn, V. J., & Orso, A. (2024) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner60148.2024.00063 · Cited by 12
“As the table shows, the ETH Py150 dataset is 75 times larger than the real-world one [15].”
BackgroundInfluentialSpeeding up machine-code synthesis
Srinivasan, V., Sharma, T., & Reps, T. (2016) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/2983990.2984006 · Cited by 9
“We also give an overview of a state-of-the-art machine-code synthesizer M C S YNTH : we briefly describe how binary-rewriter clients use M C S YNTH to rewrite binaries, and summarize the algorithm used in M C S YNTH ( § 2.2).”
MethodInfluentialLearning a strategy for adapting a program analysis via bayesian optimisation
Oh, H., Yang, H., & Yi, K. (2015) · ACM SIGPLAN Notices · doi:10.1145/2858965.2814309 · Cited by 9
On the Naturalness and Localness of Software Logs
Gholamian, S., & Ward, P. A. S. (2021) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr52588.2021.00028 · Cited by 14
“As such, tasks such as code completion [63] and code suggestion [18] utilize n-gram models for their predictions.”
MethodHybrid Collaborative Filtering-Based API Recommendation
Wang, Y., Zhou, Y., Chen, T., Zhang, J., Yang, W., & Huang, Z. (2021) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs54544.2021.00100 · Cited by 9
Deep-AutoCoder: Learning to Complete Code Precisely with Induced Code Tokens
Hu, X., Men, R., Li, G., & Jin, Z. G. (2019) · IEEE Annual International Computer Software and Applications Conference (COMPSAC) · doi:10.1109/compsac.2019.00030 · Cited by 10
“Due to its simplicity and efficient learning, it is applied to code completion task [14, 15, 16, 23].”
Language Modelling for Source Code with Transformer-XLPreprint
Dowdell, T., & Zhang, H. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2007.15813 · Cited by 9
“Recent research uses RNN-based models (including LSTM and GRU models) [14][15][23][24] and find that RNN-based models superseded N-gram models.”
MethodContextual Text Embeddings for TwiPreprint
Azunre, P., Osei, S., Addo, S. A., Adu-Gyamfi, L., Moore, S., Adabankah, B., Opoku, B., Asare-Nyarko, C., Nyarko, S., Amoaba, C., et al. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2103.15963 · Cited by 9
“The goal of a statistical language model is to build a probabilistic distribution over all possible sentences in a language (Raychev et al., 2014).”
BackgroundEnergy-Based Models for Code Generation under Compilability ConstraintsPreprint
Korbak, T., Elsahar, H., Dymetman, M., & Kruszewski, G. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.04985 · Cited by 13
“…compilability constraints on generative models There is a body of work focusing on unconditional code generation or code completion: generating a piece of source code given a preceding piece of source code (Nguyen et al., 2013; Raychev et al., 2014; Karpathy et al., 2015; Bielik et al., 2016).”
BackgroundCapturing Structural Locality in Non-parametric Language ModelsPreprint
Xu, F. F., He, J., Neubig, G., & Hellendoorn, V. J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.02870 · Cited by 9
“…LMs have also been adopted to model sequences other than text, such as source code written in programming language (Hindle et al., 2016; Hellendoorn & Devanbu, 2017; Alon et al., 2020; Karampatsis et al., 2020), which can enable useful downstream tasks like code completion (Raychev et al., 2014).”
DeepRace: Finding Data Race Bugs via Deep LearningPreprint
Tehrani, A., Khaleel, M. H., Akbari, R., & Jannesari, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1907.07110 · Cited by 9
“In [21] Reychev et al apply LSTM networks on a sequence of method calls to address the code completion for programs which are using APIs.”
MethodA Deep Dive into Retrieval-Augmented Generation for Code Completion: Experience on WeChat
Yang, Z., Peng, T., Gao, C., Wang, C., Huang, H., & Deng, Y. (2025) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme64153.2025.00062 · Cited by 9
“Early approaches primarily rely on statistical methods to implement code completion functionality [49].”
Barchi, F., Parisi, E., Bartolini, A., & Acquaviva, A. (2022) · Journal of Low Power Electronics and Applications · doi:10.3390/jlpea12030037 · Cited by 8
“The analysis is carried out on engineered features [13] or directly on the source code: function names [14] or directly on the raw code level, processing the characters that compose it [15].”
InfluentialYadav, S., Qureshi, A. M., Kaushik, A., Sharma, S., Loughran, R., Kazhuparambil, S., Shaw, A., Sabry, M., Lynch, N. S. J., Singh, N., et al. (2026) · Applied AI Letters · doi:10.1002/ail2.70037 · Cited by 8
G enesys : A Novel Evolutionary Program Synthesis Tool with Continuous Optimization
Mandal, S., Anderson, T. A., Turek, J. S., Gottschlich, J., & Muzahid, A. (2025) · ACM transactions on probabilistic machine learning. · doi:10.1145/3776736 · Cited by 8
“We conducted three experiments, where functions were randomly assigned to bins.”
Inferring annotations for device drivers from verification histories
Pavlinovic, Z., Lal, A., & Sharma, R. (2016) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/2970276.2970305 · Cited by 8
“In contrast, this work is the first attempt at inferring annotations from verification histories and demonstrating their use [22, 23, 25].”
BackgroundA Neural Network Architecture for Program Understanding Inspired by Human Behaviors
Zhu, R., Yuan, L., Li, X., Gao, M., & Cai, W. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.353 · Cited by 12
“For example, taking codes as raw texts, some works use language models (Raychev et al., 2014; Allamanis et al., 2015), RNN-series (Zaremba and Sutskever, 2014; Dam et al.”
MethodAn Integrative Human-Centered Architecture for Interactive Programming Assistants
Blinn, A., Moon, D., Griffis, E., & Omar, C. (2022) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl/hcc53370.2022.9833110 · Cited by 8
Machine Learning-Based Code Auto-Completion Implementation for Firmware Developers
Kim, J., Lee, K., & Choi, S.-H. (2020) · Applied Sciences · doi:10.3390/app10238520 · Cited by 8
Fast and Precise Statistical Code Completion
Roos, P. (2015) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2015.240 · Cited by 8
DemoMatch: API discovery from demonstrations
Yessenov, K., Kuraj, I., & Solar-Lezama, A. (2017) · ACM SIGPLAN Notices · doi:10.1145/3140587.3062386 · Cited by 8
Neural Program Generation Modulo Static Analysis
Mukherjee, R., Wen, Y., Chaudhari, D., Reps, T., Chaudhuri, S., & Jermaine, C. (2021) · neural information processing systems · doi:10.48550/arxiv.2111.01633 · Cited by 25
“Many non-neural models of code have been proposed over the years [25, 32, 28, 2, 27, 5].”
BackgroundEntropy Guided Spectrum Based Bug Localization Using Statistical Language Model
Chakraborty, S., Li, Y., Irvine, M., Saha, R., & Ray, B. (2018) · arXiv · doi:10.48550/arxiv.1802.06947 · Cited by 7
“Although real-world software programs are often large and complex, the program constructs (such as tokens) are repetitive, and thus provide useful predictable statistical property [26, 46, 51, 20].”
BackgroundA transformer-based approach for source code classification for heterogeneous device mapping
Siino, M., Parisi, E., Barchi, F., Acquaviva, A., & Bartolini, A. (2025) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2025.112987 · Cited by 7
Automatic Inference of Code Transforms and Search Spaces for Automatic Patch Generation Systems
Long, F., Amidon, P., & Rinard, M. (2016) · DSpace@MIT (Massachusetts Institute of Technology) · Cited by 8
How Is Code Recommendation Applied in Android Development: A Qualitative Review
Wu, J., Shen, L., Guo, W., & Zhao, W. (2016) · International Conference on Software Analysis, Testing and Evolution (SATE) · doi:10.1109/sate.2016.12 · Cited by 8
“[12] snippet generation statement machine-learning web resource user-request”
BackgroundMethodStudent Program Classification Using Gated Graph Attention Neural Network
Lu, M., Wang, Y., Tan, D., & Zhao, L. D. (2021) · IEEE Access · doi:10.1109/access.2021.3063475 · Cited by 7
“Inspired by the Natural Language Processing (NLP), at the early stage of source code mining, researchers tended to regard source codes as text sequences and apply NLP models to the source codes to perform various prediction tasks [2]–[6].”
MethodBetter Modeling the Programming World with Code Concept Graphs-augmented Multi-modal Learning
Weyssow, M., Sahraoui, H. A., & Liu, B. (2022) · IEEE/ACM International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER) · doi:10.1145/3510455.3512771 · Cited by 10
“On the other hand, recent deep-learningbased approaches leveraging powerful language model architectures [8, 12, 20, 32, 38] to learn representations of source code have shown impressive results in tasks such as code completion or code search [13, 24, 28, 33, 36].”
BackgroundGraph Neural Networks Based Memory Inefficiency Detection Using Selective Sampling
Li, P., Guo, Y., Luo, Y., Wang, X., Wang, Z., & Liu, X. (2022) · International Conference for High Performance Computing, Networking, Storage and Analysis (SC) · doi:10.1109/sc41404.2022.00090 · Cited by 9
“Token embedding for program representation [19], [20], [24], [25], [45], [46] using existing natural language processing (NLP) techniques serve as a good start.”
BackgroundLearning API Suggestion via Single LSTM Network with Deterministic Negative Sampling
Yan, J., Qi, Y., Rao, Q., & He, H. (2018) · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · doi:10.18293/seke2018-193 · Cited by 7
Suggesting Descriptive Method Names: An Exploratory Study of Two Machine Learning Approaches
Zaitsev, O., Ducasse, S., Bergel, A., & Eveillard, M. (2020) · Communications in computer and information science · doi:10.1007/978-3-030-58793-2_8 · Cited by 7
“Deep learning proved to be very effective in modelling source code — in recent years, deep learning models for source code found many applications for code completion [24, 20, 2].”
BackgroundResearch and Application of Machine Learning in Automatic Program Generation
Zhang, X., & Jiang, Y. (2020) · Chinese Journal of Electronics · doi:10.1049/cje.2020.10.006 · Cited by 7
VulRep: vulnerability repair based on inducing commits and fixing commits
Wei, Y., Bo, L., Wu, X., Li, Y., Ye, Z., Sun, X., & Li, B. (2023) · EURASIP Journal on Wireless Communications and Networking · doi:10.1186/s13638-023-02242-7 · Cited by 9
“use the corresponding fixing code in the CVE database as the ground truth and employ the method in [44] to manually check the correctness of the patches generated by VulRep.”
BackgroundMethodYang, Y., & Chen, X. (2019) · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering · doi:10.18293/seke2019-057 · Cited by 8
A Focus+Context Approach to Alleviate Cognitive Challenges of Editing and Debugging UML Models
Pourali, P., & Atlee, J. M. (2019) · ACM/IEEE International Conference on Model Driven Engineering Languages and Systems (MODELS) · doi:10.1109/models.2019.000-3 · Cited by 8
“Code and model completion techniques [39]–[43] are also proposed in the literature.”
BackgroundOn the naturalness of hardware descriptions
Lee, J., Nie, P., Li, J. J., & Gligoric, M. (2020) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3368089.3409692 · Cited by 9
Universal Representation for Code
Liu, L., Nguyen, H. A., Karypis, G., & Sengamedu, S. H. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-75768-7_2 · Cited by 13
Recommendation of Exception Handling Code in Mobile App DevelopmentPreprint
Nguyen, T. T., Vu, P. M., & Nguyen, T. T. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1908.06567 · Cited by 7
“This recommendation task has been widely used in software engineering research to evaluate code completion models [10], [14], [12].”
MethodInfluentialLearning Fitness Functions for Machine ProgrammingPreprint
Mandal, S., Anderson, T. A., Turek, J. S., Gottschlich, J., Zhou, S., & Muzahid, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1908.08783 · Cited by 7
“Raychev et al. use an n-gram model to predict the most likely sequence of functions to complete a partial program [25].”
MethodXavier: Toward Better Coding Assistance in Authoring Tabular Data Wrangling Scripts
Zhou, Y., Cai, X., Shi, Q., Huang, Y., Li, H., Qu, H., Weng, D., & Wu, Y. (2025) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3706598.3714239 · Cited by 6
“Building on the analogy between human-written code and natural language [25], subsequent works [23, 63, 64] explored statistical approaches that leveraged the repetitive and predictive properties of code.”
Automated Code Review Using Large Language Models with Symbolic Reasoning
İçöz, B., & Biricik, G. (2025) · International Symposium on Innovative Approaches in Smart Technologies (ISAS) · doi:10.1109/isas66241.2025.11101776 · Cited by 9
Wang, B.-Y., Wang, X.-L., Li, G.-C., Zhi, C., Han, J.-X., Zhao, X.-K., Wang, N., Deng, S.-G., & Yin, J.-W. (2026) · Proceedings of the ACM on Software Engineering · doi:10.1145/3832136 · Cited by 6
“As a core feature of modern Integrated Development Environments (IDEs), code completion plays a pivotal role in enhancing development efficiency [4, 13, 37, 44, 69, 71].”
Compositional Model-Based System Design and Other Foundations for Mastering Change
Tripakis, S. (2016) · Lecture notes in computer science · doi:10.1007/978-3-319-46508-1_7 · Cited by 9
Adaptive Static Analysis via Learning with Bayesian Optimization
Heo, K., Oh, H., Yang, H., & Yi, K. (2018) · ACM Transactions on Programming Languages and Systems · doi:10.1145/3121135 · Cited by 6
“Finally, machine-learning techniques have also been used to mine correct API usage from a large codebase and to synthesize code snippets using such APIs automatically [17, 28].”
MethodThe Gamma: Programmatic Data Exploration for Non-programmers
Petříček, T. (2022) · IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) · doi:10.1109/vl/hcc53370.2022.9833134 · Cited by 6
“Code completion based on machine learning [12], [13] also exists for general-purpose programming languages used by data scientists such as Python [14], but this focuses on providing assistance to expert programmers.”
BackgroundA Novel API Recommendation Approach By Using Graph Attention Network
Chen, Z., Zhang, T., & Peng, X. (2021) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs54544.2021.00082 · Cited by 6
Algorithm identification in programming assignments
Chourasia, P., Ramakrishnan, G., Apte, V., & Kumar, S. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3527914 · Cited by 8
“Tasks of interest include code summarization, method name generation, code completion and code generation based on natural language [23, 25, 31].”
BackgroundCombTransformers: Statement-Wise Transformers for Statement-Wise Representations
Bertolotti, F., & Cazzola, W. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3310793 · Cited by 7
“…to improve the current state-of-the-art on a variety of tasks, which include: automatic code generation [1], [2], [3], automatic code completion [4], [5], [6], extreme code summarization [7], [8], [9], automatic test generation [10], [11], automatic bug detection [12], [13], [14], code ranking…”
BackgroundMulti-grained contextual code representation learning for commit message generation
Wang, C., Zhang, L., & Zhang, X. (2023) · Information and Software Technology · doi:10.1016/j.infsof.2023.107393 · Cited by 6
Scope-aware Code Completion with Discriminative Modeling
Sheng, H., Xiao, C., & Ishikawa, Y. (2019) · Journal of Information Processing · doi:10.2197/ipsjjip.27.469 · Cited by 6
“Existing solutions to code completion focus on using neural language models [4], [9], [13], [17], [22] or statistical language models [3], [16], [18], [19] learned from a large code base by modeling it into a natural language processing problem.”
BackgroundResultPersonalized Code Recommendation
Nguyen, T. T., Vu, P., & Nguyen, T. T. (2019) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2019.00047 · Cited by 6
“Third, statistical language models such as n -gram, or RNN [4], [10] have been applied successfully to capture the code patterns source code in general.”
BackgroundMethodRAPID: a knowledge-based assistant for designing web APIs
Sadi, M. H., & Yu, E. S. K. (2021) · Requirements Engineering · doi:10.1007/s00766-020-00342-0 · Cited by 8
“Some of the developed tools and prototypes include the PSI Program Synthesizer (1976) [43], the Programmer’s Apprentice (1988) [44], Strathcona (2005) [45, 46], Prospector (2005) [47], ParseWeb (2007) [48], MAPO (2009) [49], Code Suggestion Plugin for Eclipse (2012) [50], SLANG Code Completer (2014) [51], Bing Develop…”
MethodA methodology for refined evaluation of neural code completion approaches
Le, K. T., Rashidi, G., & Andrzejak, A. (2022) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-022-00866-9 · Cited by 6
“Methods include recurrent neural networks (RNNs) (Raychev et al. 2014), n -gram language models (Hindle et al. 2016), context-aware gated recurrent unit (GRU) (Hussain et al. 2020) or context-aware convolutional neural network (CNN) (Hussain et al. 2021), probabilistic higher order grammars (PHOG)…”
BackgroundOn Repair with Probabilistic Attribute GrammarsPreprint
Koukoutos, M., Raghothaman, M., Kneuss, E., & Kunčak, V. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1707.04148 · Cited by 7
“The program completion tool Slang [29] uses n -grams and recurrent neural networks to predict missing API calls in code snippets.”
Method
Metadata
- Authors
- Raychev, V., Vechev, M., & Yahav, E.
- Affiliations
- ETH Zurich (CH)
- Technion – Israel Institute of Technology (IL)
- Venue
- Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2014-06-09
- Pages
- 419-428
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2143861926
- Cited by
- 555
- References
- 39
- Citations by year
- 2026: 11 · 2025: 40 · 2024: 34 · 2023: 39 · 2022: 55 · 2021: 70 · 2020: 63 · 2019: 67 · 2018: 58 · 2017: 43 · 2016: 46 · 2015: 23 · 2014: 6
- FWCI
- 33.56
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) (publishedVersion)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Software › Logic, programming, and type systems
- Keywords
- code completion, statistical language models, program synthesis, method call sequences
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.