Optimistic Online LQR via Intrinsic Rewards

Marcell Bartos, Bruce D. Lee, Lenart Treven, Andreas Krause, Florian Dörfler, Melanie N. ZeilingerarXiv 2026

TL;DR

The paper introduces Intrinsic Rewards LQR (IR-LQR), a novel online reinforcement learning algorithm for unknown linear dynamical systems. By incorporating uncertainty-driven exploration bonuses directly into the LQR cost function, IR-LQR achieves the theoretical optimal worst-case regret rate of $\mathcal{O}(\sqrt{T})$. Crucially, it preserves the simple, computationally cheap structure of standard LQR synthesis, outperforming existing optimistic methods in computational speed by orders of magnitude.

What Problem Does This Paper Address?

Controlling an unknown linear dynamical system while minimizing a quadratic cost function is a foundational challenge in reinforcement learning and adaptive control, known as the online Linear Quadratic Regulator (LQR) problem. To succeed, an agent must navigate the exploration-exploitation tradeoff: it needs to explore the system to learn its dynamics while simultaneously exploiting its current knowledge to minimize control costs.

Existing approaches generally fall into two camps, both with significant drawbacks:

  1. Naive/Undirected Exploration: Methods like Thompson Sampling or $\epsilon$-greedy inject random noise into the control actions. While computationally simple, this undirected exploration can be highly inefficient.
  2. Optimism in the Face of Uncertainty (OFU): These methods choose the best possible system model within a confidence interval. While statistically efficient and achieving optimal regret, they require solving complex, computationally demanding semidefinite programs (SDPs) or iterative searches at every step, making them impractical for high-dimensional or real-time systems.

The authors tackle this gap by designing an algorithm that is both statistically optimal (achieving directed, uncertainty-aware exploration) and computationally efficient (retaining the simple structure of standard LQR).

Methods

IR-LQR achieves the best of both worlds by leveraging the concept of intrinsic rewards (or exploration bonuses) framed as variance regularization.

The algorithm operates in epochs and consists of two main steps:

  • Parameter Estimation: The algorithm uses a projected regularized least-squares estimator to maintain an estimate of the unknown system dynamics ($\hat{\Theta}_t$) and tracks its uncertainty via an empirical covariance matrix ($V_t$).
  • Cost Modification (Exploration Bonus): Instead of solving a complex optimization problem over a set of possible models, IR-LQR modifies the LQR cost function itself. It subtracts an exploration bonus matrix, $V_t = g_t V_t^{-1}$, from the state and input weight matrices. This reduces the penalty in directions of the state-action space where the system is highly uncertain, naturally incentivizing the controller to visit those regions.

Because the modification only alters the cost matrices, the underlying optimization remains a standard, generalized LQR synthesis problem solvable via the discrete algebraic Riccati equation (DARE). If the cost becomes unbounded below, the algorithm seamlessly switches to an exact SDP fallback procedure, though experiments show this fallback is rarely needed in practice.

Datasets

The algorithm was evaluated using numerical simulations on two classic control benchmarks:

  1. Aircraft Pitch Angle Control: A standard aerospace benchmark focused on regulating an aircraft's pitch.
  2. 2D Unmanned Aerial Vehicle (UAV) Control: A more complex dynamical system taken from recent literature to test multi-dimensional state-space performance.

Key Insights and Ideas

  • Preserving LQR Structure: The core "aha moment" is that uncertainty-driven exploration can be entirely encoded into the quadratic stage cost. This avoids the need to optimize over a family of dynamical systems, reducing a complex robust control problem back down to standard LQR synthesis.
  • Horizon-Independent Initialization: Unlike competing optimistic algorithms (such as OSLO or LagLQ) which require the accuracy of the initial system estimate to scale with the time horizon $T$, IR-LQR's initial accuracy requirement is $\mathcal{O}(1)$—completely independent of $T$.

Key Results

As summarized in the paper's comparative analysis, IR-LQR matches the best theoretical properties of state-of-the-art algorithms while eliminating noise injection and heavy computational requirements:

TABLE I: Comparison of online LQR algorithms.

In empirical evaluations, IR-LQR demonstrated exceptional performance across both benchmarks:

  • Regret: It achieved the lowest median cumulative regret compared to Thompson Sampling (TS), Certainty Equivalence with Persistent Excitation (CEC+PE), LagLQ, and OSLO.
  • Computation Time: Most notably, IR-LQR executed controller updates an order of magnitude faster than other optimistic methods (LagLQ and OSLO), matching the speed of naive exploration methods.
Fig. 1: Comparison of online LQR methods on the aircraft pitch angle control (top) and unmanned aerial vehicle (bottom) examples, in terms of cumulative regret (left), number of controller updates (middle), and wall-clock time per controller update (right). The median is shown together with bootstrap confidence intervals (60%) across runs. (40 samples, T = 200)

Limitations and Future Work

  • Initial Stabilizing Controller: The theoretical guarantees rely on starting with a "good enough" initial guess (a stabilizing controller). While common in online LQR literature, it requires a warm-up phase or prior domain knowledge in practice.
  • Hyperparameter Tuning: The theoretical scaling factors for the exploration bonus ($g_t$) depend on system constants that are unknown in practice, meaning the algorithm still requires empirical hyperparameter tuning (e.g., via cross-validation) to perform optimally.
  • Extension to Non-linear Systems: While this work strictly focuses on linear systems, extending this computationally efficient intrinsic reward framework to non-linear systems remains an open and exciting direction.

Summary updated

BibTeX
@misc{bartos2026optimistic,
  author = {Marcell Bartos and Bruce D. Lee and Lenart Treven and Andreas Krause and Florian Dörfler and Melanie N. Zeilinger},
  title = {{Optimistic Online LQR via Intrinsic Rewards}},
  year = {2026},
  eprint = {2603.28938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.28938},
}
Figure