Introduction
Inverse Optimal Control (IOCP) is the process of deducing the underlying cost function—often referred to as the Lagrangian—that an agent seeks to minimize based on observed optimal trajectories. This problem is fundamental to fields such as humanoid robotics, where researchers aim to understand the principles of human locomotion, and biology, where it helps model animal foraging patterns.
Traditionally, IOCP is plagued by two primary issues: ill-posedness and computational intractability. Ill-posedness arises because multiple cost functions can explain the same behavior (e.g., a zero cost function makes all paths optimal). Computational complexity stems from the "nested" nature of traditional solvers, which must repeatedly solve the difficult forward optimal control problem to test candidate cost functions. This paper introduces a framework that bypasses these hurdles by leveraging the Hamilton-Jacobi-Bellman (HJB) equations and modern polynomial optimization techniques.
Methodology
The authors propose a direct approach that avoids solving the forward control problem entirely. The framework is built upon three technical pillars:
1. HJB Relaxation
The Hamilton-Jacobi-Bellman (HJB) equations provide sufficient conditions for optimality. Rather than enforcing strict optimality, the authors utilize a relaxed version of the HJB inequality. This allows the search for a cost function and a corresponding value function that ensure the observed trajectories are at least $\epsilon$-optimal, transforming the search into a feasibility problem.
2. Polynomial Optimization and Sum of Squares (SOS)
By assuming that the system dynamics and the unknown cost functions are represented as polynomials, the authors apply Putinar’s Positivstellensatz from real algebraic geometry. This allows the HJB positivity constraints to be reformulated as Sum of Squares (SOS) constraints. Consequently, the problem can be solved efficiently using Linear Matrix Inequalities (LMI) and semidefinite programming (SDP), which are convex and computationally manageable.
3. Sparsity through $\ell_1$ Regularization
To address the ill-posedness of the IOCP, the authors incorporate an $\ell_1$-norm penalty on the coefficients of the polynomial cost function. This regularization encourages sparsity, effectively forcing the optimization to select the simplest possible cost function that explains the observed data. This step is crucial for filtering out trivial or physically meaningless solutions.
Experimental Setup
The framework was validated using several simulated academic benchmarks where ground-truth optimal trajectories were generated for recovery testing:
- 1D and 2D Minimum Exit Time: Systems where the objective is to exit a defined region (a segment or a unit ball) as quickly as possible.
- 2D Minimum Exit Norm: A variation where the cost is a function of state and control norms.
- Double Integrator (LQR): A standard linear-quadratic regulator problem with quadratic costs.
Key Results and Insights
The proposed method demonstrated high precision in recovering the true underlying Lagrangians in deterministic, noise-free environments. The $\ell_1$ penalty proved essential, successfully identifying the correct polynomial terms from a broad basis of potential candidates.
In stochastic settings, the method exhibited significant robustness. Even when control inputs were corrupted by uniform noise (magnitude $10^{-1}$), the algorithm maintained reasonable accuracy. The researchers noted that increasing the number of observed data points (e.g., from 20 to 100) substantially improved the fidelity of the recovered cost function. Furthermore, because the method utilizes convex optimization and avoids iterative forward-solving, it offers a significant speed advantage over traditional "shooting" or nested optimization methods.
Limitations and Future Work
While promising, the method currently faces several challenges:
- Polynomial Constraints: The reliance on polynomial dynamics and costs may limit applications in systems with high non-linearities or discontinuous costs, such as contact-rich robotics.
- Scalability: The size of SOS and LMI hierarchies grows rapidly with the degree of polynomials and the number of state variables, leading to a "curse of dimensionality" that may hinder application to high-degree-of-freedom systems.
- Real-World Application: Future research is required to test this framework on real-world sensor data, particularly in humanoid robotics where the true cost functions of motion remain a subject of active debate.
Summary updated