TriAttention: Unified Sparse Mixed-Precision Attention for Long-Context LLM Inference
Presents novel optimization technique for attention computation that directly impacts LLM inference efficiency
AI Summary
Researchers introduce TriAttention, a sparse mixed-precision that achieves up to 7.88x speedup for long-context LLM while maintaining quality.
Excerpt
Sparsity and quantization reduce the cost of attention by skipping interactions and lowering the precision of those retained. However, useful interactions differ in their precision requirements: some tolerate low-precision scores while remaining sensitive to removal. We therefore introduce TriAttention, which assigns query-key (QK) tiles to skipping, 4-bit, or 8-bit computation, using 4-bit to retain quantization-tolerant interactions at lower cost. To represent compactly, we encode each head's
