Saved in:
Bibliographic Details
Main Authors: Shaj, Vaisakh, Barker, Cameron, Scannell, Aidan, Szecsenyi, Andras, Crowley, Elliot J., Storkey, Amos
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2602.10743
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917267359399936
author Shaj, Vaisakh
Barker, Cameron
Scannell, Aidan
Szecsenyi, Andras
Crowley, Elliot J.
Storkey, Amos
author_facet Shaj, Vaisakh
Barker, Cameron
Scannell, Aidan
Szecsenyi, Andras
Crowley, Elliot J.
Storkey, Amos
contents State-space language models such as Mamba and gated linear attention (GLA) offer efficient alternatives to transformers due to their linear complexity and parallel training, but often lack the expressivity and robust state-tracking needed for complex reasoning. We address these limitations by reframing sequence modelling through a probabilistic lens, using Bayesian filters as a core primitive. While classical filters such as Kalman filters provide principled state estimation and uncertainty tracking, they are typically viewed as inherently sequential. We show that reparameterising the Kalman filter in information form enables its updates to be computed via an associative scan, allowing efficient parallel training. Building on this insight, we introduce the Kalman Linear Attention (KLA) layer, a neural sequence-modelling primitive that performs time-parallel probabilistic inference while maintaining explicit belief-state uncertainty. KLA offers strictly more expressive nonlinear updates and gating than GLA variants while retaining their computational advantages. On language modelling tasks, KLA matches or outperforms modern SSMs and GLAs across representative discrete token-manipulation and state-tracking benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2602_10743
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Tracking
Shaj, Vaisakh
Barker, Cameron
Scannell, Aidan
Szecsenyi, Andras
Crowley, Elliot J.
Storkey, Amos
Machine Learning
State-space language models such as Mamba and gated linear attention (GLA) offer efficient alternatives to transformers due to their linear complexity and parallel training, but often lack the expressivity and robust state-tracking needed for complex reasoning. We address these limitations by reframing sequence modelling through a probabilistic lens, using Bayesian filters as a core primitive. While classical filters such as Kalman filters provide principled state estimation and uncertainty tracking, they are typically viewed as inherently sequential. We show that reparameterising the Kalman filter in information form enables its updates to be computed via an associative scan, allowing efficient parallel training. Building on this insight, we introduce the Kalman Linear Attention (KLA) layer, a neural sequence-modelling primitive that performs time-parallel probabilistic inference while maintaining explicit belief-state uncertainty. KLA offers strictly more expressive nonlinear updates and gating than GLA variants while retaining their computational advantages. On language modelling tasks, KLA matches or outperforms modern SSMs and GLAs across representative discrete token-manipulation and state-tracking benchmarks.
title Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Tracking
topic Machine Learning
url https://arxiv.org/abs/2602.10743