Dirac-Interconnected Neural Elements: Discovering Modularity in Physical Systems Without Reduction
Organizations: Hokkaido University · Kyushu University · RIKEN · Waseda University
Abstract
Deep learning has shown remarkable success in the data-driven modeling of dynamical systems. Much of its success is attributed not to the flexibility of neural networks but to inductive biases based on physical prior knowledge, such as energy conservation and symplecticity. However, existing methods do not fully exploit the fact that real-world physical systems are interconnections of components. Some methods require the interconnection to be known a priori, while others assume the system to be reducible to an ordinary differential equation (ODE) and learn only the reduced ODE, discarding the algebraic constraints imposed by the interconnection. Here, we propose Dirac-interconnected neural elements (DINEs), a neural network model that represents a physical system as a differential-algebraic equation (DAE), whose algebraic constraints are given by a Dirac structure in kernel representation. With DINEs, we simultaneously identify from data the interconnection among the components as a Dirac structure and learn the characteristics of the components as neural networks. This allows us to keep the learned subsystems in unreduced form and isolate or compose them to make a new system without retraining. Moreover, DINEs can handle partially observable systems. Experimental results demonstrate these capabilities on physical systems beyond the reach of existing methods.
Figures & tables
| Model | Ensuring Energetic Behavior | Identifying Interconnection | Learning Constraints | Learning from Partial Observation |
|---|---|---|---|---|
| Neural ODEs ( Chen et al., 2018 ) | – | – | – | – |
| HNNs, LNNs, SymODENs, pHNNs † | ✓ | – | – | – |
| OE-pHNNs ( Moradi et al., 2026 ) | ✓ | – | – | ✓ |
| CHNNs, CLNNs ( Finzi et al., 2020 ) | ✓ | – | given § | – |
| Compositional pHNNs ( Neary & Topcu, 2023 ) | ✓ | given | – | – |
| N-pHDAEs ( Neary et al., 2025 ) | ✓ | given | given | – |
| (Task 1) Three-way junction | ||
| Model | MSE | VPT |
| Neural ODEs | ||
| PoDiNNs ∗ | ||
| DINEs (soft) † | (not converged in 3 of 5 seeds) | |
| DINEs (ours) | ||
| DINEs ( ) ‡ | (not converged in all seeds) | |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Bond graph | Mechanical | Electromagnetic | Hydraulic | |
| flow | velocity | current | volume flow | |
| effort | force | voltage | pressure | |
| time integral of flow | displacement | charge | volume | |
| time integral of effort | momentum | flux linkage | flow tube momentum | |
| C | C-type storage element | spring | capacitor | reservoir |
| I | I-type storage element | mass | inductor | fluid inertia |
| Task: system | C | I | R | Se | Sf | Observations | Inputs | ||
|---|---|---|---|---|---|---|---|---|---|
| 1: Three-way junction | 3 | 3 | – | – | – | 6 | (2, 4) | 6 states | – |
| 2: RC ladder | 4 | – | 7 | 2 | – | 13 | (8, 5) | 10 of 13 currents | 2 source voltages |
| 3: Subsystem A | 3 | 3 | 2 | 1 | – | 9 | (6, 3) | 6 states | boundary force |
| 3: Subsystem B | 1 | 2 | 1 | 2 | – | 6 | (4, 2) | 3 states | boundary and external forces |
| 4: Hydraulic | 1 | 1 | 1 | 1 | 1 | 5 | (3, 2) | 2 states | source pressure, boundary flow |
| 4: Mechanical | 3 | 2 | 2 | – | 1 | 8 | (5, 3) | 5 states | boundary velocity |
| Resistor | |||
|---|---|---|---|
| 0.8299 | 0.7991 | ||
| 0.6711 | 4.6312 | ||
| 0.7407 | 6.3965 | ||
| 0.6981 | 6.5022 | ||
| 0.5908 | 5.1852 | ||
| 0.7813 | 2.3884 |
| Subsystem | Inertias | Springs | Dampers | Boundary (prescribed recorded) | Observed |
|---|---|---|---|---|---|
| Task 3, A | , | ||||
| Task 3, B | , | ||||
| Task 4, hydraulic | (reservoir) | fluid resistor | , | ||
| Task 4, mechanical | , |
| DINEs | Neural ODEs | PoDiNNs | CT-SUBNET | Coupled Neural ODEs | |
|---|---|---|---|---|---|
| Training observations and known inputs | yes | yes | yes | yes | yes |
| Types and numbers of elements | yes | no | C-type, I-type | no | dimensions only |
| Correspondence of observations to elements | yes | as states | yes | as outputs | states, boundary port |
| Linearity of elements (coefficients unknown) | yes | no | I-type elements | no | no |
| yes | no | no | no | no | |
| True wiring and coefficients | no | no | no | no | no |
| Task | Model | ||||
|---|---|---|---|---|---|
| 1 | Neural ODEs | ||||
| 1 | PoDiNNs | ||||
| 1 | DINEs (soft) † | ||||
| 1 | DINEs (ours) | ||||
| 2 | CT-SUBNET ( ) | ||||
| 2 | CT-SUBNET ( ) |
Dynamical Systems
Dynamical systems studies how states evolve over time, including stability, feedback, chaos, and transitions in physical, biological, and engineered systems.
See all 471 papers