Research map / Architectures and efficiency / Attention and transformers
Octopus: Gated Selective Attention for Memory-Bounded Long-Context Inference in Large Language Models
Chien Van Nguyen, Ryan A. Rossi, Linh Ngo Van, Franck Dernoncourt, Thien Huu Nguyen
University of Oregon · Adobe · Hanoi University of Science and Technology
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 Octopus instead of Lizard linearization | LLaMA-3-8B · GSM8K (5-shot), B=128 | accuracy: 39.42 -> 75.97 | Improved |
| use Octopus (B=128) instead of the full-cache teacher | LLaMA-3-8B · GSM8K (5-shot) | accuracy: 71.56 -> 75.97 | Improved |
| use Octopus (B=128) instead of the full-cache teacher | LLaMA-3-8B · MMLU | accuracy: 66.60 -> 65.74 | No clear effect |
| use Octopus instead of Lizard | LLaMA-3-8B · HellaSwag, B=128 | accuracy: 79.30 -> 81.70 | Improved |
| add Stage 1 attention distillation (ablation) | Octopus · validation accuracy, B=128 | accuracy: 64.0 -> 74.8 | Improved |
| add sink tokens (ablation) | Octopus · validation accuracy, B=128 | accuracy: 73.1 -> 74.8 | Improved |
| add recent window (ablation) | Octopus · validation accuracy, B=128 | accuracy: 68.0 -> 74.8 | Improved |
| increase sink tokens from 4 to 8 (ablation) | Octopus · validation accuracy, B=128 | accuracy: 74.8 -> 74.8 | No clear effect |
| enlarge recent window from 32 to 64 (ablation) | Octopus · validation accuracy, B=128 | accuracy: 74.8 -> 74.1 | Hurt |
| use per-head gating instead of per-layer gating (ablation) | Octopus · validation accuracy, B=128 | accuracy: 23.0 -> 74.8 | Improved |
| use per-head gating instead of scalar per-token gating (ablation) | Octopus · validation accuracy, B=128 | accuracy: 11.0 -> 74.8 | Improved |
| use Octopus (25% KV) instead of full KV | LongBench · PassageRetrieval-en | score: 95.82 -> 99.10 | Improved |
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
- Attention with Routed-Memory for Learnable Sparse Control (ICML 2026 · similarity 0.92)
- CateKV: On Sequential Consistency for Long-Context LLM Inference Acceleration (ICML 2025 · similarity 0.89)
- FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inference (ICLR 2025 · similarity 0.89)
- A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts (ICLR 2025 · similarity 0.89)
- Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers (NeurIPS 2025 · similarity 0.88)
- Full Attention Strikes Back: Transferring Full Attention into Sparse within Hundred Training Steps (NeurIPS 2026 · 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.