A Frobenius-Optimal Projection for Enforcing Linear Conservation in Learned Dynamical Models
arXiv:2512.22084
Abstract
We consider the problem of restoring linear conservation laws in data-driven linear dynamical models. Given a learned operator and a full-rank constraint matrix encoding one or more invariants, we show that the matrix closest to in the Frobenius norm and satisfying is the orthogonal projection . This correction is uniquely defined, low rank and fully determined by the violation . In the single-invariant case it reduces to a rank-one update. We prove that enforces exact conservation while minimally perturbing the dynamics, and we verify these properties numerically on a Markov-type example. The projection provides an elementary and general mechanism for embedding exact invariants into any learned linear model.