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
Items 101–125 of 125
Enhancing Commit Message Generation in Software Repositories: A RAG-Based Approach
Yadollahi, M., Heydarnoori, A., & Khazrak, I. (2025) · IEEE/ACIS International Conference on Software Engineering Research, Management and Applications (SERA) · doi:10.1109/sera65747.2025.11154546 · Cited by 5
Language modeling and bidirectional coders representations: an overview of key technologies
Kachkou, D. I. (2021) · Informatics · doi:10.37661/1816-0301-2020-17-4-61-72 · Cited by 3
“Более того, источником вектора состояния может быть кодировщик любой природы, поэтому подобная архитектура оказалась применима и в таких задачах, как генерация подписи для картинки [4], построение комментария к изменениям в исходном коде программ [5] и составление связанного текста на основе данных таблицы [6].”
Pointing to Subwords for Generating Function Names in Source Code
Fujita, S., Kamigaito, H., Takamura, H., & Okumura, M. (2020) · International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.28 · Cited by 5
Variational Inference for Learning Representations of Natural Language EditsPreprint
Marrese-Taylor, E., Reid, M., & Matsuo, Y. (2020) · AAAI Conference on Artificial Intelligence · doi:10.48550/arxiv.2004.09143 · Cited by 10
“Learning distributed representations for edits was perhaps first proposed indirectly by Loyola, Marrese-Taylor, and Matsuo (2017); Jiang and McMillan (2017); Jiang, Armaly, and McMillan (2017).”
BackgroundSelf-citationSource Code Comments: Overlooked in the Realm of Code Clone DetectionPreprint
Kuttal, S. K., & Ghosh, A. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.14505 · Cited by 4
“…[67] by utilizing techniques such as manually crafted heuristics and stereotypes [52], information retrieval [87], [88], probabilistic models [59], [66], [86], [102], Recurrent Neural Networks [89], and deep learning [103], we believe that these advanced code generation techniques can be utilized…”
MethodAssessing the Effectiveness of Syntactic Structure to Learn Code Edit RepresentationsPreprint
Qureshi, S. A., Mehta, S., Bhagwan, R., & Kumar, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2106.06110 · Cited by 3
“[26] use vanilla architecture where Jiang et al.”
Borrowing from Similar Code: A Deep Learning NLP-Based Approach for Log Statement AutomationPreprint
Gholamian, S., & Ward, P. A. S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2112.01259 · Cited by 5
“To provide an intuitive understanding of how good our BLEU and ROUGE scores are, we compare as follows: the BLEU-4 scores of our NLP method outperform prior efforts in [51] and [39].”
BackgroundMethodCode2tree: A Method for Automatically Generating Code Comments
Wen, W., Chu, J., Zhao, T., Zhang, R., Zhi, B., & Shen, C. (2022) · Scientific Programming · doi:10.1155/2022/6350686 · Cited by 3
“In addition, some papers model the source code as a series of tokens [16] and characters [17].”
BackgroundCapturing the context-aware code change via dynamic control flow graph for commit message generation
Du, Y., Li, Y., Ma, Y.-F., & Li, M. (2025) · Machine Learning · doi:10.1007/s10994-024-06671-3 · Cited by 4
“For example, Jiang et al. (2017) and Loyola et al. (2017) applied machine translation models to encode the code difference and decoded commit messages using LSTM. Inspired by the remarkable achievements in learning programs from the structural perspective (Sun et al., 2019; Bui et al., 2021; Xie et…”
Towards an Understanding of Context Utilization in Code Intelligence
Wang, Y., Duan, K., Zheng, D., Shi, E., Zhang, F., Wang, Y., Chen, J., Liu, X., Ma, Y., Zhang, H., et al. (2026) · ACM Computing Surveys · doi:10.1145/3797261 · Cited by 12
“This capability supports critical applications like vulnerability propagation analysis [57] and dataset deduplication [189].”
Constructing meaningful code changes via graph transformer
Guo, S., Li, M., Ge, X., Li, H., Chen, R., & Li, T. (2023) · IET Software · doi:10.1049/sfw2.12097 · Cited by 1
Leveraging Comment Retrieval for Code Summarization
Hou, S., Chen, L., Ju, M., & Ye, Y. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-28238-6_34 · Cited by 2
A Semantic and Structural Transformer for Code Summarization Generation
Ji, R., Tong, Z., Luo, T., Liu, J., & Zhang, L. (2023) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn54540.2023.10191735 · Cited by 1
Marrese-Taylor, E., Loyola, P., Balazs, J., & Matsuo, Y. (2020) · Pacific Asia Conference on Language, Information, and Computation · Cited by 2
Self-citationExecutable Trigger-Action CommentsPreprint
Nie, P., Rai, R., Li, J. J., Sarfraz Khurshid, D., Mooney, R. J., & Gligoric, M. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1808.01729 · Cited by 1
“Future work, which can build on our dataset, can develop migration between executable trigger-action comments and traditional comments; the starting point would be work on code summarization and generation from comments [2, 23].”
BackgroundOn the Evaluation of Commit Message Generation Models: An Experimental Study
Tao, W., Wang, Y., Shi, E., Lun, D., Han, S., Zhang, H., Dong-mei, Z., & Wen-qiang, Z. (2021) · IEEE International Conference on Software Maintenance (ICSM) · doi:10.26226/morressier.613b5419842293c031b5b634 · Cited by 89
Harnessing Syntactic Feature for Code Representation LearningPreprint
Clevor, B., Patel, R., & Slyder, W. (2023) · Preprints.org · doi:10.20944/preprints202312.1463.v1
Statistical Approaches to Reverse Engineering
Katz, O., & Yahav, E. (2019)
Learning program semantics via exploring program structures with deep learning
Liu, S. (2022) · DR-NTU (Nanyang Technological University) · doi:10.32657/10356/164454
Mucha: Multi-channel based Code Change Representation Learning for Commit Message Generation
Wang, C., Wu, Y., & Zhang, X. (2023) · IEEE International Conference on Software Quality, Reliability and Security (QRS) · doi:10.1109/qrs60937.2023.00064 · Cited by 3
“Jiang et al. [8] and Loyola et al. [9] employ NMT models directly for translation purposes.”
BackgroundK-Nearest neighbor smart contract classification with semantic feature enhancement
Tian, G., Zhao, G., Wang, R., Wang, J., & He, C. (2024) · The Computer Journal · doi:10.1093/comjnl/bxae070
Source Code Changes Just-in-Time Update via Code Semantics
Zhao, L., We, Z., Li, H., Guo, S., & Hao, L. (2024) · International Conference on Information Science and Technology · doi:10.1109/icist63249.2024.10805465
Automated Versioning for Software Releases: A Retrospective Study and a New Lightweight Approach
CHENG, X., CHONG, X., Weiyu, L. A. N., & Caimiao, Z. H. A. O. (2025) · IEICE Transactions on Information and Systems · doi:10.1587/transinf.2025mpp0003
SECMG: Style Enhancement Commit Message Generation
Liao, Z., Liu, W., & Lan, P. (2025) · International Joint Conference on Neural Networks (IJCNN) · doi:10.1109/ijcnn64981.2025.11227578
From Bytes to Semantics: LLM-Agent-Driven Commit Message Generation for Non-Code Assets
Wang, L., & Li, Z. (2026) · INTERNATIONAL CONFERENCE ON MULTIMODAL INTERACTION · doi:10.1145/3776574.3831117
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
- 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.
