Research map / Architectures and efficiency / Attention and transformers
LaMPE: Length-aware Multi-grained Positional Encoding for Adaptive Long-context Scaling Without Training
Sikui Zhang, Guangze Gao, Ziyun Gan, Chunfeng Yuan, Zefeng Lin, Houwen Peng, Bing Li, Weiming Hu
University of Chinese Academy of Sciences · Chinese Academy of Sciences · Tencent
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 |
|---|---|---|---|
| apply LaMPE | Llama2-7B-Chat · LongBench average | score: 31.52 -> 35.07 | Improved |
| apply LaMPE | Llama3-8B-Instruct · InfiniteBench average (32K) | score: 19.43 -> 27.02 | Improved |
| apply LaMPE | Llama3.1-8B-Instruct · InfiniteBench Re.KV (128K) | score: 54.80 -> 92.60 | Improved |
| apply LaMPE within pretraining window | Llama3-8B-Instruct · RULER average (8K) | accuracy: 88.76 -> 90.57 | Improved |
| apply LaMPE instead of SelfExtend, DCA | Llama2-7B-Chat · LongBench average | score: LaMPE 35.07 vs best baseline 34.62 | Mixed |
| apply LaMPE instead of DCA | Llama3-8B-Instruct · PG-19 perplexity, 8K and 40K+ | perplexity: DCA 6.84 -> LaMPE 6.59 at 64K | Improved |
| use dynamic mapping strategy (vs fixed mapping length) (ablation) | LaMPE, Llama3-8B-Instruct · RULER | accuracy | Improved |
| add tail region (ablation) | LaMPE, Llama3-8B-Instruct · RULER | accuracy | Improved |
| add a minimal tail region (s2 = 8 vs 0) (ablation) | LaMPE · LongBench (2wikimqa, Hotpotqa, Repobench-p) | score | Improved |
| apply SelfExtend | Llama3-8B-Instruct · LongBench within original window | score | Hurt |
| use YaRN at 64K extrapolation | Llama3-8B-Instruct · InfiniteBench average (64K) | score: 19.43 -> 6.85 | Hurt |
Open problems in sparse attention for long-context LLMs
Which attention can a long-context model drop without losing the answer?
- The overhead does not vanish. · 14 papers state it
- Very long contexts hit memory limits or go untested. · 8 papers state it
- Sparsity speeds up prefill or decoding, not both. · 6 papers state it
Closest papers by meaning
- PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Training (ICLR 2024 · similarity 0.90)
- Rope to Nope and Back Again: A New Hybrid Attention Strategy (NeurIPS 2025 · similarity 0.90)
- A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts (ICLR 2025 · similarity 0.90)
- An Efficient Recipe for Long Context Extension via Middle-Focused Positional Encoding (NeurIPS 2024 · similarity 0.90)
- LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens (ICML 2024 · similarity 0.90)
- Why Does the Effective Context Length of LLMs Fall Short? (ICLR 2025 · similarity 0.89)
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.