paper-with-me

Papers

Code Summarization with Structure-induced Transformer

2020-12-29 · Findings (ACL) 2021 8 · Hongqiu Wu, Hai Zhao, Min Zhang

Code summarization (CS) is becoming a promising area in recent language understanding, which aims to generate sensible human language automatically for programming language in the format of source code, serving in the most convenience of programmer developing. It is well known that programming languages are highly structured. Thus previous works attempt to apply structure-based traversal (SBT) or non-sequential models like Tree-LSTM and graph neural network (GNN) to learn structural program semantics. However, it is surprising that incorporating SBT into advanced encoder like Transformer instead of LSTM has been shown no performance gain, which lets GNN become the only rest means modeling such necessary structural clue in source code. To release such inconvenience, we propose structure-induced Transformer, which encodes sequential code inputs with multi-view structural clues in terms of a newly-proposed structure-induced self-attention mechanism. Extensive experiments show that our proposed structure-induced Transformer helps achieve new state-of-the-art results on benchmarks.

📄 PDF Abstract BibTeX arXiv:2012.14710

Code (1)

gingasan/sit3 공식 구현 pytorch

Tasks

Code SummarizationGraph Neural NetworkNatural Language UnderstandingSource Code Summarization

Methods 이 논문이 사용한 방법론

Graph Neural Network 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
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…

Similar Papers 제목 키워드 기반

FullTransNet: Full Transformer with Local-Global Attention for Video Summarization

2025-01-01 · Libin Lan, Lu Jiang, Tianshu Yu, Xiaojuan Liu 외

Video summarization mainly aims to produce a compact, short, informative, and representative synopsis of raw videos, which is of great importance for browsing, analyzing, and understanding video content. Dominant video s…

DecoderSupervised Video SummarizationVideo Summarization

Stepwise Extractive Summarization and Planning with Structured Transformers

2020-10-06 · EMNLP 2020 11 · Shashi Narayan, Joshua Maynez, Jakub Adamek, Daniele Pighin 외

We propose encoder-centric stepwise models for extractive summarization using structured transformers -- HiBERT and Extended Transformers. We enable stepwise summarization by injecting the previously generated summary in…

Extractive SummarizationSentenceTable-to-Text GenerationText Generation

Sparsity and Sentence Structure in Encoder-Decoder Attention of Summarization Systems

2021-09-08 · EMNLP 2021 11 · Potsawee Manakul, Mark J. F. Gales

Transformer models have achieved state-of-the-art results in a wide range of NLP tasks including summarization. Training and inference using large transformer models can be computationally expensive. Previous work has fo…

Abstractive Text SummarizationDecoderDocument SummarizationSentence

AST-Transformer: Encoding Abstract Syntax Trees Efficiently for Code Summarization

2021-12-02 · Ze Tang, Chuanyi Li, Jidong Ge, Xiaoyu Shen 외

Code summarization aims to generate brief natural language descriptions for source code. As source code is highly structured and follows strict programming language grammars, its Abstract Syntax Tree (AST) is often lever…

Code Summarization

DETQUS: Decomposition-Enhanced Transformers for QUery-focused Summarization

2025-03-07 · Yasir Khan, Xinlei Wu, Sangpil Youm, Justin Ho 외

Query-focused tabular summarization is an emerging task in table-to-text generation that synthesizes a summary response from tabular data based on user queries. Traditional transformer-based approaches face challenges du…

DecoderLanguage ModelingLanguage ModellingLarge Language Model+3