scimeatlas

Research map / Architectures and efficiency / Attention and transformers

Length Generalization of Causal Transformers without Position Encoding

ACL 2024Architectures and efficiency › Attention and transformersapproach: Attention head mechanismsopen problems in this approach69 citations (OpenAlex)

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

13measured effects
7improved
3no 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
remove explicit position encoding (NoPE vs RoPE)1.1B causal LM · PG19 @4K perplexityperplexity: 491.4 -> 326.9Improved
remove explicit position encoding (NoPE vs RoPE)1.1B causal LM · commonsense reasoning avgaccuracy: 46.1 -> 46.2No clear effect
scale softmax uniformly by 1.2NoPE · 2K->4K length generalizationperplexity: PG19 @4K: 326.9 -> 16.0Improved
scale softmax temperatureRoPE · length generalizationentropy inflection pointNo clear effect
use larger uniform scale (1.8)NoPE · in-domain PG19 @2Kperplexity: 14.6 -> 30.4Hurt
replace uniform scale with head-based scale (HeadScale)NoPE · PG19 @16K perplexityperplexity: 198.8 (uniform 1.8) -> 30.4Improved
add focus constraint (lambda >= 1/sqrt(d)) (ablation)HeadScale · passkey retrievalaverage accuracy: 53 -> 81Improved
add focus constraint (ablation)HeadScale · PG19 @16Kperplexity: 25.9 -> 30.4Hurt
initialize with best uniform scale (ablation)HeadScale · passkey retrievalaverage accuracy: 26 -> 81Improved
initialize with best uniform scale (ablation)HeadScale · LongBenchaverage score: 15.8 -> 17.0Improved
position-dependent or piecewise scale instead of uniform (ablation)NoPE · length generalizationperplexityNo clear effect
increase fine-tuning length and tokens for PI/YaRN (ablation)RoPE baselines · PG19 / Proof-pileperplexity: YaRN fair PG19 @16K: 15.5 (16K) vs >10^3 (4K)Improved

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