Routed Attention: Learning When to Think Hard
Abstract
Routed attention learns to dynamically select between O(N) causal convolution and O(N²) softmax attention on a per-position basis. A lightweight router network examines each position and routes it to the appropriate computational pathway. Using curriculum learning (first train with no attention penalty, then gradually increase it), routed attention achieves 100% accuracy with only 0.3% attention usage at distance 126 (99.7% compute savings), and 100% accuracy with 25% attention usage at distance 510 (75% compute savings).
Fields of Study & Subjects
Advanced Neural Network Applications
Visual Attention and Saliency Detection
Topic Modeling
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 7 February 2026