Explore-then-Commit for Nonstationary Linear Bandits with Latent Dynamics

Sunmook Choi, Yahya Sattar, Yassir Jedra, Maryam Fazel, Sarah Dean · OpenReview

Abstract

We study a nonstationary bandit problem where rewards depend on both actions and latent states, the latter governed by unknown linear dynamics. Crucially, the state dynamics also depend on the actions, resulting in tension between short-term and long-term rewards. We propose an explore-then-commit algorithm for a finite horizon $T$. During the exploration phase, random Rademacher actions enable estimation of the Markov parameters of the linear dynamics, which characterize the action-reward relationship. In the commit phase, the algorithm uses the estimated parameters to design an optimized action sequence for long-term reward. Our proposed algorithm achieves $\tilde{\mathcal{O}}(T^{2/3})$ regret. Our analysis handles two key challenges: learning from temporally correlated rewards, and designing action sequences with optimal long-term reward. We address the first challenge by providing near-optimal sample complexity and error bounds for system identification using bilinear rewards. We address the second challenge by proving an equivalence with indefinite quadratic optimization over a hypercube, a known NP-hard problem. We provide a sub-optimality guarantee for this problem, enabling our regret upper bound. Lastly, we propose a semidefinite relaxation with Goemans-Williamson rounding as a practical approach.

Introduction

In classical multi-armed bandit problems, actions typically have no lasting impact on the environment. However, many real-world applications, such as personalized recommendations or automated trading, involve nonstationary systems with memory. In these settings, a current action might yield a small immediate reward but push the system into a latent state that enables larger rewards in the future.

This paper addresses a bandit problem where rewards are a bilinear function of the current action and an unobserved latent state. This state evolves according to unknown linear dynamics influenced by the learner's actions. This setup introduces two primary challenges:

  1. Temporal Correlation: Actions affect future states, making rewards temporally correlated and complicating parameter estimation.
  2. Optimization Complexity: Even with perfect system knowledge, finding the optimal action sequence is equivalent to solving an indefinite quadratic problem over a hypercube, which is NP-hard.
Graphical model of the nonstationary bandit with latent linear dynamics.

Methodology

The authors propose a two-phase Explore-then-Commit (ETC) framework to navigate the exploration-exploitation trade-off.

Exploration Phase

The learner executes random "Rademacher" actions (choosing $\pm 1$ for each action dimension). The resulting trajectory is used to estimate the system's Markov parameters ($CA^kB$) via least-squares regression. A key insight is that identifying the full internal state-space model is unnecessary; the input-output Markov representation is a sufficient statistic for optimal action selection. By exploiting sub-Gaussian noise structures, the authors provide sharp estimation error bounds of $\tilde{O}(1/\sqrt{H})$.

Commit Phase

Using the estimated parameters, the learner solves for an optimized action sequence for the remaining horizon. Since the optimal sequence always lies on the vertices of the action hypercube, the problem is framed as Quadratic Unconstrained Binary Optimization (QUBO). To circumvent NP-hardness, the algorithm employs a Semidefinite Programming (SDP) relaxation combined with Goemans-Williamson rounding, providing strong approximation guarantees.

Experimental Results

The algorithm was validated using synthetic datasets where matrices $A, B, C$ were randomly generated and scaled for stability. The experiments compared the SDP-based approach against a "Sign-Iteration" heuristic and a brute-force global optimum for small-scale instances.

Performance evaluation showing cumulative reward, regret, and estimation error across different system parameters.

Key findings include:

  • Regret Performance: The algorithm achieves the theoretical regret bound of $\tilde{O}(T^{2/3})$, balancing exploration loss with estimation error.
  • Estimation Efficiency: Sample complexity scales optimally at $\tilde{O}(p^2L^2)$ relative to the Markov parameter dimensions.
  • Optimization Robustness: The SDP + Goemans-Williamson approach consistently outperformed simpler heuristics and remained close to the brute-force optimum as the horizon $T$ increased.
  • System ID Dynamics: A "double descent" phenomenon was observed in parameter estimation (seen in plots c and d), where error peaks when the number of parameters matches the data points before dropping as the system becomes overdetermined.

Conclusion

This work provides a robust framework for nonstationary bandits with latent dynamics. By bridging control theory and combinatorial optimization, the authors achieve sublinear regret in a computationally challenging setting. Future work may explore closed-loop adaptive policies to improve performance over the current open-loop commit phase, as well as extending the model to non-linear dynamics using kernel methods or neural networks.

Summary updated

BibTeX
@inproceedings{choi2026explore,
  author = {Sunmook Choi and Yahya Sattar and Yassir Jedra and Maryam Fazel and Sarah Dean},
  title = {{Explore-then-Commit for Nonstationary Linear Bandits with Latent Dynamics}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=2gbhbWlmQq},
}
Figure