Dirac-Interconnected Neural Elements: Discovering Modularity in Physical Systems Without Reduction

Reiho Li, Razmik Arman Khosrovian, Takaharu Yaguchi, Hiroaki Yoshimura, Takashi MatsubaraarXiv 2026

TL;DR

Dirac-Interconnected Neural Elements (DINEs) represent a major step forward in physics-informed machine learning by modeling physical systems as modular, interconnected components rather than monolithic black boxes. By leveraging Dirac structures in their unreduced form, DINEs can simultaneously discover hidden "wiring" (interconnections) and component properties from data, allowing researchers to isolate or compose learned subsystems into entirely new models without retraining.

What Problem Does This Paper Address?

Most real-world physical systems—from power grids to car engines—are interconnections of simpler components like masses, springs, or resistors. However, current deep learning approaches for dynamical systems typically fall into two traps:

  1. The Monolithic Trap: They treat the entire system as a single, large Ordinary Differential Equation (ODE), which discards the internal modular structure.
  2. The Reduction Trap: To make the math easier, they "reduce" the system to an ODE. This process often mixes the properties of the components with the interconnection itself, making it impossible to reuse a learned "spring" model in a different system. Furthermore, many systems (like those with massless junctions or parallel capacitors) are naturally described by Differential-Algebraic Equations (DAEs) and cannot be easily reduced to ODEs without losing physical meaning.

The authors address the need for a model that respects modularity, handles algebraic constraints, and can identify interconnections from data—even when some parts of the system are unobserved.

Methods

The core innovation is the use of Dirac structures in kernel representation. In port-based modeling, components exchange energy through "ports" defined by flows ($f$) and efforts ($e$). A Dirac structure defines how these ports are wired together such that total power is conserved.

Key technical components include:

  • Kernel Representation ($Ff + Ee = 0$): Unlike previous methods that use an input-output form, DINEs use this implicit representation. This avoids the need for "reduction" and allows the model to represent systems that don't have a valid ODE form.
  • Exact Parameterization: The authors provide a theorem to parameterize these interconnection matrices ($F, E$) using orthogonal matrices. This ensures the model always satisfies physical power-continuity constraints during training without needing complex constrained optimization.
  • Neural Constitutive Relations: The properties of individual components (e.g., a nonlinear spring's energy function) are learned using standard neural networks.
  • Trajectory Networks: During training, DINEs use a "trajectory network" (similar to PINNs) to minimize the DAE residual. This acts as an implicit integrator, allowing the model to learn from partially observable data.
Figure 1: Conceptual diagram of DINEs.

Datasets

The authors evaluated DINEs on five simulated physical tasks designed to test specific capabilities:

  1. Three-way Junction: A mechanical system with a massless junction, creating a hard algebraic constraint.
  2. RC Ladder: An electrical circuit where capacitor charges (states) are unobserved, testing the ability to handle partial observability.
  3. Rigid Coupling: Composing two separate mechanical chains.
  4. Hydraulic–Mechanical Coupling: A multi-domain task connecting a fluid reservoir to a piston and spring system.
  5. Spring Reuse: Taking a nonlinear spring learned in Task 3 and plugging it into a new mechanical system.
Figure 2: Diagrams of the systems of Tasks 1–5.

Key Insights and Ideas

  • Modularity is the Key to Reusability: By keeping the system in its unreduced DAE form, DINEs maintain the "ports" of each component. This allows for "plug-and-play" physics: you can learn a component in one context and accurately predict its behavior in a completely different system (Task 5).
  • Discovering Kirchhoff's Laws: DINEs don't just predict motion; they can actually recover the underlying circuit topology or mechanical wiring. The learned $F$ and $E$ matrices can be converted into reduced row echelon form to reveal the exact Kirchhoff current and voltage laws governing the system.
  • Hard Constraints Matter: The authors found that "soft" penalties for physical constraints often failed to converge. Their exact parameterization (Theorem 1) was crucial for stable training and accurate long-term predictions.
  • Handling Hidden States: Because DINEs model the full interconnected structure, they can infer unobserved states (like the charge on a hidden capacitor) much more effectively than black-box latent ODE models.

Key Results

DINEs consistently outperformed baselines like Neural ODEs, PoDiNNs, and CT-SUBNET across all tasks:

  • Accuracy: In Task 1 (Three-way junction), DINEs achieved a Mean Squared Error (MSE) of $3.3 \times 10^{-5}$, while Neural ODEs were orders of magnitude worse ($2.8 \times 10^{-1}$).
  • Stability: DINEs showed much higher Valid Prediction Time (VPT), meaning their predictions remained physically consistent for much longer durations compared to models that don't respect the interconnection structure.
  • Zero-Shot Composition: In Tasks 3 and 4, DINEs successfully predicted the dynamics of composed systems without any retraining on the combined data, whereas "Coupled Neural ODEs" failed to maintain accuracy.
Visualizations of predictions showing DINEs (blue) closely matching ground truth (black) compared to baselines.

Limitations and Future Work

  • Separable Structures Only: The current parameterization is limited to "separable" Dirac structures, which excludes gyrators (common in DC motors and some hydraulic systems).
  • Hyperparameter Tuning: The model requires the number of flow constraints ($n_f$) to be specified as a hyperparameter. While the paper shows this can be tuned via validation, automating this discovery is a goal for future work.
  • Constant Interconnections: The model assumes the "wiring" doesn't change over time. Extending this to "modulated" Dirac structures (where interconnections depend on the state, like in multi-link robots) remains an open challenge.

Summary updated

BibTeX
@misc{li2026dirac,
  author = {Reiho Li and Razmik Arman Khosrovian and Takaharu Yaguchi and Hiroaki Yoshimura and Takashi Matsubara},
  title = {{Dirac-Interconnected Neural Elements: Discovering Modularity in Physical Systems Without Reduction}},
  year = {2026},
  eprint = {2610.02960},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.02960},
}
Figure