Phase Space Attention: A Hairer Lift Resolves the Single-Layer Induction Obstruction
Kingsuk Maitra ⋅ Shagun Sood ⋅ Morteza Hosseini ⋅ Suman Gunnala ⋅ Vikram Gupta
Abstract
Sanford, Hsu and Telgarsky (SHT) prove that a single attention layer cannot solve the in-context induction task unless its per-head description size grows with the context length $T$. We circumvent this obstruction - exiting the premise of the SHT counting argument, not the bound itself - by lifting the post-RoPE query and key streams onto a phase space, in direct correspondence with Hairer's lift of Störmer-Verlet onto a one-step symplectic integrator. The reframing exhibits the obstruction as a filter-order gap: a standard bilinear score has joint $z$-transform order $(0,0)$, whereas the induction discriminator needs key-side order $\geq 1$. Phase Space Attention (PSA) closes the gap with the symplectic upper shear $M_\gamma:(q,p)\mapsto(q+\gamma p,p)$, $p$ the first backward difference, adding no weights beyond one scalar $\gamma$. We prove that PSA is the unique per-stream high-pass, DC-neutral, swap-symmetric member of the factorised subclass of linear one-step causal bilinear augmentations (Theorem 4); that it is exactly symplectic at operator level (Theorem 6); and that it must be applied after RoPE (Corollary 7). In an explicit $T_4$-only Gaussian reduction of the score competition we derive a closed-form two-branch critical coupling, $\gamma_c^{2}=2L/(\sqrt{d_k}+\sqrt{d_k-8L})$ for $d_k\geq 8L$, $L=\log(T-1)$ (Theorem 8), whose mean-field branch predicts held-out simulations at $r=0.9876$ with zero fitted parameters, and which predicts that $\gamma_c$ falls with head width, as trained models confirm in direction, though not in exponent. The SHT bound binds where the parameter budget approaches the bit budget of the two-layer circuit - negligible at frontier scale but potentially consequential for sub-100 M on-device models - and we work at 4-92 M by design. A one-layer, 54 k-parameter model reaches $69.1\pm8.2\%$ induction accuracy at $\gamma=2$ (five seeds; chance $1.6\%$), and the pre-softmax spectrum of retrained single-layer models matches the closed-form transfer function at $r=0.9966$; a separate 842 k-parameter multi-layer study locates the phase boundary across positional encodings. A matched control battery (seven variants plus a two-layer baseline) isolates the mechanism: key-side differencing is the operative ingredient, and a key-only shear (0.949) outperforms the symmetric operator (0.811), which we adopt for its structure rather than its accuracy. At first order the post-softmax response is a tangent correction of difference-of-attention character, related to Differential Transformer. All code is in the supplementary material as Jupyter notebooks with embedded outputs (for four multi-day sweeps, with their result files), including ten machine-checkable certificates, so every figure and number in the paper and appendices can be checked without GPU re-execution.
Successful Page Load