Table of Contents
Fetching ...

A Frobenius-Optimal Projection for Enforcing Linear Conservation in Learned Dynamical Models

John M. Mango, Ronald Katende

TL;DR

The paper addresses restoring linear conservation laws in data-driven linear dynamical models by presenting a closed-form Frobenius-norm projection onto the constraint subspace defined by $C^\top A = 0$. For a single invariant the optimal correction is the rank-1 update $A^\star = \widehat{A} - \frac{c\,c^\top \widehat{A}}{\|c\|_2^2}$, and for multiple invariants the generalized projector $P_C = I_n - C (C^\top C)^{-1} C^\top$ yields $A^\star = P_C \widehat{A}$, enforcing exact conservation with minimal perturbation. The key results are the uniqueness of the minimizer, the rank of the update (rank-$1$ for a single invariant and rank$(A^\star - \widehat{A}) = \operatorname{rank}(C^\top \widehat{A})$ for multiple), and the ability to apply the method in both continuous- and discrete-time settings. Numerical experiments on a Markov-type generator confirm exact invariance and near-original dynamics, validating the approach as a lightweight, general mechanism to embed exact invariants into learned linear models.

Abstract

We consider the problem of restoring linear conservation laws in data-driven linear dynamical models. Given a learned operator $\widehat{A}$ and a full-rank constraint matrix $C$ encoding one or more invariants, we show that the matrix closest to $\widehat{A}$ in the Frobenius norm and satisfying $C^\top A = 0$ is the orthogonal projection $A^\star = \widehat{A} - C(C^\top C)^{-1}C^\top \widehat{A}$. This correction is uniquely defined, low rank and fully determined by the violation $C^\top \widehat{A}$. In the single-invariant case it reduces to a rank-one update. We prove that $A^\star$ 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.

A Frobenius-Optimal Projection for Enforcing Linear Conservation in Learned Dynamical Models

TL;DR

The paper addresses restoring linear conservation laws in data-driven linear dynamical models by presenting a closed-form Frobenius-norm projection onto the constraint subspace defined by . For a single invariant the optimal correction is the rank-1 update , and for multiple invariants the generalized projector yields , enforcing exact conservation with minimal perturbation. The key results are the uniqueness of the minimizer, the rank of the update (rank- for a single invariant and rank for multiple), and the ability to apply the method in both continuous- and discrete-time settings. Numerical experiments on a Markov-type generator confirm exact invariance and near-original dynamics, validating the approach as a lightweight, general mechanism to embed exact invariants into learned linear models.

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.
Paper Structure (7 sections, 2 theorems, 20 equations, 3 figures, 2 tables)

This paper contains 7 sections, 2 theorems, 20 equations, 3 figures, 2 tables.

Key Result

Theorem 1

Let $c \in \mathbb{R}^n$ be nonzero and let $\widehat{A} \in \mathbb{R}^{n\times n}$ be arbitrary. Define Then $A^\star$ is the unique minimiser of eq:rank1-problem. Moreover,

Figures (3)

  • Figure : (a) Conservation before and after projection. The learned operator drifts; the corrected operator preserves $c^\top x(t)$ exactly.
  • Figure : (a) Conservation before and after projection. The learned operator drifts; the corrected operator preserves $c^\top x(t)$ exactly.
  • Figure : (b) State trajectories under $\widehat{A}$ and $A^\star$. Conservation is enforced with minimal dynamical distortion.

Theorems & Definitions (6)

  • Theorem 1: Rank-one conservation correction
  • proof
  • Remark 1
  • Proposition 1: Rank-$m$ conservation projection
  • proof
  • Remark 2