Neural Differential Algebraic Equations

James Koch,Madelyn Shapiro,Himanshu Sharma,Draguna Vrabie,Jan Drgona
2024-03-20
Abstract:Differential-Algebraic Equations (DAEs) describe the temporal evolution of systems that obey both differential and algebraic constraints. Of particular interest are systems that contain implicit relationships between their components, such as conservation relationships. Here, we present Neural Differential-Algebraic Equations (NDAEs) suitable for data-driven modeling of DAEs. This methodology is built upon the concept of the Universal Differential Equation; that is, a model constructed as a system of Neural Ordinary Differential Equations informed by theory from particular science domains. In this work, we show that the proposed NDAEs abstraction is suitable for relevant system-theoretic data-driven modeling tasks. Presented examples include (i) the inverse problem of tank-manifold dynamics and (ii) discrepancy modeling of a network of pumps, tanks, and pipes. Our experiments demonstrate the proposed method's robustness to noise and extrapolation ability to (i) learn the behaviors of the system components and their interaction physics and (ii) disambiguate between data trends and mechanistic relationships contained in the system.
Machine Learning
What problem does this paper attempt to address?
### Problems Addressed by the Paper The paper attempts to address how to model and solve Differential-Algebraic Equations (DAEs) using a data-driven approach. Specifically, the authors propose a novel method—Neural Differential-Algebraic Equations (NDAEs)—to overcome traditional DAE modeling challenges such as over-constrained or under-constrained states, incorrect model specifications, etc. These challenges are particularly common in practical engineering systems, where many algebraic relationships are known but difficult to reconcile within a modeling framework. ### Main Contributions 1. **Extending Neural Time Steppers**: Inspired by operator splitting methods, the authors extend neural time steppers to appropriately integrate DAEs. 2. **Algebraic Substitution Layer**: A trainable Deep Neural Network (DNN) is used to update the algebraic states of the system, while an Ordinary Differential Equation (ODE) solver is used to integrate the differential states. 3. **Application Examples**: The method is demonstrated on two closed modeling tasks: (i) the inverse problem of tank-channel dynamics, and (ii) modeling unknown nonlinear interactions in a pump-tank-pipe network. ### Method Overview - **Differential-Algebraic Equations (DAEs)**: DAEs describe the evolution of system states over time, including both differential and algebraic relationships. - **Neural Ordinary Differential Equations (NODEs)**: Approximate the flow map of dynamical systems through neural network architectures. - **Fractional Step Method**: Decomposes the evolution of complex multi-physics problems into simpler, independent sub-tasks, each solved sequentially. ### Experimental Results - **Tank-Channel Property Inference**: The trained model can accurately reconstruct the time series of training data and learn the unknown area-height profile of tank 2. - **Tank Network Modeling**: The model captures the oscillatory flow pumped into the channel and infers the discharge coefficient. Additionally, the model shows good generalization when handling unseen initial conditions and noisy data. ### Conclusion and Future Work - **Conclusion**: The proposed NDAE method excels in modeling network dynamical systems with constraints and conservation relationships, learning the behavior of system components and their interaction physics from data, and distinguishing between data trends and mechanistic relationships in DAE systems. - **Future Work**: Further research is needed to handle stiff dynamics or discontinuities and modeling tasks involving higher-order DAEs. Additionally, exploring computational scalability and partial observability issues is necessary for application in real-world complex systems. Through these contributions, the paper provides a new framework for data-driven DAE modeling, which is expected to have broad applications in engineering and scientific computing.