Research map / Architectures and efficiency / Attention and transformers
DAPE V2: Process Attention Score as Feature Map for Length Extrapolation
Chuanyang Zheng, Yihang Gao, Han Shi, Jing Xiong, Jiankai Sun, Jingyao Li, Minbin Huang, Xiaozhe Ren, Michael NG, Xin Jiang, Zhenguo Li, Yu Li
The Chinese University of Hong Kong · Nanyang Technological University · Huawei Technologies · HKU · HKBU
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| enlarge convolution kernel from 1x1 (DAPE) to 1x3 (ablation) | DAPE-Kerple · arXiv, train 128, eval 8192 | perplexity: 4.97 -> 4.60 | Improved |
| enlarge convolution kernel from 1x1 to 1x3 (ablation) | DAPE-Kerple · Books3, train 128, eval 8192 | perplexity: 25.01 -> 23.52 | Improved |
| enlarge kernel beyond 1x3 (1x5, 1x7) (ablation) | DAPE_1x3-Kerple · Books3, train 128/512, eval 8192 | perplexity: 23.52 -> 23.71 (1x5), 17.20 -> 17.10 (1x5, train 512) | Mixed |
| add DAPE_1x3 processing on RoPE (ablation) | RoPE · arXiv/Books3, train 128 and 512 | perplexity | Improved |
| add naive DAPE (1x1) on RoPE (ablation) | RoPE · arXiv/Books3, train 128 and 512 | perplexity | Hurt |
| add DAPE_1x3 on NoPE (ablation) | NoPE · language modeling | perplexity | Improved |
| add DAPE_1x3 to Kerple | Kerple · arXiv, train 128, eval 8192 | perplexity: 12.59 -> 4.60 | Improved |
| use smaller DAPE hidden dimension D=10 with 1x3 kernel vs DAPE D=64 (ablation) | DAPE_1x3-Kerple · arXiv, train 128, eval 8192 | perplexity: 4.87 -> 4.74 | Improved |
| scale model to 350M | DAPE_1x3-Kerple vs DAPE · arXiv, train 128, eval 8192 | perplexity: 4.69 -> 4.43 | Improved |
| remove torch.tril (information leakage version) (ablation) | DAPE_1x3 · evaluation length up to 1024 | perplexity: about zero loss (ppl 1) | Improved |
| use 1x3 kernel instead of 1x1 (ablation) | DAPE-Kerple · CHE Missing Duplicate | accuracy: 87.57 -> 99.65 | Improved |
| use 1x3 kernel instead of 1x1 (ablation) | DAPE-Kerple · CHE Stack Manipulation | accuracy: 72.04 -> 68.18 | Hurt |
Open problems in theory of self-attention dynamics
Does what theory says about self-attention carry over to deep, multi-layer Transformers trained at scale?
- Analysis covers single-layer or attention-only models, not full Transformers. · 8 papers state it
- Results come from small models and short runs, with larger scale untested. · 8 papers state it
- Theory needs strong assumptions or has loose bounds, and skips gradient training. · 6 papers state it
Closest papers by meaning
- LookHere: Vision Transformers with Directed Attention Generalize and Extrapolate (NeurIPS 2024 · similarity 0.87)
- Dissecting Query-Key Interaction in Vision Transformers (NeurIPS 2024 · similarity 0.87)
- What are you sinking? A geometric approach on attention sink (NeurIPS 2025 · similarity 0.86)
- SAS: Simulated Attention Score (NeurIPS 2025 · similarity 0.85)
- DAPE: Data-Adaptive Positional Encoding for Length Extrapolation (NeurIPS 2024 · similarity 0.85)
- Token Statistics Transformer: Linear-Time Attention via Variational Rate Reduction (ICLR 2025 · similarity 0.85)
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.