Research map / Large language models / Language, safety and interpretability
BLOCSUM: Block Scope-based Source Code Summarization via Shared Block Representation
YunSeok Choi, Hyojun Kim, Jee-Hyong Lee
Sungkyunkwan University
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
10improved
1no clear effect
1hurt
1mixed
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| full BLOCSUM (shared block position embedding + AST variants) | SCRIPT · Java | BLEU: 46.89 -> 49.05 | Improved |
| full BLOCSUM | SCRIPT · Python | BLEU: 34.00 -> 35.16 | Improved |
| full BLOCSUM | CodeBERT fine-tuned · Python | ROUGE-L: 49.93 -> 50.58 | Improved |
| add block position embedding to code encoder only (ablation) | BLOCSUM · Java | BLEU: 48.46 -> 48.53 | Improved |
| add block position embedding to both encoders separately (ablation) | BLOCSUM · Java | BLEU: 48.46 -> 48.83 | Improved |
| share the block position embedding between code and AST encoders (ablation) | BLOCSUM with separate embeddings · Java | BLEU: 48.83 -> 49.05 | Improved |
| share the block position embedding (ablation) | BLOCSUM with separate embeddings · Python | BLEU: 34.79 -> 35.16 | Improved |
| add AST-block and AST-global to AST-original (ablation) | BLOCSUM · Java | BLEU: 48.39 -> 49.05 | Improved |
| add AST-global only (g vs o) (ablation) | BLOCSUM · Java | ROUGE-L: 58.98 -> 58.40 | Hurt |
| add AST-global to AST-original (o+g vs o) (ablation) | BLOCSUM · Python | ROUGE-L: 50.14 -> 50.11 | No clear effect |
| add AST-block to o+g (ablation) | BLOCSUM · Python | BLEU: 34.64 -> 35.16 | Improved |
| BLOCSUM vs CodeBERT, human evaluation fluency | CodeBERT · Python (100 snippets) | fluency win/tie/loss: 76 win, 114 tie, 110 loss | Mixed |
Open problems in text generation and evaluation metrics
Do language, text and evaluation results hold beyond one language, one corpus and one LLM judge?
- Results come from one language, one pair or a few mostly high-resource languages. · 14 papers state it
- Data come from one corpus, genre or platform, so other settings are untested. · 14 papers state it
- LLM judges and LLM labels are used without human checks. · 8 papers state it
Closest papers by meaning
- Modeling Hierarchical Syntax Structure with Triplet Position for Source Code Summarization (ACL 2022 · similarity 0.90)
- Language-Agnostic Representation Learning of Source Code from Structure and Context (ICLR 2021 · similarity 0.90)
- CAST: Enhancing Code Summarization with Hierarchical Splitting and Reconstruction of Abstract Syntax Trees (EMNLP 2021 · similarity 0.89)
- A Transformer-based Approach for Source Code Summarization (ACL 2020 · similarity 0.89)
- AST-T5: Structure-Aware Pretraining for Code Generation and Understanding (ICML 2024 · similarity 0.85)
- CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking (ICLR 2025 · similarity 0.84)
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.