Research map / Architectures and efficiency / Attention and transformers
Scaling Laws for Linear Complexity Language Models
Xuyang Shen, Dong Li, Ruitao Leng, Zhen Qin, Weigao Sun, Yiran Zhong
OpenNLPLab · Australian National University · TapTap
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 |
|---|---|---|---|
| use linear complexity architectures instead of softmax attention (TNL, HGRN2, cosFormer2) | LLaMA · validation/loss at same FLOPs | training loss L(C): LLaMA 3.7087C^-0.0798; TNL 3.5391C^-0.0768; HGRN2 3.4788C^-0.0753; cosFormer2 3.5877C^-0.0756 | Improved |
| use linear complexity architectures at 7B | LLaMA 7B · CSR average | accuracy: 56.70 -> 58.63 (TNL), 58.78 (HGRN2), 57.92 (cosFormer2) | Improved |
| use linear complexity architectures at 7B | LLaMA 7B · NIAH easy mode | weighted average accuracy: 59.7 -> 20.5 (TNL), 30.8 (HGRN2), 23.6 (cosFormer2) | Hurt |
| increase hidden dimension to 3072 (8 layers) (ablation) | cosFormer2 1B · NIAH easy mode | weighted average accuracy: 10.9 -> 6.5 | Hurt |
| increase hidden dimension to 3072 (8 layers) (ablation) | cosFormer2 1B · SCROLLS | average score: 10.88 -> 9.85 | Hurt |
| use hidden dimension below 2048 instead of 3072 (ablation) | LLaMA 1B · CSR average | accuracy: 47.19 (3072) vs 49.70 (1536) | Improved |
| extend pre-training context from 8K to 16K (ablation) | TNL 1B · NIAH easy mode | weighted average accuracy: 28.0 -> 14.2 | Hurt |
| extend pre-training context from 8K to 16K (ablation) | HGRN2 1B · NIAH easy mode | weighted average accuracy: 10.0 -> 8.8 | Hurt |
| shorten pre-training context from 8K to 2K (ablation) | TNL 1B · NIAH easy mode | weighted average accuracy: 28.0 -> 8.0 | Hurt |
| vary pre-training context among 2K, 4K, 8K (ablation) | TNL 1B · CSR average | accuracy: 50.77, 51.22, 50.45 | No clear effect |
| extend pre-training context from 8K to 16K (ablation) | linear models 1B · CSR and validation perplexity | accuracy / perplexity: TNL CSR 50.45 -> 48.34 | Hurt |
| remove decay (cosFormer2) instead of data-independent decay (TNL) (ablation) | TNL · 7B CSR vs NIAH | CSR average / NIAH: CSR 58.63 -> 57.92; NIAH 20.5 -> 23.6 | Mixed |
Open problems in attention head mechanisms
Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?
- Mechanisms are shown only at small scale, with larger models untested. · 19 papers state it
- Theory covers only one-layer or attention-only transformers. · 14 papers state it
- Findings come from synthetic or toy tasks that may not match natural language. · 12 papers state it
Closest papers by meaning
- Scaling Laws Meet Model Architecture: Toward Inference-Efficient LLMs (ICLR 2026 · similarity 0.90)
- Scaling Inference-Efficient Language Models (ICML 2025 · similarity 0.89)
- Quantifying Generalization Complexity for Large Language Models (ICLR 2025 · similarity 0.89)
- LLMs on the Line: Data Determines Loss-to-Loss Scaling Laws (ICML 2025 · similarity 0.89)
- Language models scale reliably with over-training and on downstream tasks (ICLR 2025 · similarity 0.89)
- Resolving Discrepancies in Compute-Optimal Scaling of Language Models (NeurIPS 2024 · similarity 0.88)
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.