Saved in:
Bibliographic Details
Main Authors: Long, Bo, Agarwal, Deepak, Markovic-Voronov, Jelena, Wang, Yi, Li, Liuqing
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.18832
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910234455310336
author Long, Bo
Agarwal, Deepak
Markovic-Voronov, Jelena
Wang, Yi
Li, Liuqing
author_facet Long, Bo
Agarwal, Deepak
Markovic-Voronov, Jelena
Wang, Yi
Li, Liuqing
contents The Transformer is the foundational building block of modern AI, yet offers no principled handling of \emph{uncertainty}, which is prevalent in real applications: cold-start tokens with sparse histories in sequential recommendation, heterogeneous signal quality in language models, and attention sinks induced by unconstrained softmax. Every token is treated with uniform confidence. We show this uniformity is a degenerate case of our \emph{Bayesian Filtering Transformer} (BFT): attention becomes precision-weighted kriging, the residual connection becomes a Kalman update with adaptive gain, and the FFN becomes a dynamics model propagating precision via a Jacobian--plus--process-noise rule. Observation precision comes from a parameter-free Restricted Maximum Likelihood (REML) estimator with a conjugate Bayesian prior. BFT replaces any Transformer layer with negligible overhead. On sequential recommendation, BFT applied to three major architectures yields significant gains on six benchmarks, with the largest improvements on cold-start users and rare items where uncertainty is highest. On supervised fine-tuning of large language models with noisy data, BFT improves robustness in two regimes: noisy supervision (token-label corruption in question answering) and noisy context (retrieval-augmented QA with real RAG distractors). A single principled modification -- restoring precision -- unlocks substantial headroom across both classical sequence-modeling and modern LLM regimes.
format Preprint
id arxiv_https___arxiv_org_abs_2605_18832
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noise
Long, Bo
Agarwal, Deepak
Markovic-Voronov, Jelena
Wang, Yi
Li, Liuqing
Machine Learning
Artificial Intelligence
The Transformer is the foundational building block of modern AI, yet offers no principled handling of \emph{uncertainty}, which is prevalent in real applications: cold-start tokens with sparse histories in sequential recommendation, heterogeneous signal quality in language models, and attention sinks induced by unconstrained softmax. Every token is treated with uniform confidence. We show this uniformity is a degenerate case of our \emph{Bayesian Filtering Transformer} (BFT): attention becomes precision-weighted kriging, the residual connection becomes a Kalman update with adaptive gain, and the FFN becomes a dynamics model propagating precision via a Jacobian--plus--process-noise rule. Observation precision comes from a parameter-free Restricted Maximum Likelihood (REML) estimator with a conjugate Bayesian prior. BFT replaces any Transformer layer with negligible overhead. On sequential recommendation, BFT applied to three major architectures yields significant gains on six benchmarks, with the largest improvements on cold-start users and rare items where uncertainty is highest. On supervised fine-tuning of large language models with noisy data, BFT improves robustness in two regimes: noisy supervision (token-label corruption in question answering) and noisy context (retrieval-augmented QA with real RAG distractors). A single principled modification -- restoring precision -- unlocks substantial headroom across both classical sequence-modeling and modern LLM regimes.
title Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noise
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.18832