Kalman-UCB in Linear Bandits
- 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,
and replaces the fixed unknown parameter by a time-varying latent state generated by a known LGDS: Here is the chosen action, is the observed reward, is the known state transition matrix, and the noises satisfy
with and (Gornet et al., 1 Oct 2025).
The action set is constrained by
0
so actions lie on the unit sphere, or on a subset of it. The horizon 1 is assumed known. The paper distinguishes between known quantities—2, 3, 4, 5, 6, and 7—and unknown online quantities, notably the latent state 8, the rewards of unplayed actions, and the oracle-optimal action 9, which depends on 0 (Gornet et al., 1 Oct 2025).
The learner’s objective is to maximize cumulative reward
1
equivalently expressed through the optimization problem
2
Regret is defined as
3
where
4
For the continuous unit-sphere case, this oracle action is the action aligned with 5 (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 6 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 7, conditioned on the history up to time 8, is
9
where 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
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
2
and says the system is observable from round 3 to 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
5
with the specific Kalman-UCB action-selection rule
6
This is Algorithm 1 in the paper (Gornet et al., 1 Oct 2025).
The exploration bonus is derived from the confidence statement
7
with probability at least 8, 9. The corresponding confidence-parameterized score is
0
The paper then removes the term 1 because it is independent of 2, and Algorithm 1 uses the simplified score with exploration coefficient effectively equal to 3 (Gornet et al., 1 Oct 2025).
The uncertainty quantity used by Kalman-UCB is the predictive variance of the latent-state contribution to reward,
4
If measurement noise is included, the predictive reward variance is
5
but action selection depends only on
6
because 7 is action-independent. Accordingly, the confidence term is based on predictive state uncertainty projected along action direction 8, rather than on posterior variance after update (Gornet et al., 1 Oct 2025).
Operationally, the procedure is: predict the hidden state 9 using the Kalman filter to obtain 0 and 1; for every candidate action compute the predicted reward 2 and bonus 3; 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
4
with
5
The paper also presents Assumption 2: the matrix pair 6 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
7
the one-step predictor is 8, the prediction error is
9
and 0 is the covariance of 1. The paper further states that 2 converges if 3 is detectable and 4 is controllable (Gornet et al., 1 Oct 2025).
Reward prediction follows directly from the latent-state estimate: 5 The predictive variance of the latent component is
6
while the variance of the observed reward is
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: 8 uses denominator 9, while 0 is written with 1. This suggests a typographical inconsistency, since the confidence derivation and the 2 expression both use 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
4
Theorem 4 gives
5
For Kalman-UCB,
6
or in the confidence-parameterized variant,
7
The paper notes that because 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
9
where
0
In the stable steady-state case, it gives
1
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 2 solve the algebraic Riccati equation
3
If for every action 4 there exists another action 5 such that
6
then every action 7 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
8
so it explores based on reward prediction uncertainty for that action. IDEA instead uses
9
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. 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, 1, 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
2
and
3
The metric is
4
and performance is summarized by the interval
5
where 6 is the steady-state covariance solving 7. The paper interprets 8 as quantifying how much the optimism term distorts action selection away from the oracle, with smaller 9 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 00, 01 random LGDS instances per distribution, 10 interactions per algorithm per LGDS, horizon 02, and an initial state prepared by running the LGDS for 03 iterations. Random system entries are drawn independently from Gaussian, Uniform, Exponential, Cauchy, or Bernoulli distributions; if 04, then the state transition matrix is normalized to spectral radius 05 by
06
Noise is constructed as
07
with 08 and 09 (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 10, 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 11 (Gornet et al., 1 Oct 2025).
The robustness analysis perturbs the model used by the algorithms through 12, the actions 13, and 14. For perturbing 15, the reported median performance decrease is 16 for KODE, 17 for IDEA, and 18 for Kalman-UCB. For perturbing actions, the reported decrease is 19 for KODE, 20 for IDEA, and 21 for Kalman-UCB. The paper interprets this as indicating that Kalman-UCB is less robust than KODE and IDEA to 22-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 23 captures latent training dynamics or performance factors over training time, and the reward
24
is the observed performance of the chosen configuration at round 25. 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 26; 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.