Pith. sign in

REVIEW 3 cited by

Can a Transformer Represent a Kalman Filter?

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2312.06937 v3 pith:LKJMJNEW submitted 2023-12-12 cs.LG stat.ML

classification cs.LGstat.ML
keywords filterkalmantransformerapproximatecloselyconstructioncontrolestimator
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Transformers are a class of autoregressive deep learning architectures which have recently achieved state-of-the-art performance in various vision, language, and robotics tasks. We revisit the problem of Kalman Filtering in linear dynamical systems and show that Transformers can approximate the Kalman Filter in a strong sense. Specifically, for any observable LTI system we construct an explicit causally-masked Transformer which implements the Kalman Filter, up to a small additive error which is bounded uniformly in time; we call our construction the Transformer Filter. Our construction is based on a two-step reduction. We first show that a softmax self-attention block can exactly represent a Nadaraya-Watson kernel smoothing estimator with a Gaussian kernel. We then show that this estimator closely approximates the Kalman Filter. We also investigate how the Transformer Filter can be used for measurement-feedback control and prove that the resulting nonlinear controllers closely approximate the performance of standard optimal control policies such as the LQG controller.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Robust Filter Attention: Self-Attention as Precision-Weighted State Estimation

    cs.LG 2025-09 unverdicted novelty 7.0 of 10

    Robust Filter Attention models self-attention as consistency-based state estimation under a linear SDE for token trajectories, matching standard attention complexity while showing lower perplexity and better zero-shot...

  2. Sailing Towards Zero-Shot State Estimation using Foundation Models Combined with a UKF

    eess.SY 2025-09 conditional novelty 6.0 of 10

    A transformer dynamics model plugged into an unscented Kalman filter gives zero-shot state estimates on unseen simulated container ships and outperforms classical baselines when velocity sensors are missing.

  3. Dynamical Behaviors of the Gradient Flows for In-Context Learning

    math.DS 2024-12 conditional novelty 6.0 of 10

    The gradient flow for linear in-context learning is derived in closed form, and two special cases are classified into attracting minima, saddle points, and invariant manifolds.

Pith tools