- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 4
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper addresses the issue of solution sensitivity computation in nonlinear model predictive control and reveals a serious pitfall commonly overlooked in the differentiable optimization community. When an approximate or regularized Hessian matrix is used during the nominal solution phase, the implicit function theorem based differentiation can lead to severe, even directional, errors in the computed sensitivities. To resolve this issue without sacrificing nominal solving speed, the authors propose a new approach. The nominal phase solves the problem using a fast approximate Hessian. The sensitivity phase evaluates the exact Hessian once, and leverages the structured reduction of the optimal control problem along with Riccati factorization to efficiently compute the sensitivities. The method supports general nonlinear costs, dynamics, and inequality constraints, and demonstrates significant speed advantages over mpc.pytorch and cvxpygen in several examples.
Strengths and weaknesses
The strengths are that the practical value is strong, filling a gap in differentiable MPC that previously lacked support for general nonlinear constraints and efficient adjoint sensitivity. The implementation is open source and embedded within the mature acados framework, representing a solid engineering contribution. The paper also clearly explains the pitfalls of active set and Hessian approximation when using IFT. The weaknesses are that the core theory is largely built upon existing IPM and IFT sensitivity frameworks, so the novelty is more about the systematic implementation. The experiments focus heavily on numerical speed and small scale examples, lacking a real learning in the loop task to demonstrate that these sensitivities indeed improve learning performance.
Questions
- In scenarios where redundant constraints are simultaneously active, causing the Jacobian matrix to become rank deficient, how does the solver ensure effective computation of the forward and adjoint gradients?
- How is tau_min selected? Is there a default criterion or any failure cases?
- Could you add an end to end learning enhanced MPC experiment, rather than only speed and sensitivity validation?
Limitations
The discussion is adequate (CPU only, need to discretize CasADi dynamics, batch parallelism affected by variance in solution time).
Paper formatting concerns
I don't see any issues.
Final justification
Having thoroughly examined the author’s latest reply, which addresses several of the concerns previously expressed, I find that the new information and clarifications offered do not fundamentally alter my overall assessment of the work. Therefore, after due deliberation, I have resolved to leave my assigned score precisely as it was, rather than revising it in light of the rebuttal.
Thank you a lot for the valuable feedback:
Answers:
If LICQ is violated due to redundant constraints, the KKT system to be solved becomes ill-conditioned at the solution. In interior point methods, such as HPIPM which is underlying our implementation, this issue is typically addressed with regularization. Within the implementation provided by
acados, the very same regularization technique employed during the IP iterations is used when computing forward or adjoint solution sensitivities.The hyperparameter \tau_\min needs to be selected application-specific. Within a learning context, one would typically like to choose \tau_\min rather larger yielding a smoother, less nonlinear solution map. However, depending on the inequality constraints at hand, selecting \tau_\min too large might yield unreasonable solutions as the solver may exploit constraint violations. In general, a good approach could be a homotopy strategy where \tau_\min is reduced over the training episodes, like in [3].
An end-to-end learning enhanced MPC experiment with the software and approach from this paper at its core can be found in Appendix A.13, as well as in other papers, e.g., [1, 2]. We will include these references in the manuscript.
References:
[1] Jahncke, F., Zarrouki, B., Piccinini, M., D'sa, J., Isele, D., Bae, S., & Betz, J. (2026). Differentiable weights-varying nonlinear MPC via gradient-based policy learning: An autonomous vehicle guidance example. IEEE Robotics and Automation Letters.
[2] Llanes, C., Jensen, S. W., & Coogan, S. (2026). Merging model-based control with multi-agent reinforcement learning for multi-agent cooperative teaming strategies. arXiv preprint arXiv:2606.06011.
[3] Kordabad, A. B., Cai, W., & Gros, S. (2021, June). MPC-based reinforcement learning for economic problems with application to battery storage. In 2021 European Control Conference (ECC) (pp. 2573-2578). IEEE.