potentialpaper

MassAlloc Attention: Let Attention Allocate Its Own Compute

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 18:52 UTC · 9de98a230ea6 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "VB0oDV42rx"
- }
- ],
- "title": "MassAlloc Attention: Let Attention Allocate Its Own Compute",
- "authors": [],
- "abstract": "Long-context full softmax attention (FullAttn) often assigns negligible normalized mass to much of the causal score space, yet dense kernels execute the complete post-score path after forming each QK tile. We introduce MassAlloc Attention (MALA), a fused attention primitive that preserves score access to every legal causal interaction and uses normalized contribution to allocate post-score computation. Forward uses its evolving online-softmax normalizer, while backward reuses the finalized normalizer to derive nested retained support using only standard attention state. A common tolerance governs training and inference, allowing the retained work to adapt across queries, heads, layers, and inputs. MALA reduces low-contribution post-score computation while retaining quadratic QK score discovery. A matched-work study at 8K isolates the benefit of distribution-adaptive allocation: under exactly matched total post-score work, MALA approaches a per-instance reference-mass oracle, with mean omitted mass of 0.0188\\% versus 0.0182\\%, while static allocations perform substantially worse. Across context lengths from 1K to 32K tokens, the same tolerance maintains low output and gradient errors relative to the reference operator. Across a broader controlled associative-recall comparison, MALA closely tracks FullAttn as context grows, reaching 89.67\\% accuracy at 8K compared with 89.97\\% for FullAttn. In an attention-operator benchmark at 128K tokens on 8 H100 GPUs with tensor parallelism, MALA reduces forward and backward latency during training by $2.2\\times$ and $3.0\\times$ and decoding latency during inference by $1.6\\times$ relative to FullAttn, while retaining FullAttn-level per-rank peak operator memory. Across scaling-law training from 0.6B to 14B parameters on 128 H100 GPUs, MALA closely tracks FullAttn in perplexity while reducing total training FLOPs, with a 23.1\\% reduction at 14B during 32K-context training. The resulting 14B models and 32B models from separate continued training achieve comparable knowledge, reasoning, and long-context retrieval scores to FullAttn. These results indicate that allocating post-score computation according to normalized attention contributions can retain the evaluated capabilities of FullAttn while reducing attention computation.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "519de0be-66af-429e-a2f0-76a0be24021c"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "MassAlloc Attention: Let Attention Allocate Its Own Compute",
+ "authors": [],
+ "abstract": "Long-context full softmax attention (FullAttn) often assigns negligible normalized mass to much of the causal score space, yet dense kernels execute the complete post-score path after forming each QK tile. We introduce MassAlloc Attention (MALA), a fused attention primitive that preserves score access to every legal causal interaction and uses normalized contribution to allocate post-score computation. Forward uses its evolving online-softmax normalizer, while backward reuses the finalized normalizer to derive nested retained support using only standard attention state. A common tolerance governs training and inference, allowing the retained work to adapt across queries, heads, layers, and inputs. MALA reduces low-contribution post-score computation while retaining quadratic QK score discovery. A matched-work study at 8K isolates the benefit of distribution-adaptive allocation: under exactly matched total post-score work, MALA approaches a per-instance reference-mass oracle, with mean omitted mass of 0.0188\\% versus 0.0182\\%, while static allocations perform substantially worse. Across context lengths from 1K to 32K tokens, the same tolerance maintains low output and gradient errors relative to the reference operator. Across a broader controlled associative-recall comparison, MALA closely tracks FullAttn as context grows, reaching 89.67\\% accuracy at 8K compared with 89.97\\% for FullAttn. In an attention-operator benchmark at 128K tokens on 8 H100 GPUs with tensor parallelism, MALA reduces forward and backward latency during training by $2.2\\times$ and $3.0\\times$ and decoding latency during inference by $1.6\\times$ relative to FullAttn, while retaining FullAttn-level per-rank peak operator memory. Across scaling-law training from 0.6B to 14B parameters on 128 H100 GPUs, MALA closely tracks FullAttn in perplexity while reducing total training FLOPs, with a 23.1\\% reduction at 14B during 32K-context training. The resulting 14B models and 32B models from separate continued training achieve comparable knowledge, reasoning, and long-context retrieval scores to FullAttn. These results indicate that allocating post-score computation according to normalized attention contributions can retain the evaluated capabilities of FullAttn while reducing attention computation.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}