Research map / Architectures and efficiency / Attention and transformers
Modeling Hierarchical Syntax Structure with Triplet Position for Source Code Summarization
Juncai Guo, Jin Liu, Yao Wan, Li Li, Pingyi Zhou
Wuhan University · Huazhong University of Science and Technology · Monash University · Huawei Technologies
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Add residual connections
add residual connection in AST encoder · Java dataset test · BLEU: 13.03 -> 49.19 Improved
What 616 accepted papers report for this change
- 510 improved
- 38 no clear effect
- 13 mixed
- 55 hurt
- Resolution as a Direction: Vector-Panning Feature Alignment for Cross-Resolution Re-Identification ICML 2026 · add residual connection to VP · MLR-Market-1501 · Rank-1 (%): 91.2 -> 94.1Improved
- MAGIC: Multi-Granularity Language-Informed Image Clustering ICML 2026 · add residual connection to semantic adapters · CIFAR-20 · ACC: 66.1 -> 59.9Hurt
- Domain Adaptive Object Detection via Dynamic Causal Refinement ICML 2026 · add residual connection to SCC · Cityscapes to Foggy Cityscapes (0.02 split) · mAP@50: 64.0 -> 64.6Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add the AST encoder (ablation) | CODESCRIBE · Java dataset test | BLEU: 46.45 -> 49.19 | Improved |
| add the source code encoder (ablation) | CODESCRIBE · Java dataset test | BLEU: 47.06 -> 49.19 | Improved |
| add triplet positions for AST nodes (ablation) | CODESCRIBE · Java dataset test | BLEU: 48.53 -> 49.19 | Improved |
| add triplet positions for AST nodes (ablation) | CODESCRIBE · Python dataset test | BLEU: 34.50 -> 35.11 | Improved |
| add multi-source pointer-generator network (ablation) | CODESCRIBE · Java dataset test | BLEU: 48.64 -> 49.19 | Improved |
| add residual connection in AST encoder (ablation) | CODESCRIBE · Java dataset test | BLEU: 13.03 -> 49.19 | Improved |
| add residual connection in AST encoder (ablation) | CODESCRIBE · Python dataset test | BLEU: 34.09 -> 35.11 | Improved |
| use GraphSAGE instead of GCN in AST encoder (ablation) | CODESCRIBE · Java dataset test | BLEU: 48.84 -> 49.19 | Improved |
| share embedding layer for code tokens and AST nodes (ablation) | CODESCRIBE · Java dataset test | BLEU: 49.05 -> 49.19 | Improved |
| reverse decoding order over AST and code features (ablation) | CODESCRIBE · Java dataset test | BLEU: 48.99 vs 49.19 | No clear effect |
| increase AST encoder layers from 6 to 12 (ablation) | CODESCRIBE · Java dataset test | BLEU: 49.19 -> 48.84 | No clear effect |
| increase code encoder layers from 2 to 12 (ablation) | CODESCRIBE · Java dataset test | BLEU: 49.19 -> 48.36 | Hurt |
Open problems in language model pretraining and induction
Do positional-encoding, tokenization and pretraining findings hold beyond small models and a few languages?
- Conclusions come from models of about 1B parameters or smaller. · 11 papers state it
- Tested on a handful of languages, mostly English. · 6 papers state it
- Theory is missing or rests on simplified models and assumptions. · 6 papers state it
Closest papers by meaning
- CAST: Enhancing Code Summarization with Hierarchical Splitting and Reconstruction of Abstract Syntax Trees (EMNLP 2021 · similarity 0.92)
- Language-Agnostic Representation Learning of Source Code from Structure and Context (ICLR 2021 · similarity 0.91)
- BLOCSUM: Block Scope-based Source Code Summarization via Shared Block Representation (ACL 2023 · similarity 0.90)
- A Transformer-based Approach for Source Code Summarization (ACL 2020 · similarity 0.90)
- Pyramid Attention For Source Code Summarization (NeurIPS 2022 · similarity 0.89)
- AST-T5: Structure-Aware Pretraining for Code Generation and Understanding (ICML 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.