Are deep neural networks the best choice for modeling source code?
The DOI matches its Crossref record; 44 of the 44 references it cites were found in a registry or an index.
Abstract
Current statistical language modeling techniques, including deep-learning based models, have proven to be quite effective for source code. We argue here that the special properties of source code can be exploited for further improvements. In this work, we enhance established language modeling approaches to handle the special challenges of modeling source code, such as: frequent changes, larger, changing vocabularies, deeply nested scopes, etc. We present a fast, nested language modeling toolkit specifically designed for software, with the ability to add & remove text, and mix & swap out many models. Specifically, we improve upon prior cache-modeling work and present a model with a much more expansive, multi-level notion of locality that we show to be well-suited for modeling software. We present results on varying corpora in comparison with traditional N-gram, as well as RNN, and LSTM deep-learning language models, and release all our source code for public use. Our evaluations suggest that carefully adapting N-gram models for source code can yield performance that surpasses even RNN and LSTM based deep-learning models.
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
“Vocabularies of a project are highly local, and functions from the same projects are likely to share same set of identifiers [10,22].”
From Few-shot training LLMs for project-specific code-summarization (2022) · cites this paper as [10]
In the citing paper
“It's been well-known right from the outset that language modeling for code has to deal with project-specific phenomena [10,11,22].”
From Few-shot training LLMs for project-specific code-summarization (2022) · cites this paper as [10]
In the citing paper
“Several methods have been proposed to incorporate repository context into the training of language models, including n-grams (Tu et al., 2014), LSTMs (Hellendoorn and Devanbu, 2017), and Transformers (Svyatkovskiy et al., 2020;Liu et al., 2022;Ding et al., 2022).”
From RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation (2023) · cites this paper as Hellendoorn and Devanbu, 2017
Citations
Cites
Hochreiter, S., & Schmidhuber, J. (1997) · Neural Computation · doi:10.1162/neco.1997.9.8.1735 · Cited by 102,318
Recurrent neural network based language model
Mikolov, T., Karafiát, M., Burget, L., Černocký, J., & Khudanpur, S. (2010) · Interspeech 2010 · doi:10.21437/interspeech.2010-343 · Cited by 5,390 · cited 2×
“We replicate their experiments using the Recurrent Neural Network LanguageModel toolkit (RNNLM6) [25], which includes a hidden layer size of 300 and 1,000 direct connections.”
BackgroundMethodNeural Word Embedding as Implicit Matrix Factorization
Levy, O., & Goldberg, Y. (2014) · neural information processing systems · Cited by 1,582
Character-Aware Neural Language Models
Kim, Y., Jernite, Y., Sontag, D., & Rush, A. M. (2015) · arXiv · doi:10.48550/arxiv.1508.06615 · Cited by 1,530
Character-Aware Neural Language Models
Kim, Y., Jernite, Y., Sontag, D., & Rush, A. (2016) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v30i1.10362 · Cited by 1,491
One Billion Word Benchmark for Measuring Progress in Statistical Language Modeling
Chelba, C., Mikolov, T., Schuster, M., Ge, Q., Brants, T., Koehn, P., & Robinson, T. (2013) · arXiv · doi:10.48550/arxiv.1312.3005 · Cited by 1,051 · cited 1×
“Of these, MKN is best suited for natural language, followed by ADM which we found performed nearly as well as MKN on a one-billion token corpus from [11], as well as on several small corpora.”
MethodVisualizing and Understanding Recurrent Networks
Karpathy, A., Johnson, J., & Fei-Fei, L. (2015) · arXiv · doi:10.48550/arxiv.1506.02078 · Cited by 845 · cited 1×
“Character-LSTM models [21, 22] deal with this issue by modeling one character at the time instead and may provide a solution to this problem in the long term, possibly in a hybrid form, since these models at present cannot compete with word-level models [19].”
BackgroundExploring the Limits of Language Modeling
Józefowicz, R., Vinyals, O., Schuster, M., Shazeer, N., & Wu, Y. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1602.02410 · Cited by 823 · cited 3×
“Finally, The confidence scores can be 3This applies particularly when using normal SoftMax output layers, but also when using NCE or CNN SoftMax[19] derived from various sources, such as the language models themselves or even as parameters learned by an LSTM.”
BackgroundMethodAn empirical study of smoothing techniques for language modeling
Chen, S. F., & Goodman, J. (1996) · Proceedings of the 34th annual meeting on Association for Computational Linguistics - · doi:10.3115/981863.981904 · Cited by 770
Research works printed but not linked: 7
- 10.5555/2487085.2487127 · doi:10.5555/2487085.2487127
- Stanley F. Chen and Joshua Goodman . 1996 . Stanley F. Chen and Joshua Goodman. 1996.
- Hoa Khanh Dam , Truyen Tran , and Trang Pham . 2016. A deep language model for software code. arXiv preprint arXiv:1608.02715 ( 2016 ). Hoa Khanh Dam, Truyen Tran, and Trang Pham. 2016. A deep language model for software code. arXiv preprint arXiv:1608.02715 (2016). · arXiv
- 10.5555/2819009.2819143 · doi:10.5555/2819009.2819143
- 10.5555/2818754.2818858 · doi:10.5555/2818754.2818858
- Anh Tuan Nguyen , Tung Thanh Nguyen, and Tien N Nguyen . 2013 . Anh Tuan Nguyen, Tung Thanh Nguyen, and Tien N Nguyen. 2013.
- Thanh Nguyen , Peter C Rigby , Anh Tuan Nguyen , Mark Karanfil, and Tien N Nguyen. 2016 . Thanh Nguyen, Peter C Rigby, Anh Tuan Nguyen, Mark Karanfil, and Tien N Nguyen. 2016.
Cited by
Items 201–294 of 294
JEMMA: An extensible Java dataset for ML4Code applications
Karmakar, A., Allamanis, M., & Robbes, R. (2023) · Empirical Software Engineering · doi:10.1007/s10664-022-10275-7 · Cited by 4
“Machine learning models of code once struggled with Out-Of-Vocabulary (OOV) issues (Hellendoorn and Devanbu 2017), until more recent models introduced and adopted an open vocabulary (Karampatsis et al 2020).”
BackgroundIs AI different for SEPreprint
Agrawal, A., & Menzies, T. (2019) · arXiv (Cornell University) · Cited by 4
A Systematic Literature Review of Automated Query Reformulations in Source Code Search.Preprint
Rahman, M. M., & Roy, C. K. (2021) · arXiv (Cornell University) · Cited by 5
Zhou, Y., Tang, H., Zhu, L., Ding, H., & Qian, J. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3707456 · Cited by 3
“Following established practices [57], entropy scores are calculated for all code tokens, and then the average entropy score is computed for each line.”
VulDL: Tree-based and Graph-based Neural Networks for Vulnerability Detection and Localization
Wu, J., Ling, X., Duan, X., Luo, T., & Yang, M. (2024) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/3661167.3661211 · Cited by 3
“For code , there is an Out-Of-Vocabulary (OOV) problem when modeling the programming language [6], since developers are allowed to define variable names arbitrarily.”
BackgroundEnhancing line-level defect prediction using bilinear attention fusion and ranking optimization
Qiu, S., Huang, H., Kuang, Y., Luo, H., & Liu, X. (2025) · Empirical Software Engineering · doi:10.1007/s10664-025-10674-6 · Cited by 5
Merrill, M. A., Zhang, G., & Althoff, T. (2021) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3447548.3467455 · Cited by 8
“LSTMs have been used to model source code in the past [13].”
MethodD-REX: Static Detection of Relevant Runtime Exceptions with Location Aware Transformer
Farmahinifarahani, F., Lu, Y., Saini, V., Baldi, P., & Lopes, C. V. (2021) · IEEE International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam52516.2021.00032 · Cited by 4
NaturalCC: 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.1109/icse-companion55297.2022.9793799 · Cited by 8
AdaComplete: improve DL-based code completion method’s domain adaptability
Wang, Z., Liu, F., Hao, Y., & Jin, Z. G. (2023) · Automated Software Engineering · doi:10.1007/s10515-023-00376-y · Cited by 4
“We use Jelinek-Mercer smoothing method in the N-gram model following Hellendoorn and Devanbu (2017).”
BackgroundMethodInfluentialRWKV-based Encoder-Decoder Model for Code Completion
Zhou, L., Xiao, Z., & Ning, Z. (2023) · International Conference on Electronic Information Engineering and Computer Technology (EIECT) · doi:10.1109/eiect60552.2023.10442108 · Cited by 5
Applying probabilistic models to C++ code on an industrial scale
Shedko, A., Palachev, I., Kvochko, A. N., Semenov, A. S., & Sun, K. (2020) · doi:10.1145/3387940.3391477 · Cited by 2
Improving Code Autocompletion with Transfer Learning
Zhou, W. Z., Kim, S., Murali, V., & Aye, G. A. (2022) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip55303.2022.9793983 · Cited by 21
How to cherry pick the bug report for better summarization?
Liu, H., Yu, Y., Li, S., Geng, M., Mao, X., & Liao, X. (2021) · Empirical Software Engineering · doi:10.1007/s10664-021-10008-2 · Cited by 5
“While deep learning is an exciting new technique, it is still debatable as to whether this method can be implemented in a way that benefits SE (Fu and Menzies 2017; Hellendoorn and Devanbu 2017).”
MethodDG-Trans: Automatic Code Summarization via Dynamic Graph Attention-based Transformer
Zeng, J., Zhang, T., & Zhou, X. (2021) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs54544.2021.00088 · Cited by 4
Using Sequence-to-Sequence Learning for Repairing C VulnerabilitiesPreprint
Chen, Z., Kommrusch, S., & Monperrus, M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.02015 · Cited by 5
“Rare words in source code One of the main challenges of using the seq2seq model on source code is that it hardly handles very rare words [9].”
BackgroundReview4Repair: Code Review Aided Automatic Program Repairing
Huq, F., Hasan, M., Haque, M. A. P., Mahbub, S., Iqbal, A., & Ahmed, T. (2021) · Figshare · doi:10.5281/zenodo.4445746 · Cited by 3
Combining Code Embedding with Static Analysis for Function-Call CompletionPreprint
Weyssow, M., Sahraoui, H. A., Frénay, B., & Vanderose, B. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.03731 · Cited by 7
“Hellendoorn and Devanbu [16] extend this approach by improving the cache component with information about the scope of the call site.”
BackgroundEmbedding Code Contexts for Cryptographic API Suggestion:New Methodologies and ComparisonsPreprint
Xiao, Y., Ahmed, S., Song, W., Ge, X., Viswanath, B., & Yao, D. D. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2103.08747 · Cited by 6
“However, as pointed in [22], there do exist many program specific challenges that hinder the naive application of the language models borrowed from natural language processing domain.”
BackgroundBoosting Code-line-level Defect Prediction with Spectrum Information and Causality Analysis
Sun, S., Li, Y., Chen, L., Zhou, Y., & Zhao, J. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00240 · Cited by 2
“(d) N - gram [10], [51], [52] is a typical natural language processing-based approach, using the entropy value to infer the naturalness of each code token.”
InfluentialA Combined Alignment Model for Code Search
Hong, J., Choi, E., & Mizuno, O. (2024) · IEICE Transactions on Information and Systems · doi:10.1587/transinf.2023mpp0002 · Cited by 2
GNEM: Comprehensive Similarity Learning With Ensemble Model for Code Search
Hong, J., Choi, E., & Mizuno, O. (2024) · IEEE Access · doi:10.1109/access.2024.3493193 · Cited by 3
“However, as we discuss in section I, the multifield code representation might increase the number of unique words, exacerbating the OOV problem [13], [14].”
BackgroundRecommending Variable Names for Extract Local Variable Refactorings
Wang, T., Liu, H., Zhang, Y., & Jiang, Y. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3712191 · Cited by 3
Which similarity metric to use for software documents?
Rahman, M. M., Chakraborty, S., & Ray, B. (2018) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3183440.3194997 · Cited by 2
“, which can be quite different from natural language [3].”
BackgroundSAR: Learning Cross-Language API Mappings with Little Knowledge
Bui, N. D. Q., Yu, Y., & Jiang, L. (2019) · Open Research Online - ORO (The Open University) · doi:10.48550/arxiv.1906.03835 · Cited by 2
“Hellendoorn et al. [14] showed that simpler code learning models (e.g., n-gram) with caches of code locality and hierarchy may outperform complex deep neural network models.”
A Personalized Code Formatter: Detection and Fixing
Karanikiotis, T., Chatzidimitriou, K. C., & Symeonidis, A. L. (2022) · Communications in computer and information science · doi:10.1007/978-3-031-11513-4_8 · Cited by 2
Enhancing Code Completion with Implicit Feedback
Jin, H., Zhou, Y., & Hussain, Y. (2023) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs60937.2023.00030 · Cited by 2
“And researchers [30] have discovered that source code exhibits certain statistical properties that can be effectively modeled using statistical language models [35], [36], [37], [38].”
BackgroundMethodYang, Y. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2003.08080 · Cited by 3
“The LSTM model was applied to solve the problem of code completion [18] [19] to achieve higher accuracy.”
MethodOn-the-Fly Adaptation of Source Code Models using Meta-LearningPreprint
Shrivastava, D., Larochelle, H., & Tarlow, D. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2003.11768 · Cited by 3
“…as names of classes, methods and variables) (Karam-patsis & Sutton, 2019), occurrence of repetitive patterns in local context (Tu et al., 2014) and faster rate of evolution of software corpora (Hellendoorn & Devanbu, 2017), make modelling source code different from modelling natural lan-1 guage.”
BackgroundSplit Attention Pointer Network for Source Code Language Modeling
Zhou, Z., & Chen, Z. (2020) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194020500321 · Cited by 1
PATVD:Vulnerability Detection Based on Pre-training Techniques and Adversarial Training
Yu, W., Kou, G., Liu, Q., Zhang, H., & Wang, Q. (2022) · IEEE Smart World Congress (SWC) · doi:10.1109/smartworld-uic-atc-scalcom-digitaltwin-pricomp-metaverse56740.2022.00253 · Cited by 2
Deep Learning-Based Code Completion: On the Impact on Performance of Contextual Information
Ciniselli, M., Pascarella, L., & Bavota, G. (2024) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58944.2024.00029 · Cited by 3
Lim, S.-C., & Kim, J.-C. (2025) · IEEE Access · doi:10.1109/access.2025.3627919 · Cited by 2
“In the context of software analysis, researchers have explored various approaches to combining different representations of code, including textual features, structural features, and execution-based features [15].”
Software Nostalgia: State of the Art on Software Preservation
Zuccante, A., & Canazza, S. (2025) · IEEE History of Electrotechnology Conference (HISTELCON) · doi:10.1109/histelcon64051.2025.11285955 · Cited by 3
“Specifically, several studies have led to advancements in: comment generation [38], pseudocode creation [39], source code modeling [40], bug detection and code improvement [41], code function summarization [42], translation between code languages [43], generating code from descriptions [44], and…”
Komolov, S., Mazzara, M., & Bajwa, I. S. (2026) · IET Software · doi:10.1049/sfw2/7163249 · Cited by 2
Multi-location cryptographic code repair with neural-network-based methodologies
Xiao, Y. (2021) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3468264.3473102 · Cited by 2
“However, as pointed in [8], there do exist many program specific challenges that hinder the naive application of the language models borrowed from natural language processing domain.”
BackgroundHardware descriptions code completion based on a pre-training model
Liang, X. (2021) · IEEE Conference on Telecommunications, Optics and Computer Science (TOCS) · doi:10.1109/tocs53301.2021.9688846 · Cited by 1
Barikui, N. S., & O., A. P. (2022) · International Journal of Computer Science and Mobile Computing · doi:10.47760/ijcsmc.2022.v11i05.009 · Cited by 1
Enhancing intelligent IoT services development by integrated multi-token code completion
Xia, Y., Liang, T., Min, W., Kuang, L., & Gao, H. (2023) · Computer Communications · doi:10.1016/j.comcom.2023.10.014 · Cited by 1
A Robust Multiple Adaptive Derivative Face Recognition System on Pose and Illumination
Pailus, R. H., & Alfred, R. (2024) · Lecture notes in electrical engineering · doi:10.1007/978-981-97-2977-7_11 · Cited by 1
Advancing code completion through rotary position embedding
Yin, Y., Liu, J., Liu, Y., & Deng, J. (2025) · Cluster Computing · doi:10.1007/s10586-024-05015-z · Cited by 1
“In 2012, Hindle et al. [3] discovered that source code has predictable statistical properties, treating programming languages as natural languages, and statistical language models were applied to model source code [5–7].”
A Survey of the Full Process of Code Search Based on Deep Learning
Fang, M., Hu, H., Hu, F., & Liu, J. (2025) · Concurrency and Computation Practice and Experience · doi:10.1002/cpe.70277 · Cited by 2
Adabot: Fault-Tolerant Java Decompiler (Student Abstract)
Li, Z., Wu, Q., & Qian, K. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i10.7203 · Cited by 1
N-gram models for code completion in Pharo
Romaniuk, M. (2020) · International Conference on Art, Science, and Engineering of Programming (<Programming>) · doi:10.1145/3397537.3398483 · Cited by 1
“There, as well as in [2, 4, 5, 7], the structural information is not taken into consideration and the problem of improving code completion is reduced to a natural language processing problem, where predicting the next token is treated as predicting the next word in a sentence.”
BackgroundFeaRS: Recommending Complete Android Method Implementations
Wen, F., Ferrari, V., Aghajani, E., Nagy, C., Lanza, M., & Bavota, G. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme52107.2021.00062 · Cited by 1
Cross-Domain Evaluation of a Deep Learning-Based Type Inference System
Gruner, B., Sonnekalb, T., Heinze, T. S., & Brust, C.-A. (2023) · International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr59073.2023.00034 · Cited by 5
Yang, Y. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1909.11503 · Cited by 1
“Taking source code as natural languages to build language models (n-gram, n-gram with Bayes, n-gram with decision tree, RNN, LSTM) to suggest code fragments has made great progress [9]–[16] to help software engineers improve the efficiency of developing software.”
MethodDo People Prefer "Natural" code?Preprint
Casalnuovo, C., Lee, K., Wang, H., Dévanbu, P., & Morgan, E. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1910.03704 · Cited by 1
“cessinginnatural language [21, 25, 29, 41, 42], we don’t know of similar findings for code, despite the metric being used as a stand-in for preference or comprehensibility in guiding many tools (e.g. [2, 31, 43]). We use Amazon’s Mechanical Turk (AMT)17 for this investigation into the alignment of surprisal with human…”
BackgroundMethodInfluentialUniversal Policies for Software-Defined MDPsPreprint
Selsam, D., Han, J. M., de Moura, L., & Godefroid, P. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2012.11401 · Cited by 3
“…representations—has been under extremely active investigation for several years and is far from settled (Allamanis et al., 2017; Wang et al., 2017; Hellendoorn & Devanbu, 2017; Ben-Nun et al., 2018; Alon et al., 2018; 2019; Hellendoorn et al., 2019; Chen & Monperrus, 2019; Wainakh et al., 2019;…”
BackgroundToward Less Hidden Cost of Code Completion with Acceptance and Ranking Models
lijingxuan, L., Huang, R., Li, W., Yao, K., & Tan, W. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.26226/morressier.613b5419842293c031b5b638 · Cited by 24
A Code Completion Model based RWKV with Bimodal PretrainingPreprint
Zhou, L., & Li, S. (2023) · Research Square · doi:10.21203/rs.3.rs-3387525/v1 · Cited by 1
Are My Invariants Valid? A Learning ApproachPreprint
Hellendoorn, V. J., Dévanbu, P., Polozov, O., & Marron, M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1903.06089 · Cited by 4
“This ensures that the identifier vernacular at train and test time is highly similar (which is always beneficial for deep learners [17]) and allows the deep learner to profit from any repeated invariants within the project (which our manual analysis suggests is common).”
BackgroundMethodSelf-citationAdabot: Fault-Tolerant Java DecompilerPreprint
Li, Z., Wu, Q., & Qian, K. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1908.06748 · Cited by 1
“Syntax Structure: Programming language is rigorously structured (Hellendoorn and Devanbu 2017; Hu et al. 2018)that any error in source code is significant enough to make an AST based decompiler invalid.”
BackgroundUsing GGNN to recommend log statement levelPreprint
Li, M., Pei, J., He, J., Song, K., Che, F., Huang, Y., & Wang, C. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.05097
“[7] We assume the reason why some deep learning models don’t perform well is that they can’t take structural information into account and most identifiers are unknown for them so that they can’t extract enough semantic information.”
Yang, Y. (2020) · arXiv (Cornell University)
Yang, Y. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2005.04137
“Deep learning techniques such as RNN, LSTM were applied to code generation model [11] [12] [13] to achieve a higher prediction accuracy.”
BackgroundMethodCode Prediction Based on Graph Embedding Model
Yang, K., Yu, H., Fan, G., Yang, X., & Chen, L. (2021) · Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering · doi:10.1007/978-3-030-67540-0_26
An Empirical Exploration of Python Machine Learning API Usage
Vilkomir, A. (2020) · The Scholarship East Carolina University's Institutional Repository (East Carolina University)
Learning to Extend Program Graphs to Work-in-Progress CodePreprint
Li, X., Maddison, C. J., & Tarlow, D. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2105.14038 · Cited by 5
“We followed the preprocessing setups in [28, 36]: replace non-ASCII character sequences such as Chinese ideograms inside strings with the special token 〈non-en〉, remove comments, and replace string literals consisting of 15 characters or more by the empty string.”
BackgroundMethodDeep Understanding of Runtime Configuration Intention
Zhou, C.-L., Liu, H., Zhang, Y., Xue, Z., Liao, Q., Zhao, J., & Wang, J. (2021) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194021500236
DeepMutants: Training neural bug detectors with contextual mutationsPreprint
Richter, C., & Wehrheim, H. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2107.06657 · Cited by 3
Automated Recovery of Issue-Commit Links Leveraging Both Textual and Non-textual Data
Mazrae, P. R., Maliheh, I., & Heydarnoori, A. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.26226/morressier.613b5419842293c031b5b63b · Cited by 36
Syntax Guided Neural Program Repair.Preprint
Zhu, Q., Sun, Z., Xiao, Y.-A., Zhang, W., Yuan, K. F., Xiong, Y., & Zhang, L. (2021) · arXiv (Cornell University)
A Deep Learning based Approach to Argument Recommendation
Li, G., Tang, Y., Yi, B., Zhang, X., & Yan, H. (2021) · doi:10.5121/csit.2021.111408
Retracted: Deep Learning in Object Oriented Software Engineering: A Case Of Stability
Abdullah, & Gupta, K. P. S. (2022) · International Conference on Advance Computing and Innovative Technologies in Engineering (ICACITE) · doi:10.1109/icacite53722.2022.9823479
RetractedImproved Methods of Pointer Mixture Network for Code Completion
Wei, C., Huang, Z., & Yu, Y. (2022) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs57517.2022.00095 · Cited by 1
“Hindle et al. [16] creatively proved that source code has great information mining potential and statistical properties, so statistical language models have been widely used for source code modeling [17][18][19][20].”
BackgroundMethodThe Application of Generating API Call Sequence Code for Android Driven by Neural Network
Yang, J., Wu, W., & Ren, J. (2023) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn54540.2023.10191527
“For a long time, many researchers have improved the automation level of software development by improving software development methods and using technical means [1] [2].”
BackgroundA Statistical Method for API Usage Learning and API Misuse Violation Finding
Panda, D., Basia, P., Nallavolu, K., Zhong, X. R., Siy, H. P., & Song, M. (2023) · IEEE/ACIS International Conference on Software Engineering Research, Management and Applications (SERA) · doi:10.1109/sera57763.2023.10197708 · Cited by 3
“Beyond n-gram models, RNNs are used in [20] to learn LM for code and LSTMs are exploited in [21], [22] to improve performance.”
MethodEnhancing Computer Science Education by Automated Analysis of Students’ Code Submissions
Brauner, L. E., & Höppner, F. (2024) · Communications in computer and information science · doi:10.1007/978-3-031-50485-3_37
“The proposed method for program similarity in [1] is based on the use of Graph Neural Networks (GNNs) to analyse Control Flow Graphs (CFGs) of Java functions.”
Deep Learning in Requirement Engineering: A Statistical Justification
Agarwal, T. R., & Thakur, N. (2023) · International Conference on New Frontiers in Communication, Automation, Management and Security (ICCAMS) · doi:10.1109/iccams60113.2023.10525759
GraphPyRec: A novel graph-based approach for fine-grained Python code recommendation
Zong, X., Shang, Z., Zou, H., Yu, H., & Gao, S. (2024) · Science of Computer Programming · doi:10.1016/j.scico.2024.103166 · Cited by 1
API Completion Recommendation Algorithm Based on Programming Site Context
Chen, J., Xiao, L., & Shen, Y. (2024) · International Symposium on System Security, Safety, and Reliability (ISSSR) · doi:10.1109/isssr61934.2024.00037
“To verify the effectiveness of the proposed method, four benchmark models were used for comparative experiments, including H-Gram [9], LSTM [19], APIHelper [20], and Tang's [18].”
MethodOn the Heterophily of Program Graphs: A Case Study of Graph-based Type Inference
Xu, S., Shen, J., Li, Y.-F., Yao, Y., Yu, P., Xu, F., & Ma, X.-X. (2024) · Asia-Pacific Symposium on Internetware · doi:10.1145/3671016.3671389
“Program analysis has been extensively studied for decades, from early static analysis techniques [10, 20, 31] to recent machine learning based methods [2, 6, 23, 46].”
Code Completion Using Markov Chains
Timofeev, V. S. (2024) · Vestnik NSU Series Information Technologies · doi:10.25205/1818-7900-2024-22-2-57-67
On the Generalizability of Transformer Models to Code Completions of Different Lengths
Cooper, N., Tufano, R., Bavota, G., & Poshyvanyk, D. (2024) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58944.2024.00042 · Cited by 1
“Code completion has been studied extensively for several years in SE [25], [26], [27], [28], [29], [30], [31], [32], [33], [34], [35], [36], [37], [38], [39], [40], [14], [2], [15], [16], [41], [42].”
Research on Compressed Input Sequences Based on Compiler Tokenization
Li, Z., & Lu, X. (2025) · Information · doi:10.3390/info16020073 · Cited by 1
A code completion approach combining pointer network and Transformer-XL network
Zhang, X., Liu, J., Long, T., & Hu, H. (2025) · Applied Intelligence · doi:10.1007/s10489-025-06315-6 · Cited by 2
UNA: Improving Automated PL-NL System by A Unified Neural Architecture
Yuan, D., Zhang, T., & Jiang, H. (2025) · IEEE Transactions on Reliability · doi:10.1109/tr.2025.3541087
“Sincethesizeofthesourcecodevocabularyislargerthan that of the natural language vocabulary [22], it is difficult to train neural architectures on software artifact corpus due to expensive time cost [32].”
Intelligent Question Matching Using Hybrid Neural Networks for Optimized User Interactions
Priya, K. L., Yatheendra, K. V., Kumar, T. A., & Spandana, R. R. S. (2025) · International Journal of Applied Engineering and Management Letters · doi:10.47992/ijaeml.2581.7000.0241
Fine-Tuning Large Language Models for Context-Aware Static Code Analysis and Defect Classification
Ghosh, S., & Raj, R. (2025) · Advances in computational intelligence and robotics book series · doi:10.4018/979-8-3373-4460-7.ch008 · Cited by 1
Murala, P., & Prasad, V. V. R. (2025) · International Conference on Innovative Mechanisms for Industry Applications · doi:10.1109/icimia67127.2025.11200719
“In this study, we want to answer a question by testing a number of qualities, some of which are novel [16].”
Improving code completion efficiency through grouped attention
Yin, Y., Liu, J., Liu, Y., & Jia, D. (2025) · The Computer Journal · doi:10.1093/comjnl/bxaf117
Evolutionary Computation-Enhanced Large Language Models for Intelligent Code Completion
Liu, D., Tan, Z., Yen, G. G., Duan, S., Zhou, Y., & He, Z. (2026) · IEEE Transactions on Evolutionary Computation · doi:10.1109/tevc.2026.3655808
“In addition, DL methods based on the deep neural network (DNN) architecture are capable of extracting and understanding the semantics of natural languages (NLs) [19], [20], [21], [22], [23], [24], [25], [26], [27], [28].”
BugBlaze: An Explainable Framework for Detecting Latent Defect Ignitions in Software Systems
Yalamancheli, H., Shaik, N., Amanmadov, N., Abdullayev, T., & Brahmandam, B. A. (2025) · IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON) · doi:10.1109/iemcon67450.2025.11381085
PRaFFLineDP: Feature fusion with progressive ranking for efficient line-level defect prediction
Han, F., Yang, F., Chen, J., Zhong, F., Xiao, P., & Liang, Q. (2026) · Empirical Software Engineering · doi:10.1007/s10664-026-10855-x
“The compared approaches are detailed below: (1) N-gram (Tu et al. 2014 ): This approach employs a cache-enhanced N-gram statistical language mode (Hellendoorn and Devanbu 2017 ).”
Quantifying SZZ-induced evaluation bias in just-in-time defect prediction
Bludau, P., & Pretschner, A. (2026) · Software Quality Journal · doi:10.1007/s11219-026-09796-x
An Empirical Study on Deep Learning-based Line-Level Software Defect Prediction
Zhang, E., Jiang, Y., Zhang, T., & Tong, H. (2026) · International Conference on Mining Software Repositories (MSR) · doi:10.1145/3793302.3793359
“For example, n-gram [8] models are used to build a statistical model of code naturalness.”
Ma, T., Liu, Y., & Li, H. (2026) · Information · doi:10.3390/info17090882
Yiğit, İ., & Buzluca, F. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7607638
Improving Code Autocompletion with Transfer Learning
Zhou, W., Kim, S., Murali, V., & Aye, G. A. (2021) · arXiv · doi:10.48550/arxiv.2105.05991
Metadata
- Authors
- Hellendoorn, V. J., & Devanbu, P.
- Affiliations
- University of California, Davis (US)
- University of California at Davis, USA
- Venue
- Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2017-08-21
- Pages
- 763-773
- OpenAlex
- W2740130862
- Cited by
- 292
- References
- 42
- Citations by year
- 2026: 7 · 2025: 20 · 2024: 25 · 2023: 32 · 2022: 33 · 2021: 54 · 2020: 50 · 2019: 47 · 2018: 22 · 2017: 2
- FWCI
- 25.41
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) (publishedVersion)
- Funders
- NSF (1414172)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Keywords
- cache model, n-gram language models, deep neural network, recurrent neural networks, LSTM
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.