paper-with-me

Papers

Filtering Beats Fine Tuning: A Bayesian Kalman View of In Context Learning in LLMs

2026-01-02 · Andrew Kiruluta arxiv

We present a theory-first framework that interprets inference-time adaptation in large language models (LLMs) as online Bayesian state estimation. Rather than modeling rapid adaptation as implicit optimization or meta-learning, we formulate task- and context-specific learning as the sequential inference of a low-dimensional latent adaptation state governed by a linearized state-space model. Under Gaussian assumptions, adaptation follows a Kalman recursion with closed-form updates for both the posterior mean and covariance. This perspective elevates epistemic uncertainty to an explicit dynamical variable. We show that inference-time learning is driven by covariance collapse, i.e., rapid contraction of posterior uncertainty induced by informative tokens, which typically precedes convergence of the posterior mean. Using observability conditions on token-level Jacobians, we establish stability of the Bayesian filter, prove exponential covariance contraction rates, and derive mean-square error bounds. Gradient descent, natural-gradient methods, and meta-learning updates arise as singular, noise-free limits of the filtering dynamics, positioning optimization-based adaptation as a degenerate approximation of Bayesian inference. The resulting theory provides a unified probabilistic account of in-context learning, parameter-efficient adaptation, and test-time learning without parameter updates. It yields explicit guarantees on stability and sample efficiency, offers a principled interpretation of prompt informativeness via information accumulation, and clarifies the role of uncertainty dynamics absent from existing accounts. Minimal illustrative experiments corroborate the qualitative predictions of the theory.

📄 PDF Abstract BibTeX arXiv:2601.06100

Code (0)

등록된 구현이 없습니다.

Tasks

Bayesian Inference

Similar Papers 제목 키워드 기반

Bayesian Natural Gradient Fine-Tuning of CLIP Models via Kalman Filtering

2025-11-03 · Hossein Abdi, Mingfei Sun, Wei Pan arxiv

Vision-language pre-trained models, such as CLIP, have established new benchmarks in multimodal data mining. In such models, few-shot fine-tuning is a major challenge to achieve optimal performance on both in-distributio…

Image ClassificationBayesian Inference

Convolutional Bayesian Filtering

2024-03-30 · Wenhan Cao, Shiqi Liu, Chang Liu, Zeyu He 외

Bayesian filtering serves as the mainstream framework of state estimation in dynamic systems. Its standard version utilizes total probability rule and Bayes' law alternatively, where how to define and compute conditional…

State Estimation

Hybrid Adaptive Kalman Filtering for Data-Efficient Joint Tracking and Classification

2026-06-01 · Jiho Lee, Nisar R. Ahmed, Rebecca Russell arxiv

Kalman filtering performance is highly sensitive to model mismatch and noise covariance tuning. Learning-based approaches address these limitations but typically rely on supervised training with large datasets and do not…

Bayesian Inference

Affine-Mapping based Variational Ensemble Kalman Filter

2021-03-10 · Linjie Wen, Jinglai Li

We propose an affine-mapping based variational Ensemble Kalman filter for sequential Bayesian filtering problems with generic observation models. Specifically, the proposed method is formulated as to construct an affine …

Outlier-robust Kalman Filtering through Generalised Bayes

2024-05-09 · Gerardo Duran-Martin, Matias Altamirano, Alexander Y. Shestopaloff, Leandro Sánchez-Betancourt 외

We derive a novel, provably robust, and closed-form Bayesian update rule for online filtering in state-space models in the presence of outliers and misspecified measurement models. Our method combines generalised Bayesia…

Bayesian InferenceComputational EfficiencyObject TrackingState Estimation+1