- The paper introduces KATA, a kernelized linear-attention framework that uses rank-one positive-semidefinite feature maps and symmetric-cone geometry to reduce retrieval interference and overcome the linear capacity limits of orthant and Lorentz features.
- The paper shows that PSD features can provide exponentially larger near-orthogonal key dictionaries in theory, while KATA-M1 achieves 0.985 MQAR accuracy and DeltaKATA-M1 reaches 0.999 at 16× context extrapolation.
- The paper delivers practical fused Triton implementations, with the exact PSD linear-state kernel reaching roughly 11× FlashAttention-2 forward throughput at 131K tokens, but reports trade-offs in perplexity, learnability, and out-of-distribution length generalization.
Linear attention replaces the exponential kernel of softmax attention with a finite inner product of feature maps, collapsing quadratic token mixing into a fixed-size recurrent state. The cost of this substitution is memory collision: many key–value bindings must share one state, and retrieval degrades on associative recall at long contexts. The paper under review, "Kernelized Linear Attention: Breaking the Capacity Wall with Symmetric Cones" (2607.17419), develops a principled response. It formulates associative recall as a spherical-packing problem over the feature geometry, uses the Koecher–Vinberg classification of symmetric cones to organize admissible nonnegative feature maps, and shows that rank-one positive-semidefinite (PSD) features offer a favorable capacity–interference tradeoff. The resulting framework, KATA (Kernelized Linear Attention Activations), is implemented as fused Triton kernels and evaluated on synthetic recall tasks and 340M-parameter language-model pretraining.
Cone classification of admissible feature maps
The paper works with normalized linear attention, in which softmax's kernel exp(⟨q,k⟩) is replaced by ⟨ψ(q),ψ(k)⟩ for a finite feature map ψ, yielding an additive recurrence on a state pair of size nψ(dv+1). Three assumptions structure the design space: the feature image lies in a self-dual cone (guaranteeing nonnegative kernels), the map is equivariant under input isometries, and the cone is homogeneous. Under these assumptions the Koecher–Vinberg theorem applies, and the admissible real geometries reduce to products of three irreducible symmetric cones: the positive orthant R+d, the Lorentz cone Q+m, and the PSD cone S+m. The paper restricts itself to these ordinary real factors, explicitly leaving complex Hermitian, quaternionic, and exceptional factors open.
A structural byproduct of this formulation is that the denominator of normalized linear attention is itself a token-conditioned convex output gate: the readout at time t is a convex interpolation between the previous readout and the current value, with weights Dt−1/Dt and ct/Dt that require no learned parameters. The paper contrasts this readout-level gate with the recurrence-level gates of Gated Linear Attention and Gated DeltaNet, which modify the stored state through noncommutative rank-one transitions. The two control points are distinct, and the experiments exploit both.
Capacity as spherical packing
The central theoretical move is to define the ⟨ψ(q),ψ(k)⟩0-capacity of a cone: the largest number ⟨ψ(q),ψ(k)⟩1 of unit feature vectors in the cone whose maximum pairwise inner product (the interference ⟨ψ(q),ψ(k)⟩2) is at most ⟨ψ(q),ψ(k)⟩3. This is exactly the mutual coherence of the feature dictionary. The paper then derives per-cone ceilings. For the orthant, the ⟨ψ(q),ψ(k)⟩4 coordinate rays are exactly orthogonal, but beyond ⟨ψ(q),ψ(k)⟩5 the Welch bound applies, so capacity is linear in dimension. For the Lorentz cone, the lift ⟨ψ(q),ψ(k)⟩6 maps raw inner product ⟨ψ(q),ψ(k)⟩7 to ⟨ψ(q),ψ(k)⟩8; requiring interference below ⟨ψ(q),ψ(k)⟩9 forces the raw keys to be mutually obtuse, and Rankin's bound yields the "Lorentz Rankin wall" ψ0 — a hard linear ceiling. This is a strong negative result: the Lorentz lift of the raw-key substrate used by DeltaNet and Gated DeltaNet cannot exceed ψ1 distinguishable addresses.
The PSD cone is where the capacity wall breaks. The rank-one lift ψ2 squares the raw inner product, so PSD interference at most ψ3 is equivalent to raw correlations bounded by ψ4. A greedy spherical-cap argument then shows that once ψ5, the PSD cone admits ψ6 near-orthogonal keys in ψ7 feature coordinates — exponentially many in ψ8. The paper complements this worst-case bound with deterministic constructions: realified mutually unbiased bases give ψ9 vectors in nψ(dv+1)0 with interference nψ(dv+1)1, and DeVore polynomial frames give sparse dictionaries of size nψ(dv+1)2 in nψ(dv+1)3 with interference nψ(dv+1)4. Random-projection (Johnson–Lindenstrauss) guarantees are noted but observed to be loose at per-head dimensions.
A power signal-to-noise (pSNR) analysis connects packing to retrieval under isotropic values. At the Welch-scale interference, linear features give nψ(dv+1)5, ideal retrieval only for nψ(dv+1)6; the PSD map squares distractor interference and extends the threshold to nψ(dv+1)7. Applying the same criterion to temperature-nψ(dv+1)8 softmax yields an exponential capacity nψ(dv+1)9, and the required inverse temperature scales as R+d0 — recovering, from a retrieval perspective, the logarithmic attention-scaling law identified for long-context softmax dynamics. The paper is careful to state that these are idealized criteria under an isotropic-value model, and that exact recall also depends on realized values.
Hardware-aligned kernels
Theory is matched to an implementation story. The additive feature-state recurrence admits a chunkwise forward in which every inter-chunk operation is a GEMM, elementwise op, or warp reduction — no triangular solve, unlike Gated DeltaNet's WY representation. Moreover, the inter-chunk prefix sum is associative, so the paper replaces the standard sequential scan (depth R+d1) with a parallel tree scan of depth R+d2 across three Triton kernels. For the linear feature, this delivers 1.9–2.9× the throughput of a matched sequential chunk kernel from 2k to 131k tokens, and up to 7.5× Gated DeltaNet at R+d3, with the advantage concentrated at small batch where a sequential scan cannot fill the H100's SMs.
The PSD recurrence cannot be tree-scanned directly: the R+d4 local state tile exceeds shared-memory budgets, so the paper provides two operating points. The quadratic flash-attention-style forward reaches 1.3–1.6× FlashAttention-2 throughput (KATA-M1) without ever forming the state; the exact linear-state form reaches parity with its quadratic counterpart near 16k tokens and achieves roughly 11× FlashAttention-2 forward throughput at 131k tokens for KATA-M2. To fit hardware, two reduced PSD families are introduced: KATA-R+d5 sums R+d6 block outer products into one PSD factor, while KATA-MR+d7 retains one PSD factor per block, with state sizes scaling accordingly.
Synthetic recall results
On the Zoology MQAR benchmark with length extrapolation to 16× the training context, the orthant and Lorentz baselines collapse just past R+d8, exactly where the linear Welch and Rankin ceilings predict, while the PSD variants extend recall deep into the extrapolation regime. KATA-M1 retains 0.985 accuracy at the largest slice with a 266,240-entry fixed state — roughly one quarter of softmax's KV-cache entries at that length — and DeltaKATA-M1 reaches 0.999. These are the paper's strongest empirical claims, and they directly instantiate the packing theory.
On repeated-key overwrite, the additive state superimposes both values at the same address, and the results cleanly disentangle the three recurrence mechanisms. RoPE resolves overwrite in-distribution but extrapolates poorly. A learned multiplicative scalar gate raises KATA-M2's overwrite accuracy from 0.521 to 0.991 at R+d9, supporting a positional interpretation of the gate (it assigns each write an age-dependent weight) with state-norm control secondary. The delta rule, which erases the value at the current content address, is complementary: DeltaKATA-M1 is nearly perfect across the overwrite sweep. The trade-off is explicit — GatedDeltaKATA-M2 reaches 0.960 average overwrite accuracy but its MQAR average falls to 0.423.
Pretraining and needle recall
The paper pretrains matched 340M-parameter models for 15B tokens of SlimPajama, swapping only the token-mixing layer. Zero-shot accuracies are broadly comparable, but perplexity shows a meaningful spread: KATA-M1 trails softmax, Gated DeltaNet, and DeltaKATA-M1 (43.5 vs. 38.6 LAMBADA perplexity), and KATA-M2 is higher still (51.8). The paper concedes this fluency trade-off rather than burying it.
On RULER single-needle tasks at in-window lengths, the entropy ladder is diagnostic. Softmax sits at the ceiling (≥0.93 everywhere). Gated DeltaNet degrades sharply with needle entropy — word, number, and UUID recall fall 0.996 → 0.384 → 0.004 at 1K — consistent with its Lorentz Rankin wall on the raw-key substrate. The PSD variants retain much more high-entropy signal: KATA-M2 reaches 0.910 and 0.616 UUID recall at 1K and 2K with half of KATA-M1's state. Notably, the paper reports a reversal of its own geometric prediction: KATA-M1 has the larger packing budget, yet KATA-M2 learns better. The authors attribute this to learnability — two 32-dimensional factors train more easily than one 64-dimensional factor — an honest concession that realized recall depends on optimization, not geometry alone. The delta erase again helps: DeltaKATA-M1 raises UUID recall from 0.758 to 0.908 at 1K.
On the Based cloze suite the picture is more qualified. The paper itself flags that normalized substring matching rewards verbosity: average generation length on SQuAD spans an 18.6× range across models, so the SQuAD/FDA ordering reflects generation style as much as retrieval. The authors accordingly treat NIAH as the primary capacity result. Length extrapolation shows yet another ordering: Gated DeltaNet's multiplicative gate generalizes best beyond the 2048-token training horizon, while RoPE-based softmax and KATA models collapse — strong OOD length generalization and hard-needle recall are shown to be complementary properties.
Limitations and open questions
The paper states its scope and gaps plainly. The capacity theory covers only the real symmetric cones; complex extensions, where equiangular tight frames allow Q+m0, are deferred. The pSNR criterion is idealized, assuming isotropic values and a fixed interference scale. The tree scan is not implemented for PSD features, and realizing the parallel-prefix speedup there would require feature blocking within the scan. GatedKATA and GatedDeltaKATA are not systematically pretrained, DeltaKATA is evaluated only at Q+m1, and the learnability of the full KATA-M1 geometry beyond Q+m2 is untested. Whether the geometric gains persist at higher feature order, larger scale, and heavier contextual demand remains open; tensor-train factorizations are proposed as a route to higher even-order features without materializing the full tensor state, but enforcing nonnegativity under such truncations is unresolved.
Conclusion
The paper contributes a coherent arc from first principles to hardware: nonnegative attention weights certified by a self-dual homogeneous cone reduce the feature-design space to the classical symmetric cones; casting recall as spherical packing yields per-cone capacity laws, including a hard Rankin wall for the Lorentz substrate underlying current delta-rule architectures and exponential capacity for rank-one PSD features at fixed interference; and fused Triton kernels make the resulting maps practical, with the linear-state PSD kernel reaching approximately 11× FlashAttention-2 forward throughput at 131k tokens. The empirical results validate the capacity predictions on MQAR and needle recall while honestly documenting where learnability, fluency, and length extrapolation diverge from pure geometry. The main open question the work leaves is whether the packing-theoretic advantage of PSD features survives at scale once optimization and contextual language demands are fully accounted for.