Orthros: Phase-Aware Heterogeneous Attention for Efficient Transformers
TL;DR - Orthros is a phase-aware attention mechanism that uses linear-complexity attention during prefill and full attention during decoding. It targets long-context inference bottlenecks while preserving recall, reporting a 21.9Ă— prefill speedup and near-perfect 128K needle-in-a-haystack performance.
- Dynamically switches attention computation based on the sequence-processing phase rather than interleaving efficient and quadratic full-attention layers.
- Achieves lower asymptotic complexity than standard Transformers in workloads dominated by long prefills and short decoding.
- Supports data-efficient conversion from existing Transformers, with the converted models reportedly outperforming their originals.
- Matches Transformer-level performance on real-world in-context recall tasks while delivering end-to-end inference gains.