arXiv Science⌕ Search

arXiv · 2611.36196

Stiefel-Projected 4D Tucker Fast-Weight Memory: Zero-SVD Cubic-Kernel Linear Attention, Exact Subspace Unlearning and O(1) Multi-Hop Retrieval

Abstract

Linear-time sequence models and fast-weight associative memories (Linear Attention, RetNet, Mamba-2, Gated DeltaNet) compress sequence history into a fixed 2D matrix state to achieve O(1) per-token inference, but degree-1 dot-product kernels suffer distractor bleed-through and sharp capacity collapse once stored items exceed O(d) on correlated embeddings. We introduce Stiefel-Projected 4D Tucker Fast-Weight Memory, elevating the recurrent state to an asymmetric 4th-order Tucker core projected through orthonormal Stiefel frames. We prove two exact structural theorems: (1) ambient 4th-order outer-product updates map isomorphically into the latent core with zero SVD truncation, and (2) parallel dual-form training computes a degree-3 product kernel ((Q2 K2^T) * (Q3 K3^T) * (Q4 K4^T) * M) V1 without materializing the 4D core, matching O(1) recurrent inference to max_diff = 2.29e-6. Using three independent Stiefel key frames (r_k = 10 -> 1,000 effective key dims) with r_v = 64 (64,000 floats = 250 KiB, smaller than a 256x256 2D matrix), our Hadamard-Gram Dual-Ridge solver achieves 98.6% Recall@1 at N = 1,024 correlated needles (4x past D = 256) where 2D DeltaNet collapses to 0.0%. On real BAAI/bge-small-en-v1.5 Wikipedia embeddings (1,000 edges), a single 0.256 MB 4D core hits 99.8% Recall@1 vs 94.8% for a 2.3x larger 2D core; on 12k-edge HotpotQA (1,500 bridge questions), it reaches 82.6% Both-Gold@2 vs 29.6% for single-shot Vector RAG. Dropped into a 4-layer TinyStories Transformer, 4D Stiefel-Tucker Attention reaches 111.78 PPL (2.88M backbone) vs 116.76 PPL for 2D Linear Attention (3.16M) and 134.09 for Softmax (3.15M), while achieving 100.00% on over-saturated MQAR and bit-exact (||Mk|| = 0.0000) 1-step machine unlearning via orthogonal subspace erasure.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Shubham Barmase. 2026-11-26. Stiefel-Projected 4D Tucker Fast-Weight Memory: Zero-SVD Cubic-Kernel Linear Attention, Exact Subspace Unlearning and O(1) Multi-Hop Retrieval. https://arxiv.science/abs/2611.36196

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

The Causal Case Against Algorithmic Discrimination: A Framework for Fairness Auditing in Law

As Artificial Intelligence (AI) increasingly influences decisions in critical societal sectors, understanding and establishing causality becomes essential for evaluating the fairness of automated systems. This article explores the significance of causal reasoning in addressing algorithmic discrimination, emphasizing both legal and societal perspectives. By reviewing landmark cases and regulatory frameworks, particularly within the European Union, we illustrate the challenges inherent in proving causal claims when confronted with opaque AI decision-making processes. The discussion outlines practical obstacles and methodological limitations in applying causal inference to real-world fairness scenarios, proposing actionable solutions to enhance transparency, accountability, and fairness in algorithm-driven decisions.

cs.LG↗

Implicit Dynamical Flow Fusion (IDFF) for Generative Modeling

Conditional Flow Matching (CFM) generates high-quality samples by learning a deterministic transport from noise to data, but typically requires more than a hundred network function evaluations (NFEs) per sample. We propose Implicit Dynamical Flow Fusion (IDFF), which augments the CFM vector field with $K$th-order score-derivative terms and attains comparable sample quality while requiring significantly fewer NFEs. At first order ($K=1$), the method reduces to a Langevin-augmented flow, and we prove that the marginal $p_t$ is preserved exactly in continuous time; the empirical NFE reduction is therefore a statement about discretization robustness, not about continuous-time acceleration, and we make that reading explicit. For $K=2$, we further provide an error analysis that justifies the optional second-order curvature correction we introduce, showing that its deviation is bounded by the weighted score-matching loss already minimized by our objective; the bound is formulated for general $K$ and guarantees that this correction cannot worsen the order of the overall scheme. The practical enabler behind both regimes is a re-parameterization identity: every higher-order marginal derivative can be obtained from the learned first-order score by automatic differentiation, so no additional networks are trained. Empirically, IDFF reduces NFEs by an order of magnitude with no loss in sample quality. On CIFAR-10 the $K=1$ configuration achieves an FID of 2.78 at 10 NFEs, the best result at that budget among the CFM variants we retrain at a matched backbone and training budget, and on par with methods that need over a hundred evaluations. For time-series modelling, IDFF performs strongly on molecular-dynamics simulation and sea-surface-temperature forecasting at a fraction of the compute. Code is available: https://github.com/MrRezaeiUofT/Implicit_Dynamical_Flow_Fusion_for_Genereative_Modeling.

cs.LG↗

Sampling with Adaptive Variance for Multimodal Distributions

Motivated by our previous work on adaptive diffusion for global optimization, we propose and analyze a class of adaptive sampling algorithms for multimodal distributions on a bounded domain. These algorithms share the structure of classical overdamped Langevin dynamics. We first demonstrate that this class of linear dynamics with adaptive diffusion coefficients and vector fields can be interpreted and analyzed as weighted Wasserstein gradient flows of the Kullback--Leibler (KL) divergence between the current distribution and the target Gibbs distribution. This directly leads to the exponential convergence of both the KL and $χ^2$ divergences, with rates depending on the weighted Wasserstein metric and the Gibbs potential. We then show that a derivative-free version of the dynamics can be used for sampling without evaluating the gradient of the Gibbs potential. For Gibbs distributions with nonconvex potentials, this approach can achieve much faster convergence than the classical overdamped Langevin dynamics. A comparison of the mean transition times between local minima of a nonconvex potential further highlights the sampling advantage of the derivative-free dynamics in this setting.

cs.LG↗