paper-with-me

홈 › Papers

Improved Code Summarization via a Graph Neural Network

2020-04-06 · Alexander LeClair, Sakib Haque, Lingfei Wu, Collin McMillan

Automatic source code summarization is the task of generating natural language descriptions for source code. Automatic code summarization is a rapidly expanding research area, especially as the community has taken greater advantage of advances in neural network and AI technologies. In general, source code summarization techniques use the source code as input and outputs a natural language description. Yet a strong consensus is developing that using structural information as input leads to improved performance. The first approaches to use structural information flattened the AST into a sequence. Recently, more complex approaches based on random AST paths or graph neural networks have improved on the models using flattened ASTs. However, the literature still does not describe the using a graph neural network together with source code sequence as separate inputs to a model. Therefore, in this paper, we present an approach that uses a graph-based neural architecture that better matches the default structure of the AST to generate these summaries. We evaluate our technique using a data set of 2.1 million Java method-comment pairs and show improvement over four baseline techniques, two from the software engineering literature, and two from machine learning literature.

📄 PDF Abstract BibTeX arXiv:2004.02843

Code (2)

acleclair/ICPC2020_GNN tf
sjj0403/GSCS pytorch

Tasks

Code SummarizationGraph Neural NetworkSource Code Summarization

Methods 이 논문이 사용한 방법론

Graph Neural Network 설명 없음

Similar Papers 제목 키워드 기반

GN-Transformer: Fusing Sequence and Graph Representation for Improved Code Summarization

2021-11-17 · Junyan Cheng, Iordanis Fostiropoulos, Barry Boehm

As opposed to natural languages, source code understanding is influenced by grammatical relationships between tokens regardless of their identifier name. Graph representations of source code such as Abstract Syntax Tree …

Code Summarization

HGAdapter: Hypergraph-based Adapters in Language Models for Code Summarization and Clone Detection

2025-10-20 · Guang Yang, Yujie Zhu arxiv

Pre-trained language models (PLMs) are increasingly being applied to code-related tasks. Although PLMs have achieved good results, they do not take into account potential high-order data correlations within the code. We …

GAE-ISumm: Unsupervised Graph-Based Summarization of Indian Languages

2022-12-25 · Lakshmi Sireesha Vakada, Anudeep Ch, Mounika Marreddy, Subba Reddy Oota 외

Document summarization aims to create a precise and coherent summary of a text document. Many deep learning summarization models are developed mainly for English, often requiring a large training corpus and efficient pre…

Document Summarization

Text Summarization With Graph Attention Networks

2026-04-04 · Mohammadreza Ardestani, Yllias Chali arxiv

This study aimed to leverage graph information, particularly Rhetorical Structure Theory (RST) and Co-reference (Coref) graphs, to enhance the performance of our baseline summarization models. Specifically, we experiment…

Text Summarization

Abstractive Meeting Summarization: A Survey

2022-08-08 · Virgile Rennard, Guokan Shang, Julie Hunter, Michalis Vazirgiannis

A system that could reliably identify and sum up the most important points of a conversation would be valuable in a wide variety of real-world contexts, from business meetings to medical consultations to customer service…

Abstractive Dialogue SummarizationAbstractive Text SummarizationDecoderMeeting Summarization+2