Leveraging Deep Learning for Abstractive Code Summarization of Unofficial Documentation
Not on the map. Why?
Abstract (arXiv)
Usually, programming languages have official documentation to guide developers with APIs, methods, and classes. However, researchers identified insufficient or inadequate documentation examples and flaws with the API's complex structure as barriers to learning an API. As a result, developers may consult other sources (StackOverflow, GitHub, etc.) to learn more about an API. Recent research studies have shown that unofficial documentation is a valuable source of information for generating code summaries. We, therefore, have been motivated to leverage such a type of documentation along with deep learning techniques towards generating high-quality summaries for APIs discussed in informal documentation. This paper proposes an automatic approach using the BART algorithm, a state-of-the-art transformer model, to generate summaries for APIs discussed in StackOverflow. We built an oracle of human-generated summaries to evaluate our approach against it using ROUGE and BLEU metrics which are the most widely used evaluation metrics in text summarization. Furthermore, we evaluated our summaries empirically against a previous work in terms of quality. Our findings demonstrate that using deep learning algorithms can improve summaries' quality and outperform the previous work by an average of %57 for Precision, %66 for Recall, and %61 for F-measure, and it runs 4.4 times faster.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 54 references that are in the map. First posted on arXiv 23 Oct 2023.
Builds on
20 of 54 references.
References · 20
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2020Improved Code Summarization via a Graph Neural Networkcited by 79
- 2019A Neural Model for Generating Natural Language Summaries of Program Subroutinescited by 77
- 2020What Have We Achieved on Text Summarization?cited by 65
- 2018Learning to Extract Coherent Summary via Deep Reinforcement Learningcited by 64
- 2020Multi-document Summarization via Deep Learning Techniques: A Surveycited by 58
- 2019Does BLEU Score Work for Code Migration?cited by 49
- 2018A Unified Model for Extractive and Abstractive Summarization using Inconsistency Losscited by 47
8 more
- 2019Pretraining-Based Natural Language Generation for Text Summarizationcited by 40
- 2018Adaptations of ROUGE and BLEU to Better Evaluate Machine Reading Comprehension Taskcited by 20
- 2020Rapidly Bootstrapping a Question Answering Dataset for COVID-19cited by 14
- 2021AgreeSum: Agreement-Oriented Multi-Document Summarizationcited by 10
- 2021Leveraging Unsupervised Learning to Summarize APIs Discussed in Stack Overflowcited by 9
- 2020Topic-Centric Unsupervised Multi-Document Summarization of Scientific and News Articlescited by 5
- 2022Towards Code Summarization of APIs Based on Unofficial Documentation Using NLP Techniquescited by 4
- 2023Enhancing API Documentation through BERTopic Modeling and Summarizationcited by 1
Built on by
Not cited yet.