A Neural Architecture for Generating Natural Language Descriptions from Source Code Changes
Open accessThe DOI matches its Crossref record; 32 of the 32 references it cites were found in a registry or an index.
Abstract
We propose a model to automatically describe changes introduced in the source code of a program using natural language.Our method receives as input a set of code commits, which contains both the modifications and message introduced by an user.These two modalities are used to train an encoder-decoder architecture.We evaluated our approach on twelve real world open source projects from four different programming languages.Quantitative and qualitative results showed that the proposed approach can generate feasible and semantically sound descriptions not only in standard in-project settings, but also in a cross-project setting.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
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
“Additionally, we do not explore the performance of ICL with small pre-trained models, because it is hard for small pre-trained models to comply with instructional prompts without parameter updates [57, 64].”
From Exploring the Capabilities of LLMs for Code-Change-Related Tasks (2025) · cites this paper as [64]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
BLEU: a method for automatic evaluation of machine translation
Papineni, K., Roukos, S., Ward, T., & Zhu, W.-J. (2001) · Proceedings of the 40th Annual Meeting on Association for Computational Linguistics - ACL '02 · doi:10.3115/1073083.1073135 · Cited by 21,344 · cited 2×
“To evaluate the quality of our generated descriptions we use both METEOR (Lavie and Agarwal, 2007) and sentence level BLEU-4 (Papineni et al., 2002).”
MethodNeural Machine Translation by Jointly Learning to Align and Translate
Bahdanau, D., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1409.0473 · Cited by 16,213 · cited 2×
“Both approaches share the use of attention mechanisms (Bahdanau et al., 2014) to overcome the natural disparity be-tween the modalities when finding relevant token alignments.”
BackgroundEffective Approaches to Attention-based Neural Machine Translation
Luong, T., Pham, H., & Manning, C. D. (2015) · Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d15-1166 · Cited by 8,382 · cited 2×
“The decoder is a RNN that reads this representation and generates NL words one at a time based on its current hidden state and guided by a global attention model (Luong et al., 2015).”
BackgroundMethodBuilding a Large Annotated Corpus of English: The Penn Treebank
Marcus, M. (1993) · doi:10.21236/ada273556 · Cited by 7,405
Minimum error rate training in statistical machine translation
Och, F. J. (2003) · Proceedings of the 41st Annual Meeting on Association for Computational Linguistics - ACL '03 · doi:10.3115/1075096.1075117 · Cited by 2,725 · cited 1×
“For validation, we use minimum error rate training (Bertoldi et al., 2009; Och, 2003) in our validation set.”
MethodRecurrent Neural Network Regularization
Zaremba, W., Sutskever, I., & Vinyals, O. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1409.2329 · Cited by 2,123 · cited 2×
“…a i is defined as , where c j ∈ C t is a source code token, F is the source code token embedding matrix and α i,j is: We use a dropout-regularized LSTM cell for the decoder (Zaremba et al., 2015) and also add dropout at the NL embeddings and at the output softmax layer, to prevent over-fitting.”
MethodMoses : open source toolkit for statistical machine translation
Koehn, P., Hoang, H., Birch, A., Callison-Burch, C., Federico, M., Bertoldi, N., Cowan, B., Shen, W., Moran, C., Zens, R., et al. (2007) · Edinburgh Research Explorer (University of Edinburgh) · Cited by 1,547
Meteor: an automatic metric for MT evaluation with high levels of correlation with human judgments
Lavie, A., & Agarwal, A. (2007) · Proceedings of the Second Workshop on Statistical Machine Translation - StatMT '07 · doi:10.3115/1626355.1626389 · Cited by 1,047 · cited 1×
“To evaluate the quality of our generated descriptions we use both METEOR (Lavie and Agarwal, 2007) and sentence level BLEU-4 (Papineni et al., 2002).”
MethodSummarizing Source Code using a Neural Attention Model
Iyer, S., Konstas, I., Cheung, A., & Zettlemoyer, L. (2016) · Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/p16-1195 · Cited by 701 · cited 6×
“, API suggestion (Gu et al., 2016) and code completion (Raychev et al., 2014).”
BackgroundMethodResultInfluentialConvolutional Neural Networks over Tree Structures for Programming Language Processing
Mou, L., Li, G., Zhang, L., Wang, T., & Jin, Z. (2016) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v30i1.10139 · Cited by 675 · cited 2×
“Examples of this are approaches for learning program representations (Mou et al., 2016), bug localization (Huo et al.”
Background
Cited by
Hu, X., Li, G., Xia, X., Lo, D., & Jin, Z. (2018) · Proceedings of the 26th Conference on Program Comprehension · doi:10.1145/3196321.3196334 · Cited by 621
“Several subsequent studies have developed various probabilistic models for different software tasks [12, 23, 40, 41].”
BackgroundImproved Code Summarization via a Graph Neural Network
LeClair, A., Haque, S., Wu, L., & McMillan, C. (2020) · Proceedings of the 28th International Conference on Program Comprehension · doi:10.1145/3387904.3389268 · Cited by 312
“coder model. LeClair Improved Code Summarization via a Graph Neural Network Conference’17, July 2017, Washington, DC, USA Src Code AST API FlatAST GNN Paths 2016 Iyer et al. [25] x 2017 Loyola et al. [34] x 2017 Lu et al. [35] x x 2018 Hu et al. [24] x x 2018 Liang et al. [31] x x 2018 Hu et al. [23] x x x 2018 Wan et…”
MethodA Neural Model for Generating Natural Language Summaries of Program Subroutines
LeClair, A., Jiang, S., & McMillan, C. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00087 · Cited by 294
“Jiang et al. [20] and Loyola et al. [29] generate descriptions of code changes (i.e. commit messages).”
BackgroundDeep code comment generation with hybrid lexical and syntactical information
Hu, X., Li, G., Xia, X., Lo, D., & Jin, Z. (2020) · Empirical Software Engineering · doi:10.1007/s10664-019-09730-9 · Cited by 278
“Several subsequent studies have developed various probabilistic models for different software tasks (Gu et al. 2016; Loyola et al. 2017; Wang et al. 2016; White et al. 2016).”
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
“[124] Tokens (Diff) Natural Language Distributed Explain code changes”
BackgroundRecommendations for Datasets for Source Code Summarization
LeClair, A., & McMillan, C. (2019) · Proceedings of the 2019 Conference of the North · doi:10.18653/v1/n19-1394 · Cited by 111
“have been published widely, including on commit message generation (Jiang et al., 2017; Loyola et al., 2017), method name generation (Allamanis et al.”
MethodCommit Message Generation for Source Code Changes
Xu, S., Yao, Y., Xu, F., Gu, T., Tong, H., & Lu, J. (2019) · Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/552 · Cited by 93
CoaCor: Code Annotation for Code Retrieval with Reinforcement Learning
Yao, Z., Peddamail, J. R., & Sun, H. (2019) · The World Wide Web Conference · doi:10.1145/3308558.3313632 · Cited by 89
Characterizing the natural language descriptions in software logging statements
He, P., Chen, Z., He, S., & Lyu, M. R. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238193 · Cited by 91
“The BLEU-4 scores reported in the state-of-the-art code summarization papers [31, 40] range from 6.”
BackgroundATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid Ranking
Liu, S., Gao, C., Chen, S., Nie, L. Y., & Liu, Y. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2020.3038681 · Cited by 93
StaQC: A Systematically Mined Question-Code Dataset from Stack Overflow
Yao, Z., Weld, D. S., Chen, W.-P., & Sun, H. (2018) · Proceedings of the 2018 World Wide Web Conference on World Wide Web - WWW '18 · doi:10.1145/3178876.3186081 · Cited by 76
“Towards this goal, a lot of research work have been developed recently, such as retrieving or generating code snippets based on a natural language query, and annotating code snippets using natural language [2, 21, 28, 44, 52, 61, 64].”
BackgroundA Multi-Modal Transformer-based Code Summarization Approach for Smart Contracts
Yang, Z., Keung, J., Yu, X., Gu, X., Wei, Z., Ma, X., & Zhang, M. (2021) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00010 · Cited by 96
Deep learning for named entity recognition: a survey
Hu, Z., Hou, W. Z., & Liu, X. (2024) · Neural Computing and Applications · doi:10.1007/s00521-024-09646-6 · Cited by 110
“The architecture is frequently used for natural language generation tasks because of its adaptability [80–83], where the encoder and decoder are supplied by different models.”
CCT5: A Code-Change-Oriented Pre-trained Model
Lin, B., Wang, S., Liu, Z., Liu, Y., Xia, X., & Mao, X. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616339 · Cited by 69
“Therefore, following existing studies [44, 63], we use the B-Norm as our evaluation metric.”
MethodGenerating Commit Messages from Diffs using Pointer-Generator Network
Liu, Q., Liu, Z., Zhu, H., Fan, H., Du, B., & Qian, Y. (2019) · 2019 IEEE/ACM 16th International Conference on Mining Software Repositories (MSR) · doi:10.1109/msr.2019.00056 · Cited by 64
“[9] adapted a deep neural machine translation model, the RNN EncoderDecoder model [10] with attention mechanism [11], to learn the semantics of code changes and summarization patterns.”
MethodLearning to Update Natural Language Comments Based on Code Changes
Panthaplackel, S., Nie, P., Gligoric, M., Li, J. J., & Mooney, R. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.168 · Cited by 66
ClDiff: generating concise linked code differences
Huang, K., Chen, B., Peng, X., Zhou, D., Wang, Y., Liu, Y., & Zhao, W. (2018) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3238147.3238219 · Cited by 80
CoreGen: Contextualized Code Representation Learning for Commit Message Generation
Nie, L. Y., Gao, C., Zhong, Z., Lam, W. P., Liu, Y., & Xu, Z. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.05.039 · Cited by 85
DeepLink: Recovering issue-commit links based on deep learning
Ruan, H., Chen, B., Peng, X., & Zhao, W. (2019) · Journal of Systems and Software · doi:10.1016/j.jss.2019.110406 · Cited by 69
Distilled GPT for source code summarization
Su, C.-Y., & McMillan, C. (2024) · Automated Software Engineering · doi:10.1007/s10515-024-00421-4 · Cited by 49
CCGIR: Information retrieval-based code comment generation method for smart contracts
Yang, G., Liu, K., Chen, X., Zhou, Y., Yu, C., & Lin, H. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107858 · Cited by 52
Project-Level Encoding for Neural Source Code Summarization of Subroutines
Bansal, A., Haque, S., & McMillan, C. (2021) · 2021 IEEE/ACM 29th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc52881.2021.00032 · Cited by 46
Fret: Functional Reinforced Transformer With BERT for Code Summarization
Wang, R., Zhang, H., Lu, G., Lyu, L., & Lyu, C. (2020) · IEEE Access · doi:10.1109/access.2020.3011744 · Cited by 49
“Bidirectional encoder representations from Transformers (BERT) [5] used the mask mechanism to address the problem of polysemy and deepen the understanding of natural language (NL). are extensively applied to code summarization tasks, such as those discussed in [6], [7], and [8].”
MethodGhadhab, L., Jenhani, I., Mkaouer, M. W., & Messaoud, M. B. (2021) · Information and Software Technology · doi:10.1016/j.infsof.2021.106566 · Cited by 57
Automatic Commit Message Generation: A Critical Review and Directions for Future Work
Zhang, Y., Qiu, Z., Stol, K.-J., Zhu, W., Zhu, J., Tian, Y., & Liu, H. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3364675 · Cited by 42
“These approaches present commit message generation as a translation problem and use neural machine translation models to translate code differences into commit messages [8], [9], [10], [13], [15], [22], [23], [24], [25].”
MethodRACE: Retrieval-augmented Commit Message Generation
Shi, E., Wang, Y., Tao, W., Du, L., Zhang, H., Han, S., Zhang, D., & Sun, H. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.372 · Cited by 42
“, 2019), NMTGen (Loyola et al., 2017), PtrGNCMsg (Liu et al.”
BackgroundMethodInfluentialExploring the Capabilities of LLMs for Code-Change-Related Tasks
Fan, L., Liu, J., Liu, Z., Lo, D., Xia, X., & Li, S. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3709358 · Cited by 41
Source Code Summarization with Structural Relative Position Guided Transformer
Gong, Z., Gao, C., Wang, Y., Gu, W., Peng, Y., & Xu, Z. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00013 · Cited by 54
Adapting Neural Text Classification for Improved Software Categorization
LeClair, A., Eberhart, Z., & McMillan, C. (2018) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme.2018.00056 · Cited by 40
DeepCommenter: a deep code comment generation tool with hybrid lexical and syntactical information
Li, B., Yan, M., Xia, X., Hu, X., Li, G., & Lo, D. (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.3417926 · Cited by 35
“ferent software engineering tasks [6, 14, 20, 21].”
Correlating Automated and Human Evaluation of Code Documentation Generation Quality
Hu, X., Chen, Q., Wang, H., Xia, X., Lo, D., & Zimmermann, T. (2022) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3502853 · Cited by 33
“[34][33] generate commit messages based on the attentional encoder-decoder model, which is a classic method in Natural Language Processing.”
MethodCommitBERT: Commit Message Generation Using Pre-Trained Programming Language Model
Jung, T.-H. (2021) · NLP4PROG · doi:10.18653/v1/2021.nlp4prog-1.3 · Cited by 55
From Commit Message Generation to History-Aware Commit Message Completion
Eliseeva, A., Sokolov, Y., Bogomolov, E., Golubev, Y., Dig, D., & Bryksin, T. (2023) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00078 · Cited by 59
“CMG may be considered as a task of sequence-to-sequence language modeling , analogous to neural machine translation [8] or summarization [9].”
MethodContent Aware Source Code Change Description Generation
Loyola, P., Marrese-Taylor, E., Balazs, J., Matsuo, Y., & Satoh, F. (2018) · International Conference on Natural Language Generation · doi:10.18653/v1/w18-6513 · Cited by 30
“Following Loyola et al. (2017), we obtained all the diff files and the metadata associated to each commit, for a given project using the GitHub API.”
BackgroundMethodInfluentialSelf-citationTowards Neural DecompilationPreprint
Katz, O., Olshaker, Y., Goldberg, Y., & Yahav, E. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.08325 · Cited by 75
“Recent work suggests that neural networks are also effective in summarizing source code [9, 11–13, 20, 21, 28, 29].”
BackgroundExplaining Software Bugs Leveraging Code Structures in Neural Machine Translation
Mahbub, P., Shuvo, O., & Rahman, M. M. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00063 · Cited by 44
Action Word Prediction for Neural Source Code Summarization
Haque, S., Bansal, A., Wu, L., & McMillan, C. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00038 · Cited by 31
Neutron: an attention-based neural decompiler
Liang, R., Cao, Y., Hu, P., & Chen, K. (2021) · Cybersecurity · doi:10.1186/s42400-021-00070-0 · Cited by 41
A large-scale empirical study of commit message generation: models, datasets and evaluation
Tao, W., Wang, Y., Shi, E., Du, L., Han, S., Zhang, H., Zhang, D., & Zhang, W. (2022) · Empirical Software Engineering · doi:10.1007/s10664-022-10219-1 · Cited by 34
“It is used by Loyola et al. (2017).”
BackgroundMethodInfluentialBug Localization by Learning to Rank and Represent Bug Inducing Changes
Loyola, P., Gajananan, K., & Satoh, F. (2018) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3269206.3271811 · Cited by 23
“The use of representation learning based models has been also explored recently, such as the work of [23] and [16].”
MethodSelf-citationFunction Call Graph Context Encoding for Neural Source Code Summarization
Bansal, A., Eberhart, Z., Karas, Z., Huang, Y., & McMillan, C. (2023) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2023.3279774 · Cited by 33
PRHAN: Automated Pull Request Description Generation Based on Hybrid Attention Network
Fang, S., Zhang, T., Tan, Y., Xu, Z., Yuan, Z.-X., & Meng, L. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111160 · Cited by 28
Li, J.-W., Faragó, D., Petrov, C., & Ahmed, I. (2024) · Proc. ACM Softw. Eng. · doi:10.1145/3643760 · Cited by 41
“One key limitation of many existing CMG techniques is their reliance on training datasets that typically provide code changes and their corresponding commit messages [43, 57, 58, 87].”
InfluentialAutomated Commit Message Generation With Large Language Models: An Empirical Study and Beyond
Xue, P., Wu, L., Yu, Z., Jin, Z. Y., Yang, Z., Li, X., Yang, Z., & Tan, Y. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3478317 · Cited by 74
“Considering most of the previous CMG approaches are evaluated on the MCMD dataset [2], [3], [6], [27], [38], [39], and other related CMG datasets may also exhibit the aforementioned flaws, as crawling samples from VCSs are a common workaround in the CMG field, it is urgent to clean these datasets…”
MethodLearning to Model Editing Processes
Reid, M., & Neubig, G. (2022) · arXiv · doi:10.48550/arxiv.2205.12374 · Cited by 21
“We then curate these comments and develop a dataset for usage on downstream tasks—for both edit summary generation (Loyola et al., 2017) and edit-summary-conditioned text editing (Faltings et al., 2021).”
MethodLearning to Model Editing Processes
Reid, M., & Neubig, G. (2022) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2022.findings-emnlp.280 · Cited by 47
Cheng, W., Hu, P., Wei, S., & Mo, R. (2022) · Information and Software Technology · doi:10.1016/j.infsof.2022.106987 · Cited by 19
Associating Natural Language Comment and Source Code Entities
Panthaplackel, S., Gligoric, M., Mooney, R. J., & Li, J. J. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i05.6382 · Cited by 14
COME: 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
“Translation-based approaches[11, 24, 31, 35, 44, 68] treat commit message generation as a translation task from code changes to commit messages and use labeled data to train the model.”
BackgroundMethodInfluentialUsing Large Language Models for Commit Message Generation: A Preliminary Study
Zhang, L., Zhao, J., Wang, C., & Liang, P. (2024) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner60148.2024.00020 · Cited by 47
“Loyola et al. [8] reported that 16% of messages in a widely-used dataset were noisy, offering little useful information about the commit.”
BackgroundMethodInfluentialKADEL: Knowledge-Aware Denoising Learning for Commit Message Generation
Tao, W., Zhou, Y., Wang, Y., Zhang, H., Wang, H., & Zhang, W. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3643675 · Cited by 28
“Some studies [23, 24, 34, 35] represent code changes as textual sequences and use NMT techniques to translate the source code changes into target commit messages.”
BackgroundMethodResultDelving into Commit-Issue Correlation to Enhance Commit Message Generation Models
Wang, L., Tang, X., He, Y., Ren, C., Shi, S., Yan, C., & Li, Z. (2023) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00050 · Cited by 28
Ding, X., Peng, R., Chen, X., Huang, Y., Bian, J., & Zheng, Z. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3652156 · Cited by 26
ATOM: Commit Message Generation Based on Abstract Syntax Tree and Hybrid RankingPreprint
Liu, S., Gao, C., Chen, S., Nie, L. Y., & Liu, Y. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.02972 · Cited by 14
“• NMT [8], [52], [53].”
BackgroundMethodResultInfluentialQuality Assurance for Automated Commit Message Generation
Wang, B., Yan, M. L., Liu, Z., Xu, L., Xia, X., Zhang, X., & Yang, D. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00032 · Cited by 20
“[10], [28] proposed to improve the NMT-based approach by integrating the context”
Natural Language Processing and Program Analysis for Supporting Todo Comments as Software Evolves.
Nie, P., Li, J. J., Sarfraz Khurshid, D., Mooney, R. J., & Gligoric, M. (2018) · National Conference on Artificial Intelligence · Cited by 12
Transformer-XL With Graph Neural Network for Source Code Summarization
Zhang, X., Yang, S., Duan, L., Lang, Z., Shi, Z., & Sun, L. (2021) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc52423.2021.9658619 · Cited by 14
A hybrid code representation learning approach for predicting method names
Zhang, F., Chen, B., Li, R., & Peng, X. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111011 · Cited by 13
Slice-Based Code Change Representation Learning
Zhang, F., Chen, B., Zhao, Y., & Peng, X. (2023) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner56733.2023.00038 · Cited by 13
“[31] represented code changes of a commit as a sequence of tokens of removed and added code.”
BackgroundBoosting Neural Commit Message Generation with Code Semantic Analysis
Jiang, S. (2019) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2019.00162 · Cited by 10
“Jiang et al. [6] and Loyola et al. [7] apply the encoder-decoder architecture to automatically generate commit messages from code changes.”
BackgroundEvaluating commit message generation: to BLEU or not to BLEU?
Dey, S., Vinayakarao, V., Gupta, M., & Dechu, S. (2022) · Proceedings of the ACM/IEEE 44th International Conference on Software Engineering: New Ideas and Emerging Results · doi:10.1145/3510455.3512790 · Cited by 9
“Here, B4 is BLEU4, BN is BLEUNorm, BCC is BLEUCC, M is METEOR and MN is METEORNEXT, FP is Fragmentation Penalty.”
MethodInfluentialPAcT: Detecting and Classifying Privacy Behavior of Android Applications
Jain, V., Gupta, S. D., Ghanavati, S., Peddinti, S. T., & McMillan, C. (2022) · ACM Conference on Security and Privacy in Wireless and Mobile Networks (WiSec) · doi:10.1145/3507657.3528543 · Cited by 17
“Source code summarization is the task of automatically generating natural language descriptions of source code which ranges from creating commit messages and descriptions of source code changes [16, 25], predicting a method’s name using a code snippet [2], to creating descriptions of a code segment [4, 13, 42].”
MethodClassifying Code Commits with Convolutional Neural Networks
Meng, N., Jiang, Z., & Zhong, H. (2021) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn52387.2021.9533534 · Cited by 9
“[6] extracted added or deleted tokens from code diff files to translate code changes into commit messages via neural machine translation.”
BackgroundMethodNguyen, H. A., Phan, H., Khairunnesa, S. S., Nguyen, S., Yadavally, A., Wang, S., Rajan, H., & Nguyen, T. N. (2022) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3551349.3560434 · Cited by 12
“Those text-to-code and code-to-text DL models [19, 20, 22, 23, 38, 49, 55, 62] require large training data and are not designed for BE documentation.”
BackgroundContext-Encoded Code Change Representation for Automated Commit Message Generation
Vu, T. T., Do, T.-D., & Vo, H. D. (2023) · International Journal of Software Engineering and Knowledge Engineering · doi:10.1142/s0218194023500493 · Cited by 9
PriGen: Towards Automated Translation of Android Applications’ Code to Privacy Captions
Jain, V., Gupta, S. D., Ghanavati, S., & Peddinti, S. T. (2021) · Lecture notes in business information processing · doi:10.1007/978-3-030-75018-3_9 · Cited by 8
“NMT models have been widely used in software engineering research to generate comments for the source code [15, 21, 16] or commit messages for the changes in a code [17, 18].”
BackgroundMethodGenerating Commit Messages from Git DiffsPreprint
van Hal, S. R. P., Post, M., & Wendel, K. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1911.11690 · Cited by 8
“[18] use a vanilla encoder-decoder architecture, similar to the architecture Iyer et al.”
MethodContextualized Code Representation Learning for Commit Message GenerationPreprint
Nie, L. Y., Gao, C., Zhong, Z., Lam, W. P., Liu, Y., & Xu, Z. (2020) · arXiv (Cornell University) · Cited by 8
PSCS: A Path-based Neural Model for Semantic Code SearchPreprint
Sun, Z., Liu, Y., Yang, C., & Yu, Q. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.03042 · Cited by 18
“In many previous works, code can be simply modeled as token sequences [21], character sequences [22], or API sequences [23].”
Multi-grained contextual code representation learning for commit message generation
Wang, C., Zhang, L., & Zhang, X. (2023) · Information and Software Technology · doi:10.1016/j.infsof.2023.107393 · Cited by 6
Understanding Code Changes Practically with Small-Scale Language Models
Li, C., Xu, Z., Di, P., Wang, D., Li, Z., & Zheng, Q. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3694999 · Cited by 18
Variational Inference for Learning Representations of Natural Language Edits
Marrese-Taylor, E., Reid, M., & Matsuo, Y. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i15.17598 · Cited by 9
Self-citationJointly Learning to Repair Code and Generate Commit Message
Bai, J., Zhou, L., Blanco, A., Liu, S., Wei, F., Zhou, M., & Li, Z. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.771 · Cited by 7
“Recent work has focused on adopting machine learning based techniques for the commit message generation problem, which usually train a sequence-to-sequence model to translate the source changes into commit messages (Jiang et al., 2017; Loyola et al., 2017; Xu et al., 2019).”
InfluentialTowards Fine-Grained Localization of Privacy Behaviors
Jain, V., Ghanavati, S., Peddinti, S. T., & McMillan, C. (2023) · IEEE European Symposium on Security and Privacy · doi:10.1109/eurosp57164.2023.00024 · Cited by 6
“The format of the generated text differs based on the purpose, such as transforming code differences into commit messages for version control [43, 44], or into comments for documentation [45, 46, 47, 48].”
BackgroundLearning Feature Representations from Change Dependency Graphs for Defect Prediction
Loyola, P., & Matsuo, Y. (2017) · Proceedings/Proceedings - International Symposium on Software Reliability Engineering · doi:10.1109/issre.2017.30 · Cited by 6
“From a source code level perspective, neural language models have been adapted to perform a diverse rage of analysis tasks [44], from program classification by learning features from the Abstract Syntax Tree (AST) [45] to source code summarization using attention models [46], [47] and clone detection [48].”
MethodSelf-citationLearning to Describe Solutions for Bug Reports Based on Developer Discussions
Panthaplackel, S., Li, J. J., Gligoric, M., & Mooney, R. (2022) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2022.findings-acl.231 · Cited by 11
An Empirical Study on Commit Message Generation Using LLMs via In-Context Learning
Wu, Y., Wang, Y., Li, Y., Tao, W., Yu, S., Yang, H., Jiang, W., & Li, J. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00091 · Cited by 30
Overview of Mining Software Repositories
Luzgin, V. A., & Kholod, I. I. (2020) · IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering · doi:10.1109/eiconrus49466.2020.9039225 · Cited by 7
“The following approaches evolve from natural language processing [49] to deep learning and neural language translation [50, 51].”
BackgroundCombining Code Context and Fine-grained Code Difference for Commit Message Generation
Xu, S., Yao, Y., Feng, X., Gu, T., & Tong, H. (2022) · Asia-Pacific Symposium on Internetware · doi:10.1145/3545258.3545274 · Cited by 8
“To address the limitations of the previous work, learning-based methods have been adopted to automatically generate commit messages for code changes [20, 25, 28, 39].”
BackgroundMethodOn the Relevance of Cross-project Learning with Nearest Neighbours for Commit Message Generation
Etemadi, K., & Monperrus, M. (2020) · doi:10.1145/3387940.3391488 · Cited by 5
COMET: Generating commit messages using delta graph context representation
Mandli, A. R., Rajput, S., & Sharma, T. (2024) · Journal of Systems and Software · doi:10.1016/j.jss.2024.112307 · Cited by 11
Introduction to graph neural network: A systematic review of trends, methods, and applications
Joshi, R. (2025) · Elsevier eBooks · doi:10.1016/b978-0-443-29654-3.00017-x · Cited by 10
Rong, Y., Xu, M., Li, R., Xin, L., & Bao, W. (2025) · Journal of King Saud University - Computer and Information Sciences · doi:10.1007/s44443-025-00075-6 · Cited by 6
“These models are trained on massive code corpora (often with paired documentation) and then fine-tuned for specific tasks like code summarization (Loyola et al. 2017).”
CommitBench: A Benchmark for Commit Message Generation
Schall, M., Czinczoll, T., & de Melo, G. (2024) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner60148.2024.00080 · Cited by 19
“In Table I, we give an overview of previous datasets [9], [11], [12], [16], [21], [25], [26] as well as concurrent work [27], [28] with regard to a number of important attributes.”
BackgroundMethodUsing Animations to Understand Commits
Armenti, C., & Lanza, M. (2024) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58944.2024.00069 · Cited by 7
A Neural Architecture for Detecting Identifier Renaming from Diff
Gu, Q., & Ke, W. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-91608-4_4 · Cited by 5
DeMal: Module decomposition of malware based on community discovery
Huang, Y., Shu, H., & Kang, F. (2022) · Computers & Security · doi:10.1016/j.cose.2022.102680 · Cited by 4
Jiang, S., Shen, J., Wu, S., Cai, Y., Yu, Y., & Zhou, Y. (2022) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2022.3214859 · Cited by 4
“Jiang et al. [56] and Loyola et al. [57] apply NMT to automatically summarize code changes (i.e., commit messages).”
BackgroundSummarizing Source Code from Structure and Context
Hou, S., Chen, L., & Ye, Y. (2022) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn55064.2022.9892013 · Cited by 5
“…such that we have: As the given code snippet x is traditionally represented as a plain token sequence ( x 1 , x 2 , . . . , x n ) [2], [9], [18], [21], [36], the model is oblivious to structural and interactive information (e.g., function) and therefore is unable to distinguish, for example, a…”
BackgroundMethodEnsemble Models for Neural Source Code Summarization of Subroutines
LeClair, A., Aakash, B., & McMillan, C. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.26226/morressier.613b5418842293c031b5b62e · Cited by 43
An Empirical Study on Learning-based Techniques for Explicit and Implicit Commit Messages Generation
Huang, Z., Huang, Y., Chen, X., Zhou, X., Yang, C., & Zheng, Z. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3695025 · Cited by 8
“To alleviate the above problems, researchers have proposed various techniques for CMG, including rule-based [4, 8, 24], retrieval-based [18, 29], and learning-based [12, 19, 22, 25, 26, 28, 30, 31, 35, 54] techniques.”
InfluentialLi, R., Chen, B., Zhang, F., Sun, C., & Peng, X. (2022) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00053 · Cited by 10
“…code completion (e.g., [70, 94]), code search (e.g., [33, 84]), code classification (e.g., [85, 102]), code migration (e.g., [35, 65]), code clone detection (e.g., [79, 102]), API usage search (e.g., [34, 52]), comment generation (e.g., [42, 50]), and commit message generation (e.g., [20, 59]).”
BackgroundRetrieve-Guided Commit Message Generation with Semantic Similarity And Disparity
Li, Z., Cheng, Y., Yang, H., Kuang, L., & Zhang, L. (2022) · Asia-Pacific Software Engineering Conference (APSEC) · doi:10.1109/apsec57359.2022.00048 · Cited by 4
“Loyola et al. [10] also use attentional encoder-deoder model but add Bahdanau [22] attention mechanism.”
MethodAn Approach of Code Summary Generation Using Multi-Feature Fusion Based on Transformer
Yang, C., & Wu, J. (2023) · Lecture notes in computer science · doi:10.1007/978-981-99-6222-8_23 · Cited by 3
Commit Classification via Diff-Code GCN based on System Dependency Graph
Zhang, Z., Liu, L., Chang, J., Wang, L., & Liao, L. (2023) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs60937.2023.00053 · Cited by 4
“Other existing studies on code change representation [6],[7],[8],[9],[12] generally treat the code changes as a sequence of code tokens and ignore the hierarchical code structure information.”
BackgroundLabel Smoothing Improves Neural Source Code Summarization
Haque, S., Bansal, A., & McMillan, C. (2023) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc58990.2023.00025 · Cited by 7
Towards Generating the Rationale for Code Changes
Casillo, F., Mastropaolo, A., Bavota, G., Deufemia, V., & Gravino, C. (2025) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc66645.2025.00041 · Cited by 6
Bugsplainer: Leveraging Code Structures to Explain Software Bugs with Neural Machine Translation
Mahbub, P., Rahman, M. M., Shuvo, O., & Avinash, G. (2023) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.1109/icsme58846.2023.00067 · Cited by 2
“In recent years, machine translation, especially neural machine translation (NMT) [14], has found numerous applications in different software engineering tasks including, but not limited to, code summarization [15], [16], code comment generation [17], [18], and commit message generation [19]–[22].”
BackgroundDataset collection for automatic generation of commit messages
Александрович, К. И., & Bolbakov, R. G. (2025) · Russian Technological Journal · doi:10.32362/2500-316x-2025-13-2-7-17 · Cited by 4
Metadata
- Authors
- Loyola, P., Marrese-Taylor, E., & Matsuo, Y.
- Affiliations
- The University of Tokyo (JP)
- Corresponding author
- Matsuo, Yutaka
- Venue
- Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)
- Published
- 2017
- Pages
- 287-292
- ISSN
- 0736-587X (ISSN-L)
- OpenAlex
- W2963958373
- Semantic Scholar
- 45416ffd8fa572c23c8dbc43cc7b8b5095fcbcc2
- Cited by
- 128
- References
- 32
- Citations by year
- 2026: 2 · 2025: 9 · 2024: 16 · 2023: 19 · 2022: 19 · 2021: 25 · 2020: 15 · 2019: 12 · 2018: 10 · 2017: 1
- FWCI
- 7.98
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- Locations
- Proceedings of the conference - Association for Computational Linguistics. Meeting (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Software › Model-Driven Software Engineering Techniques
- Keywords
- natural language generation, code editing, commit messages, encoder-decoder architecture, open source software, programming languages
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.
