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 201–300 of 592
Unsupervised learning of API aliasing specifications
Eberhardt, J., Steffen, S., Raychev, V., & Vechev, M. (2019) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3314221.3314640 · Cited by 29
“Modeling API effects on aliasing Using a static points-to analysis such as [3], the potentially infinite set of dynamically allocated objects can be partitioned into a bounded set of abstract objects [25].”
BackgroundMethodInfluentialSelf-citationSoftware Vulnerability Detection via Deep Learning over Disaggregated Code Graph RepresentationPreprint
Zhuang, Y., Suneja, S., Thost, V., Domeniconi, G., Morari, A., & Laredo, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2109.03341 · Cited by 37
L2S: A Framework for Synthesizing the Most Probable Program under a Specification
Xiong, Y., & Wang, B. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3487570 · Cited by 34
“Many approaches have been proposed to generate different kinds of programs, such as imperative programs [5, 15, 23, 36, 50, 52, 57, 72], lambda expressions [15, 50, 69], string manipulations [14, 45], and regular expressions [31], from various contexts, such as natural language description [15, 23, 31, 36, 50, 57, 69,…”
BackgroundHow to better utilize code graphs in semantic code search?
Shi, Y., Yin, Y., Wang, Z., Lo, D., Zhang, T., Xia, X., Zhao, Y., & Xu, B. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3549087 · Cited by 30
“In software engineering, there are also other code related works [6, 21, 37, 38, 50], such as bug location [27, 27], code summary [1, 46, 48], clone detection [49] and code completion [41].”
BackgroundCollective Intelligence for Smarter API Recommendations in Python
D'Souza, A. R., Yang, D., & Lopes, C. V. (2016) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam.2016.22 · Cited by 34
“[18] model the extracted method call sequences into statistical language models like N-Gram and recurrent neural networks to predict recommendations.”
MethodMethod name suggestion with hierarchical attention networks
Xu, S., Zhang, S., Wang, W., Cao, X., Guo, C., & Xu, J. (2019) · ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM) · doi:10.1145/3294032.3294079 · Cited by 30
“Raychev et al. [32] phrased the problem of synthesizing code completions by API sequence generation which can be solved by n-gram models.”
BackgroundTowards the application of recommender systems to secure coding
Nembhard, F., Carvalho, M., & Eskridge, T. C. (2019) · EURASIP Journal on Information Security · doi:10.1186/s13635-019-0092-4 · Cited by 31
Oh, S., Lee, K., Park, S., Kim, D., & Kim, H. (2024) · 2024 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp54263.2024.00046 · Cited by 27
“State-of-the-art tools such as Microsoft’s Visual Studio IntelliCode [12] and Deep TabNine (https://tabnine . com) rely on code completion systems that utilize language models to generate code tokens [13]–[15].”
MethodExploring the use of automated API migrating techniques in practice: an experience report on Android
Lamothe, M., & Shang, W. (2018) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3196398.3196420 · Cited by 34
“Prior research has concentrated on recommending or producing specialized tools to provide suggestions for consumers pursuing API migrations [7, 10, 14, 16, 21, 28, 33, 34, 39, 43, 44, 48, 59, 63].”
BackgroundDeep Transfer Learning for Source Code Modeling
Hussain, Y., Huang, Z., Zhou, Y., & Wang, S. (2020) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194020500230 · Cited by 28
AutoPruner: transformer-based call graph pruning
Le-Cong, T., Kang, H. J., Nguyen, T. G., Haryono, S. A., Lo, D., Le, X.-B. D., & Huynh, Q. T. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3549175 · Cited by 32
“Other researchers had success using deep learning models for type inference [2, 16, 39, 40], code completion [17, 42, 49], code clone detection [46], program repair [8, 33], fault localization [30, 35], among other analyses on source code [6, 28, 31, 36].”
MethodTransformers in source code generation: A comprehensive survey
Ghaemi, H., Alizadehsani, Z., Shahraki, A., & Corchado, J. M. (2024) · Journal of Systems Architecture · doi:10.1016/j.sysarc.2024.103193 · Cited by 31
Evaluating the evaluations of code recommender systems: a reality check
Proksch, S., Amann, S., Nadi, S., & Mezini, M. (2016) · Proceedings of the 31st IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/2970276.2970330 · Cited by 26
“Raychem et al. [23] develop a recommender that suggests multiple missing method calls in a piece of code.”
BackgroundMethodDiscovering, Explaining and Summarizing Controversial Discussions in Community Q&A Sites
Ren, X., Xing, Z., Xia, X., Li, G., & Sun, J. (2019) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00024 · Cited by 26
Towards using visual, semantic and structural features to improve code readability classification
Mi, Q., Hao, Y., Ou, L., & Ma, W. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111454 · Cited by 34
Neural Bug Finding: A Study of Opportunities and ChallengesPreprint
Habib, A., & Pradel, M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1906.00307 · Cited by 30
“This representation is similar to natural languages [23], [24] and has seen various applications in programming and software engineering tasks, such as bug detection [25], program repair [26], [27], and code completion [12].”
BackgroundPYInfer: Deep Learning Semantic Type Inference for Python VariablesPreprint
Cui, S., Zhao, G., Dai, Z., Wang, L., Huang, R., & Huang, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.14316 · Cited by 27
“Raychev et al. [40] focused on code completion with APIs using a language model.”
MethodVechev, M., & Yahav, E. (2016) · Foundations and Trends® in Programming Languages · doi:10.1561/9781680832310 · Cited by 33
Self-citationEnriching in-IDE process information with fine-grained source code history
Proksch, S., Nadi, S., Amann, S., & Mezini, M. (2017) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2017.7884626 · Cited by 29
“During the design of SSTs, we considered other source-based recommender systems such as other method call recommenders (i.e., [1], [7], [22], [34], [55], [68]), snippet recommender (i.e., [23], [31], [47], [48], [64]), and tools for code search (i.e., [24], [25], [41], [69]), documentation (i.e.,…”
MethodDeep learning the semantics of change sequences for query expansion
Huang, Q. Y., Yang, Y., & Cheng, M. (2019) · Software Practice and Experience · doi:10.1002/spe.2736 · Cited by 25
“Wang et al 22 learnt semantics of programs automatically from source code and predicted code defect by using DBN. Raychev et al 17 reduced the code completion problem to a natural language processing problem and used deep learning to predict the probabilities of next tokens.”
MethodShrestha, S. L., & Csallner, C. (2021) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3463274.3463806 · Cited by 25
“Researchers have used language models to improve software engineering task such as code completion and code clone detection [1, 8, 18].”
MethodProgramming Pedagogy and Assessment in the Era of AI/ML: A Position Paper
Raman, A., & Kumar, V. (2022) · Bangalore Annual Compute Conference · doi:10.1145/3561833.3561843 · Cited by 27
“For example, software developers can save keystrokes or avoid writing dull pieces of code [15, 34, 37], and non-programmers and practitioners in other fields can get help with creating data manipulation scripts [16, 22].”
BackgroundPradel, M., & Sen, K. (2017) · TUbilio (Technical University of Darmstadt) · Cited by 36
An Empirical Study on Code Comment Completion
Mastropaolo, A., Aghajani, E., Pascarella, L., & Bavota, G. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.26226/morressier.613b5418842293c031b5b5da · Cited by 34
APIRecX: Cross-Library API Recommendation via Pre-Trained Language Model
Kang, Y., Wang, Z., Zhang, H., Chen, J., & You, H. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.275 · Cited by 32
“The baseline model parameters were set according to the previous work(Yan et al., 2018; Raychev et al., 2014).”
BackgroundMethodResultInfluentialCOME: Commit Message Generation with Modification Embedding
He, Y., Wang, L., Wang, K., Zhang, Y., Zhang, H., & Li, Z. (2023) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3597926.3598096 · Cited by 36
“With the development of deep learning, Raychev et al.[50] use RNN models to learn code features together with downstream tasks.”
Wang, S., Lin, B., Sun, Z., Wen, M., Liu, Y., Lei, Y., & Mao, X. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3622815 · Cited by 29
“Recommender systems in software engineering play a crucial role in improving developers’ productivity [Luan et al. 2019; Miltner et al. 2019; Pelsmaeker et al. 2022; Raychev et al. 2014; Verbruggen et al. 2021; Zhang et al. 2022].”
MethodRevisiting Unnaturalness for Automated Program Repair in the Era of Large Language Models
Yang, A. Z. H., Kolak, S., Hellendoorn, V. J., Martins, R., & Goues, C. L. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00089 · Cited by 30
“Recent language models finetune on code as training data and can perform code completion [36], [29], and generate code based on natural language [37] with impressive results.”
BackgroundInteractive synthesis using free-form queries
Gvero, T., & Kunčak, V. (2015) · doi:10.5555/2819009.2819139 · Cited by 24
Modeling Vocabulary for Big Code Machine LearningPreprint
Babii, H., Janes, A., & Robbes, R. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.01873 · Cited by 24
“Raychev et al. [60] address the problem of synthesizing code completions for programs using APIs.”
BackgroundLearning API Usages from Bytecode: A Statistical ApproachPreprint
Nguyen, T. T., Pham, H. V., Vu, P. M., & Nguyen, T. T. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1507.07306 · Cited by 24
“Keywords Statistical model, API usage, mobile apps”
Grounded Copilot: How Programmers Interact with Code-Generating Models
Barke, S., James, M. B., & Polikarpova, N. (2022) · arXiv · doi:10.48550/arxiv.2206.15000 · Cited by 23
“…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.”
BackgroundModeling programs hierarchically with stack-augmented LSTM
Liu, F., Zhang, L., & Jin, Z. G. (2020) · Journal of Systems and Software · doi:10.1016/j.jss.2020.110547 · Cited by 27
“In recent years, statistical language modeling approaches, including deep learning based models, have been applied to modeling programming languages [14, 36, 34, 33, 32, 8, 24].”
BackgroundNoFAQ: synthesizing command repairs from examples
D’Antoni, L., Singh, R., & Vaughn, M. L. (2017) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3106237.3106241 · Cited by 27
“of code that is publicly available online to synthesize likely changes to the input program [24, 29].”
BackgroundLMDet: A “Naturalness” Statistical Method for Hardware Trojan Detection
Shen, H., Tan, H., Li, H., Zhang, F., & Li, X. (2017) · IEEE Transactions on Very Large Scale Integration (VLSI) Systems · doi:10.1109/tvlsi.2017.2781423 · Cited by 24
“Statistical language modeling has been used to model the regularities in natural and programming languages, and to solve practical problems such as software bug detection [7], fault localization [8], coding style checking [9], and others [10], [11].”
MethodAbstraction refinement guided by a learnt probabilistic model
Grigore, R., & Yang, H. (2016) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/2837614.2837663 · Cited by 23
Digital forensic framework for smart contract vulnerabilities using ensemble models
Lohith, J. J., Singh, K., & Chakravarthi, B. (2023) · Multimedia Tools and Applications · doi:10.1007/s11042-023-17308-3 · Cited by 29
Rahman, M. M., & Watanobe, Y. (2023) · IEEE Transactions on Emerging Topics in Computational Intelligence · doi:10.1109/tetci.2023.3336920 · Cited by 25
“10, 11, 12, and 13.”
BackgroundGenerative API usage code recommendation with parameter concretization
Chen, C., Peng, X., Sun, J., Xing, Z., Wang, X., Zhao, Y., Zhang, H., & Zhao, W. (2019) · Science China Information Sciences · doi:10.1007/s11432-018-9821-9 · Cited by 23
“The vast accumulation of source code and related documentation (i.e., big data in software development) has boosted data-driven software automation [18] for a variety of tasks such as code recommendation [4, 6,8], program generation [19] and optimization [20,21].”
BackgroundMethodInfluentialTree2Tree Neural Translation Model for Learning Source Code Changes.Preprint
Chakraborty, S., Allamanis, M., & Ray, B. (2018) · arXiv (Cornell University) · Cited by 27
Malicious source code detection using a translation model
Tsfaty, C., & Fire, M. (2023) · Patterns · doi:10.1016/j.patter.2023.100773 · Cited by 21
“73 Those tasks include several challenges, such as capturing semantic essence, 74 syntax resemblance, 59 and figure execution flow.”
Nguyen, T. V., Tran, N., Phan, H., Nguyen, T., Truong, L. H., Nguyen, A. T., Nguyen, H. A., & Nguyen, T. N. (2018) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3236024.3236036 · Cited by 26
Towards a Cognizant Virtual Software Modeling Assistant using Model Clones
Stephan, M. (2019) · IEEE/ACM International Conference on Software Engineering: New Ideas and Emerging Results (ICSE-NIER) · doi:10.1109/icse-nier.2019.00014 · Cited by 23
“Proksch et al. [4], Raychev et al. [7], and Asaduzzaman et al. [8] are notable examples that use Bayesian networks, language-based techniques, and method call and call site contexts, respectively.”
BackgroundA Source Code Similarity Based on Siamese Neural Network
Xie, C., Wang, X., Qian, C., & Mengqi, W. (2020) · Applied Sciences · doi:10.3390/app10217519 · Cited by 23
Learning to make compiler optimizations more effective
Mammadli, R., Selakovic, M., Wolf, F., & Pradel, M. (2021) · MAPS@PLDI · doi:10.1145/3460945.3464952 · Cited by 24
“Machine learning has been used to address various programming-related problems in an end-to-end manner [2], including code completion [11, 45, 49], bug detection [27, 37, 47], and bug fixing [25, 26, 38].”
Relational verification using reinforcement learning
Chen, J., Wei, J., Feng, Y., Bastani, O., & Dillig, I. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360567 · Cited by 34
SpreadsheetCoder: Formula Prediction from Semi-structured ContextPreprint
Chen, X., Maniatis, P., Singh, R., Sutton, C. A., Dai, H., Lin, M., & Zhou, D. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.15339 · Cited by 45
“Our spreadsheet formula prediction problem is also related to code completion tasks (Raychev et al., 2014; Li et al., 2018; Svyatkovskiy et al., 2019; 2020; Svyatkovskoy et al., 2020).”
MethodLanguage-parametric static semantic code completion
Pelsmaeker, D. A. A., van Antwerpen, H., Poulsen, C. B., & Visser, E. (2022) · Proceedings of the ACM on Programming Languages · doi:10.1145/3527329 · Cited by 22
“Asaduzzaman et al. [2014] and Raychev et al. [2014] use a large library of examples and histories to determine completion proposals and their ranking, using heuristics and statistical language models respectively.”
BackgroundMethodPTM-APIRec: Leveraging Pre-trained Models of Source Code in API Recommendation
Li, Z., Li, C., Tang, Z. J., Huang, W., Ge, J., Luo, B., Ng, V., Wang, T., Hu, Y., & Zhang, X. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3632745 · Cited by 24
“The results also show that the vanilla 3-gram language model [42] fails to capture enough information and is not suitable for API recommendation.”
BackgroundMethodInfluentialA Simple, Efficient, Context‐sensitive Approach for Code Completion
Asaduzzaman, M., Roy, C. K., Schneider, K. A., & Hou, D. (2016) · Journal of Software Evolution and Process · doi:10.1002/smr.1791 · Cited by 25
“[14] propose a code completion technique, SLANG, that collects sequence of method calls to create a statistical language model.”
MethodJin, X., & Servant, F. (2018) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3196398.3196474 · Cited by 25
Towards demystifying dimensions of source code embeddings
Rabin, M. R. I., Mukherjee, A., Gnawali, O. D., & Alipour, M. A. (2020) · doi:10.1145/3416506.3423580 · Cited by 24
Feedback-driven semi-supervised synthesis of program transformations
Gao, X. Y., Barke, S., Radhakrishna, A., Soares, G., Gulwani, S., Leung, A., Nagappan, N., & Tiwari, A. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428287 · Cited by 23
“(Raychev et al., 2014) train statistical language models to predict API usage patterns from code snippets extracted from websites such as Github and StackOverflow.”
MethodSQUARES: a SQL synthesizer using query reverse engineering
Orvalho, P., Terra-Neves, M., Ventura, M., Martins, R., & Manquinho, V. M. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3415478.3415492 · Cited by 31
FACER: An API usage-based code-example recommender for opportunistic reuse
Abid, S., Shamail, S., Basit, H. A., & Nadi, S. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-10000-w · Cited by 24
“SLANG (Raychev et al. 2014) is a code completion tool for Java”
BackgroundMethodInfluentialSaying ‘Hi!’ is not enough: Mining inputs for effective test generation
Toffola, L. D., Staicu, C.-A., & Pradel, M. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115617 · Cited by 23
“Other work on learning from existing code includes learning a statistical language model for code completion [43] and applying information retrieval to the problem of bug localization [26], [29], [41], [42], [57].”
BackgroundA3test: Assertion-Augmented Automated Test Case GenerationPreprint
Alagarsamy, S., Tantithamthavorn, C. K., & Aleti, A. (2024) · SSRN Electronic Journal · doi:10.2139/ssrn.4724885 · Cited by 21
Exploring GNN based program embedding technologies for binary related tasks
Guo, Y., Li, P., Luo, Y., Wang, X., & Wang, Z. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3527900 · Cited by 19
“In recent years, applying neural networks to solve tasks such as program completion [22, 41], program annotation [2], binary similarity detection [52, 54] has attracted ever-increasing attention.”
BackgroundEdSketch: execution-driven sketching for Java
Hua, J., & Khurshid, S. (2017) · International workshop on Model Checking Software · doi:10.1145/3092282.3092285 · Cited by 25
“Slang [24] predicts probabilities of API calls using statistical models based on machine learning.”
MethodOn the Impact of Tokenizer and Parameters on N-Gram Based Code Analysis
Jimenez, M., Cordy, M., Traon, Y. L., & Papadakis, M. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00053 · Cited by 26
“They have been used mainly for code completion [2], [11], [26]–[28], program analysis [23], bug detection [3], code review [20], and information extraction [29], [30].”
MethodOn the Impact of Machine Learning: Architecture without Architects?
Belém, C., Santos, L., & Leitão, A. (2019) · Cited by 34
Wen, F., Aghajani, E., Nagy, C., Lanza, M., & Bavota, G. (2021) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse43902.2021.00025 · Cited by 22
“In the best case, they can recommend a sequence of APIs that a developer is likely to use next [5], [8].”
BackgroundSCStudio: a secure and efficient integrated development environment for smart contracts
Ren, M., Ma, F., Yin, Z., Li, H., Fu, Y., Chen, T., & Jiang, Y. (2021) · ACM SIGSOFT International Symposium on Software Testing and Analysis (ISSTA) · doi:10.1145/3460319.3469078 · Cited by 20
“[18] used decision tree to directly model the tree structure of the program to make the predictions.”
MethodHierarchical semantic-aware neural code representation
Jiang, Y., Su, X., Treude, C., & Wang, T. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111355 · Cited by 25
Toward a Theory of Causation for Interpreting Neural Code Models
Nader Palacio, D., Velasco, A., Cooper, N., Rodriguez, A., Moran, K., & Poshyvanyk, D. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3379943 · Cited by 18
“A NCM is a probability distribution P ( w t | w 1 , w 2 , . . . , w t − 1 ) in which the output w t at time step t , given the input sequence ( w 1 , w 2 , .., w t − 1 ) , is inferred through the conditional probability P ( w t | h t ) [2], [40].”
BackgroundMethodCode-line-level Bugginess Identification: How Far have We Come, and How Far have We Yet to Go?
Guo, Z., Liu, S., Liu, X., Lai, W., Ma, M., Zhang, X., Ni, C., Yang, Y., Li, Y., Chen, L., et al. (2023) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3582572 · Cited by 23
“, self-admitted technical debt identification [72] and API recommendation [61]).”
BackgroundStatistical Translation of English Texts to API Code Templates
Nguyen, A. T., Rigby, P. C., Nguyen, T. V., Palani, D., Karanfil, M., & Nguyen, T. N. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00029 · Cited by 19
“Other NLP approaches have been used to support code suggestion [26], [27], [28], code convention [29], name suggestion [30], API suggestions [31], code mining [32], etc.”
MethodStepwise API usage assistance using n -gram language models
Santos, A. L., Prendi, G., Sousa, H., & Ribeiro, R. (2016) · Journal of Systems and Software · doi:10.1016/j.jss.2016.06.063 · Cited by 21
Identifying and Mitigating API Misuse in Large Language Models
Zhuo, T. Y., He, J., Sun, J., Xing, Z., Lo, D., Grundy, J., & Du, X. (2026) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2026.3651566 · Cited by 26
“Our design builds on traditional studies of code completion [34], [35] as well as recent work on infilling techniques [3], [14], [36], ensuring that our evaluation setup aligns with both established and emerging IDE practices.”
Fine-grained code-comment semantic interaction analysis
Geng, M., Wang, S., Dong, D., Gu, S., Peng, F., Ruan, W., & Liao, X. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3527887 · Cited by 20
“Plenty of works [2, 9, 18, 22, 23, 39, 46, 47, 52–54 , 59] have focused on code representation for facilitating diverse down-stream down-stream software engineering tasks.”
BackgroundRecovering Variable Names for Minified Code with Usage Contexts
Tran, H., Tran, N., Nguyen, S., Nguyen, H. A., & Nguyen, T. N. (2019) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2019.00119 · Cited by 22
“Other applications of statistical NLP include code suggestion [9], [14], code convention [1], method name suggestion [2], API suggestions [18], code mining [3], type resolution [15], pattern mining [6].”
MethodOrtín, F., Rodriguez-Prieto, O., Pascual, N. M., & García, M. (2019) · Future Generation Computer Systems · doi:10.1016/j.future.2019.12.016 · Cited by 17
“Some examples are vulnerabilities detection in source code [5], source-code decompilation [6, 26], code completion [27], and code idiom mining [28].”
BackgroundPrioritizing Runtime Verification Violations
Miranda, B., Lima, I., Legunsen, O., & d’Amorim, M. (2020) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst46399.2020.00038 · Cited by 18
“…(4) bug localization [48], [67], (5) code search, code completion, code mining, code clone detection and code synthesis [27], [55], [65], [89], [90], [110], [115], (6) learning how to apply patches [105], [106], (7) prioritizing test programs for compilers [16], and (8) classifying warnings…”
BackgroundLSTM-based argument recommendation for non-API methods
Li, G., Liu, H., Li, G., Shen, S., & Tang, H. (2020) · Science China Information Sciences · doi:10.1007/s11432-019-2830-8 · Cited by 17
Can Neural Clone Detection Generalize to Unseen Functionalitiesƒ
Liu, C., Lin, Z., Lou, J., Wen, L., & Zhang, D. (2021) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase51524.2021.9678907 · Cited by 24
“…widely used and achieved impressive results not only in code clone detection, but also in various software engineering tasks (e.g., code completion ([24], [25], [31]–[35]), code search ([36]–[39]) , code summarization ([40]–[48]), code translation ([49], [50]), and defect prediction ([51]–[53])).”
BackgroundTehraniJamsaz, A., Popov, M., Dutta, A., Saillard, E., & Jannesari, A. (2022) · IEEE International Parallel and Distributed Processing Symposium (IPDPS) · doi:10.1109/ipdps53621.2022.00120 · Cited by 23
Exploring and evaluating personalized models for code generation
Zlotchevski, A., Drain, D., Svyatkovskiy, A., Clement, C. B., Sundaresan, N., & Tufano, M. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3558959 · Cited by 19
“Neural code generation has generated an intense recent interest in NLP, using Transformer models [31] in particular for code completion [3, 4, 7, 21, 25, 26], code synthesis from examples [6], natural language to code [2, 6, 7], code feature summarization [1, 16, 18, 19, 23, 32], code search [9, 10], unit test generat…”
MethodSynthesizing Java expressions from free-form queries
Gvero, T., & Kunčak, V. (2015) · ACM SIGPLAN Notices · doi:10.1145/2858965.2814295 · Cited by 17
DeepClone: Modeling Clones to Generate Code Predictions
Hammad, M., Babur, Ö., Basit, H. A., & van den Brand, M. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-64694-3_9 · Cited by 18
Does Your Neural Code Completion Model Use My Code? A Membership Inference Approach
Wan, Y., Wan, G., Zhang, S., Zhang, H., Sui, Y., Zhou, P., Jin, H., & Sun, L. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3742785 · Cited by 17
“Membership inference methods can be broadly divided into two categories, i.e., shadow model training and metric-based techniques [17].”
Statistical Reconstruction of Class Hierarchies in Binaries
Katz, O., Rinetzky, N., & Yahav, E. (2018) · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · doi:10.1145/3173162.3173202 · Cited by 16
“[34] construct a statistical language model for sequences of API calls in Java.”
BackgroundSelf-citationCORAL: COde RepresentAtion learning with weakly-supervised transformers for analyzing data analysis
Zhang, G., Merrill, M. A., Liu, Y., Heer, J., & Althoff, T. (2022) · EPJ Data Science · doi:10.1140/epjds/s13688-022-00327-9 · Cited by 19
“TED WORK A. Representation Learning for Source Code Early methods for code representational learning treated source code as sequence of tokens and built language models on top [18], [19], [20], [21], [22]. Later work incorporated additional information specific to source code, such as objectaccess patterns [23], code c…”
MethodTransRacer: Function Dependence-Guided Transaction Race Detection for Smart Contracts
Ma, C., Song, W., & Huang, J. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3616281 · Cited by 16
“Imitation learning-based fuzzer (ILF) [13] and Smartest [32] adopt machine learning techniques to learn a predictive model [27, 29] to generate transaction sequences to trigger bugs.”
BackgroundMethodQuery expansion based on statistical learning from code changes
Huang, Q. Y., Yang, Y., Zhan, X., Wan, H., & Wu, G. (2018) · Software Practice and Experience · doi:10.1002/spe.2574 · Cited by 16
“…(1) collect a corpus of fine-grained code changes from GitHub commits, (2) statistically learn which fine-grained changes co-occur via language models, 36 and (3) compute the likelihood scores for each candidate change to occur at a given location based on the change context and code context.”
BackgroundNeural-augmented static analysis of Android communication
Zhao, J., Albarghouthi, A., Rastogi, V., Jha, S., & Octeau, D. (2018) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3236024.3236066 · Cited by 20
“Raychev et al. [39] use rnn s for code completion and other techniques for predicting variable names and types [38].”
MethodAn empirical investigation of command-line customization
Schröder, M., & Cito, J. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-10036-y · Cited by 21
“Particularly, our extensive qualitative and quantitative analysis, in conjunction with our dataset, form the basis for identifying opportunities for improving command-line experience in the following directions: by characterizing customization practices, we gain a categorical understanding underlying the needs and wan…”
BackgroundMethodSimIMA: a virtual Simulink intelligent modeling assistant
Adhikari, B., Rapos, E. J., & Stephan, M. (2023) · Software & Systems Modeling · doi:10.1007/s10270-023-01093-6 · Cited by 18
“There are many successful examples of source code suggestion and completion systems including those that use matching algorithms [51], language-based techniques [52], and context of methods and call sites [11].”
Wang, X., Yu, H., Meng, X., Cao, H., Zhang, H., Sun, H., Liu, X., & Hu, C. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3654441 · Cited by 18
“First, although deep semantic information has been proven to be effective in code representation [3, 4, 55, 61, 68, 70, 73, 82, 88], the deep semantic features of source code are ignored by DeepFL and XAI4FL, and DeepRL4FL only considers simple semantic representation by the fully connected layer…”
Programming with "Big Code": Lessons, Techniques and Applications
Bielik, P., Raychev, V., & Vechev, M. (2015) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.snapl.2015.41 · Cited by 24
Self-citationLearning the Relation Between Code Features and Code Transforms With Structured Prediction
Yu, Z., Martínez, M., Chen, Z., Bissyandé, T. F., & Monperrus, M. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3275380 · Cited by 17
“Some example applications include defect prediction [79], [80], code completion [69], [81], code synthesis [29], name-based bug detection [82], deobfuscation [83], inferring cryptographic API rules [84], effort estimation [85], generation of meaningful assert statements for unit tests[86], detection of argument select…”
BackgroundAL: autogenerating supervised learning programs
Cambronero, J., & Rinard, M. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3360601 · Cited by 21
“Based on our own experience and the existing literature [Ali and Smith-Miles 2006; Reif et al. 2014], we define α using the following combination of features, which are averaged column-wise where relevant.”
MethodKhapre, S. P., Singh, P., Shankar, A., Nayak, S. R., & Diwakar, M. (2021) · International Journal of Intelligent Unmanned Systems · doi:10.1108/ijius-07-2021-0055 · Cited by 15
RetractedEdSynth: Synthesizing API Sequences with Conditionals and Loops
Yang, Z., Hua, J., Wang, K., & Khurshid, S. (2018) · IEEE International Conference on Software Testing, Verification and Validation (ICST) · doi:10.1109/icst.2018.00025 · Cited by 22
“In particular, SLANG [28] predicts probabilities of API calls using statistical models based on machine learning, while STRATHCONA [8] assists developers in finding relevant API invocations with similar program contexts.”
MethodOn Learning Meaningful Code Changes via Neural Machine TranslationPreprint
Tufano, M., Pantiuchina, J., Watson, C., Bavota, G., & Poshyvanyk, D. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1901.09102 · Cited by 22
“To this aim, we employ a decoding strategy called a Beam Search used in previous applications of DL [57].”
MethodSAPIENTML: Synthesizing Machine Learning Pipelines by Learning from Human-Written Solutions
Saha, R., Ura, A., Mahajan, S., Zhu, C., Li, L.-Y., Hu, Y., Yoshida, H., Khurshid, S., & Prasad, M. (2022) · International Conference on Software Engineering · doi:10.1145/3510003.3510226 · Cited by 16
An empirical assessment of machine learning approaches for triaging reports of static analysis tools
Yerramreddy, S., Mordahl, A., Koç, U., Wei, S., Foster, J. S., Carpuat, M. J., & Porter, A. (2023) · Empirical Software Engineering · doi:10.1007/s10664-022-10253-z · Cited by 17
“…clone detection (White et al. 2016), API mining (Gu et al. 2016; Fowkes and Sutton 2016), variable naming and renaming (Raychev et al. 2015; Allamanis et al. 2015), code suggestion and completion (Tu et al. 2014; Nguyen et al. 2013; Raychev et al. 2014), and bug detection (Allamanis et al. 2017).”
All you need is logs: improving code completion by learning from anonymous IDE usage logs
Bibaev, V., Kalina, A., Lomshakov, V., Golubev, Y., Bezzubov, A., Povarov, N. I., & Bryksin, T. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3558968 · Cited by 17
“Existing approaches can be divided into two principal categories from the standpoint of the data that they use for training: (1) synthetic: that analyze the existing body of source code [14, 30, 36], and (2) real user behaviour : that employ logs, source code, and edits from real users [4, 37].”
BackgroundMethodA language model for statements of software code
Yang, Y., Jiang, Y., Gu, M., Sun, J., Gao, J., & Liu, H. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115678 · Cited by 19
“Recent years have witnessed a class of researches on building language models for source code [2] [13] [5] [8] [9] [4] [1] [10] [11] [6], which enables a large set of promising applications.”
Do Contexts Help in Phrase-Based, Statistical Source Code Migration?
Nguyen, A. T., Tu, Z., & Nguyen, T. N. (2016) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2016.89 · Cited by 14
“[45] capture common sequences of API calls with n-gram to predict next API call.”
BackgroundDemoMatch: API discovery from demonstrations
Yessenov, K., Kuraj, I., & Solar-Lezama, A. (2017) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/3062341.3062386 · Cited by 13
“Statistical language models have been applied to short sequences of call operations on an object to predict missing method calls [25], estimate types in binaries [14], and infer program properties ( e.g. symbol de-obfuscation) from source code [26].”
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.