paper-with-me

Papers

Leveraging Deep Learning for Abstractive Code Summarization of Unofficial Documentation

2023-10-23 · AmirHossein Naghshzan, Latifa Guerrouj, Olga Baysal

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.

📄 PDF Abstract BibTeX arXiv:2310.15015

Code (0)

등록된 구현이 없습니다.

Tasks

Code SummarizationDeep LearningText Summarization

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Adam 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Towards Code Summarization of APIs Based on Unofficial Documentation Using NLP Techniques

2022-08-12 · AmirHossein Naghshzan

Each programming language comes with official documentation to guide developers with APIs, methods, and classes. However, in some cases, official documentation is not an efficient way to get the needed information. As a …

Code Summarization

Leveraging Unsupervised Learning to Summarize APIs Discussed in Stack Overflow

2021-11-27 · AmirHossein Naghshzan, Latifa Guerrouj, Olga Baysal

Automated source code summarization is a task that generates summarized information about the purpose, usage, and--or implementation of methods and classes to support understanding of these code entities. Multiple approa…

Code SummarizationSource Code Summarization

Revolutionizing API Documentation through Summarization

2024-01-21 · AmirHossein Naghshzan, Sylvie Ratte

This study tackles the challenges associated with interpreting Application Programming Interface (API) documentation, an integral aspect of software development. Official API documentation, while essential, can be length…

Extractive SummarizationNavigate

Repurposing Decoder-Transformer Language Models for Abstractive Summarization

2019-09-01 · NeurIPS Workshop Document_Intelligen 2019 12 · Luke de Oliveira, Alfredo Láinez Rodrigo

Neural network models have shown excellent fluency and performance when applied to abstractive summarization. Many approaches to neural abstractive summarization involve the introduction of significant inductive bias, ex…

Abstractive Text SummarizationDecoderInductive BiasLanguage Modeling+2

Enhancing API Documentation through BERTopic Modeling and Summarization

2023-08-17 · AmirHossein Naghshzan, Sylvie Ratte

As the amount of textual data in various fields, including software development, continues to grow, there is a pressing demand for efficient and effective extraction and presentation of meaningful insights. This paper pr…