Skip to main content
QUICK REVIEW

[논문 리뷰] Filtering Beats Fine Tuning: A Bayesian Kalman View of In Context Learning in LLMs

Andrew Kiruluta|arXiv (Cornell University)|2026. 01. 02.
Domain Adaptation and Few-Shot LearningComputer Science인용 수 0
한 줄 요약

이 논문은 LLM의 맥락 내 학습을 칼만 필터링을 이용한 온라인 베이즈 상태 추정으로 모델링하며, 파라미터 업데이트 없이 정보 기반의 신속한 적응을 이끄는 불확실성 다이내믹을 지닌 저차원 잠재적 적응 상태를 다룬다.

ABSTRACT

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.

연구 동기 및 목표

  • LLM에서 추론-시점 적응을 이론 우선 관점으로 제시하고, 적응을 순차적 베이즈 상태 추정으로 다룬다.
  • 선행 학습된 모델로부터의 작업-맥락 특이적 편차를 매개화하기 위해 저차원 잠재적 적응 상태를 도입한다.
  • 가시성(관찰 가능성) 조건 하에서 공분산 수축, 안정성 및 샘플 효율성에 대한 형식적 해석을 제공한다.

제안 방법

  • 효과 매개변수가 θ_t = θ_0 + B x_t 이고 x_t가 잠재 상태인 선형화된 상태 공간 모델을 제안한다.
  • 토큰별 음의 로그 우도를 선형화된 관측으로 모델링한다: ℓ_t ≈ ℓ_t^(0) + ∇_θ ℓ_t^T B x_t + v_t with v_t ∼ N(0, R_t).
  • 칼만 필터(또는 확장 칼만 필터)를 적용하여 사후 분포 p(x_t | D_t)를 평균 μ_t와 공분산 P_t로 업데이트한다.
  • 정보형(정밀도) 칼만 업데이트를 사용하여 정보 누적의 단조성 및 공분산 수축을 보인다.
  • 가시성 가정하에서 안정성 및 수렴 결과를 유도하고, 그래디언트 기반 방법을 필터링의 특이하고 노이즈 없는 극한으로 관계짓는다.

실험 결과

연구 질문

  • RQ1LLM의 추론-시점 적응을 엄밀하게 순차 베이즈 상태 추정으로 모델링할 수 있는가?
  • RQ2프롬프트 토큰을 통한 정보 누적이 사후 불확실성과 적응 속도에 어떤 영향을 미치는가?
  • RQ3이 필터링 프레임워크에서 안정성, 불확실성의 수축 및 평균제곱오차에 대해 어떤 보장이 가능한가?
  • RQ4관측 노이즈가 소멸하는 극한에서 그래디언트 기반 업데이트는 칼만 필터와 어떻게 관계되는가?
  • RQ5프롬프트의 정보성이 파라미터 업데이트 없이 효율적인 테스트-타임 적응을 가능하게 하는 데 어떤 역할을 하는가?

주요 결과

  • 추론-시점 학습은 명시적 사후 불확실성 다이내믹스를 가진 베이지안 필터링으로 나타난다.
  • 공분산은 가시성과 프롬프트로부터의 정보 누적 하에 지수적으로 수축한다.
  • 사후 평균 오차는 불확실성이 수축함에 따라 감소하는 항으로 경계되며, 정확한 상태 수렴 이전에 빠른 개선을 보인다.
  • 경사하강법 및 자연경사법은 칼만 업데이트의 특이하고 노이즈 없는 극한으로 보이며 주된 메커니즘이 아니다.
  • 프롬프트는 실험처럼 작동한다; 그들의 정보 내용은 관측 가능성 그라미언을 통해 학습 가능성을 좌우한다.
  • 칼만 기반 학습은 안정성 보장을 제공하고, 적은 샷 일반화에 대한 프롬프트 정보성에 대한 원칙적 해석을 제공한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.