arXiv:2610.05700cs.LGOct 2026

Manuscript Offprint

arXiv:2610.05700

Voltic: Distinguishing Volatility from Stochasticity in Recurrent Memory

Parsa Hejabi, Morteza Dehghani, Payam Piray

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Recurrent sequence models must decide how strongly to overwrite their memory at each token. Read as Bayesian filtering, this write is the gain of a Kalman update, set by uncertainty from two sources that pull it in opposite directions: volatility, how quickly the underlying associations change, and stochasticity, how noisy each observation of them is. First, we show that the update of gated delta-rule memories is the form this filter takes under isotropic uncertainty. Next, we introduce Voltic, a recurrent memory that keeps the covariance anisotropic and makes both noise variances input-dependent, so the write is vector-valued and carries uncertainty accumulated over the sequence. A dense covariance would have to be propagated token by token, ruling out the parallel training these models depend on. We therefore give two assumed-density approximations, diagonal and quasi-diagonal, both of which leave the memory update in delta-rule form and reuse its chunked kernels. On controlled recall tasks in which associations change and observations are corrupted, Voltic leads all baselines. On the task combining volatility and stochasticity, its margin over the strongest baseline is larger at both extrapolation sizes than at the training sizes. In 45M-parameter language models it leads an eight-task reasoning average and achieves higher retrieval accuracy beyond the training context length than gated baselines, at throughput close to those baselines. Deriving the write from an uncertainty recursion therefore makes memory more responsive to change.

1 INTRODUCTION

Recurrent sequence models compress a stream of tokens into a fixed-size memory, and at every token they must decide how strongly the new token should change what is stored. This decision has a natural statistical reading. If the memory is taken to be the posterior mean of a latent state that the token stream observes, then updating it is Bayesian filtering, and the strength of each write is the Kalman gain (Kalman, 1960): how much weight a new observation receives relative to the evidence already accumulated. The gain is set by uncertainty, so the question of how a memory should write becomes a question of what that uncertainty is made of.

Under this view, the uncertainty that sets the gain has two sources: Volatility is how quickly the latent state changes, the magnitude of the process noise; stochasticity is how noisy each observation is, the magnitude of the observation noise. The two act on the gain in opposite directions. Higher volatility makes past evidence less relevant and calls for a stronger write; higher stochasticity makes the new observation less informative and calls for a weaker one. Both raise uncertainty, so a filter that represents only their combined effect cannot respond appropriately to either. Estimating the two online is a long-standing problem in adaptive filtering (Särkkä & Nummenmaa, 2009; Piray & Daw, 2021), and normative accounts of learning treat their dissociation as central, showing that failing to make it produces characteristic failures of adaptation (Fang & Piray, 2026; Smith et al., 2026). These accounts infer both noise parameters jointly with the latent state, using a Rao-Blackwellized particle filter (Doucet et al., 2000; Piray & Daw, 2021) or a deterministic quantile grid in place of the particles (Chen & Piray, 2026). Such methods are designed for behavioral tasks, a few static parameters inferred from hundreds of observations. Their representation of the noise parameters grows exponentially with the number of parameters, so they do not extend to the input-dependent, per-coordinate rates a high-dimensional memory trained on billions of tokens would require.

Existing recurrent memories can be read as filters in which this structure is heavily restricted. The delta-rule update used in these models (Schlag et al., 2021) is the classical least-mean-squares rule of adaptive filtering, and the Kalman filter is its uncertainty-weighted counterpart, setting the learning rate from the filter's uncertainty rather than fixing it (Sutton, 1992; Dayan et al., 2000). Gated delta-rule models such as GDN (Yang et al., 2025) and KDA (Kimi Team et al., 2025) update a key-value memory by erasing its component along the current key and writing the new value, scaled by a learned write strength. We show that this update is a filtering step under isotropic uncertainty: the write strength is the gain of a filter whose uncertainty is the same in every direction of key space, so it is a single scalar per head, and it is produced by a projection of the current token rather than by accumulated uncertainty. Filtering has also been used directly as a sequence mixer, most closely in Kalman Linear Attention (Shaj et al., 2026), which filters each channel with a diagonal precision and learned, time-invariant process noise. What remains missing is a memory in which both sources of uncertainty depend on the input, uncertainty varies across key space, and the update keeps the delta-rule form that makes these models efficient to train.

We introduce Voltic, a recurrent memory that treats the sequence as volatile and stochastic, and derives its write strength accordingly. Both noise variances are learned functions of the input, entering the filter at the prediction and observation steps, so the write responds to the two sources in opposite directions without inference over either. The resulting gain is vector-valued along the key dimension and carries uncertainty accumulated over the sequence. Exact inference would propagate a dense covariance, which cannot be evaluated in parallel across tokens, so we develop two assumed-density approximations (Opper, 1999; Minka, 2001): Voltic-D keeps a diagonal covariance with a learned per-coordinate decay, and Voltic-Q retains covariance within short blocks. Both leave the memory update in delta-rule form and reuse its parallel algorithms. Both properties are ordinary in real sequences: what a name or a value refers to can change over a document, and a mention of it can be wrong. Existing recall benchmarks assume neither, observing each association once and faithfully (Arora et al., 2024a), so a model is never asked to respond differently to a change and to a corrupted observation. We therefore vary the two sources separately and together.

We make four contributions. (i) We introduce Voltic, a recurrent memory whose write strength is derived from a filtering recursion rather than learned as a free gate, with two tractable approximations that keep the update in delta-rule form. (ii) We give efficient forward and backward kernels for both variants, bringing throughput close to gated recurrent-attention baselines at the sequence lengths and batch sizes used for language-model training. (iii) We introduce three controlled recall tasks in which associations change during the sequence, observations of them are corrupted, or both. (iv) We evaluate Voltic against recurrent-attention, state-space, and full-attention baselines on these tasks, language modeling, in-context retrieval, and throughput.

References (100)

Couldn't load all references. Reload the page to try again.