Skip to main content
QUICK REVIEW

[論文レビュー] Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Tracking

Vaisakh Shaj, Cameron Barker|arXiv (Cornell University)|Feb 11, 2026
Speech and dialogue systemsComputer Science被引用数 0
ひとこと要約

Kalman Linear Attention(KLA)を導入する。ベイズ推定に基づく並列可能なシーケンスミキサーで、言語モデリングのための不確実性を考慮した非線形更新を線形時間複雑度で提供する。現代のSSM/GLAアプローチと同等かそれ以上の性能を発揮しつつ、明示的な信念-stateの不確実性を提供する。

ABSTRACT

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.

研究の動機と目的

  • シーケンスモデリングをベイズ推定として再構成し、 principledな不確実性の取引と改善された状態追跡を可能にする。
  • ドロップインのニューラルシーケンスミキサーとして統合できる並列情報形式カルマンフィルタを開発する。
  • KLAがGLAを超える非線形更新とゲーティングを提供しつつ、線形時間スキャンを維持することを示す。
  • 言語モデリングタスクと長文-context/状態追跡ベンチマークで競争力のある性能を示す。

提案手法

  • 情報形式における対角線線形ガウスフィルタの再パラメータ化を行い、精度再帰がモビウス写像を形成し、結合的に合成可能であることを示す。
  • 精度比ゲートと非線形不確実性駆動ゲーティングを導入し、線形SSM/GLA更新を超える。
  • Kalman Linear Attention(KLA)レイヤを明示的な信念状態の不確実性とクエリベースのリードアウトを備えたドロップインミキサーとして定義する。
  • トークン証拠をノイズ観測として線形–ガウス状態空間モデルで表現し、潜在ダイナミクスのOUベース事前分布を用いる。
  • モビウスとアフィン走査を用いた並列推論を可能にし、O(T)の作業量とO(log T)の深さを実現する。
  • 確率分布後方平均ロジットのクロスエントロピーまたはトークン出力に対する周辺尤度の負を用いて訓練する。
Figure 1 : Minimum number of layers required to solve the $A_{5}$ (alternating group on 5 elements) permutation composition task (Merrill et al. , 2024 ) . KLA ’s fractional linear updates fall between a fully nonlinear RNN and linear SSMs/transformers, requiring only 1 or 2 layers to solve the task
Figure 1 : Minimum number of layers required to solve the $A_{5}$ (alternating group on 5 elements) permutation composition task (Merrill et al. , 2024 ) . KLA ’s fractional linear updates fall between a fully nonlinear RNN and linear SSMs/transformers, requiring only 1 or 2 layers to solve the task

実験結果

リサーチクエスチョン

  • RQ1Kalman様の更新を情報形式表現を介して並列化し、O(log T)の深さを維持できるか。
  • RQ2KLAはSSM/GLAの性能を上回るかつ不確実性を明示的に提供する非線形更新を提供し得るか。
  • RQ3KLAは既存の線形アテンションおよびSSM変種と比較して長い文脈の検索と状態追跡を改善するか。
  • RQ4KLAのスケーリング・精度・不確実性伝搬に最も寄与するアーキテクチャ選択は何か。
  • RQ5KLAは現代の言語モデルのミキサーのドロップイン置換として効率を犠牲にせず実現可能か。

主な発見

  • KLAの更新は並列プレフィックス走査で計算でき、スケーラブルなO(T)作業量とO(log T)の深さを実現する。
  • KLAは決定論的SSM/GLA更新を超える非線形で不確実性を考慮したゲーティングを提供しつつ、線形時間スキャン構造を保持する。
  • KLAは出力とともに明示的な信念状態の不確実性を提供するドロップインシーケンスミキサーとして機能する。
  • OUベースの事前分布と正確な離散化は安定した学習と正確な潜在ダイナミクスモデリングを支える。
  • KLAはシーケンス長の大規模化と合成LMタスク、長文-contextの連想リコール、状態追跡ベンチマークで強いスケーリングと競争力のある性能を達成する。
  • 分数線形精度追跡は履歴依存ゲーティングと線形SSM/GLAベースラインよりも強化された状態追跡を可能にする。
Figure 3 : Block architecture. The block follows the fused-MLP design of Mamba, with the Kalman Filter as a drop-in replacement for any SSM/Attention primitive.
Figure 3 : Block architecture. The block follows the fused-MLP design of Mamba, with the Kalman Filter as a drop-in replacement for any SSM/Attention primitive.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。