Recommendations for Datasets for Source Code Summarization
Not on the map. Why?
Abstract (arXiv)
Source Code Summarization is the task of writing short, natural language descriptions of source code. The main use for these descriptions is in software documentation e.g. the one-sentence Java method descriptions in JavaDocs. Code summarization is rapidly becoming a popular research problem, but progress is restrained due to a lack of suitable datasets. In addition, a lack of community standards for creating datasets leads to confusing and unreproducible research results -- we observe swings in performance of more than 33% due only to changes in dataset design. In this paper, we make recommendations for these standards from experimental results. We release a dataset based on prior work of over 2.1m pairs of Java methods and one sentence method descriptions from over 28k Java projects. We describe the dataset and point out key differences from natural language data, to guide and support future researchers.
Key facts. Cited by 46 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Apr 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 12; 2022: 11; 2023: 14; 2024: 5; 2025: 1; 2026: 3.
46 papers.
Sort:
By area:
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2021On the Evaluation of Neural Code Summarizationcited by 48
- 2023Distilled GPT for Source Code Summarizationcited by 31
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binariescited by 26
- 2021Project-Level Encoding for Neural Source Code Summarization of Subroutinescited by 24
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 24
- 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021On the Evaluation of Commit Message Generation Models: An Experimental Studycited by 20
- 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
- 2022An Extractive-and-Abstractive Framework for Source Code Summarizationcited by 18
- 2024Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarizationcited by 16
34 more
- 2022Pop Quiz! Can a Large Language Model Help With Reverse Engineering?cited by 14
- 2022M2TS: Multi-Scale Multi-Modal Approach Based on Transformer for Source Code Summarizationcited by 14
- 2022A Survey on Pretrained Language Models for Neural Code Intelligencecited by 13
- 2022Summarize and Generate to Back-translate: Unsupervised Translation of Programming Languagescited by 12
- 2021Impact of Evaluation Methodologies on Code Summarizationcited by 11
- 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarizationcited by 9
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-trainingcited by 8
- 2023Towards Modeling Human Attention from Eye Movements for Neural Source Code Summarizationcited by 8
- 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarizationcited by 8
- 2023A Language Model of Java Methods with Train/Test Deduplicationcited by 7
- 2023Assessing Evaluation Metrics for Neural Test Oracle Generationcited by 7
- 2021HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebookscited by 6
- 2021Code to Comment Translation: A Comparative Study on Model Effectiveness & Errorscited by 6
- 2021A Neural Question Answering System for Basic Questions about Subroutinescited by 5
- 2021Exploiting Method Names to Improve Code Summarization: A Deliberation Multi-Task Learning Approachcited by 5
- 2021Can Machines Read Coding Manuals Yet? -- A Benchmark for Building Better Language Models for Code Understandingcited by 5
- 2023Semantic Similarity Loss for Neural Source Code Summarizationcited by 5
- 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
- 2023TPDR: A Novel Two-Step Transformer-based Product and Class Description Match and Retrieval Methodcited by 4
- 2024Do Current Language Models Support Code Intelligence for R Programming Language?cited by 4
- 2022GPT-based Open-Ended Knowledge Tracingcited by 3
- 2023Revisiting File Context for Source Code Summarizationcited by 3
- 2022JEMMA: An Extensible Java Dataset for ML4Code Applicationscited by 2
- 2023Statement-based Memory for Neural Source Code Summarizationcited by 2
- 2021Neural Code Summarizationcited by 1
- 2025CIDRe: A Reference-Free Multi-Aspect Criterion for Code Comment Quality Measurementcited by 1
- 2026Remember Your Trace: Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentationcited by 1
- 2022Meta Learning for Code Summarizationcited by 0
- 2022Preprocessing Source Code Comments for Linguistic Modelscited by 0
- 2023A Machine Learning Approach Towards SKILL Code Autocompletioncited by 0
- 2023Predicting Line-Level Defects by Capturing Code Contexts with Hierarchical Transformerscited by 0
- 2024In-Context Code-Text Learning for Bimodal Software Engineeringcited by 0
- 2026On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Studycited by 0
- 2026Transformer-Assisted LLM-Based Source Code Summarisation: to Enable More Secure Software Developmentcited by 0
- 2026Transformer-Assisted LLM-Based Source Code Summarisation: to Enable More Secure Software Development23 Jul 2026
- 2026Remember Your Trace: Memory-Guided Long-Horizon Agentic Framework for Consistent and Hierarchical Repository-Level Code Documentation14 May 2026
- 2026On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Study30 Jan 2026
- 2025CIDRe: A Reference-Free Multi-Aspect Criterion for Code Comment Quality Measurement26 May 2025
- 2024Do Current Language Models Support Code Intelligence for R Programming Language?10 Oct 2024
- 2024In-Context Code-Text Learning for Bimodal Software Engineering8 Oct 2024
- 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarization1 Jul 2024
- 2024Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarization22 Feb 2024
- 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarization21 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Predicting Line-Level Defects by Capturing Code Contexts with Hierarchical Transformers19 Dec 2023
- 2023A Machine Learning Approach Towards SKILL Code Autocompletion4 Dec 2023
34 more
- 2023Assessing Evaluation Metrics for Neural Test Oracle Generation11 Oct 2023
- 2023TPDR: A Novel Two-Step Transformer-based Product and Class Description Match and Retrieval Method5 Oct 2023
- 2023Revisiting File Context for Source Code Summarization5 Sep 2023
- 2023Distilled GPT for Source Code Summarization28 Aug 2023
- 2023Semantic Similarity Loss for Neural Source Code Summarization14 Aug 2023
- 2023Statement-based Memory for Neural Source Code Summarization21 Jul 2023
- 2023Towards Modeling Human Attention from Eye Movements for Neural Source Code Summarization16 May 2023
- 2023A Language Model of Java Methods with Train/Test Deduplication15 May 2023
- 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation9 May 2023
- 2023Automating Code-Related Tasks Through Transformers: The Impact of Pre-training8 Feb 2023
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binaries4 Jan 2023
- 2022A Survey on Pretrained Language Models for Neural Code Intelligence20 Dec 2022
- 2022JEMMA: An Extensible Java Dataset for ML4Code Applications18 Dec 2022
- 2022Preprocessing Source Code Comments for Linguistic Models23 Aug 2022
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?5 Aug 2022
- 2022An Extractive-and-Abstractive Framework for Source Code Summarization15 Jun 2022
- 2022Summarize and Generate to Back-translate: Unsupervised Translation of Programming Languages23 May 2022
- 2022A Survey of Deep Learning Models for Structural Code Understanding3 May 2022
- 2022M2TS: Multi-Scale Multi-Modal Approach Based on Transformer for Source Code Summarization18 Mar 2022
- 2022GPT-based Open-Ended Knowledge Tracing21 Feb 2022
- 2022Pop Quiz! Can a Large Language Model Help With Reverse Engineering?2 Feb 2022
- 2022Meta Learning for Code Summarization20 Jan 2022
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021
- 2021Can Machines Read Coding Manuals Yet? -- A Benchmark for Building Better Language Models for Code Understanding15 Sep 2021
- 2021Impact of Evaluation Methodologies on Code Summarization22 Aug 2021
- 2021On the Evaluation of Neural Code Summarization15 Jul 2021
- 2021On the Evaluation of Commit Message Generation Models: An Experimental Study12 Jul 2021
- 2021Code to Comment Translation: A Comparative Study on Model Effectiveness & Errors15 Jun 2021
- 2021CoDesc: A Large Code-Description Parallel Dataset29 May 2021
- 2021HAConvGNN: Hierarchical Attention Based Convolutional Graph Neural Network for Code Documentation Generation in Jupyter Notebooks31 Mar 2021
- 2021Project-Level Encoding for Neural Source Code Summarization of Subroutines22 Mar 2021
- 2021Exploiting Method Names to Improve Code Summarization: A Deliberation Multi-Task Learning Approach21 Mar 2021
- 2021Neural Code Summarization26 Feb 2021
- 2021A Neural Question Answering System for Basic Questions about Subroutines11 Jan 2021
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2021On the Evaluation of Neural Code Summarizationcited by 48
- 2023Distilled GPT for Source Code Summarizationcited by 31
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binariescited by 26
- 2021Project-Level Encoding for Neural Source Code Summarization of Subroutinescited by 24
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 24
- 2021CoDesc: A Large Code-Description Parallel Datasetcited by 23
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2021On the Evaluation of Commit Message Generation Models: An Experimental Studycited by 20
- 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
- 2022An Extractive-and-Abstractive Framework for Source Code Summarizationcited by 18
- 2024Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarizationcited by 16
12 most cited of 45 All 45 (JSON)
- 2026Transformer-Assisted LLM-Based Source Code Summarisation: to Enable More Secure Software Development23 Jul 2026
- 2026On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Study30 Jan 2026
- 2025CIDRe: A Reference-Free Multi-Aspect Criterion for Code Comment Quality Measurement26 May 2025
- 2024Do Current Language Models Support Code Intelligence for R Programming Language?10 Oct 2024
- 2024In-Context Code-Text Learning for Bimodal Software Engineering8 Oct 2024
- 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarization1 Jul 2024
- 2024Do Machines and Humans Focus on Similar Code? Exploring Explainability of Large Language Models in Code Summarization22 Feb 2024
- 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarization21 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Predicting Line-Level Defects by Capturing Code Contexts with Hierarchical Transformers19 Dec 2023
- 2023A Machine Learning Approach Towards SKILL Code Autocompletion4 Dec 2023
- 2023Assessing Evaluation Metrics for Neural Test Oracle Generation11 Oct 2023
12 newest of 45 All 45 (JSON)