Quartic-memory recurrent state layer
Implementation & benchmark of arXiv:2609.02586 — Memory-driven Topological Defects and Unconventional Long-Range Order
Source paper: Memory-driven Topological Defects and Unconventional Long-Range Order arXiv:2609.02586 ⓘ · analyzed Sep 3, 2026
AI-generated research hypothesis, automatically tested. Not peer-reviewed.
Idea description
Add an explicit memory field to a recurrent or state-space model and make the memory feedback act through a discrete biharmonic operator, producing the paper’s characteristic \(z=4\) long-wavelength relaxation. This should preserve slowly varying sequence structure while damping high-frequency hidden-state noise, potentially improving long-horizon prediction without requiring a very large recurrent state.
Formulas
Mathematical statement
Let \(h_n\in\mathbb{R}^{d\times L}\) be the hidden field at recurrent step \(n\), indexed by sequence position \(j=1,\ldots,L\), and let \(m_n\) be its delayed memory. Define the discrete Laplacian \((\Delta h)_j=h_{j+1}-2h_j+h_{j-1}\) with periodic or reflective boundaries and the biharmonic operator \(\Delta^2=\Delta(\Delta\cdot)\). The proposed linearized memory dynamics are \(h_{n+1}=h_n-\eta D\Delta^2h_n+\eta\kappa(m_n-h_n)+\eta F_\theta(h_n,x_n)\) and \(m_{n+1}=(1-\alpha)m_n+\alpha h_n\), where \(D\geq0\) is quartic smoothing, \(\kappa\) is memory feedback, \(\eta\) is the recurrent step, and \(\alpha\in(0,1]\) is the memory update rate. For Fourier mode \(k\), \(\Delta^2\) has eigenvalue \(16\sin^4(k/2)\), so the no-feedback relaxation rate is \(D16\sin^4(k/2)\approx Dk^4\) at small \(k\), implying \(\tau(k)\propto k^{-4}\), the paper’s \(z=4\) signature. Stability can be checked by requiring every eigenvalue of the two-state mode update matrix to have modulus below one.
Implementation notes
1) Integration point: implement this as a drop-in recurrent update inside an RNN, selective SSM, or world-model latent rollout. Arrange the hidden state as a length-L field, or use a grouped latent dimension if the original task has no spatial axis. Compute the second difference with a depthwise 1D convolution kernel [1,-2,1], apply it twice to obtain \(\Delta^2h\), and maintain an additional tensor \(m\) with the same shape as \(h\). Keep the task-dependent nonlinear map \(F_\theta\) unchanged. 2) Pseudocode: initialize \(m=h\); at each recurrent step compute \(lap=conv1d(h,[1,-2,1])\), \(quartic=conv1d(lap,[1,-2,1])\), then set \(h=h+\eta(-D\,quartic+\kappa(m-h)+F_\theta(h,x))\) and \(m=(1-\alpha)m+\alpha h_{old}\). Optionally clip or parameterize \(D,\kappa,\alpha\) with positive transforms. 3) Computed from the mechanism: the quartic operator and the predicted \(z=4\) dispersion. Estimated empirically: the largest spectral radius \(\max_k\rho(A_k)\), hidden-mode decay rates, and task loss. During training, periodically estimate \(\rho(A_k)\) from the analytic matrix above or by power iteration through the linearized cell; reject or reduce \(\eta\) if it exceeds one. 4) First cheap experiment: train a small GRU and this layer on Copying Memory, permuted sequential MNIST, and a synthetic noisy diffusion sequence. Sweep \(D\), \(\kappa\), \(\alpha\), and recurrent step \(\eta\), comparing equal-parameter GRU/SSM baselines. Measure Fourier-mode autocorrelation decay after perturbing one mode. The quantitative prediction is \(\tau(k)^{-1}\approx Dk^4\) for small \(k\), with a log-log slope of 4 over at least one decade; measured instability should begin when the largest predicted \(\rho(A_k)\) crosses 1, within 20%. Increasing weak observation noise should reduce high-frequency hidden variance roughly in proportion to the quartic damping while preserving low-frequency memory.
Verification
This idea has not been verified yet.
Verification happens in two stages: Stage 1 — a mechanism check on a toy system confirms the claimed mathematical phenomenon reproduces; Stage 2 — a benchmark implements the idea on a real (small) neural network task and compares it against a tuned baseline over 8 paired seeds with a permutation test.
Artifacts
Artifacts unavailable.