# A Physics-Inspired Classical Digital Twin of Cortical Dynamics: A Band-Stratified Metriplectic Port-Hamiltonian Neural Network Learned from Brain-Computer-Interface EEG

Preprint · Dibakar Sigdel

- Archive id: arxiv:2607.10439
- Published: 2026-07-11
- arXiv: https://arxiv.org/abs/2607.10439
- Citations: 0
- Source URL: https://arxiv.org/abs/2607.10439
- PDF: https://arxiv.org/pdf/2607.10439
- Provenance: arxiv

## Abstract

We present a physics-inspired classical digital twin of brain-computer- interface (BCI) data: a graph neural network constrained to a band-stratified, metriplectic port-Hamiltonian form, with parameters learned from scalp EEG recorded during rest and motor imagery. The port-Hamiltonian structure is a modelling choice - it buys passivity, a certified steady-state power balance, and a clean separation of storage, routing and dissipation - not a claim about what the brain is. The state pairs each channel's instantaneous phase with its angular frequency, and stored energy decomposes over the five canonical frequency bands. A phase-locking prior measured from the same recordings gates the learned connectome, and a metriplectic formulation places the twin at a non- equilibrium steady state sustained by a metabolic port. Fitted to $1{,}109{,}250$ phasor samples from the PhysioNet EEG Motor Movement/Imagery database under a leakage-free split, the twin reaches a held-out reconstruction error of $1.30\\times10^{-4}$. Scored free-running against invariants it did not author, the verdict is mixed: it reproduces near-critical avalanche branching ($σ\\approx1$) but not the aperiodic $1/f$ slope or the long-range temporal correlations of the recordings. Skew-symmetry and non-negative dissipation hold by construction rather than by penalty, making the twin a structure-preserving substrate on which closed-loop neuromodulation can be designed and tested.

_Abstract reproduced under CC0-1.0 (arXiv descriptive metadata)._

Topics: [Connectomics & Brain Mapping](https://space-kitty.com/topics/connectomics)

---
Space Kitty Archive · https://space-kitty.com · API: https://space-kitty.com/api/v1 · MCP: https://space-kitty.com/mcp · Premium: $0.20/request via x402 (Base Sepolia (testnet)). Metadata: arXiv (CC0), OpenAlex (CC0), Europe PMC (CC BY/CC0 works), ClinicalTrials.gov.
