Abstract
Controlling systems of ordinary differential equations (ODEs) is ubiquitous in science and engineering. For finding an optimal feedback controller, the value function and associated fundamental equations such as the Bellman equation and the Hamilton-Jacobi-Bellman (HJB) equation are essential. The numerical treatment of these equations poses formidable challenges due to their non-linearity and their (possibly) high-dimensionality. In this paper we consider a finite horizon control system with associated Bellman equation. After a time-discretization, we obtain a sequence of short time horizon problems which we call local optimal control problems. For solving the local optimal control problems we apply two different methods, one being the well-known policy iteration, where a fixed-point iteration is required for every time step. The other algorithm borrows ideas from Model Predictive Control (MPC), by solving the local optimal control problem via open-loop control methods on a short time horizon, allowing us to replace the fixed-point iteration by an adjoint method. For high-dimensional systems we apply low rank hierarchical tensor product approximation/tree-based tensor formats, in particular tensor trains (TT tensors) and multi-polynomials, together with high-dimensional quadrature, e.g. Monte-Carlo. We prove a linear error propagation with respect to the time discretization and give numerical evidence by controlling a diffusion equation with unstable reaction term and an Allen-Kahn equation.
Introduction
Controlling complex dynamical systems, such as fluid dynamics or chemical reactions modeled by partial differential equations (PDEs), requires a feedback controller—a rule that maps a system's current state to an optimal action. The gold standard for finding this optimal feedback law is solving the Bellman equation or the Hamilton-Jacobi-Bellman (HJB) equation to determine the "value function."
However, these equations are notoriously difficult to solve because they are non-linear and suffer from the "curse of dimensionality." As the number of variables (dimensions) in the state space grows, the computational cost and memory required to represent the value function explode exponentially. Traditional approximation methods like splines or finite elements cannot handle high-dimensional spaces (e.g., 32 dimensions), leaving a massive gap in our ability to optimally control complex, real-world systems.
Methodology
Backwards Solution to the Bellman Equation
The authors tackle the dimensionality problem by discretizing the finite-horizon Bellman equation into a sequence of short-time "local" optimal control problems. These problems are solved backwards in time, starting from the final condition.
To solve these local problems, two methods are compared:
- Policy Iteration: A classic fixed-point iteration algorithm that alternates between evaluating a policy and improving it.
- Open-Loop / Adjoint Method: Inspired by Model Predictive Control (MPC), this method uses the Pontryagin Maximum Principle to solve short-horizon problems point-by-point. This replaces the nested fixed-point iteration with an adjoint method, shifting the compute burden to generating trajectory data, which is highly parallelizable.
Tensor Train (TT) Regression
Because the value function cannot be computed for every possible state, the authors sample the state space using Monte Carlo methods and use regression to fit an approximation. To overcome the curse of dimensionality, they represent the multi-variable polynomial coefficients of this function as a Tensor Train (TT). This technique factorizes an exponentially large, high-dimensional tensor into a sequence of smaller, manageable 3D tensors. These tensors are optimized using the Alternating Least Squares (ALS) algorithm, with Sobolev norm regularization applied to prevent overfitting.
Numerical Experiments
The methods were evaluated on simulated mathematical environments involving spatially discretized PDEs, specifically:
- Test 1: A 32-dimensional diffusion equation with an unstable reaction term.
- Test 2: A 32-dimensional Allen-Kahn equation.
By using the TT format, the degrees of freedom are reduced significantly. For a 32D problem, a full polynomial grid would require approximately $10^{22}$ parameters; the TT format reduces this to just ~5,400 degrees of freedom, allowing for effective training with only ~32,000 Monte Carlo samples.
Key Results
- Superior Stabilization: Both TT-based controllers successfully stabilized systems even at large initial values where the baseline Linear Quadratic Regulator (LQR) failed or diverged.
- Cost Efficiency: The TT controllers achieved up to 38% cost savings over LQR in the diffusion test and 25% in the Allen-Kahn test.
- High Accuracy: For random initial values, the TT controllers performed within ~1% of the true optimal open-loop control for the diffusion equation and virtually matched the optimal control for the Allen-Kahn equation.
- Theoretical Soundness: The authors mathematically proved that the error in the value function approximation propagates linearly with the number of time steps ($\mathcal{O}(l\delta)$), providing a solid foundation for the backwards-in-time approach.
Conclusion and Future Work
While the algorithm effectively bounds error propagation linearly, approximation errors still accumulate over time. Future work aims to incorporate gradient-augmented loss functions—similar to Physics-Informed Neural Networks (PINNs)—to improve accuracy by directly using known optimal controls in the regression. Additionally, decoupling the training of the value function and the controller, as well as increasing time step horizons, may further minimize error accumulation and streamline the computational process.
Summary updated