Data-driven optimal control with a relaxed linear program

Andrea Martinelli, Matilde Gargiani, John LygerosAutomatica 2022 · DOI

Researchers at ETH Zurich have introduced a more efficient way to solve optimal control problems using data. By "relaxing" the standard mathematical requirements of the Bellman equation, the authors create a Linear Programming (LP) approach that is significantly more scalable and computationally efficient than traditional methods, particularly for high-dimensional systems.

The Challenge of High-Dimensional Control

Optimal control—finding the best way to steer a system (like a robot or a power grid) to minimize costs—is often solved via Dynamic Programming. However, this faces the "curse of dimensionality": as the number of states and inputs grows, the computational cost explodes.

One popular workaround is the Linear Programming (LP) approach to Approximate Dynamic Programming (ADP). While theoretically elegant, the standard LP formulation for $q$-functions (which represent the cost of taking an action in a specific state) is cumbersome. It requires two sets of decision variables and complex nested constraints to handle the "minimization" step inside the Bellman equation. This makes it difficult to scale to complex, data-driven scenarios where the system's underlying physics are unknown.

Innovation: The Relaxed Bellman Operator

The core innovation is the Relaxed Bellman Operator ($\hat{F}$). In standard Reinforcement Learning, the Bellman operator involves an expectation over a minimization: $\mathbb{E}[\min_w q(x^+, w)]$. This is hard to turn into a simple linear constraint. The authors propose swapping these: $\min_w \mathbb{E}[q(x^+, w)]$.

By using this operator, they construct a Relaxed Linear Program (RLP) that only requires the $q$-function as a decision variable, eliminating the need for the value function $v$ as a separate variable. This results in half the decision variables and only one family of constraints. The authors prove that this new relaxed operator is still a "monotone contraction mapping," guaranteeing the algorithm will converge to a unique fixed point.

Scalability and Performance

The RLP approach was tested against standard LP methods across various simulated environments, including Linear Time-Invariant (LTI) systems with dimensions ranging from 2 to 10.

Scalability and performance comparison of RLP vs standard LP across varying constraints and system dimensions.

As shown in Figure 6, the RLP demonstrates superior scalability. In higher-dimensional systems (up to $n_x = 10$), the RLP maintains a much smaller optimality gap and lower variance compared to the standard LP approach when using the same number of data samples. Furthermore, the computational time for RLP grows much more slowly as the number of constraints or system dimensions increases.

Application to Nonlinear Systems

While the theoretical guarantee of recovering the optimal policy holds strictly for linear systems, the authors also evaluated the RLP on a classic nonlinear benchmark: the inverted pendulum on a cart.

Performance comparison and state trajectories for the nonlinear cart-pole system.

In this nonlinear setting, the RLP successfully stabilized the system more efficiently than the standard LP. As detailed in Figure 2, the RLP achieved a slightly lower discounted cost ($2.91 \times 10^4$ vs $2.92 \times 10^4$) while being approximately 38% faster to solve (0.546s vs 0.884s). The state trajectories for both methods are remarkably similar, indicating that the relaxation does not compromise control quality in this scenario.

Conclusion

The Relaxed Linear Program offers a powerful alternative for data-driven optimal control. By simplifying the underlying mathematical structure of the Bellman operator, it achieves significant gains in computational speed and scalability without sacrificing policy quality in linear systems. Future work will explore more complex function classes and tighter error bounds for general nonlinear landscapes.

Summary updated

BibTeX
@article{martinelli2022data,
  author = {Andrea Martinelli and Matilde Gargiani and John Lygeros},
  title = {{Data-driven optimal control with a relaxed linear program}},
  journal = {Automatica},
  year = {2022},
  doi = {10.1016/j.automatica.2021.110052},
}
Figure