AI Paper Atlas

Research map / Large language models / Language, safety and interpretability

CAST: Enhancing Code Summarization with Hierarchical Splitting and Reconstruction of Abstract Syntax Trees

Ensheng Shi, Yanlin Wang, Lun Du, Hongyu Zhang, Shi Han, Dongmei Zhang, Hongbin Sun

EMNLP 2021Large language models › Language, safety and interpretabilityapproach: Pruning and circuits in LLMs86 citations (OpenAlex)

Microsoft

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
8improved
2no clear effect

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 changedWhereMeasuredEffect
add subtree aggregation (RvNN over structure tree) (ablation)CAST · Funcom testBLEU: 30.56 -> 30.83Improved
add subtree aggregation (RvNN over structure tree) (ablation)CAST · TL-CodeSum testBLEU: 43.76 -> 45.19Improved
add subtree aggregation (ablation)CAST · Funcom testMETEOR: 20.96 -> 20.96No clear effect
add copy mechanism (ablation)CAST · Funcom testBLEU: 30.35 -> 30.83Improved
add copy mechanism (ablation)CAST · TL-CodeSum testBLEU: 43.81 -> 45.19Improved
replace statement-level splitting with block-level splitting and hierarchical aggregationCodeAstnn · Funcom testBLEU: 28.27 -> 30.83Improved
replace statement-level splitting with block-level splitting and hierarchical aggregationCodeAstnn · TL-CodeSum testBLEU: 41.08 -> 45.19Improved
CAST without copy or aggregation vs best baselines (ablation)CAST_A / CAST_C · TL-CodeSum testBLEU: 41.08 (CodeAstnn) -> 43.76 (CAST_A)Improved
use CAST instead of CodeAstnn in human evaluationCAST · Human evaluationNaturalness: 3.00 -> 3.08No clear effect
use CAST instead of CodeAstnn in human evaluationCAST · Human evaluationInformativeness: 2.44 -> 2.74Improved

Later papers that compared with this method

5 later accepted papers report CAST as a baseline in their results tables; 5 of them report a better number on most of the results they share with it.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy