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
Large Language Models for Software Engineering: A Systematic Literature Review
Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J., & Wang, H. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3695988 · Cited by 1,029
code2vec: Learning distributed representations of code
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290353 · Cited by 962
Self-citationAutomatically learning semantic features for defect prediction
Wang, S., Liu, T., & Tan, L. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884804 · Cited by 689
A Novel Neural Source Code Representation Based on Abstract Syntax Tree
Zhang, J., Wang, X., Zhang, H., Sun, H., Wang, K., & Liu, X. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00086 · Cited by 655
“Raychev et al. [58] adopts RNN and n-gram model for code completion.”
MethodDeep learning code fragments for code clone detection
White, M., Tufano, M., Vendome, C., & Poshyvanyk, D. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970326 · Cited by 558
“To the best of our knowledge, we are the first to propose language models and embeddings for clone detection.”
MethodGu, X., Zhang, H., & Kim, S. (2018) · Proceedings of the 40th International Conference on Software Engineering · doi:10.1145/3180155.3180167 · Cited by 547
“Recently, researchers have investigated possible applications of deep learning techniques to source code [7, 38, 53, 56, 60, 64, 75, 76].”
BackgroundMethodA systematic evaluation of large language models of code
Xu, F. F., Alon, U., Neubig, G., & Hellendoorn, V. J. (2022) · Proceedings of the 6th ACM SIGPLAN International Symposium on Machine Programming · doi:10.1145/3520312.3534862 · Cited by 540
CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generation
Lu, S., Guo, D., Ren, S., Huang, J., Svyatkovskiy, A., Blanco, A., Clement, C., Drain, D., Jiang, D., Tang, D., et al. (2021) · arXiv · doi:10.48550/arxiv.2102.04664 · Cited by 536
“Similarly, developers who are confused about what to write next can use code completion systems [57, 1, 56, 66, 67, 8, 27, 7] to automatically complete the following tokens based on the edits made to the code.”
BackgroundWILDS: A Benchmark of in-the-Wild Distribution Shifts
Koh, P. W., Sagawa, S., Marklund, H., Xie, S. M., Zhang, M., Balsubramani, A., Hu, W., Yasunaga, M., Phillips, R. L., Gao, I., et al. (2020) · arXiv · doi:10.48550/arxiv.2012.07421 · Cited by 518
“Machine learning can aid programming and software engineering in various ways: automatic code completion (Raychev et al., 2014; Svyatkovskiy et al., 2019), program synthesis (Bunel et al., 2018; Kulal et al., 2019), program repair (Vasic et al., 2019; Yasunaga and Liang, 2020), code search (Husain…”
IntelliCode compose: code generation using transformer
Svyatkovskiy, A., Deng, S. K., Fu, S., & Sundaresan, N. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3417058 · Cited by 474
“Numerous intelligent code completion systems for both statically and dynamically typed languages have been proposed [6, 11, 41, 42].”
BackgroundUsing Machine Learning for Vulnerability Detection and Classification
Alon, U., Brody, S., Levy, O., & Yahav, E. (2018) · arXiv (Cornell University) · doi:10.4230/oasics.slate.2021.14 · Cited by 467
“Several papers model code as a sequence of tokens (Iyer et al., 2016; Allamanis et al., 2016; Loyola et al., 2017), characters (Bielik et al., 2017), and API calls (Raychev et al., 2014).”
BackgroundSelf-citationGrounded Copilot: How Programmers Interact with Code-Generating Models
Barke, S., James, M. B., & Polikarpova, N. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3586030 · Cited by 436
“…captured our imagination for several decades now, giving rise to a rich body of work from both the programming languages [Ferdowsifard et al. 2020; Miltner et al. 2019; Ni et al. 2021; Raychev et al. 2014] and the machine learning [Guo et al. 2021; Kalyan et al. 2018; Xu et al. 2020] communities.”
BackgroundProgram Synthesis with Large Language Models
Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., et al. (2021) · arXiv · doi:10.48550/arxiv.2108.07732 · Cited by 388
“Early work applied statistical n-gram models [Hindle et al., 2012, Allamanis and Sutton, 2013a] and neural networks [Maddison and Tarlow, 2014, Raychev et al., 2014] to code.”
MethodAn Empirical Study on Learning Bug-Fixing Patches in the Wild via Neural Machine Translation
Tufano, M., Watson, C., Bavota, G., Penta, M. D., White, M., & Poshyvanyk, D. (2019) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3340544 · Cited by 370
“To this aim, we employ a different decoding strategy called Beam Search, used in previous applications of deep learning [6, 9, 21, 67].”
BackgroundMethodDeepBugs: a learning approach to name-based bug detection
Pradel, M., & Sen, K. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276517 · Cited by 342
“Existing approaches address a variety of development tasks, including code completion based on probabilistic models of code [Bielik et al. 2016; Raychev et al. 2016a, 2014], predicting fixes of compilation errors via neural networks [Bhatia and Singh 2016; Gupta et al. 2017], and the generation of…”
Deep Semantic Feature Learning for Software Defect Prediction
Wang, S., Liu, T., Nam, J., & Tan, L. (2020) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2877612 · Cited by 320
Studying the Usage of Text-To-Text Transfer Transformer to Support Code-Related Tasks
Mastropaolo, A., Scalabrino, S., Cooper, N., Nader Palacio, D., Poshyvanyk, D., Oliveto, R., & Bavota, G. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00041 · Cited by 247
“Beam-search is an alternative decoding strategy previously used in many DL applications [62]–[65].”
MethodPredicting Program Properties from "Big Code"
Raychev, V., Vechev, M., & Krause, A. (2015) · Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages · doi:10.1145/2676726.2677009 · Cited by 296
Self-citationAre deep neural networks the best choice for modeling source code?
Hellendoorn, V. J., & Devanbu, P. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3106290 · Cited by 292
“Similarly, in a source code environment, language migration [20, 27], synthesis of code from natural language and vice versa [5, 14, 28, 30] as well as code suggestion engines [15, 33] all need models that score code fragments accurately.”
BackgroundMethodThe adverse effects of code duplication in machine learning models of code
Allamanis, M. (2019) · Proceedings of the 2019 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software · doi:10.1145/3359591.3359735 · Cited by 284
“Language models have been used for autocompletion [14, 15, 20, 24] and it would be unreasonable to assume that the true distribution of this particular use cases contains duplicate code.”
BackgroundMethodLearning and Evaluating Contextual Embedding of Source Code
Kanade, A., Maniatis, P., Balakrishnan, G., & Shi, K. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.2001.00059 · Cited by 143
“Sequence modeling on source code has been shown to be successful in a variety of software-engineering tasks, such as code completion (Hindle et al., 2012; Raychev et al., 2014), source code to pseudocode mapping (Oda et al.”
MethodOn the "naturalness" of buggy code
Ray, B., Hellendoorn, V., Godhane, S., Tu, Z., Bacchelli, A., & Devanbu, P. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884848 · Cited by 252
“Following this work, language models have been used to good effect in code suggestion [22, 48, 53, 15], cross-language porting [38, 37, 39, 24], coding standards [2], idiom mining [3], and code deobfuscation [47].”
MethodInfluentialCode Completion with Neural Attention and Pointer Networks
Li, J., Wang, Y., Lyu, M. R., & King, I. (2018) · Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2018/578 · Cited by 112
“Recently, neural sequence models like RNNs for code completion become increasingly popular, as they can capture longer dependencies and deeper semantics than n - grams (Raychev, Vechev, and Yahav 2014; White et al. 2015).”
BackgroundA Deep Learning Model for Estimating Story Points
Choetkiertikul, M., Dam, H. K., Tran, T., Pham, T., Ghose, A., & Menzies, T. (2019) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2792473 · Cited by 211
“The work in [104] also used RNNs to build a statistical model for code completion.”
MethodA Survey of Machine Learning for Computer Architecture and Systems
Wu, N., & Xie, Y. (2023) · ACM Computing Surveys · doi:10.1145/3494523 · Cited by 213
“• Artificial neural networks (ANNs) [197] are capable to approximate a broad family of functions: a single-layer perceptron is usually used for linear regression; complex DNNs [71] consisting of multiple layers are able to approximate non-linear functions, such as the multi-layer perceptron (MLP); variants of DNNs tha…”
MethodInfluentialSemantically Enhanced Software Traceability Using Deep Learning Techniques
Guo, J., Cheng, J., & Cleland-Huang, J. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.9 · Cited by 232
Automated software vulnerability detection with machine learningPreprint
Harer, J., Kim, L. Y., Russell, R. L., Ozdemir, O., Kosta, L. R., Rangamani, A., Hamilton, L., Centeno, G. I., Key, J. R., Ellingwood, P. M., et al. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1803.04497 · Cited by 266
“work in the domain of using machine learning for program analysis. This work spans various application domains, from malware detection [1, 4, 14, 26, 27] to intelligent auto-completion of source code [12, 24, 25, 28]. Additionally, they span levels of program representations, from pure source code, to abstract syntax…”
BackgroundCode Prediction by Feeding Trees to Transformers
Kim, S., Zhao, J., Tian, Y., & Chandra, S. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00026 · Cited by 209
“Among other flavors of code prediction are the ones where code after the prediction location, when available, is taken into account [9], [49], [51], [52], e.”
BackgroundLearning syntactic program transformations from examples.
de Sousa, R. R. (2018) · LA Referencia (Red Federada de Repositorios Institucionales de Publicaciones Científicas) · Cited by 208
On Learning Meaningful Code Changes Via Neural Machine Translation
Tufano, M., Pantiuchina, J., Watson, C., Bavota, G., & Poshyvanyk, D. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00021 · Cited by 207
“To this aim, we employ a decoding strategy called a Beam Search used in previous applications of DL [57].”
MethodBug Localization with Combination of Deep Learning and Information Retrieval
Lam, A. N., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2017) · 2017 IEEE/ACM 25th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2017.24 · Cited by 194
Toward deep learning software repositories
White, M., Vendome, C., & Poshyvanyk, D. (2015) · Cited by 192
Multi-task Learning based Pre-trained Language Model for Code Completion
Liu, F., Li, G., Zhao, Y., & Jin, Z. (2020) · Proceedings of the 35th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3324884.3416591 · Cited by 188
“Thus, statistical language models have been used for source code modeling [19, 42, 46], benefiting many software engineering tasks, including code summarization [23, 49], code clone detection [51, 52] program repair [15, 47], especially, in code completion [17, 19, 27, 46].”
MethodTowards Automating Code Review Activities
Tufano, R., Pascarella, L., Tufano, M., Poshyvanyk, D., & Bavota, G. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00027 · Cited by 141
“To answer RQ1 we run the best configuration of the 1encoder model obtained after hyperparameter tuning (Section II-C4) on the test set of the Dp dataset, and we perform an inference of the model using beam search [35].”
MethodBig code != big vocabulary: open-vocabulary models for source code
Karampatsis, R.-M., Babii, H., Robbes, R., Sutton, C., & Janes, A. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380342 · Cited by 182
“Precise scoring of code fragments is essential for tasks such as translating a program from one programming language to another [54, 66], code completion [32, 76], and code synthesis from natural language and vice versa [7, 27, 67, 73].”
BackgroundMethodUsing pre-trained models to boost code review automation
Tufano, R., Masiero, S., Mastropaolo, A., Pascarella, L., Poshyvanyk, D., & Bavota, G. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510621 · Cited by 177
“As done in previous work, we adopt a beam search strategy [36] to generate multiple predictions given a single input.”
MethodOn learning meaningful assert statements for unit test cases
Watson, C., Tufano, M., Moran, K., Bavota, G., & Poshyvanyk, D. (2020) · Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering · doi:10.1145/3377811.3380429 · Cited by 111
“Once the model is trained, inference is performed using beam search [30].”
MethodAutomatic inference of code transforms for patch generation
Long, F., Amidon, P., & Rinard, M. (2017) · Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering · doi:10.1145/3106237.3106253 · Cited by 175
“Probabilistic Models for Programs: There is a rich body of work on applying probabilistic models and machine learning learning techniques to programs, specifically for identifying correct repairs [37], code refactoring [51], and code completion [24, 50, 52].”
BackgroundProbabilistic model for code with decision trees
Raychev, V., Bielik, P., & Vechev, M. (2016) · Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications · doi:10.1145/2983990.2984041 · Cited by 148
“Second, adding decision trees to a model such as the one from [25] increases the power of the resulting model.”
BackgroundMethodInfluentialSelf-citationDeep Learning for Source Code Modeling and Generation: Models, Applications, and Challenges
Le, T. H. M., Chen, H., & Babar, M. A. (2021) · ACM Computing Surveys · doi:10.1145/3383458 · Cited by 170
Pythia: AI-assisted Code Completion System
Svyatkovskiy, A., Zhao, Y., Fu, S., & Sundaresan, N. (2019) · Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining · doi:10.1145/3292500.3330699 · Cited by 169
“A large number of intelligent code completion systems for both statically and dynamically typed languages have been proposed in the literature [4, 5, 2, 6, 7, 8].”
BackgroundExploring API Embedding for API Usages and Applications
Nguyen, T. D., Nguyen, A. T., Phan, H. D., & Nguyen, T. N. (2017) · 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2017.47 · Cited by 159
“Researchers have proposed to use language models to suggest next tokens or API calls [3], [4], [5], [27].”
BackgroundMethodAn Empirical Study of Common Challenges in Developing Deep Learning Applications
Zhang, T., Gao, C., Ma, L., Lyu, M. R.-T., & Kim, M. (2019) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2019.00020 · Cited by 208
“, code completion [1], [2], code search [3], clone detection [4], [5], type inference [6], and bug prediction [7], [8].”
BackgroundSorting and Transforming Program Repair Ingredients via Deep Learning Code Similarities
White, M., Tufano, M., Martinez, M., Monperrus, M., & Poshyvanyk, D. (2019) · 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2019.8668043 · Cited by 163
API code recommendation using statistical learning from fine-grained changes
Nguyen, A. T., Hilton, M., Codoban, M., Nguyen, H. A., Mast, L., Rademacher, E., Nguyen, T. N., & Dig, D. (2016) · Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2950290.2950333 · Cited by 163
“The second one uses statistical learning from code [16, 42, 52].”
BackgroundMethodInfluentialSWIM: synthesizing what i mean: code search and idiomatic snippet synthesis
Raghothaman, M., Wei, Y., & Hamadi, Y. (2016) · Proceedings of the 38th International Conference on Software Engineering · doi:10.1145/2884781.2884808 · Cited by 132
Self-Planning Code Generation with Large Language Models
Jiang, X., Dong, Y., Wang, L., Fang, Z., Shang, Q., Li, G., Jin, Z., & Jiao, W. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3672456 · Cited by 158
“Traditional code generation approaches are based on supervised learning, which initially treats code as equivalent to natural language [33]–[35] and then gradually incorporates more code-specific features, such as abstract syntax tree [36]– [40], API calls [41]–[43].”
BackgroundRepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation
Zhang, F., Chen, B., Zhang, Y., Keung, J., Liu, J., Zan, D., Mao, Y., Lou, J.-G., & Chen, W. (2023) · Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2023.emnlp-main.151 · Cited by 173
In-IDE Code Generation from Natural Language: Promise and Challenges
Xu, F. F., Vasilescu, B., & Neubig, G. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3487569 · Cited by 154
“For example, software developers can save keystrokes or avoid writing dull pieces of code [32, 86, 99, 115]; and non-programmers and practitioners in other fields, who require computation in their daily work, can get help with creating data manipulation scripts [38, 62].”
BackgroundIn-IDE Code Generation from Natural Language: Promise and Challenges
Xu, F. F., Vasilescu, B., & Neubig, G. (2021) · arXiv · doi:10.48550/arxiv.2101.11149 · Cited by 153
“For example, software developers can save keystrokes or avoid writing dull pieces of code [32, 86, 99, 115]; and non-programmers and practitioners in other fields, who require computation in their daily work, can get help with creating data manipulation scripts [38, 62].”
BackgroundA Survey of Machine Learning for Big Code and Naturalness
Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2019) · ACM Computing Surveys · doi:10.1145/3212695 · Cited by 150
CODIT: Code Editing With Tree-Based Neural Models
Chakraborty, S., Ding, Y., Allamanis, M., & Ray, B. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3020502 · Cited by 114
“Finally, there are domainspecific approaches, such as error handling code generation [95], [96], API-related changes [9], [10], [11], [12], [13], [14], [97], automatic refactorings [15], [16], [17], [18], etc.”
BackgroundMethodComponent-based synthesis of table consolidation and transformation tasks from examples
Feng, Y., Martins, R., Van Geffen, J., Dillig, I., & Chaudhuri, S. (2017) · Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3062341.3062351 · Cited by 131
“[28], we nevertheless evaluate its impact on our benchmark set consisting of various data preparation tasks.”
BackgroundMethodUnifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code
Zhang, Z., Chen, C., Liu, B., Liao, C., Gong, Z., Yu, H., Li, J., & Wang, R. (2024) · Transactions on machine learning research · doi:10.13140/rg.2.2.32710.69440/1 · Cited by 195
Large Language Models for Test-Free Fault Localization
Yang, A. Z. H., Le Goues, C., Martins, R., & Hellendoorn, V. (2024) · Proceedings of the IEEE/ACM 46th International Conference on Software Engineering · doi:10.1145/3597503.3623342 · Cited by 144
“Recent advances in language modeling using code as training data have shown that LMs can perform code completion [45] and generate code based on natural language [46] with impressive results.”
BackgroundTufano, M., Watson, C., Bavota, G., Di Penta, M., White, M., & Poshyvanyk, D. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3240732 · Cited by 133
“Some examples of recent models that can be used in a number of SE tasks include: code completion [29], defect prediction [36], bug localization [19], clone detection [39], code search [11], learning API sequences [12], or recommending method names [2].”
BackgroundGraph-based statistical language model for code
Nguyen, A. T., & Nguyen, T. N. (2016) · Cited by 141
(2021) · doi:10.1145/3510003.3510203 · Cited by 139
“The literature on using machine learning for program synthesis is vast [8, 17, 18, 21, 22, 25, 28, 35, 41] and we restrict to works which are closest to Jigsaw (synthesizing code for large APIs using large models and multi-modal specifications).”
MethodPredicting Defective Lines Using a Model-Agnostic Technique
Wattanakriengkrai, S., Thongtanunam, P., Tantithamthavorn, C., Hata, H., & Matsumoto, K. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3023177 · Cited by 137
“Prior work found that statistical language models can be leveraged to help developers in many software engineering tasks such as code completion [68, 84], code convention [5], and method names suggestion [6].”
BackgroundA Systematic Literature Review on the Use of Deep Learning in Software Engineering Research
Watson, C., Cooper, N., Palacio, D. N., Moran, K., & Poshyvanyk, D. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3485275 · Cited by 137
“SE Task Papers Code Comprehension [9, 10, 16, 64, 73, 77, 93, 97, 119, 121, 130, 144, 180, 185] Source Code Generation [26, 37, 57, 63, 74, 84, 124, 136, 151, 173] Source Code Retrieval & Traceability [10, 27, 29, 41, 62, 65, 92, 175, 179] Source Code Summarization [11, 29, 77, 95, 162, 179] Bug-fixing Process [41, 67…”
MethodFraiwan, M., & Khasawneh, N. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2305.00237 · Cited by 56
“[12] identified early on the potential of natural language processing in synthesizing code completion and predicting the probability of sentences.”
BackgroundStatistical Deobfuscation of Android Applications
Bichsel, B., Raychev, V., Tsankov, P., & Vechev, M. (2016) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/2976749.2978422 · Cited by 136
“Examples of such tasks include machine translation between programming languages [18], statistical code synthesis [32, 30], and predicting names and types in source code [31, 9].”
BackgroundMethodSelf-citationBugram: bug detection with n-gram language models
Wang, S., Chollak, D., Movshovitz-Attias, D., & Tan, L. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970341 · Cited by 118
“[37] investigated the effectiveness of language models, i.”
BackgroundMethodResultInfluentialAllamanis, M., Barr, E. T., Ducousso, S., & Gao, Z. (2020) · Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3385412.3385997 · Cited by 92
“Code completion [32, 34, 36, 52] is one of the most widely explored topics.”
BackgroundPhrase-Based Statistical Translation of Programming Languages
Karaivanov, S., Raychev, V., & Vechev, M. (2014) · Proceedings of the 2014 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming & Software · doi:10.1145/2661136.2661148 · Cited by 114
“However, we believe that in the future, statistical translation systems will be combined with parts of traditional rule-based systems.”
BackgroundSelf-citationLearning programs from noisy data
Raychev, V., Bielik, P., Vechev, M., & Krause, A. (2016) · Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages · doi:10.1145/2837614.2837671 · Cited by 123
“9 (c) shows the execution.”
BackgroundMethodInfluentialSelf-citationPerfection Not Required? Human-AI Partnerships in Code Translation
Weisz, J. D., Muller, M., Houde, S., Richards, J., Ross, S. I., Martinez, F., Agarwal, M., & Talamadupula, K. (2021) · 26th International Conference on Intelligent User Interfaces · doi:10.1145/3397481.3450656 · Cited by 129
“In recent years, several efforts have focused on the use of AI and machine learning techniques for various tasks related to software engineering, including code completion [15, 41, 75, 84], code classification [49, 68], API recommendation [16, 33], variable and method naming [3, 5], type inference [39, 93], bug detect…”
BackgroundComponent-based synthesis for complex APIs
Feng, Y., Martins, R., Wang, Y., Dillig, I., & Reps, T. W. (2017) · Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages · doi:10.1145/3009837.3009851 · Cited by 113
“Another recent code-completion tool is SLANG [35] which predicts probabilities of API calls using statistical methods.”
MethodInfluentialHow do developers utilize source code from stack overflow?
Wu, Y., Wang, S., Bezemer, C.-P., & Inoue, K. (2019) · Empirical Software Engineering · doi:10.1007/s10664-018-9634-5 · Cited by 127
“To address this problem, prior studies have proposed several approaches to extend incomplete code snippets (not limited to those on Q&A platforms) into compilable ones based on program analysis and machine learning techniques (Wang et al. 2016a; Nguyen et al. 2012; Raychev et al. 2014).”
BackgroundIs GitHub’s Copilot as bad as humans at introducing vulnerabilities in code?
Asare, O., Nagappan, M., & Asokan, N. (2023) · Empirical Software Engineering · doi:10.1007/s10664-023-10380-1 · Cited by 128
“N-gram language models have also been adapted for the task of modeling code for various purposes with some degree of success (Hindle et al. 2012; Raychev et al. 2014).”
BackgroundMethodA Neural Architecture for Generating Natural Language Descriptions from Source Code Changes
Loyola, P., Marrese-Taylor, E., & Matsuo, Y. (2017) · Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/p17-2045 · Cited by 128
“, API suggestion (Gu et al., 2016) and code completion (Raychev et al., 2014).”
BackgroundFOCUS: A Recommender System for Mining API Function Calls and Usage Patterns
Nguyen, P. T., Rocco, J. D., Ruscio, D. D., Ochoa, L., Degueule, T., & Penta, M. D. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00109 · Cited by 144
“Similarly, Raychev et al. [30] propose a code completion approach based on natural language processing, which receives as input a partial program and outputs a set of API call sequences filling the gaps of the input.”
Generative Code Modeling with Graphs
Brockschmidt, M., Allamanis, M., Gaunt, A. L., & Polozov, O. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1805.08490 · Cited by 67
“The task of Raychev et al. [20] is nearest to our ExprGen , but instead focuses on filling holes in sequences of API calls.”
BackgroundA3Test: Assertion-Augmented Automated Test case generation
Alagarsamy, S., Tantithamthavorn, C., & Aleti, A. (2024) · Information and Software Technology · doi:10.1016/j.infsof.2024.107565 · Cited by 90
PHOG: probabilistic model for code
Bielik, P., Raychev, V., & Vechev, M. (2016) · International Conference on Machine Learning · Cited by 202
Self-citationDebin: Predicting Debug Information in Stripped Binaries
He, J., Ivanov, P., Tsankov, P., Raychev, V., & Vechev, M. (2018) · ACM SIGSAC Conference on Computer and Communications Security (CCS) · doi:10.1145/3243734.3243866 · Cited by 174
“In recent years, the development of large codebases has triggered studies of probabilistic models for software related tasks such as code summarization [26], method and class name suggestions [10], code completion [45], program synthesis [42, 43] and programming language translation [32].”
BackgroundSelf-citationTrex: Learning Execution Semantics from Micro-Traces for Binary SimilarityPreprint
Pei, K., Zhou, X., Yang, J., Jana, S., & Ray, B. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2012.08680 · Cited by 157
“, semantics, syntax), which can be leveraged to perform many applications beyond function similarity, such as program repair [58], [76], recovering symbol names and types [16], [60], code completion [68], decompilation [31], [46], prefetching [71], and many others that we refer to Allamanis et al.”
BackgroundInvestigating Code Generation Performance of ChatGPT with Crowdsourcing Social Data
Feng, Y., Vanam, S., Cherukupally, M., Zheng, W., Qiu, M., & Chen, H. (2023) · 2023 IEEE 47th Annual Computers, Software, and Applications Conference (COMPSAC) · doi:10.1109/compsac57700.2023.00117 · Cited by 117
“Ray-chev et al. [18] proposed a code completion technique using statistical language models to discover highly rated sentences and recommend code completion suggestions.”
Pandl, K. D., Thiebes, S., Schmidt-Kraepelin, M., & Sunyaev, A. (2020) · IEEE Access · doi:10.1109/access.2020.2981447 · Cited by 115
“, by expressing the information which portions of the bytecode cause the vulnerabilities [38]) or even at providing suggestions to fix it [60], [61].”
BackgroundDeepDelta: learning to repair compilation errors
Mesbah, A., Rice, A., Johnston, E., Glorioso, N., & Aftandilian, E. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3340455 · Cited by 107
“Raychev et al. [40] use neural networks for code completion of missing API calls.”
BackgroundWhat do they capture?: a structural analysis of pre-trained language models for source code
Wan, Y., Zhao, W., Zhang, H., Sui, Y., Xu, G., & Jin, H. (2022) · Proceedings of the 44th International Conference on Software Engineering · doi:10.1145/3510003.3510050 · Cited by 73
“Code embedding can be used to support a variety of downstream tasks, such as code completion [30], code search [12, 43], and code summarization [1, 44, 45].”
BackgroundLarge Language Models for Software Engineering: A Systematic Literature Review
Hou, X., Zhao, Y., Liu, Y., Yang, Z., Wang, K., Li, L., Luo, X., Lo, D., Grundy, J., & Wang, H. (2023) · arXiv · doi:10.48550/arxiv.2308.10620 · Cited by 114
Program synthesis using conflict-driven learning
Feng, Y., Martins, R., Bastani, O., & Dillig, I. (2018) · Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/3192366.3192382 · Cited by 111
“For instance, the AST from Figure 3 corresponds to the following partial assignment : Decide.”
MethodInfluentialA Bidirectional LSTM Language Model for Code Evaluation and Repair
Rahman, M. M., Watanobe, Y., & Nakamura, K. (2021) · Symmetry · doi:10.3390/sym13020247 · Cited by 125
Exploring Software Naturalness through Neural Language Models
Buratti, L., Pujar, S., Bornea, M. A., McCarley, S., Zheng, Y., Rossiello, G., Morari, A., Laredo, J., Thost, V., Zhuang, Y., et al. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.12641 · Cited by 51
“The LM created by pre-training on source code can thus be used for different tasks such as VI, code completion [33], code repair [36], as well as multi-modal tasks involving both natural language and source code [7].”
BackgroundMethodP/Taint: unified points-to and taint analysis
Grech, N., & Smaragdakis, Y. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3133926 · Cited by 121
“2012], code completion engines [Raychev et al. 2014], refactoring transformations [Schäfer et al.”
Predicting Program Properties from "Big Code"
Raychev, V., Vechev, M., & Krause, A. (2015) · ACM SIGPLAN Notices · doi:10.1145/2775051.2677009 · Cited by 161
Self-citationAn Empirical Study on the Usage of Transformer Models for Code Completion
Ciniselli, M., Cooper, N., Pascarella, L., Mastropaolo, A., Aghajani, E., Poshyvanyk, D., Di Penta, M., & Bavota, G. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2021.3128234 · Cited by 94
“[69] approach the code completion problem through statistical language models.”
Meng, X., Wang, X., Zhang, H., Sun, H., & Liu, X. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510147 · Cited by 122
“[3, 4, 42, 49, 53, 54, 56, 60, 65], the deep semantic features of source code are ignored by DeepFL, and DeepRL4FL only considers simple semantic representation by the fully connected layer after the concatenation of word embeddings at the statement level; second, although the bug-related knowledge extracted from hist…”
BackgroundLearning-Based Recursive Aggregation of Abstract Syntax Trees for Code Clone Detection
Buch, L., & Andrzejak, A. (2019) · 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2019.8668039 · Cited by 93
“Most embeddings in the software engineering literature represent method names, instances of API calls, bytecode or general code tokens [13], [16]–[21].”
MethodParameter-free probabilistic API mining across GitHub
Fowkes, J., & Sutton, C. (2016) · Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering · doi:10.1145/2950290.2950319 · Cited by 99
“[31] develop an n-gram language model that synthesizes code completions for programs using APIs.”
BackgroundMethodAn Empirical Study on the Usage of BERT Models for Code Completion
Ciniselli, M., Cooper, N., Pascarella, L., Poshyvanyk, D., Di Penta, M., & Bavota, G. (2021) · 2021 IEEE/ACM 18th International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr52588.2021.00024 · Cited by 78
LLM for Test Script Generation and Migration: Challenges, Capabilities, and Opportunities
Yu, S., Fang, C., Ling, Y., Wu, C., & Chen, Z. (2023) · 2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS) · doi:10.1109/qrs60937.2023.00029 · Cited by 64
“During the era of statistical language models, code generation has already gone through a decent development [56].”
BackgroundSearch-based program synthesis
Alur, R., Singh, R., Fisman, D., & Solar-Lezama, A. (2018) · Communications of the ACM · doi:10.1145/3208071 · Cited by 127
“While space does not permit a detailed discussion of the related work, let us mention a few relevant trends: type-based approaches to code completion, 14,21,22 use of statistical models learnt from code repositories for program synthesis, 24 and search-based program repair.”
BackgroundFlow2Vec: value-flow-based precise code embedding
Sui, Y., Cheng, X. Y., Zhang, G., & Wang, H. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428301 · Cited by 123
“Many previous efforts in code embedding have treated source code as textual tokens by using Word2Vec-like techniques [Allamanis et al. 2016; Hindle et al. 2012; Pradel and Sen 2018; Raychev et al. 2014].”
MethodSynthesizing benchmarks for predictive modeling
Cummins, C., Petoumenos, P., Wang, Z., & Leather, H. (2017) · Proceedings of the CGO/Proceedings of the ... CGO · doi:10.1109/cgo.2017.7863731 · Cited by 114
“Previous studies have involved data mining of GitHub to analyze software engineering practices [49–52], for example code generation [53], code summarization [54], comment generation [55], and code completion [56].”
MethodAppFlow: using machine learning to synthesize robust, reusable UI tests
Hu, G., Zhu, L., & Yang, J. (2018) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3236024.3236055 · Cited by 97
“Previous works [15, 48, 51, 65, 74, 77, 81, 83, 85, 89, 90] learn useful features from codes for code completion, clone detection, bug finding, similar app detection, etc.”
BackgroundA general path-based representation for predicting program properties
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2018) · ACM SIGPLAN Notices · doi:10.1145/3296979.3192412 · Cited by 122
Self-citationProbabilistic model for code with decision trees
Raychev, V., Bielik, P., & Vechev, M. (2016) · ACM SIGPLAN Notices · doi:10.1145/3022671.2984041 · Cited by 81
Self-citationS-gram: towards semantic-aware security auditing for Ethereum smart contracts
Liu, H., Liu, C., Zhao, W., Jiang, Y., & Sun, J. (2018) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3238147.3240728 · Cited by 93
“SLM based techniques have been widely applied in software engineering tasks [11, 13, 17, 20, 21].”
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.