Papers
Topics
Authors
Recent
Search
2000 character limit reached

Kalman-UCB in Linear Bandits

Updated 14 July 2026
  • Kalman-UCB is an optimism-based method that uses Kalman filtering to predict latent state dynamics in linear bandits.
  • It computes an upper confidence bonus from the predictive variance of the latent state projected along actions to drive exploration in nonstationary, partially observed settings.
  • The method balances immediate reward prediction with long-term state estimation, outperforming traditional bandit algorithms when system parameters are reliably known.

Searching arXiv for the specified paper and closely related bandit/state-space work. Kalman Filter Upper Confidence Bound (Kalman-UCB) is an optimism-based action-selection method for a linear bandit in which the unknown linear parameter is not static but is instead the hidden state of a known Linear Gaussian Dynamical System (LGDS). In the formulation introduced in "A Control Theory inspired Exploration Method for a Linear Bandit driven by a Linear Gaussian Dynamical System" (Gornet et al., 1 Oct 2025), the learner observes only the scalar reward associated with the chosen action, while the latent state evolves over time according to linear Gaussian dynamics. Kalman-UCB combines one-step Kalman state prediction with an upper-confidence-style exploration bonus derived from the predictive uncertainty of the latent state projected onto an action direction. The method is presented alongside IDEA as one of two algorithms for balancing exploration and exploitation in this nonstationary, partially observed bandit setting (Gornet et al., 1 Oct 2025).

1. Problem formulation

The model begins from a standard linear bandit reward equation,

Xt=at,z+ηt,X_t = \left\langle a_t, z \right\rangle + \eta_t,

and replaces the fixed unknown parameter zz by a time-varying latent state ztz_t generated by a known LGDS: {zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases} Here atARda_t \in \mathcal A \subseteq \mathbb R^d is the chosen action, XtRX_t\in\mathbb R is the observed reward, ΓRd×d\Gamma\in\mathbb R^{d\times d} is the known state transition matrix, and the noises satisfy

ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),

with Q0Q \succeq \mathbf 0 and σ>0\sigma > 0 (Gornet et al., 1 Oct 2025).

The action set is constrained by

zz0

so actions lie on the unit sphere, or on a subset of it. The horizon zz1 is assumed known. The paper distinguishes between known quantities—zz2, zz3, zz4, zz5, zz6, and zz7—and unknown online quantities, notably the latent state zz8, the rewards of unplayed actions, and the oracle-optimal action zz9, which depends on ztz_t0 (Gornet et al., 1 Oct 2025).

The learner’s objective is to maximize cumulative reward

ztz_t1

equivalently expressed through the optimization problem

ztz_t2

Regret is defined as

ztz_t3

where

ztz_t4

For the continuous unit-sphere case, this oracle action is the action aligned with ztz_t5 (Gornet et al., 1 Oct 2025).

2. Motivation and structural departures from standard UCB

The principal departure from ordinary linear or arm-wise UCB is that the reward process is nonstationary and coupled across actions through a common latent state. The paper identifies three reasons standard UCB-style methods are insufficient in this setting: the rewards are nonstationary because ztz_t6 evolves; rewards across actions are coupled through the same latent state; and observing one action gives information about the hidden state, which can improve predictions for many other actions (Gornet et al., 1 Oct 2025).

This structural coupling makes Kalman filtering natural, because the environment is exactly a linear Gaussian state-space model and the Kalman filter is the optimal one-step state predictor in mean-squared error. The predicted expected reward for action ztz_t7, conditioned on the history up to time ztz_t8, is

ztz_t9

where {zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}0 is the one-step predictor produced by the filter (Gornet et al., 1 Oct 2025).

The paper also emphasizes that dynamic programming is intractable because action selection and state estimation are coupled: the chosen action affects both immediate reward and future estimation quality through the covariance update. Its Theorem 1 states that the separation principle fails in the bandit setting with partial observation. This motivates approximate optimism-based methods such as Kalman-UCB (Gornet et al., 1 Oct 2025).

The observation equation may be rewritten as

{zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}1

which makes explicit that each action determines the measurement direction. This measurement geometry connects the bandit problem to observability. The paper defines the observability Gramian as

{zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}2

and says the system is observable from round {zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}3 to {zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}4 if this Gramian is positive definite (Gornet et al., 1 Oct 2025).

3. Algorithmic definition of Kalman-UCB

Kalman-UCB is introduced as an optimism-based policy of the form

{zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}5

with the specific Kalman-UCB action-selection rule

{zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}6

This is Algorithm 1 in the paper (Gornet et al., 1 Oct 2025).

The exploration bonus is derived from the confidence statement

{zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}7

with probability at least {zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}8, {zt+1=Γzt+ξt,z0N(0,Σ0) Xt=at,zt+ηt.\begin{cases} z_{t+1} = \Gamma z_t + \xi_t, \quad z_0 \sim \mathcal N(\mathbf 0,\Sigma_0)\ X_t = \left\langle a_t, z_t\right\rangle + \eta_t . \end{cases}9. The corresponding confidence-parameterized score is

atARda_t \in \mathcal A \subseteq \mathbb R^d0

The paper then removes the term atARda_t \in \mathcal A \subseteq \mathbb R^d1 because it is independent of atARda_t \in \mathcal A \subseteq \mathbb R^d2, and Algorithm 1 uses the simplified score with exploration coefficient effectively equal to atARda_t \in \mathcal A \subseteq \mathbb R^d3 (Gornet et al., 1 Oct 2025).

The uncertainty quantity used by Kalman-UCB is the predictive variance of the latent-state contribution to reward,

atARda_t \in \mathcal A \subseteq \mathbb R^d4

If measurement noise is included, the predictive reward variance is

atARda_t \in \mathcal A \subseteq \mathbb R^d5

but action selection depends only on

atARda_t \in \mathcal A \subseteq \mathbb R^d6

because atARda_t \in \mathcal A \subseteq \mathbb R^d7 is action-independent. Accordingly, the confidence term is based on predictive state uncertainty projected along action direction atARda_t \in \mathcal A \subseteq \mathbb R^d8, rather than on posterior variance after update (Gornet et al., 1 Oct 2025).

Operationally, the procedure is: predict the hidden state atARda_t \in \mathcal A \subseteq \mathbb R^d9 using the Kalman filter to obtain XtRX_t\in\mathbb R0 and XtRX_t\in\mathbb R1; for every candidate action compute the predicted reward XtRX_t\in\mathbb R2 and bonus XtRX_t\in\mathbb R3; choose the action with maximum optimistic score; observe only the reward for that action; and update the hidden-state posterior with the scalar observation (Gornet et al., 1 Oct 2025).

4. Kalman filter recursion and state-estimation role

Kalman-UCB uses the Kalman filter in one-step predictor form. The paper gives the recursion

XtRX_t\in\mathbb R4

with

XtRX_t\in\mathbb R5

The paper also presents Assumption 2: the matrix pair XtRX_t\in\mathbb R6 is controllable, and states that this is necessary for existence of the Kalman filter (Gornet et al., 1 Oct 2025).

The filter quantities are defined in the standard way. The filtered estimate is

XtRX_t\in\mathbb R7

the one-step predictor is XtRX_t\in\mathbb R8, the prediction error is

XtRX_t\in\mathbb R9

and ΓRd×d\Gamma\in\mathbb R^{d\times d}0 is the covariance of ΓRd×d\Gamma\in\mathbb R^{d\times d}1. The paper further states that ΓRd×d\Gamma\in\mathbb R^{d\times d}2 converges if ΓRd×d\Gamma\in\mathbb R^{d\times d}3 is detectable and ΓRd×d\Gamma\in\mathbb R^{d\times d}4 is controllable (Gornet et al., 1 Oct 2025).

Reward prediction follows directly from the latent-state estimate: ΓRd×d\Gamma\in\mathbb R^{d\times d}5 The predictive variance of the latent component is

ΓRd×d\Gamma\in\mathbb R^{d\times d}6

while the variance of the observed reward is

ΓRd×d\Gamma\in\mathbb R^{d\times d}7

This is the direct statistical source of the Kalman-UCB exploration bonus (Gornet et al., 1 Oct 2025).

A typographical issue is explicitly identifiable in the formulas as printed: ΓRd×d\Gamma\in\mathbb R^{d\times d}8 uses denominator ΓRd×d\Gamma\in\mathbb R^{d\times d}9, while ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),0 is written with ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),1. This suggests a typographical inconsistency, since the confidence derivation and the ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),2 expression both use ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),3 (Gornet et al., 1 Oct 2025).

5. Theoretical properties and regret status

The theoretical treatment does not include a standalone regret theorem specifically for Kalman-UCB of the type common in stationary bandit analysis. Instead, the paper provides a general regret upper bound for any optimism-based method, a Kalman-UCB-specific lemma on periodic exploration, confidence-bound motivation from predictive Gaussian uncertainty, and lower bounds showing that regret is inherently linear in the LGDS environment (Gornet et al., 1 Oct 2025).

For any policy of the form

ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),4

Theorem 4 gives

ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),5

For Kalman-UCB,

ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),6

or in the confidence-parameterized variant,

ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),7

The paper notes that because ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),8, the upper bound increases at least linearly (Gornet et al., 1 Oct 2025).

The lower-bound analysis is environment-level rather than algorithm-specific. For the continuous unit-sphere action set, the paper proves

ξtN(0,Q),ηtN(0,σ2),\xi_t \sim \mathcal N(\mathbf 0,Q), \qquad \eta_t \sim \mathcal N(0,\sigma^2),9

where

Q0Q \succeq \mathbf 00

In the stable steady-state case, it gives

Q0Q \succeq \mathbf 01

These results are used to justify why logarithmic regret is not the target in this setting (Gornet et al., 1 Oct 2025).

The most specific theoretical statement about Kalman-UCB is Lemma 3. Let Q0Q \succeq \mathbf 02 solve the algebraic Riccati equation

Q0Q \succeq \mathbf 03

If for every action Q0Q \succeq \mathbf 04 there exists another action Q0Q \succeq \mathbf 05 such that

Q0Q \succeq \mathbf 06

then every action Q0Q \succeq \mathbf 07 will be sampled periodically. The paper interprets this as an implicit periodic exploration schedule induced by the covariance dynamics under repeated measurements with one action (Gornet et al., 1 Oct 2025).

6. Relation to IDEA, observability, and performance-prediction metric

Kalman-UCB is presented together with Information filter Directed Exploration Action-selection (IDEA). The two methods differ in what they regard as the relevant exploration signal. Kalman-UCB selects actions by

Q0Q \succeq \mathbf 08

so it explores based on reward prediction uncertainty for that action. IDEA instead uses

Q0Q \succeq \mathbf 09

and therefore values how much an action reduces future state-prediction error through Kalman feedback (Gornet et al., 1 Oct 2025).

The paper states that Kalman-UCB explores actions with the highest reward prediction error, and that this can be advantageous if the LGDS lacks an observable action σ>0\sigma > 00. IDEA is said to be beneficial if there exists an action that minimizes reward prediction error for all other actions, namely a single especially informative action. Observability is thus central to IDEA and only indirect for Kalman-UCB: the Kalman-UCB bonus is local, σ>0\sigma > 01, while IDEA’s exploration term reflects covariance reduction after measurement (Gornet et al., 1 Oct 2025).

To predict which method will perform better, the paper develops a metric based on a Wasserstein-type distance between the optimism-based action-selection distribution and the oracle distribution. It defines

σ>0\sigma > 02

and

σ>0\sigma > 03

The metric is

σ>0\sigma > 04

and performance is summarized by the interval

σ>0\sigma > 05

where σ>0\sigma > 06 is the steady-state covariance solving σ>0\sigma > 07. The paper interprets σ>0\sigma > 08 as quantifying how much the optimism term distorts action selection away from the oracle, with smaller σ>0\sigma > 09 indicating less harmful perturbation (Gornet et al., 1 Oct 2025).

7. Empirical evaluation, applications, and limitations

The experiments compare Kalman-UCB with IDEA, KODE, UCB, Rexp3, OFUL, Random Agent, and a benchmark labeled Kalman Oracle Action-selection. The environment generation uses zz00, zz01 random LGDS instances per distribution, 10 interactions per algorithm per LGDS, horizon zz02, and an initial state prepared by running the LGDS for zz03 iterations. Random system entries are drawn independently from Gaussian, Uniform, Exponential, Cauchy, or Bernoulli distributions; if zz04, then the state transition matrix is normalized to spectral radius zz05 by

zz06

Noise is constructed as

zz07

with zz08 and zz09 (Gornet et al., 1 Oct 2025).

The principal reported metric is fractional difference of regret relative to Kalman Oracle Action-selection, where lower is better and zero would match oracle performance. The table entries for Kalman-UCB are:

Method Gaussian Cauchy Uniform
Kalman UCB 1.52 (0.95) 2.40 (12.44) 0.90 (0.45)
Method Bernoulli Exponential
Kalman UCB 0.44 (0.22) 0.57 (0.26)

For IDEA, the corresponding values are 1.37 (0.86), 1.82 (8.25), 0.84 (0.43), 0.11 (0.08), and 0.08 (0.07) (Gornet et al., 1 Oct 2025).

The paper interprets these results as showing that Kalman-UCB is significantly better than conventional bandit baselines such as UCB, OFUL, Rexp3, and Random Agent, while IDEA is usually better than Kalman-UCB, especially for Bernoulli- and Exponential-generated systems. For Gaussian, Cauchy, and Uniform distributions, Kalman-UCB and IDEA are often close. The paper attributes the superiority of Kalman-UCB and IDEA over classic bandits to the use of the Kalman-filter state predictor zz10, which has much lower error than arm-wise statistics (Gornet et al., 1 Oct 2025).

A direct Kalman-UCB versus IDEA scatter plot shows that the two methods are often comparable for Gaussian, Cauchy, and Uniform systems, whereas IDEA consistently outperforms Kalman-UCB for Bernoulli and Exponential systems. This is reported to match the comparison metric based on zz11 (Gornet et al., 1 Oct 2025).

The robustness analysis perturbs the model used by the algorithms through zz12, the actions zz13, and zz14. For perturbing zz15, the reported median performance decrease is zz16 for KODE, zz17 for IDEA, and zz18 for Kalman-UCB. For perturbing actions, the reported decrease is zz19 for KODE, zz20 for IDEA, and zz21 for Kalman-UCB. The paper interprets this as indicating that Kalman-UCB is less robust than KODE and IDEA to zz22-misspecification, but relatively less sensitive to action perturbation than IDEA and KODE (Gornet et al., 1 Oct 2025).

The paper also motivates the framework through hyperparameter optimization. In that interpretation, each action corresponds to a hyperparameter configuration, the hidden state zz23 captures latent training dynamics or performance factors over training time, and the reward

zz24

is the observed performance of the chosen configuration at round zz25. The paper states that large action spaces are a major problem in hyperparameter optimization because they hinder methods inspired by optimism in the face of uncertainty, which must explore each action to lower reward prediction uncertainty. This is one reason IDEA may be preferable there (Gornet et al., 1 Oct 2025).

Kalman-UCB’s main limitations in the paper are explicit. It requires known system parameters zz26; it can be less effective than IDEA when one action strongly improves observability of the whole state; large action spaces can disadvantage optimism-based methods because they tend to reduce uncertainty action by action; and performance degrades under system misspecification (Gornet et al., 1 Oct 2025). A plausible implication is that Kalman-UCB is most natural when the LGDS specification is reliable and when per-action predictive uncertainty is a more useful exploration signal than global state observability.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Kalman Filter Upper Confidence Bound (Kalman-UCB).