scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Self-Attention with Relative Position Representations

Peter Shaw, Jakob Uszkoreit, Ashish Vaswani

NAACL 2018Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attentionopen problems in this approach3,868 citations (OpenAlex)

Google

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

10measured effects
7improved
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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace absolute (sinusoidal) with relative position representationsTransformer (big) · WMT14 EN-DE newstest2014BLEU: 27.9 -> 29.2Improved
replace absolute with relative position representationsTransformer (base) · WMT14 EN-DE newstest2014BLEU: 26.5 -> 26.8Improved
replace absolute with relative position representationsTransformer (base) · WMT14 EN-FR newstest2014BLEU: 38.2 -> 38.7Improved
replace absolute with relative position representationsTransformer (big) · WMT14 EN-FR newstest2014BLEU: 41.2 -> 41.5Improved
add sinusoidal position encodings on top of relative position representationsTransformer with relative position representations · WMT14 EN-DE / EN-FRBLEUNo clear effect
increase clipping distance from k=0 to k=1 (ablation)Transformer (base) relative positions · WMT14 EN-DE newstest2013BLEU: 12.5 -> 25.5Improved
increase clipping distance beyond k=2 (up to 256) (ablation)Transformer (base) relative positions · WMT14 EN-DE newstest2013BLEU: 25.8 -> 25.8 (k=256)No clear effect
add a^K (relative representations in compatibility) when a^V is present (ablation)Transformer (base) relative positions · WMT14 EN-DE newstest2013BLEU: 25.3 -> 25.8Improved
add a^V (relative representations in value) when a^K is present (ablation)Transformer (base) relative positions · WMT14 EN-DE newstest2013BLEU: 25.8 -> 25.8No clear effect
add relative position representations to a model with no position information (a^V and a^K both removed) (ablation)Transformer (base) · WMT14 EN-DE newstest2013BLEU: 12.5 -> 25.8Improved

Open problems in long-context KV and memory attention

How can long-context attention be made fast and small in memory without losing quality against full attention?

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