Code Summarization with Structure-induced Transformer
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). First posted on arXiv 29 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 8; 2023: 8; 2024: 7; 2025: 2; 2026: 1.
29 papers.
Sort:
By area:
- 2021On the Evaluation of Neural Code Summarizationcited by 48
- 2024Automatic Programming: Large Language Models and Beyondcited by 36
- 2023Automatic Code Summarization via ChatGPT: How Far Are We?cited by 34
- 2024Source Code Summarization in the Era of Large Language Modelscited by 31
- 2021Code Structure Guided Transformer for Source Code Summarizationcited by 30
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2024Analyzing the Performance of Large Language Models on Code Summarizationcited by 19
- 2022An Extractive-and-Abstractive Framework for Source Code Summarizationcited by 18
- 2022Assemble Foundation Models for Automatic Code Summarizationcited by 17
- 2022Source Code Summarization with Structural Relative Position Guided Transformercited by 14
- 2023CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Codecited by 11
- 2022HierarchyNet: Learning to Summarize Source Code with Heterogeneous Representationscited by 9
17 more
- 2023A Prompt Learning Framework for Source Code Summarizationcited by 9
- 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarizationcited by 9
- 2022Adversarial Self-Attention for Language Understandingcited by 8
- 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarizationcited by 8
- 2023Tram: A Token-level Retrieval-augmented Mechanism for Source Code Summarizationcited by 6
- 2024HDT: Hierarchical Document Transformercited by 6
- 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Taskscited by 6
- 2021Not All Attention Is All You Needcited by 5
- 2022GypSum: Learning Hybrid Representations for Code Summarizationcited by 5
- 2023Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?cited by 5
- 2024Instruction-Driven Game Engines on Large Language Modelscited by 3
- 2022Semantic-Preserving Adversarial Code Comprehensioncited by 2
- 2023Knowledge Transfer for Pseudo-code Generation from Low Resource Programming Languagecited by 1
- 2025Variational Prefix Tuning for Diverse and Accurate Code Summarization Using Pre-trained Language Modelscited by 1
- 2022Understanding Long Programming Languages with Structure-Aware Sparse Attentioncited by 0
- 2023KEN: Kernel Extensions using Natural Languagecited by 0
- 2026PLMGH: What Matters in PLM-GNN Hybrids for Code Classification and Vulnerability Detectioncited by 0
- 2026PLMGH: What Matters in PLM-GNN Hybrids for Code Classification and Vulnerability Detection28 Apr 2026
- 2025Variational Prefix Tuning for Diverse and Accurate Code Summarization Using Pre-trained Language Models14 May 2025
- 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks28 Apr 2025
- 2024HDT: Hierarchical Document Transformer11 Jul 2024
- 2024Source Code Summarization in the Era of Large Language Models9 Jul 2024
- 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarization1 Jul 2024
- 2024Automatic Programming: Large Language Models and Beyond3 May 2024
- 2024Analyzing the Performance of Large Language Models on Code Summarization10 Apr 2024
- 2024Instruction-Driven Game Engines on Large Language Models30 Mar 2024
- 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarization21 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023A Prompt Learning Framework for Source Code Summarization26 Dec 2023
17 more
- 2023KEN: Kernel Extensions using Natural Language9 Dec 2023
- 2023Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?1 Dec 2023
- 2023CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Code24 Oct 2023
- 2023Automatic Code Summarization via ChatGPT: How Far Are We?22 May 2023
- 2023Tram: A Token-level Retrieval-augmented Mechanism for Source Code Summarization18 May 2023
- 2023Knowledge Transfer for Pseudo-code Generation from Low Resource Programming Language16 Mar 2023
- 2022Semantic-Preserving Adversarial Code Comprehension12 Sep 2022
- 2022Adversarial Self-Attention for Language Understanding25 Jun 2022
- 2022An Extractive-and-Abstractive Framework for Source Code Summarization15 Jun 2022
- 2022HierarchyNet: Learning to Summarize Source Code with Heterogeneous Representations31 May 2022
- 2022Understanding Long Programming Languages with Structure-Aware Sparse Attention27 May 2022
- 2022GypSum: Learning Hybrid Representations for Code Summarization26 Apr 2022
- 2022Source Code Summarization with Structural Relative Position Guided Transformer14 Feb 2022
- 2022Assemble Foundation Models for Automatic Code Summarization13 Jan 2022
- 2021On the Evaluation of Neural Code Summarization15 Jul 2021
- 2021Code Structure Guided Transformer for Source Code Summarization19 Apr 2021
- 2021Not All Attention Is All You Need10 Apr 2021
- 2021On the Evaluation of Neural Code Summarizationcited by 48
- 2024Automatic Programming: Large Language Models and Beyondcited by 36
- 2023Automatic Code Summarization via ChatGPT: How Far Are We?cited by 34
- 2024Source Code Summarization in the Era of Large Language Modelscited by 31
- 2021Code Structure Guided Transformer for Source Code Summarizationcited by 30
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2024Analyzing the Performance of Large Language Models on Code Summarizationcited by 19
- 2022An Extractive-and-Abstractive Framework for Source Code Summarizationcited by 18
- 2022Assemble Foundation Models for Automatic Code Summarizationcited by 17
- 2022Source Code Summarization with Structural Relative Position Guided Transformercited by 14
- 2023CP-BCS: Binary Code Summarization Guided by Control Flow Graph and Pseudo Codecited by 11
- 2022HierarchyNet: Learning to Summarize Source Code with Heterogeneous Representationscited by 9
12 most cited of 28 All 28 (JSON)
- 2026PLMGH: What Matters in PLM-GNN Hybrids for Code Classification and Vulnerability Detection28 Apr 2026
- 2025Variational Prefix Tuning for Diverse and Accurate Code Summarization Using Pre-trained Language Models14 May 2025
- 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks28 Apr 2025
- 2024HDT: Hierarchical Document Transformer11 Jul 2024
- 2024Source Code Summarization in the Era of Large Language Models9 Jul 2024
- 2024ESALE: Enhancing Code-Summary Alignment Learning for Source Code Summarization1 Jul 2024
- 2024Automatic Programming: Large Language Models and Beyond3 May 2024
- 2024Analyzing the Performance of Large Language Models on Code Summarization10 Apr 2024
- 2024Instruction-Driven Game Engines on Large Language Models30 Mar 2024
- 2024EyeTrans: Merging Human and Machine Attention for Neural Code Summarization21 Feb 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023A Prompt Learning Framework for Source Code Summarization26 Dec 2023
12 newest of 28 All 28 (JSON)