scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Monotonic Location Attention for Length Generalization

Jishnu Ray Chowdhury, Cornelia Caragea

ICML 2023Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach0 citations (OpenAlex)

University of Illinois at Chicago

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

12measured effects
5improved
2no clear effect
5hurt

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
interpolate forward and reversed encoder representations (Bi-Relative)relative attention · Reverse Copy / Reverse Lookupaccuracy: Reverse Copy 0 -> 100 at length 100; Reverse Lookup 0.4 -> 100 at length 11Improved
interpolate forward and reversed encoder representationsrelative attention · ReCopy-based tasksaccuracy: ReCopy 15: Relative 43.1 vs Bi-Relative 33.4; longer lengths still 0No clear effect
OneStep attention (ref_t = pa_{t-1}, sigmoid steps, bidirectional encoding)location attention · Copy, Reverse Copy, Lookup, Reverse Lookup, ReCopy, Reverse ReCopyaccuracy: 100% at all lengths on these tasks; LocAttn fails on Copy length 30 (0) and Reverse Lookup length 7 (13.3)Improved
OneStep attentionInv ReCopy and Inv Reverse ReCopy · Inv ReCopy / Inv Reverse ReCopyaccuracy: Inv ReCopy length 15: 0.1 vs Bi-Relative 69.8; Inv Reverse ReCopy 0 vs 71.3Hurt
monotonic attention (ReLU-allowed larger steps)OneStep attention on inverted ReCopy tasks · Inv ReCopy / Inv Reverse ReCopyaccuracy: Inv ReCopy length 30: 0 (OneStep) -> 100 (Mono); Inv Reverse ReCopy length 100: 0 -> 98.3Improved
monotonic attention (ReLU-allowed larger steps)OneStep attention on lookup tasks · Lookup / Reverse Lookupaccuracy: Lookup length 11: 100 (OneStep) -> 29.9 (Mono); Reverse Lookup length 11: 100 -> 0Hurt
replace sigmoid step with softstair (-Step 3) (ablation)OneStepAttn · Copy / Lookup / Reverse Lookupaccuracy: Lookup length 7: 100 -> 41.9; Reverse Lookup length 7: 100 -> 22.9; Copy length 15: 100 -> 6.9Hurt
use location-attention style reference (ref_t with gate and b_t) instead of pa_{t-1} (-Step 2) (ablation)OneStepAttn · Inv ReCopy / Inv Reverse ReCopyaccuracy: Inv ReCopy length 15: 0.1 -> 95.5; Inv Reverse ReCopy length 15: 0 -> 96.2 (but drops to 0 at length 30)Improved
remove sigmoid activation from step computation (-Sigmoid) (ablation)OneStepAttn · Lookup / Reverse Lookupaccuracy: Lookup length 9: 100 -> 74.3; Reverse Lookup length 7: 100 -> 19.1Hurt
mixing content attention with location attention (Mix OneStepAttn)OneStep attention · SCAN length splitaccuracy: Mix OneStepAttn 29.51 vs unmixed-type baselines around 17-21Improved
mixing content attention with location attention (ablation)OneStep and location attention on synthetic probing tasks · Copy / Lookup / ReCopy-based tasksaccuracy: Mix OneStepAttn Copy length 15: 2.6 vs OneStepAttn 100; Mix MonoAttn Copy length 15: 99.95 vs MonoAttn 100 (mixing generHurt
mixing content attention with location attentionCFQ · CFQ length splitaccuracy: Content 62.14 vs Mix OneStepAttn 60.65 vs Mix MonoAttn 60.32No clear effect

Open problems in attention head mechanisms

Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?

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