Distilled GPT for source code summarization
Open accessThe DOI matches its Crossref record; 59 of the 59 references it cites were found in a registry or an index.
Abstract
A code summary is a brief natural language description of source code. Summaries are usually only a single sentence long, and yet form the backbone of developer documentation. A short descriptions such as “changes all visible polygons to the color blue” can give a programmer a high-level idea of what code does without the effort of reading the code itself. Recently, products based on Large Language Models such as ChatGPT have demonstrated a strong ability to write these descriptions automatically. However, to use these tools, programmers must send their code to untrusted third parties for processing (e.g., via an API call). This loss of custody is not acceptable to many organizations. In this paper, we present an alternative: we train an open source model using sample output generated by GPT $$-$$ - 3.5 in a process related to knowledge distillation. Our model is small enough (350 m parameters) to be run on a single 16gb GPU, yet we show in our evaluation that it is large enough to mimic GPT $$-$$ - 3.5 on this task.
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
Figures






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
“It is broadly used on domain-specific tasks and has established its effectiveness [9, 85].”
From Exploring the Capabilities of LLMs for Code-Change-Related Tasks (2025) · cites this paper as [85]
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
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · cited 1×
“5, is a decoder-only Transformer (Brown et al, 2020), both language model architectures we use are also decoder-only Transformers.”
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
On the Dangers of Stochastic Parrots: Can Language Models Be Too Big? 🦜
Bender, E. M., Gebru, T., McMillan-Major, A., & Shmitchell, S. (2021) · Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency · doi:10.1145/3442188.3445922 · Cited by 6,988 · cited 3×
“); Bender et al (2021) introduce the technique to fine-tune Large Language Models (LLM) for code summarization.”
Knowledge Distillation: A Survey
Gou, J., Yu, B., Maybank, S. J., & Tao, D. (2021) · International Journal of Computer Vision · doi:10.1007/s11263-021-01453-z · Cited by 3,931 · cited 1×
“A classic application is in image classification, where a powerful model capable of classifying many types may be used to teach a smaller model with some tradeoffs, such as lower accuracy or recognizing fewer categories (Gou et al, 2021; Wang and Yoon, 2021; Zagoruyko and Komodakis, 2016).”
Zagoruyko, S., & Komodakis, N. (2016) · arXiv · doi:10.48550/arxiv.1612.03928 · Cited by 2,027 · cited 1×
“A classic application is in image classification, where a powerful model capable of classifying many types may be used to teach a smaller model with some tradeoffs, such as lower accuracy or recognizing fewer categories (Gou et al, 2021; Wang and Yoon, 2021; Zagoruyko and Komodakis, 2016).”
Wang, Y., Wang, W., Joty, S., & Hoi, S. C. H. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.685 · Cited by 1,495 · cited 1×
“Although there are some papers that have already formulated the code summarization as a fine-tuning problem such as Wang et al (2021); Bender et al (2021) and studied knowledge distillation for smaller models from larger models Hsieh et al (2023); Yu et al (2023), we thoroughly explore the data and…”
Wang, Y., Wang, W., Joty, S., & Hoi, S. C. H. (2021) · arXiv · doi:10.48550/arxiv.2109.00859 · Cited by 1,495 · cited 1×
“Although there are some papers that have already formulated the code summarization as a fine-tuning problem such as Wang et al (2021); Bender et al (2021) and studied knowledge distillation for smaller models from larger models Hsieh et al (2023); Yu et al (2023), we thoroughly explore the data and…”
code2vec: Learning distributed representations of code
Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3290353 · Cited by 962
Zhai, X., Kolesnikov, A., Houlsby, N., & Beyer, L. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.01179 · Cited by 891
Wang, L., & Yoon, K.-J. (2022) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2021.3055564 · Cited by 752 · cited 4×
“Although there are some papers that have already formulated the code summarization as a fine-tuning problem such as Wang et al (2021); Bender et al (2021) and studied knowledge distillation for smaller models from larger models Hsieh et al (2023); Yu et al (2023), we thoroughly explore the data and model size for know…”
InfluentialSummarizing 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
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
Towards automatically generating summary comments for Java methods
Sridhara, G., Hill, E., Muppaneni, D., Pollock, L., & Vijay-Shanker, K. (2010) · Proceedings of the IEEE/ACM international conference on Automated software engineering · doi:10.1145/1858996.1859006 · Cited by 514 · cited 2×
“We designed our survey to be consistent with years of best-practice in evaluating summaries, namely from Sridhara et al (2010); McBurney et al (2016); Bansal et al (2021a), including the wording we use in the survey questions.”
Why We Need New Evaluation Metrics for NLG
Novikova, J., Dušek, O., Cercas Curry, A., & Rieser, V. (2017) · Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d17-1238 · Cited by 422 · cited 1×
“In contrast, the 350m jam model cost is only slightly higher than smaller models, and can be operated on a single 16GB GPU (Su et al, 2023).”
On the Use of Automated Text Summarization Techniques for Summarizing Source Code
Haiduc, S., Aponte, J., Moreno, L., & Marcus, A. (2010) · 2010 17th Working Conference on Reverse Engineering · doi:10.1109/wcre.2010.13 · Cited by 408 · cited 2×
“The benefits of summaries in documentation have been studied for decades (Haiduc et al, 2010), and Software Engineering (SE) research has long sought to automate the process of writing them, to reduce manual effort by programmers, support under-documented legacy programs, and build accessibility…”
Why We Need New Evaluation Metrics for NLG
Novikova, J., Dušek, O., Curry, A. C., & Rieser, V. (2017) · arXiv · doi:10.48550/arxiv.1707.06875 · Cited by 406 · cited 1×
“In contrast, the 350m jam model cost is only slightly higher than smaller models, and can be operated on a single 16GB GPU (Su et al, 2023).”
Improving automatic source code summarization via deep reinforcement learning
Wan, Y., Zhao, Z., Yang, M., Xu, G., Ying, H., Wu, J., & Yu, P. S. (2018) · Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering · doi:10.1145/3238147.3238206 · Cited by 385
A Transformer-based Approach for Source Code Summarization
Ahmad, W., Chakraborty, S., Ray, B., & Chang, K.-W. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.449 · Cited by 378
Why Cohen’s Kappa should be avoided as performance measure in classification
Delgado, R., & Tibau, X.-A. (2019) · PLOS ONE · doi:10.1371/journal.pone.0222916 · Cited by 324 · cited 1×
“We do not calculate the agreement between two studies because Donker et al (1993); Delgado and Tibau (2019) point out that Cohen kappa cannot reflect the agreement in the unbalanced data.”
Hsieh, C.-Y., Li, C.-L., Yeh, C.-K., Nakhost, H., Fujii, Y., Ratner, A., Krishna, R., Lee, C.-Y., & Pfister, T. (2023) · Findings of the Association for Computational Linguistics: ACL 2023 · doi:10.18653/v1/2023.findings-acl.507 · Cited by 316
A 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 · cited 1×
“Code summaries form the back-bone of much documentation for programmers, and the dream of automatic generation of these summaries has been described as a “holy grail” of SE research (Allamanis et al, 2018a; Forward and Lethbridge, 2002; LeClair et al, 2019).”
Self-citationThe relevance of software documentation, tools and technologies: a survey
Forward, A., & Lethbridge, T. C. (2002) · Proceedings of the 2002 ACM symposium on Document engineering · doi:10.1145/585058.585065 · Cited by 268 · cited 1×
“Code summaries form the back-bone of much documentation for programmers, and the dream of automatic generation of these summaries has been described as a “holy grail” of SE research (Allamanis et al, 2018a; Forward and Lethbridge, 2002; LeClair et al, 2019).”
"Yours is better!": participant response bias in HCI
Dell, N., Vaidyanathan, V., Medhi, I., Cutrell, E., & Thies, W. (2012) · Proceedings of the SIGCHI Conference on Human Factors in Computing Systems · doi:10.1145/2207676.2208589 · Cited by 266 · cited 1×
“As with RQ1, we do not mark the summaries as coming from any particular model, to avoid demand characteristic bias (Dell et al, 2012).”
Summarizing Source Code with Transferred API Knowledge
Hu, X., Li, G., Xia, X., Lo, D., Lu, S., & Jin, Z. (2018) · Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2018/314 · Cited by 263
StarCoder: may the source be with you!
Li, R., Allal, L. B., Zi, Y., Muennighoff, N., Kocetkov, D., Mou, C., Marone, M., Akiki, C., Li, J., Chim, J., et al. (2023) · arXiv · doi:10.48550/arxiv.2305.06161 · Cited by 261
Automatically generating commit messages from diffs using neural machine translation
Jiang, S., Armaly, A., & McMillan, C. (2017) · 2017 32nd IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115626 · Cited by 255
Self-citationSoftware Documentation Issues Unveiled
Aghajani, E., Nagy, C., Vega-Marquez, O. L., Linares-Vasquez, M., Moreno, L., Bavota, G., & Lanza, M. (2019) · 2019 IEEE/ACM 41st International Conference on Software Engineering (ICSE) · doi:10.1109/icse.2019.00122 · Cited by 195 · cited 2×
“5 This section discusses the knowledge distillation process”
Cognitive fatigue influences students’ performance on standardized tests
Sievertsen, H. H., Gino, F., & Piovesan, M. (2016) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.1516947113 · Cited by 194 · cited 1×
“We chose 30 because we found that participants tended to spend between two and three minutes per method, and we aimed to keep the survey time to a maximum of 90 minutes to prevent fatigue bias (Sievertsen et al, 2016).”
LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention
Zhang, R., Han, J., Liu, C., Gao, P., Zhou, A., Hu, X., Yan, S., Lu, P., Li, H., & Qiao, Y. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2303.16199 · Cited by 166 · cited 2×
“In this way, our procedure is consistent with other research distilling commercial language models, such as Zhang et al (2023).”
Small Models are Valuable Plug-ins for Large Language Models
Xu, C., Yi‐chong, X., Wang, S., Liu, Y., Zhu, C., & McAuley, J. (2024) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2024.findings-acl.18 · Cited by 149
A Neural Architecture for Generating Natural Language Descriptions from Source Code Changes
Loyola, P., Marrese-Taylor, E., & Matsuo, Y. (2017) · Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/p17-2045 · Cited by 128
Semantic similarity metrics for evaluating source code summarization
Haque, S., Eberhart, Z., Bansal, A., & McMillan, C. (2022) · Proceedings of the 30th IEEE/ACM International Conference on Program Comprehension · doi:10.1145/3524610.3527909 · Cited by 116 · cited 8×
“5, and yet are able to achieve comparable results in a large portion of instances when measured by the automated metrics METEOR and USE.”
InfluentialSelf-citationRecommendations 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 · cited 5×
“This result is surprising considering that human-written references have long been considered the gold standard in evaluating software documentation generation LeClair and McMillan (2019); Shi et al (2022).”
InfluentialSelf-citationAutomatic Generation of Text Descriptive Comments for Code Blocks
Liang, Y., & Zhu, K. (2018) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v32i1.11963 · Cited by 106
Reassessing automatic evaluation metrics for code summarization tasks
Roy, D., Fakhoury, S., & Arnaoudova, V. (2021) · Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3468264.3468588 · Cited by 106 · cited 2×
“Haque et al (2022); Roy et al (2021) point out that METEOR and USE are closer to human preference because these metrics assign partial credits to words instead of treating the importance of the words equally.”
On-demand Developer Documentation
Robillard, M. P., Marcus, A., Treude, C., Bavota, G., Chaparro, O., Ernst, N., Gerosa, M. A., Godfrey, M., Lanza, M., Linares-Vasquez, M., et al. (2017) · 2017 IEEE International Conference on Software Maintenance and Evolution (ICSME) · doi:10.1109/icsme.2017.17 · Cited by 104 · cited 2×
“…documentation have been studied for decades (Haiduc et al, 2010), and Software Engineering (SE) research has long sought to automate the process of writing them, to reduce manual effort by programmers, support under-documented legacy programs, and build accessibility tools (Robillard et al, 2017).”
Improved Automatic Summarization of Subroutines via Attention to File Context
Haque, S., LeClair, A., Wu, L., & McMillan, C. (2020) · Proceedings of the 17th International Conference on Mining Software Repositories · doi:10.1145/3379597.3387449 · Cited by 102
Self-citationAre we building on the rock? on the importance of data preprocessing for code summarization
Shi, L., Mu, F., Chen, X., Wang, S., Wang, J., Yang, Y., Li, G., Xia, X., & Wang, Q. (2022) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3540250.3549145 · Cited by 86 · cited 3×
“This result is surprising considering that human-written references have long been considered the gold standard in evaluating software documentation generation LeClair and McMillan (2019); Shi et al (2022).”
Detecting User Story Information in Developer-Client Conversations to Generate Extractive Summaries
Rodeghero, P., Jiang, S., Armaly, A., & McMillan, C. (2017) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2017.13 · Cited by 79
Self-citationA Multi-Perspective Architecture for Semantic Code Search
Haldar, R., Wu, L., Xiong, J., & Hockenmaier, J. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.758 · Cited by 74
Distilling ChatGPT for Explainable Automated Student Answer Assessment
Li, J., Gui, L., Zhou, Y., West, D., Aloisi, C., & He, Y. (2023) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2023.findings-emnlp.399 · Cited by 67
Retrieval-Augmented Generation for Code Summarization via Hybrid GNN
Liu, S., Chen, Y., Xie, X., Siow, J. K., & Liu, Y. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2006.05405 · Cited by 65
Autofolding for Source Code Summarization
Fowkes, J., Chanthirasegaran, P., Ranca, R., Allamanis, M., Lapata, M., & Sutton, C. A. (2017) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2017.2664836 · Cited by 63
Do you Really Code? Designing and Evaluating Screening Questions for Online Surveys with Programmers
Danilova, A., Naiakshina, A., Horstmann, S., & Smith, M. (2021) · 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) · doi:10.1109/icse43902.2021.00057 · Cited by 62 · cited 1×
“Danilova et al (2021) recommend programming-based screening questions, but Ghorbani et al (2023) point out that these questions are now easily circumvented with online AI-based tools such as Copilot and ChatGPT.”
Language-Agnostic Representation Learning of Source Code from Structure and Context
Zügner, D., Kirschstein, T., Catasta, M., Leskovec, J., & Günnemann, S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2103.11318 · Cited by 60
Interpretation of low kappa values
Donker, D. K., Hasman, A., & van Geijn, H. P. (1993) · International Journal of Bio-Medical Computing · doi:10.1016/0020-7101(93)90059-f · Cited by 48 · cited 2×
“In terms of accuracy, we observe that the summaries generated by the model trained with GPT-3.”
SeTransformer: A Transformer-Based Code Semantic Parser for Code Comment Generation
Li, Z., Wu, Y., Peng, B., Chen, X., Sun, Z., Liu, Y., & Doyle, P. (2022) · IEEE Transactions on Reliability · doi:10.1109/tr.2022.3154773 · Cited by 47
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
Self-citationThe growing cost of deep learning for source code
Hellendoorn, V. J., & Sawant, A. A. (2021) · Communications of the ACM · doi:10.1145/3501261 · Cited by 46 · cited 1×
“In addition, the closed nature of these products has caused controversy among researchers, who point out a lack of reproducibility, potential data contamination from public test sets to private training data, and resultant loss of scientific rigor (Hellendoorn and Sawant, 2021).”
A Neural Model for Method Name Generation from Functional Description
Gao, S., Chen, C., Xing, Z., Ma, Y., Song, W. W., & Lin, S. (2019) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner.2019.8667994 · Cited by 40
Tang, Y., da Costa, A. A. B., Zhang, X., Irvine, P., Khastgir, S., & Jennings, P. (2023) · IEEE International Conference on Intelligent Transportation Systems (ITSC) · doi:10.1109/itsc57777.2023.10422308 · Cited by 37 · cited 2×
“In this way, our procedure is consistent with other research distilling commercial language models, such as Zhang et al (2023).”
A Neural Question Answering System for Basic Questions about Subroutines
Bansal, A., Eberhart, Z., Wu, L., & McMillan, C. (2021) · IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner50967.2021.00015 · Cited by 31 · cited 2×
“We designed our survey to be consistent with years of best-practice in evaluating summaries, namely from Sridhara et al (2010); McBurney et al (2016); Bansal et al (2021a), including the wording we use in the survey questions.”
Self-citationAction 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 · cited 1×
“In almost all cases, the first word of the summary is an action word such as “gets”, “prints”, or “calculates”, so the model learns to decide this word based on the Java code (Haque et al, 2021).”
Self-citationHow much pretraining data do language models need to learn syntax?
Pérez-Mayos, L., Ballesteros, M., & Wanner, L. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.118 · Cited by 26 · cited 1×
“P´erez-Mayos et al (2021) also observed the similar phenomenon that the performance of certain models do not always increase as the data size increases in the syntactic generation task.”
Autonomy Is An Acquired Taste: Exploring Developer Preferences for GitHub Bots
Ghorbani, A., Cassee, N., Robinson, D. J. S., Alami, A., Ernst, N., Serebrenik, A., & Wąsowski, A. (2023) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse48619.2023.00123 · Cited by 23 · cited 1×
“Danilova et al (2021) recommend programming-based screening questions, but Ghorbani et al (2023) point out that these questions are now easily circumvented with online AI-based tools such as Copilot and ChatGPT.”
Automated feature discovery via sentence selection and source code summarization
McBurney, P. W., Liu, C., & McMillan, C. (2016) · Journal of Software Evolution and Process · doi:10.1002/smr.1768 · Cited by 22 · cited 2×
“We designed our survey to be consistent with years of best-practice in evaluating summaries, namely from Sridhara et al (2010); McBurney et al (2016); Bansal et al (2021a), including the wording we use in the survey questions.”
Self-citationA framework for writing trigger-action todo comments in executable format
Nie, P., Rai, R., Li, J. J., Sarfraz Khurshid, D., Mooney, R. J., & Gligoric, M. (2019) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3338906.3338965 · Cited by 22
A Language Model of Java Methods with Train/Test Deduplication
Su, C., Bansal, A., Jain, V., Ghanavati, S., & McMillan, C. (2023) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3611643.3613090 · Cited by 21 · cited 9×
“We use NVIDIA RTX A5000 GPU with 24GB VRAM and Intel i9-10900X CPU with 128GB RAM as the hardware to train the models.”
InfluentialSelf-citationLearning to Generate Comments for API-Based Code Snippets
Lu, Y., Zhao, Z., Li, G., & Jin, Z. G. (2019) · Communications in computer and information science · doi:10.1007/978-981-15-0310-8_1 · Cited by 13
Research works printed but not linked: 13
- Allamanis M, Barr ET, Devanbu P, et al (2018a) A survey of machine learning for big code and naturalness. ACM Comput Surv 51(4). https://doi.org/10.1145/3212695 · DOI · Paper page
- Allamanis M, Brockschmidt M, Khademi M (2018b) Learning to represent programs with graphs. In: International Conference on Learning Representations, URL https: //openreview.net/forum?id=BJOFETxR-
- Alon U, Zilberstein M, Levy O, et al (2019b) code2vec: Learning distributed representations of code. Proceedings of the ACM on Programming Languages 3(POPL):1-29. https://doi.org/10.1145/3290353 · DOI · Paper page
- Banerjee S, Lavie A (2005) Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In: Proceedings of the acl work- shop on intrinsic and extrinsic evaluation measures for machine translation and/or summarization, pp 65-72, URL https://aclanthology.org/W05-0909
- Chang TA, Bergen BK (2023) Language model behavior: A comprehensive survey. arXiv preprint arXiv:230311504
- Chen Z, Jiang F, Chen J, et al (2023) Phoenix: Democratizing chatgpt across languages. arXiv preprint arXiv:230410453
- Derner E, Batistič K (2023) Beyond the safeguards: Exploring the security risks of chatgpt. arXiv preprint arXiv:230508005
- Gudibande A, Wallace E, Snell C, et al (2023) The false promise of imitating proprietary llms. arXiv preprint arXiv:230515717
- Ma W, Liu S, Wang W, et al (2023) The scope of chatgpt in software engineering: A thorough investigation. arXiv preprint arXiv:230512138
- Robillard MP, Marcus A, Treude C, et al (2017) On-demand developer documenta- tion. In: 2017 IEEE International conference on software maintenance and evolution (ICSME), IEEE, pp 479-483, https://doi.org/10.1109/ICSME.2017. · doi:10.1109/icsme.2017
- Schaeffer R, Miranda B, Koyejo S (2023) Are emergent abilities of large language models a mirage? arXiv preprint arXiv:230415004
- Sun W, Fang C, You Y, et al (2023) Automatic code summarization via chatgpt: How far are we? arXiv preprint arXiv:230512865
- Yu Y, Zhuang Y, Zhang J, et al (2023) Large language model as attributed training data generator: A tale of diversity and bias. arXiv preprint arXiv:230615895
Cited by
A survey on large language models for software engineering
Zhang, Q., Fang, C., Xie, Y., Zhang, Y., Yu, S., Sun, W., Yang, Y., & Chen, Z. (2026) · Science China Information Sciences · doi:10.1007/s11432-025-4670-0 · Cited by 124
Source Code Summarization in the Era of Large Language Models
Sun, W., Miao, Y., Li, Y., Zhang, H., Fang, C., Liu, Y., Deng, G., Liu, Y., & Chen, Z. (2025) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse55347.2025.00034 · Cited by 217
Shi, J., Yang, Z., & Lo, D. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708525 · Cited by 43
Exploring 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
“In Section 3.4, we investigate the impact of input formats on the effectiveness of LLM-ICLs, and find that LLM-ICLs with diffs as the input format outperforms those representing code changes as code snippets in most of the settings, especially on the JITCUP tasks.”
InfluentialBenchmarks and Metrics for Evaluations of Code Generation: A Critical Review
Paul, D. G., Zhu, H., & Bayley, I. (2024) · IEEE International Conference on Artificial Intelligence Testing (AITest) · doi:10.1109/aitest62860.2024.00019 · Cited by 73
“The typical examples of such tasks include document generation , code summarisation [10], and comment generation [11], etc.”
Background
Metadata
- Authors
- Su, C.-Y., & McMillan, C.
- Affiliations
- University of Notre Dame (US)
- Corresponding author
- Su, Chia-Yi
- Venue
- Automated Software Engineering
- Published
- 2024-03-01
- Volume
- 31
- Issue
- 1
- ISSN
- 0928-8910 (ISSN-L)
- 1573-7535
- OpenAlex
- W4392365769
- Cited by
- 49
- References
- 58
- Citations by year
- 2026: 15 · 2025: 21 · 2024: 13
- FWCI
- 12.94
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- cc-by-nc-nd
- www.springernature.com/gp/researchers/text-and-data-mining (tdm)
- www.springernature.com/gp/researchers/text-and-data-mining (vor)
- Locations
- Automated Software Engineering (publishedVersion)
- arXiv (Cornell University) (submittedVersion, cc-by-nc-nd)
- arXiv (Cornell University)
- Funders
- National Science Foundation (CCF-2100035)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Keywords
- code summarization, knowledge distillation, large language models, GPT-3.5, open-source language models, developer documentation, model compression
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.