基于状态依赖事件的DAEs可微参数优化
Differentiable Parameter Optimization for DAEs with State-Dependent Events
AI总结:
本文研究了带有状态依赖事件的半显式DAEs的可微参数优化问题,提出两种互补的梯度计算策略,解决参数学习中代数变量隐式定义、事件时间依赖参数及重置映射引入不连续性等挑战。
摘要:
微分代数方程(DAEs)带有状态依赖事件出现在连续动力学受代数方程约束并被模式变化、开关逻辑、碰撞或状态重新初始化中断的系统中。基于梯度的参数学习对于此类系统具有挑战性,因为代数变量隐式定义,事件时间依赖参数,且重置映射引入不连续性。本文研究了半显式DAEs中带有事件的可微参数优化。我们将学习问题表述为具有DAE动态、代数约束、守卫方程和重置映射的约束最小二乘问题。然后开发了两种互补的梯度计算策略。第一种是通过模拟自动微分的方法,解决向量场内的代数变量,利用隐函数定理对代数求解进行微分,并通过分段可微积分处理事件。第二种是显式的离散伴随方法,将正向模拟表示为事件分割残差系统,并通过求解平滑段和事件残差的拉格朗日乘数来计算梯度。该公式澄清了伴随方法中的残差项是等式约束,而不是启发式惩罚。我们从梯度解释、事件时间处理、实现复杂性和局部有效性等方面比较了两种方法。两种方法为正向模拟所选事件路径提供梯度,并在固定事件顺序和横贯守卫交叉下有效。
英文摘要:
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 solve using the implicit function theorem, and handles events through segmented differentiable integration. The second is an explicit discrete-adjoint method that represents the forward simulation as an event-split residual system and computes gradients by solving for the Lagrange multipliers of smooth-segment and event residuals. The formulation clarifies that residual terms in the adjoint method are equality constraints, not heuristic penalties. We compare the two approaches in terms of gradient interpretation, event-time handling, implementation complexity, and local validity. Both methods provide gradients for the event path selected by the forward simulation and are valid under fixed event ordering and transversal guard crossings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。