arXiv:2610.23760nlin.CDOct 2026

Manuscript Offprint

arXiv:2610.23760

From Flow-Box Invariants to Global Conservation Laws: Machine Learning-Assisted Detection of Singularities and Near-Integrability

Jimmie Adriazola, Ioannis G. Kevrekidis, Panayotis G. Kevrekidis, Wei Zhu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Conservation laws reveal invariant structure in dynamical systems and constrain their evolution to lower-dimensional level sets. Locally, however, per the flow-box theorem, every d-dimensional system generically admits d−1d-1 functionally independent conservation laws near a regular point even though, generically, only a few such laws persist globally. Data-driven methods typically learn conservation laws on a prescribed region of phase space from which training samples are drawn, leaving their behavior beyond that region unresolved. We formulate this local-to-global continuation problem and develop an expanding-domain neural deflation framework that tracks the number of independent conservation laws over nested domains. The method recovers the expected d−1d-1 local invariants and detects their successive breakdown as the domain expands, relaxing to the expected global conservation law limit. It distinguishes the local invariants (associated with Frobenius integrability) from persistent global structure and shows that the domain scale over which additional laws survive reflects proximity to Liouville integrability. Pointwise losses can localize isolated obstructions, whereas in more complicated dynamics the breakdown of our loss functions is gradual and spatially diffuse. The framework thus provides a data-driven approach for studying the persistence and breakdown of (so-far-learned) conservation laws across phase space.

I. INTRODUCTION

Conservation laws play a central role in the analysis of dynamical systems [1]. By restricting trajectories to invariant level sets, they reduce the effective dimension of the dynamics, reveal hidden geometric structure, and provide important information about long-time behavior. In Hamiltonian mechanics, the existence of sufficiently many independent first integrals in involution underlies Liouville integrability [2]. For systems arising from variational principles, continuous symmetries give rise to conserved quantities through Noether's theorem [3, 4].

When the governing equations and their structure are known, conservation laws may sometimes be derived analytically. For complex systems, however, such derivations can be challenging, and the number of independent conservation laws may not be known in advance. This has motivated the recent development of data-driven approaches for discovering conserved quantities from tra-

†^{\dagger} yannisk@jhu.edu

‡^{\ddagger} kevrekid@umass.edu

§ Contact author: weizhu@gatech.edu jectories, vector-field evaluations, symmetries, or the geometry of invariant level sets [5–9]. Methods aimed specifically at recovering a complete set of functionally independent conservation laws (for Hamiltonian systems) include, among others, neural deflation [10] and its trajectory-based extension [11].

Existing data-driven methods typically formulate conservation-law discovery on a prescribed domain of phase space [6, 8, 10, 11]. This restriction arises naturally because training requires samples from the phase space, which are typically drawn from a distribution with compact support. Consequently, the learned conservation laws are identified only on the region representatively covered by the training distribution. Unless this region coincides with the entire phase space — which is particularly challenging computationally, especially as the number of degrees of freedom increases— the recovered quantities should therefore be regarded as local conservation laws and need not extend globally. Moreover, learning conservation laws on a single prescribed domain does not reveal how they persist or break down as the domain is enlarged. In particular, it does not identify the scales at which individual conservation laws cease to exist, nor the geometric or dynamical obstructions responsible for their loss.

This dependence on the domain is essential because conservation laws have fundamentally different local and global characters. Indeed, near any regular point of a d-dimensional dynamical system, the flow-box theorem (also called the rectification or straightening theorem) guarantees the existence of d−1d-1 functionally independent local conservation laws [12]. This conclusion requires neither a Hamiltonian structure nor global integrability. Thus, even a system with no nontrivial global conservation law possesses the maximal number of independent conservation laws in a sufficiently small neighborhood of every regular point.

Local existence is therefore universal and, by itself, does not distinguish an integrable system from a non-integrable one. The more informative question is how the locally available conservation laws behave as the region of interest expands. Some may persist over increasingly large domains and ultimately extend to global conservation laws. Others may cease to admit a smooth or single-valued continuation, lose functional independence, or break down when the domain encounters an equilibrium, a singular set, a recurrence or a more subtle global obstruction. From this perspective, as the box of phase space under consideration is expanded, the transition from local to global conservation laws is reflected in the successive loss of the invariants initially (meaning: in the neighborhood of a regular point) guaranteed by the flow-box theorem.

This observation motivates the central problem considered in this paper:

Starting from a regular point in phase space, can one recover a complete family of independent local conservation laws and track how this family changes as the domain expands?

More specifically, we seek to determine when the number of independent conservation laws decreases, to identify which local structures persist over large domains, and, whenever possible, to localize and hopefully even rationalize the regions responsible for their breakdown.

We investigate this problem by extending the neural deflation method [10, 11], originally developed to discover global conservation laws in Hamiltonian systems, to a nested family of expanding domains. Deflation, which traces its origins to root-finding for algebraic equations with multiple solutions [13–15] and is now widely used to compute multiple steady states of nonlinear PDEs [16, 17], modifies the objective after each solution is found so that subsequent solutions are distinct from those already identified. Neural deflation adapts this idea to sequentially learn conservation laws while enforcing the functional independence of each newly learned law from those discovered previously. We apply this procedure as the domain is progressively enlarged, using the resulting conservation and deflation losses to determine how many independent conservation laws remain admissible at each stage. Their pointwise values over the phase space further help identify where a candidate law begins to fail; see, e.g., Figure 1(c)–(d), where a singularity is revealed by a large loss value at the origin.

The domain size thereby serves as a natural continuation parameter toward exploring the phase space of the system. For domains centered at a regular point, the method initially seeks the d−1d-1 local conservation laws predicted by the flow-box theorem. As the domain expands, the disappearance of one or more of these laws indicates that the corresponding local flow-box structure cannot be extended over the entire region. Conservation laws that persist over substantially larger domains reflect structure beyond that guaranteed by local theory and may correspond to genuine global invariants.

Our numerical experiments show that the proposed framework recovers the local conservation laws predicted by the flow-box theorem (and the associated Frobenius integrability [8]) and distinguishes them from invariants that persist over larger domains. By tracking successive reductions in the number of valid independent conservation laws, the method differentiates systems and parameter regimes with varying global structures, including integrable, near-integrable, and non-integrable dynamics. It also reveals how the spatial scale over which a conservation law remains valid changes as a system approaches or departs from an integrable limit.

The remainder of the paper is organized as follows. Section II introduces local and global conservation laws, functional independence, and the flow-box theorem, and then formulates the local-to-global continuation problem. Section III presents neural deflation and explains how it is applied over a nested family of expanding domains, with the associated losses serving as indicators of the persistence and breakdown of local conservation laws (possibly in the form of singularities). Section IV reports numerical experiments on elementary dynamical systems and Hamiltonian benchmarks in integrable, near-integrable, and non-integrable regimes. The paper concludes with a discussion of the capabilities, limitations, and possible extensions of the proposed framework.