AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

Rethinking Positional Encoding in Tree Transformer for Code Representation

Han Peng, Ge Li, Yunfei Zhao, Zhi Jin

EMNLP 2022Architectures and efficiency › Attention and transformersapproach: Transformer expressivity and learnability21 citations (OpenAlex)

Peking University

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

13measured effects
10improved
3no 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
use the proposed tree Transformer instead of Kim et al. 2020tree Transformer baseline · completion PythonACC (All): 62.15 -> 63.19Improved
use the proposed tree Transformer instead of vanilla TransformerTransformer · summarization JavaScriptF1: 22.62 -> 25.03Improved
use proposed model instead of Shaw et al. relative PEShaw et al. 2018 · completion JavaScriptACC (Value): 59.09 -> 58.99No clear effect
add first coordinate dimension (sibling order) (ablation)our model · completion PythonACC (All): 59.36 -> 63.19Improved
add second coordinate dimension (parent child count) (ablation)our model · completion PythonACC (All): 62.04 -> 63.19Improved
add first dimension (ablation)our model · summarization JavaScriptF1: 24.22 -> 25.03Improved
add second dimension (ablation)our model · summarization PythonF1: 35.36 -> 36.00Improved
add global absolute position encoding (ablation)our model · completion PythonACC (All): 62.70 -> 63.19Improved
add local relative position encoding (ablation)our model · completion JavaScriptACC (All): 65.67 -> 66.48Improved
add local relative encoding (ablation)our model · summarization JavaScriptACC: 13.13 -> 13.21No clear effect
add global absolute encoding (ablation)our model · summarization PythonF1: 35.80 -> 36.00Improved
combine global and local bias rather than either alone (ablation)our model · completion and summarizationall metricsImproved

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