Triceps: Tri-Component Separable Attention for Long-Context Prefill
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:28 UTC · 394942bd5626 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "8VdY9PtgK9"- }- ],- "title": "Triceps: Tri-Component Separable Attention for Long-Context Prefill",- "authors": [],- "abstract": "The $\\\\mathcal{O}(N^2)$ complexity of full attention during prefill in Transformer-based large language models is the main computational bottleneck in applications that require handling long contexts, such as long-document question answering, repository-level code agents or long book summarization. Existing sparse attention methods combine fixed patterns by union (attention sinks, sliding windows, retrieved blocks, vertical and slash patterns), resulting in a mask denser than the mass it captures requires, wasting computation on blocks that carry almost no attention. We instead show that the attention matrix admits a training-free multiplicative tri-component separable approximation: a relative-position factor, a key factor and a query-normalization factor. Combined multiplicatively, the three factors induce a score threshold that a union of fixed patterns cannot express. We dynamically evaluate this approximation per head to route computation between three modes: an $\\\\mathcal{O}(N \\\\log{N})$ long convolution when the error measured on the last query rows falls below a threshold, an $\\\\mathcal{O}(\\\\rho N^2)$ sparse mode for low-density masks, and delegation to dense or another sparse attention technique otherwise. We evaluate this method on RULER and LongReason with two open-weight long-context models, Qwen3-30B-A3B-Instruct-2507 and Llama-3.1-Nemotron-8B-UltraLong-4M-Instruct, and, at extended context lengths (128k and beyond), we observe speedups in Time-To-First-Token (TTFT) over dense attention while achieving a superior speed--accuracy trade-off compared to existing sparse methods.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "20db6391-1282-451e-8c02-bf0360cb0389"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Triceps: Tri-Component Separable Attention for Long-Context Prefill",+ "authors": [],+ "abstract": "The $\\\\mathcal{O}(N^2)$ complexity of full attention during prefill in Transformer-based large language models is the main computational bottleneck in applications that require handling long contexts, such as long-document question answering, repository-level code agents or long book summarization. Existing sparse attention methods combine fixed patterns by union (attention sinks, sliding windows, retrieved blocks, vertical and slash patterns), resulting in a mask denser than the mass it captures requires, wasting computation on blocks that carry almost no attention. We instead show that the attention matrix admits a training-free multiplicative tri-component separable approximation: a relative-position factor, a key factor and a query-normalization factor. Combined multiplicatively, the three factors induce a score threshold that a union of fixed patterns cannot express. We dynamically evaluate this approximation per head to route computation between three modes: an $\\\\mathcal{O}(N \\\\log{N})$ long convolution when the error measured on the last query rows falls below a threshold, an $\\\\mathcal{O}(\\\\rho N^2)$ sparse mode for low-density masks, and delegation to dense or another sparse attention technique otherwise. We evaluate this method on RULER and LongReason with two open-weight long-context models, Qwen3-30B-A3B-Instruct-2507 and Llama-3.1-Nemotron-8B-UltraLong-4M-Instruct, and, at extended context lengths (128k and beyond), we observe speedups in Time-To-First-Token (TTFT) over dense attention while achieving a superior speed--accuracy trade-off compared to existing sparse methods.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}