mlsanityData to 7 Oct 2026

A Neural Model for Generating Natural Language Summaries of Program Subroutines

arXiv 1902.01954 ↗First posted 5 Feb 2019cs.SEcited by 76

Not on the map. Why?

Abstract (arXiv)

Source code summarization -- creating natural language descriptions of source code behavior -- is a rapidly-growing research topic with applications to automatic documentation generation, program comprehension, and software maintenance. Traditional techniques relied on heuristics and templates built manually by human experts. Recently, data-driven approaches based on neural machine translation have largely overtaken template-based systems. But nearly all of these techniques rely almost entirely on programs having good internal documentation; without clear identifier names, the models fail to create good summaries. In this paper, we present a neural model that combines words from code with code structure from an AST. Unlike previous approaches, our model processes each data source as a separate input, which allows the model to learn code structure independent of the text in code. This process helps our approach provide coherent summaries in many cases even when zero internal documentation is provided. We evaluate our technique with a dataset we created from 2.1m Java methods. We find improvement over two baseline techniques from SE literature and one from NLP literature.

Key facts. Cited by 76 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Feb 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 19; 2022: 21; 2023: 19; 2024: 10; 2025: 6; 2026: 1.

76 papers.

Sort:

By area:

  1. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  2. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  3. 2023Automatic Semantic Augmentation of Language Model Prompts (for Code Summarization)cited by 72
  4. 2021On the Evaluation of Neural Code Summarizationcited by 47
  5. 2021Multilingual training for Software Engineeringcited by 43
  6. 2021TreeBERT: A Tree-Based Pre-Trained Model for Programming Languagecited by 40
  7. 2024Can LLMs Replace Manual Annotation of Software Engineering Artifacts?cited by 40
  8. 2023Automatic Code Summarization via ChatGPT: How Far Are We?cited by 34
  9. 2023Learning Deep Semantics for Test Completioncited by 31
  10. 2021CodeQA: A Question Answering Dataset for Source Code Comprehensioncited by 30
  11. 2023Distilled GPT for Source Code Summarizationcited by 30
  12. 2023CAT-LM: Training Language Models on Aligned Code And Testscited by 28
38 more
  1. 2021Project-Level Encoding for Neural Source Code Summarization of Subroutinescited by 24
  2. 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
  3. 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
  4. 2022CoCoSoDa: Effective Contrastive Learning for Code Searchcited by 21
  5. 2022Deep Learning Meets Software Engineering: A Survey on Pre-Trained Models of Source Codecited by 20
  6. 2023The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generationcited by 20
  7. 2021Improving Code Summarization with Block-wise Abstract Syntax Tree Splittingcited by 19
  8. 2024Analyzing the Performance of Large Language Models on Code Summarizationcited by 19
  9. 2023EditSum: A Retrieve-and-Edit Framework for Source Code Summarizationcited by 18
  10. 2022Assemble Foundation Models for Automatic Code Summarizationcited by 17
  11. 2022An Extractive-and-Abstractive Framework for Source Code Summarizationcited by 15
  12. 2022Source Code Summarization with Structural Relative Position Guided Transformercited by 14
  13. 2022M2TS: Multi-Scale Multi-Modal Approach Based on Transformer for Source Code Summarizationcited by 14
  14. 2022An Exploratory Study on Code Attention in BERTcited by 12
  15. 2021Impact of Evaluation Methodologies on Code Summarizationcited by 11
  16. 2022AutoPruner: Transformer-Based Call Graph Pruningcited by 11
  17. 2024Studying LLM Performance on Closed- and Open-source Datacited by 11
  18. 2021API2Com: On the Improvement of Automatically Generated Code Comments Using API Documentationscited by 10
  19. 2022Learning to Parallelize in a Shared-Memory Environment with Transformerscited by 10
  20. 2021Leveraging Unsupervised Learning to Summarize APIs Discussed in Stack Overflowcited by 9
  21. 2022HierarchyNet: Learning to Summarize Source Code with Heterogeneous Representationscited by 9
  22. 2023Towards Modeling Human Attention from Eye Movements for Neural Source Code Summarizationcited by 8
  23. 2023Enriching Source Code with Contextual Data for Code Completion Models: An Empirical Studycited by 7
  24. 2021Code to Comment Translation: A Comparative Study on Model Effectiveness & Errorscited by 6
  25. 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarizationcited by 6
  26. 2021A Neural Question Answering System for Basic Questions about Subroutinescited by 5
  27. 2021Exploiting Method Names to Improve Code Summarization: A Deliberation Multi-Task Learning Approachcited by 5
  28. 2021Learning to Generate Code Comments from Class Hierarchiescited by 5
  29. 2021Improving Stack Overflow question title generation with copying enhanced CodeBERT model and bi-modal informationcited by 5
  30. 2022GypSum: Learning Hybrid Representations for Code Summarizationcited by 5
  31. 2022Learning code summarization from a small and local datasetcited by 5
  32. 2022A Neural Network Architecture for Program Understanding Inspired by Human Behaviorscited by 5
  33. 2023Semantic Similarity Loss for Neural Source Code Summarizationcited by 5
  34. 2023Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?cited by 5
  35. 2024UniTSyn: A Large-Scale Dataset Capable of Enhancing the Prowess of Large Language Models for Program Testingcited by 5
  36. 2026Specification-Based Code-Text-Code Reengineering for LLM-Mediated Software Evolutioncited by 5
  37. 2022A Survey of Deep Learning Models for Structural Code Understandingcited by 4
  38. 2021BF++: a language for general-purpose program synthesiscited by 3

50 most cited of 76 All 76 (JSON)