Differentiable Parameter Optimization for DAEs with State-Dependent Events
Ion Matei, Maksym Zhenirovskyy, Anthony Wong

TL;DR
This paper develops two gradient-based methods for optimizing parameters in differential-algebraic equations with state-dependent events, addressing challenges posed by implicit algebraic variables and discontinuities.
Contribution
It introduces an automatic-differentiation-through-simulation approach and an explicit discrete-adjoint method for differentiable parameter optimization in DAEs with events.
Findings
Both methods provide valid gradients under fixed event order and transversal guard crossings.
The approaches clarify the role of residual terms in the adjoint method as equality constraints.
Comparison of the two methods highlights their differences in interpretation and implementation.
Abstract
Differential-algebraic equations (DAEs) with state-dependent events arise in systems whose continuous dynamics are constrained by algebraic equations and interrupted by mode changes, switching logic, impacts, or state reinitializations. Gradient-based parameter learning for such systems is challenging because algebraic variables are implicitly defined, event times depend on the parameters, and reset maps introduce discontinuities. This paper studies differentiable parameter optimization for semi-explicit DAEs with events. We formulate the learning problem as a constrained least-squares problem with DAE dynamics, algebraic constraints, guard equations, and reset maps. We then develop two complementary gradient-computation strategies. The first is an automatic-differentiation-through-simulation method that solves algebraic variables inside the vector field, differentiates the algebraic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
