Discovering New Interpretable Conservation Laws as Sparse Invariants
Authors
Ziming Liu, Patrick Obin Sturm, Saketh Bharadwaj, Sam Silva, Max Tegmark
Abstract
Discovering conservation laws for a given dynamical system is important but challenging. In a theorist setup (differential equations and basis functions are both known), we propose the Sparse Invariant Detector (SID), an algorithm that auto-discovers conservation laws from differential equations. Its algorithmic simplicity allows robustness and interpretability of the discovered conserved quantities. We show that SID is able to rediscover known and even discover new conservation laws in a variety of systems. For two examples in fluid mechanics and atmospheric chemistry, SID discovers 14 and 3 conserved quantities, respectively, where only 12 and 2 were previously known to domain experts.
Concepts
The Big Picture
Imagine watching a pendulum swing. Without measuring anything, you know its total energy never changes. That invisible constant, unchanged while everything else moves, is a conservation law. In physics, these laws are gold.
They’re the skeleton of every theory, from planetary orbits to particle physics. Energy, momentum, angular momentum: these aren’t textbook definitions. They’re rules the universe refuses to break.
For complex systems (a swirling fluid, a soup of reacting atmospheric chemicals), finding those rules is brutally hard. Researchers have spent decades doing it by hand, guided by intuition and mathematical muscle. Machine learning has tried to help, but most approaches treat conservation laws as outputs of black-box neural networks: technically impressive, nearly impossible to trust. What good is a conserved quantity if you can’t write it down?
A team led by MIT researchers built the Sparse Invariant Detector, or SID, to automate this discovery and produce clean, readable symbolic formulas. SID found conservation laws that human experts had missed.
Key Insight: SID reduces conservation law discovery to a linear algebra problem, making results both mathematically guaranteed and human-readable. It turned up new conserved quantities in two real scientific systems.
How It Works
A conserved quantity H(x) must satisfy one condition: as the system evolves, H cannot change. In math: ∇H · f(x) = 0. This is not a new observation. SID’s trick is in how it exploits this constraint.

Rather than training a neural network, SID expresses H as a linear combination of basis functions: polynomials, trigonometric terms, or other building blocks that domain experts expect to be relevant. With that assumption, the conservation condition becomes a system of linear equations. Computers solve linear equations exactly, with no risk of getting stuck at imperfect solutions.
The workflow:
- Construct the matrix G. For each basis function and each sampled point in phase space, compute how the basis function changes along the system’s trajectory. Stack these into a matrix.
- Find the null space via SVD. Apply singular value decomposition to G. The null space (directions where the matrix produces exactly zero output) yields valid conserved quantities. Its dimension tells you exactly how many independent conservation laws exist.
- Sparsify for interpretability. The null space basis isn’t unique. SID applies L1 minimization over orthogonal rotations to find the sparsest representation, turning a dense algebraic mess into a clean formula with only a few nonzero terms.
- Check functional independence. A final Jacobian-rank check confirms the discovered laws are genuinely distinct, not disguised versions of each other.
You end up with a complete, independent, and interpretable set of conserved quantities. Prior methods struggled to guarantee all three at once.

Why It Matters
SID’s sharpest results come from outside pure physics.
In fluid mechanics, SID analyzed the vorticity equations governing how rotation in a fluid evolves. Domain experts knew of 12 conserved quantities for 3D flow. SID found 14.

The two new ones weren’t exotic. In hindsight, experts called them “somewhat expected.” But finding them by hand would have taken months. SID found them in seconds.
Atmospheric chemistry tells a different story. Applied to a simplified chemical network modeling atmospheric reactions, SID found 3 conserved quantities where experts knew of 2. The third was unintended by the model designers, an accidental algebraic structure hiding in the equations. Nobody had searched for it because nobody thought to look.
If you’re simulating such a system numerically and don’t know about that extra conserved quantity, your simulation may drift in ways you can’t explain. SID catches these hidden structures automatically.
SID restricts itself to linear methods plus one sparsification step. That self-imposed limitation is the point: every output is a formula, and every formula can be checked by hand.
Scientists still bring domain knowledge: choosing basis functions, formulating the hypothesis space, interpreting results. SID handles the exhaustive symbolic search that no human would want to do by hand.
SID currently works in what the authors call the “theorist” setup, where the governing equations are already known. Extending it to a data-only setting, where you have observations but no equations, remains open. One obvious direction: use neural networks to learn the equations first, then feed them to SID.
Then there’s the deeper question of Noether’s theorem, which links every conservation law to an underlying symmetry of nature. Could SID’s discoveries reverse-engineer hidden symmetries in physical systems?
Bottom Line: SID is a simple, linear-algebraic algorithm that discovers conservation laws guaranteed to be complete, independent, and interpretable. It already found new conserved quantities in fluid mechanics and atmospheric chemistry that experts had missed.
IAIFI Research Highlights
SID combines symbolic AI, linear algebra, and domain science. Recasting conservation law discovery as a sparse null-space problem, it applies mathematical rigor to automated searches in fluid mechanics and atmospheric chemistry.
Sometimes the best algorithm is the simplest one. SID shows that a transparent, interpretable method can outperform black-box neural networks on structured scientific problems, pointing toward a different kind of trustworthy AI for research.
SID found conserved quantities in real physical and chemical systems that experts had overlooked, giving researchers an automated tool for uncovering mathematical structure in dynamical systems.
Future work may extend SID to data-driven settings and connect its output to Noether's theorem and hidden symmetry detection; the full paper is available at [arXiv:2305.19525](https://arxiv.org/abs/2305.19525).
Original Paper Details
Discovering New Interpretable Conservation Laws as Sparse Invariants
2305.19525
Ziming Liu, Patrick Obin Sturm, Saketh Bharadwaj, Sam Silva, Max Tegmark
Discovering conservation laws for a given dynamical system is important but challenging. In a theorist setup (differential equations and basis functions are both known), we propose the Sparse Invariant Detector (SID), an algorithm that auto-discovers conservation laws from differential equations. Its algorithmic simplicity allows robustness and interpretability of the discovered conserved quantities. We show that SID is able to rediscover known and even discover new conservation laws in a variety of systems. For two examples in fluid mechanics and atmospheric chemistry, SID discovers 14 and 3 conserved quantities, respectively, where only 12 and 2 were previously known to domain experts.