Research map / Architectures and efficiency / Attention and transformers
Every Token Counts: Generalizing 16M Ultra-Long Context in Large Language Models
Xiang Hu, Zhanchao Zhou, Ruiqi Liang, Zehuan Li, Wei Wu, Jianguo Li
Tencent · Wesklake University · Ant Group
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 NoPE instead of RoPE (ablation) | NSA 370M · Single-NIAH 64K | ACC: 60.0 -> 73.0 | Improved |
| use NoPE instead of RoPE (ablation) | NSA 370M · MQ-NIAH 64K | ACC: 4.0 -> 12.0 | Improved |
| add HSA layers with self-copy warm-up | 0.5B dense BaseLM · MQ-NIAH 1M | ACC: 0.0 -> 93.0 | Improved |
| add HSA with full-HSA + short-SWA warm-up | 0.5B dense BaseLM · PG19 16K | perplexity: 16.77 -> 15.96 | Improved |
| self-copy warm-up instead of full-HSA short-SWA warm-up (ablation) | SWA+HSA · MQ-NIAH 1M | ACC: 66.0 -> 93.0 | Improved |
| self-copy warm-up instead of full-HSA short-SWA warm-up (ablation) | SWA+HSA · PG19 4K | perplexity: 18.30 -> 18.87 | Hurt |
| HSA-UL architecture vs standard Transformer MoE | 8B-A1B MoE base · 14-task average | score: 56.58 -> 57.27 | No clear effect |
| train with data of long effective context (>32K) (ablation) | HSA-UltraLong-MoE · Single-NIAH extrapolation | retrieval accuracy | Improved |
| use small SWA window (512) instead of 4K in continued pretraining (ablation) | HSA-UltraLong · MQ-NIAH / Variable Tracking | retrieval accuracy | Improved |
| scale from dense 0.5B to MoE 8B-A1B (ablation) | HSA-UltraLong · MQ-NIAH | accuracy | No clear effect |
| scale from dense 0.5B to MoE 8B-A1B (ablation) | HSA-UltraLong · Variable Tracking | accuracy | Improved |
Open problems in state space and recurrent sequence models
Do state space and recurrent models keep their efficiency and recall at large scale and long context?
- Experiments stop at small models, around 1.3B parameters or less. · 24 papers state it
- Theory covers simplified models, not the architectures used in practice. · 13 papers state it
- Kernels are naive or unoptimized, so speed gains are not realized. · 10 papers state it
Closest papers by meaning
- Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps (NeurIPS 2026 · similarity 0.91)
- Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modeling (ICML 2025 · similarity 0.90)
- A Training-Free Sub-quadratic Cost Transformer Model Serving Framework with Hierarchically Pruned Attention (ICLR 2025 · similarity 0.90)
- Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Access (NeurIPS 2025 · similarity 0.89)
- Punctuation-aware Hybrid Trainable Sparse Attention for Large Language Models (NeurIPS 2026 · similarity 0.89)
- Can Language Models Actually Retrieve In-Context? Drowning in Documents at Million Token Scale (NeurIPS 2026 · 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.