scimeatlas

Research map / Architectures and efficiency / Attention and transformers

A Transformer-based Approach for Source Code Summarization

Wasi Uddin Ahmad, Saikat Chakraborty, Baishakhi Ray, Kai-Wei Chang

ACL 2020Architectures and efficiency › Attention and transformersapproach: State space and recurrent sequence modelsopen problems in this approach545 citations (OpenAlex)

University of California, Los Angeles · Columbia University

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

13measured effects
8improved
2no clear effect
3hurt

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 relative position representations (ablation)Transformer with copy attention · JavaBLEU: 44.26 -> 44.58Improved
add relative position representations (ablation)Transformer with copy attention · PythonBLEU: 31.38 -> 32.52Improved
add copy attention (ablation)Transformer with relative position · JavaBLEU: 44.14 -> 44.58Improved
add copy attention (ablation)Transformer with relative position · PythonBLEU: 31.64 -> 32.52Improved
add absolute position encoding on source code tokens (ablation)Base Model · JavaBLEU: 43.59 -> 43.41Hurt
remove absolute position encoding on the target summary (ablation)Base Model · JavaBLEU: 43.41 -> 41.85 (both removed)Hurt
use directional relative position (versus ignoring direction) (ablation)Transformer encoder · JavaBLEU: 42.61 -> 44.22 (k=8)Improved
clipping distance 16, 32 or 2^i (ablation)Transformer encoder · JavaBLEU: 44.14 / 44.55 / 44.37 BLEUNo clear effect
increase the number of layers (6 -> 12) (ablation)Base Model · JavaBLEU: 43.41 -> 45.56Improved
increase d_model (512 -> 768) (ablation)Base Model · JavaBLEU: 43.41 -> 45.29Improved
split CamelCase and snake_case code tokens (ablation)Base Model · Java and PythonBLEU: drop of 0.60 (Java) and 0.72 (Python) BLEU without splittingImproved
add AST information via SBT traversalTransformer · Javasummarization metricsNo clear effect

Open problems in state space and recurrent sequence models

Do state space and recurrent models keep their efficiency and recall at large scale and long context?

All 5 open problems and what was already tried →

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