Diagnosing Faults in Reinforcement Learning Simulators and World Models with Canonical Polynomial Invariants
Summary
This paper introduces a diagnostic method for reinforcement learning simulators and world models using exact polynomial invariants, developing screening and attribution procedures to localize broken constraints and identify faulty parameters.
View Cached Full Text
Cached at: 09/15/26, 08:33 AM
# Diagnosing Faults in Reinforcement Learning Simulators and World Models with Canonical Polynomial Invariants
Source: [https://arxiv.org/html/2609.13194](https://arxiv.org/html/2609.13194)
Hadush Hailu Gebrerufael Computer Science, MIU Iowa, USA hadush\.gebrerufael@miu\.edu
###### Abstract
A large literature builds physical structure into learned dynamics on the premise that models respecting the underlying physics predict better\. We test that premise using exact polynomial invariants recovered from trajectories and canonicalised as reduced Gröbner bases overℚ\\mathbb\{Q\}\. On Acrobot, exactness provides little benefit for prediction: a consistency regulariser reduces algebraic residual while leaving rollout fidelity essentially unchanged, and a shaping potential recovered from a system with a100%100\\%mass error accelerates learning as effectively as the correct potential\. Exact canonical invariants instead prove valuable for diagnosis\. We develop two procedures:*screening*, which identifies the violated physical constraint, and*attribution*, which recovers the faulty invariant and identifies the responsible physical parameter\. To enable this, we introduce normal\-form deflation and quotient\-space recovery\. Across fifteen injected faults, screening localises every broken constraint with no false alarms, whereas observation\-space baselines do not localise any; attribution recovers the responsible parameter on all seven parameter faults\. Paired difference tests detect all faults, showing that the advantage is localisation rather than detection\. Perturbing reference generators by10−410^\{\-4\}preserves1414–15/1515/15localisations, showing that screening does not require exactness, whereas ideal\-equality decisions distinguish perturbations of only10−1210^\{\-12\}, showing that exactness is required for algebraic comparison\. Applied to 350 release pairs across eleven RL environments, the diagnostic finds no evidence of changed simulator dynamics, instead revealing properties of the benchmark implementations themselves\.
###### Index Terms:
reinforcement learning, physics\-informed learning, polynomial invariants, Gröbner bases, simulator verification
## IIntroduction
Building physical structure into learned dynamics is becoming a well\-populated programme\. Conservation laws are added to losses, Hamiltonian and Lagrangian structure is baked into architectures, and kinematic constraints are enforced by projection, all resting on the premise that a model which respects the physics will predict better\. However, that premise is rarely tested against the strongest form of the structure available, because the invariants such methods use are either learned or numerically approximate\. We supply the strongest form, invariants that are exact and canonical, and ask what it is worth\. It turns out to be worth little for prediction and a great deal for diagnosis\.
The reason is that exactness and canonicity buy one property approximate invariants do not, namely*decidable equality*\. Two ideals are equal if and only if their reduced bases are, and membership is settled by normal\-form reduction alone\[[5](https://arxiv.org/html/2609.13194#bib.bib8)\], neither statement surviving a learned latent function or an approximate border basis\. Most downstream uses consume only a differentiable residual and work about as well with an approximate invariant; the uses that need the canonical form are the ones that must*decide*something, whether two systems have the same algebra and where they differ\.
Such decisions are worth making, because reinforcement learning \(RL\) runs on simulators and simulators are software, carrying mistyped constants, terms dropped in hand\-derived equations of motion, integrators swapped for speed and observation vectors assembled in the wrong order\. The instruments the field uses to catch this are aggregate: a validation error, a rollout divergence curve, or at best a two\-sample test between logged state distributions\. Every one returns a scalar, and a scalar cannot say what is wrong\. A practitioner who learns that their model is inaccurate is no closer to knowing that the second link’s mass is1\.31\.3and not1\.01\.0\. Our answer has two levels:*screening*tests each reference generator’s residual on the system under test and names the constraint that broke, and*attribution*then recovers the invariant and fits a parametric template, returning the constant responsible\.
Our contributions are fourfold\. First, we introduce an exact algebraic diagnostic for RL simulators based on canonical polynomial invariants\. The diagnostic separates screening, which identifies the violated physical constraint, from attribution, which recovers the faulty invariant and identifies the responsible physical parameter\. Second, we characterise what exact canonicalisation provides and what it does not\. Canonical forms make equality of invariant ideals decidable, enabling exact comparison of recovered and reference physics\. We show, however, that exactness is unnecessary for screening, where substantially perturbed generators localise faults equally well, but is essential for ideal\-equality decisions\. Third, we develop two algorithmic components that make the diagnostic practical\. Normal\-form deflation removes algebraically redundant multiples exactly, and quotient\-space recovery avoids tolerance\-based nullspace dimension estimation, enabling invariant recovery without heuristic nullspace selection\. Fourth, we apply the diagnostic to 350 release pairs across eleven RL environments\. We find no evidence of changed simulator dynamics, but instead expose implementation properties including integrator sensitivity, an observation inconsistency in Reacher, and the limits imposed by chaotic dynamics on long\-horizon release comparisons\.
## IIRelated Work
#### Physical structure and its discovery\.
In many existing works, conservation laws and kinematic constraints are added to learned models as differentiable penalties\[[1](https://arxiv.org/html/2609.13194#bib.bib18),[7](https://arxiv.org/html/2609.13194#bib.bib19)\], baked into Hamiltonian and Lagrangian architectures\[[11](https://arxiv.org/html/2609.13194#bib.bib9),[6](https://arxiv.org/html/2609.13194#bib.bib10)\], or discovered contrastively and enforced by projection\[[28](https://arxiv.org/html/2609.13194#bib.bib4)\]\. The invariants themselves come either from symbolic regression and conservation\-law discovery\[[25](https://arxiv.org/html/2609.13194#bib.bib1),[2](https://arxiv.org/html/2609.13194#bib.bib2),[14](https://arxiv.org/html/2609.13194#bib.bib3),[15](https://arxiv.org/html/2609.13194#bib.bib5)\]or from approximate vanishing\-ideal methods that build ideals from noisy samples\[[12](https://arxiv.org/html/2609.13194#bib.bib6),[16](https://arxiv.org/html/2609.13194#bib.bib7),[26](https://arxiv.org/html/2609.13194#bib.bib22)\]\. All consume a residual and return floating\-point objects with no canonical form, so none admits a notion of equality between two discovered invariant sets, the property the diagnostic needs\. Section[VII\-B](https://arxiv.org/html/2609.13194#S7.SS2)asks whether the exact version outperforms the approximate one at prediction, and finds that it does not\.
#### Simulator fidelity, and what the field does about it\.
The gap between a simulator and the system it stands for is usually managed by randomising over it\[[23](https://arxiv.org/html/2609.13194#bib.bib20),[21](https://arxiv.org/html/2609.13194#bib.bib21)\]and not by locating the discrepancy, and reproducibility studies document how often RL results move for reasons nobody can localise\[[13](https://arxiv.org/html/2609.13194#bib.bib17)\], implementation\-level choices sometimes accounting for more of a published gain than the algorithm they are credited to\[[8](https://arxiv.org/html/2609.13194#bib.bib28)\]\. Version drift between shipped releases\[[24](https://arxiv.org/html/2609.13194#bib.bib13)\]is a recognised instance\. Metamorphic testing\[[4](https://arxiv.org/html/2609.13194#bib.bib16)\]checks software by relations that must hold between inputs and outputs instead of by known correct answers, which is structurally what the screen does, except that there the relations are hand\-written and here they are discovered and canonical\. Comparing two versions of a program through the properties each satisfies is established practice: dynamic invariant detection\[[9](https://arxiv.org/html/2609.13194#bib.bib26)\]infers likely invariants from executions and has been used across versions, and property differencing\[[27](https://arxiv.org/html/2609.13194#bib.bib27)\]makes the difference between two versions’ expected properties the object to be checked\. Both work over program variables with template\-enumerated relations and a confidence attached; ours returns a physical constraint named from a canonical basis overℚ\\mathbb\{Q\}together with the constant behind it, and our search found no application of either line to the physics of a simulator release\. The supplementary material \(Appendix A\) separates them in full\.
#### System identification and safety verification\.
*System identification*\[[17](https://arxiv.org/html/2609.13194#bib.bib15)\]presumes the model structure is right and estimates within it, whereas the screen decides whether the structure is right at all and attribution runs only afterwards, refusing when no parameter explains the data\.*Safety verification*uses Gröbner and sum\-of\-squares certificates for barrier functions\[[22](https://arxiv.org/html/2609.13194#bib.bib14),[20](https://arxiv.org/html/2609.13194#bib.bib23)\], which certify inequalities over semialgebraic sets, whereas our objects are equalities\. The supplementary material \(Appendix A\) carries both at length, together with the world\-model literature Section[VII\-B](https://arxiv.org/html/2609.13194#S7.SS2)audits, reward shaping\[[19](https://arxiv.org/html/2609.13194#bib.bib11),[3](https://arxiv.org/html/2609.13194#bib.bib12)\]and Gröbner bases in program\-invariant generation\.
## IIIPolynomial Invariants and Canonical Forms
The invariants used here come in two kinds\. Constraints that vanish on every admissible state are one, quantities that stay constant along a trajectory are the other, and only the first is canonicalised by a reduced Gröbner basis\. For admissible statesℳ⊆ℝn\\mathcal\{M\}\\subseteq\\mathbb\{R\}^\{n\}the*vanishing ideal*is
I\(ℳ\)=\{p∈ℝ\[x1,…,xn\]:p\(x\)=0∀x∈ℳ\},I\(\\mathcal\{M\}\)\\;=\\;\\bigl\\\{\\,p\\in\\mathbb\{R\}\[x\_\{1\},\\dots,x\_\{n\}\]:p\(x\)=0\\ \\forall\\,x\\in\\mathcal\{M\}\\,\\bigr\\\},\(1\)whose members in control are exact and ubiquitous: rigid\-link constraints, the identitycos2θ\+sin2θ−1\\cos^\{2\}\\theta\+\\sin^\{2\}\\theta\-1that holds whenever an angle reaches a policy as a\(cos,sin\)\(\\cos,\\sin\)pair, forward kinematics, loop closures and stoichiometric conservation\. For a fixed monomial order the reduced Gröbner basis of such an ideal is unique\[[5](https://arxiv.org/html/2609.13194#bib.bib8)\], and every constraint just listed holds*regardless of the control input*, so ideals are the right primary object for an actuated system\. Uniqueness is not minimality, however, since the reduced basis of the twisted cubic has three elements for a two\-generator ideal \(Remark 1 in the supplementary material\)\.
Conserved quantities are not an ideal but a*subalgebra*, becauseEEbeing conserved implies thatE2E^\{2\}is conserved, so reduced Gröbner bases do not canonicalise them\. Energy on Acrobot is whatever the initial condition makes it, so a search for vanishing polynomials pooled across trajectories recovers the unit\-norm constraints and misses the energy entirely\. We search instead a*difference dictionary*
Δd=\{m\(s′\)−m\(s\):m∈𝒫≤d\},\\Delta\_\{d\}\\;=\\;\\bigl\\\{\\,m\(s^\{\\prime\}\)\-m\(s\):m\\in\\mathcal\{P\}\_\{\\leq d\}\\,\\bigr\\\},\(2\)whose nullspace vectors are conserved at every energy level simultaneously, and we remove redundancy by extracting a maximal functionally independent subset certified by Jacobian rank, which discardsE2E^\{2\}givenEE\. This certifies irredundancy, not canonicity; maximal independent subsets are not unique\. For actuated damped systems the power balance replaces conservation, carrying a drift floor of its own; the supplementary material \(Appendix B\) develops all three objects\.
## IVScalable Invariant Recovery
Fig\. 1:Overview of the diagnostic pipeline\. Given an initial states0s\_\{0\}and optional actions\{at\}\\\{a\_\{t\}\\\}, trajectories from a reference systemffand a system under testf^\\hat\{f\}are compared\. The invariant recovery stage builds a dictionary of polynomial differences, applies Gröbner\-basis deflation and quotient\-space projection to extract a recovered invariantp^\\hat\{p\}\. Screening localises violated constraints via Mann–WhitneyUUtests; attribution fits the faulty invariant to identify the responsible parameter\.Two obstacles stood between a monomial dictionary and a usable generator, and both had to be removed before the diagnostic could exist\. The supplementary material \(Appendix C\) carries dictionary sizes, support\-search cost, arity\-graded search, coordinate lifting and nondimensionalisation\.
### IV\-ANormal\-Form Deflation
The degree\-ddnullspace is dominated by algebraically trivial content: ifggis a known degree\-22invariant, everym⋅gm\\cdot gwithdegm≤d−2\\deg m\\leq d\-2lies in it and none of them is new information\. Orthogonal projection removes onlyspan\(g\)\\mathrm\{span\}\(g\), one direction:
V←\(I−gg⊤/‖g‖2\)V,V\\leftarrow\\bigl\(I\-gg^\{\\top\}/\\\|g\\\|^\{2\}\\bigr\)\\,V,\(3\)where the trivial content is the whole filtered piece⟨g⟩∩𝒫d\\langle g\\rangle\\cap\\mathcal\{P\}\_\{d\}, of dimension\(n\+d−deggd−degg\)\\binom\{n\+d\-\\deg g\}\{d\-\\deg g\}\. Normal\-form reduction against a reduced Gröbner basis of⟨Gknown⟩\\langle G\_\{\\rm known\}\\rangleremoves that full space exactly:
V←NFGknown\(V\),V\\leftarrow\\mathrm\{NF\}\_\{G\_\{\\rm known\}\}\(V\),\(4\)so that all algebraically redundant multiples vanish in one step\. On Acrobot, trivial multiples account for nearly the entire degree\-33nullspace\. Table S1 in the supplementary material reports the ablation alongside the recovered direction’s alignment with the true energy\.
### IV\-BTolerance\-Free Recovery via Quotient Spaces
Attribution needs the invariant of the*faulty*system, which has to be recovered and not assumed\. Estimating a numerical nullspace against a tolerance and then deflating what was found fails under noise: with noisy observationsc12\+s12−1c\_\{1\}^\{2\}\+s\_\{1\}^\{2\}\-1no longer vanishes, so the fourteen trivial multiples of the known degree\-2 invariant in the Acrobot degree\-3 dictionary leave the nullspace entirely, and the tolerance that would admit the energy admits a great deal else first\. Reversing the order removes the failure and the absolute tolerance together\. LetΠ\\Pibe an orthonormal basis of the image of the normal\-form mapNFG\\mathrm\{NF\}\_\{G\}on𝒫d/\(⟨Gknown⟩∩𝒫d\+ℝ\)\\mathcal\{P\}\_\{d\}/\(\\langle G\_\{\\rm known\}\\rangle\\cap\\mathcal\{P\}\_\{d\}\+\\mathbb\{R\}\), computed once in exact rational arithmetic; we build the difference design matrixΦ\\Phi, restrict it asΦΠ⊤\\Phi\\Pi^\{\\top\}, and take the right singular vector belonging to the smallest singular value\. No nullspace dimension is estimated from the data anywhere, so the units\-dependent absolute tolerance is gone\. What remains is a dimensionless threshold on the spectral gapσmin/σnext\\sigma\_\{\\min\}/\\sigma\_\{\\text\{next\}\}, fixed at0\.10\.1throughout and invariant to a rescaling of the monomial dictionary columns and to the sample count; a system that conserves nothing has no gap and is refused\.
Deflation becomes a precondition here and not an efficiency measure\. Without the projection the least\-varying direction lies wholly inside the trivial piece, at a measured fraction of1\.00001\.0000, and the fourteen\-dimensional degeneracy there means no single direction is identified at all; with it the recovered direction aligns with the energy to1\.00001\.0000\. Snap\-rounding is deliberately bypassed, because a rationality prior is a prior on the system being*correct*, and snapping a faulty coefficient would hide the fault\. The supplementary material \(Appendix E\) carries the gap\-threshold sensitivity and the re\-orthonormalisation that column\-normalisingΦ\\Phiforces onΠ\\Pi\.
## VThe Role of Canonical Forms
Reduced Gröbner bases provide a canonical representative for an invariant ideal\. Their primary benefit is*decidable equality*: for a fixed monomial ordering, two invariant sets define the same ideal if and only if their reduced Gröbner bases are identical\. This removes ambiguity caused by different generating sets for the same ideal and permits exact algebraic comparison between recovered and reference invariant sets\. Membership queries are likewise decided by normal\-form reduction rather than by tolerance\-dependent residual thresholds\.
We evaluate this property experimentally\. Independent recoveries of identical physical systems reduce to the same canonical form, whereas systems with changed invariant ideals are distinguished by two\-way normal\-form reduction\. The resulting decisions agree with the known fault categories: parameter and observation faults modify the invariant ideal, while integration and step\-size faults preserve it\. Residual\-based comparisons do not provide this separation, because they measure deviation from constraints but do not determine whether the underlying algebraic object has changed\.
Canonicalisation alone does not provide minimality, physical correctness, or a complete diagnostic procedure\. A reduced Gröbner basis is unique for a fixed monomial ordering but is not necessarily a minimum\-cardinality generating set\. Likewise, equality of invariant ideals certifies only equality of the encoded constraints; it does not establish that the constraints fully describe the dynamics or guarantee correct behaviour\. The diagnostic capability developed in Section[VI](https://arxiv.org/html/2609.13194#S6)arises from combining canonical invariant representations with generator\-level screening and parameter\-level attribution\.
Canonicalisation is unnecessary for residual\-based downstream uses such as consistency regularisation and shaping \(Section[VII\-B](https://arxiv.org/html/2609.13194#S7.SS2)\); it is required only for equality\-based diagnosis\.
## VIDiagnostic Procedure
The input is a reference generating setGrefG\_\{\\rm ref\}for a system whose invariants are known, together with trajectories from a system under test: another release of the same simulator, a simulator suspected of a configuration error, or a learned world model rolled out under its own predictions \(Fig\.[1](https://arxiv.org/html/2609.13194#S4.F1)\)\. The procedure is identical across all three settings\. The supplementary material \(Appendix E\) gives both levels in full\.
### VI\-AScreening: Constraint Localisation
Each generator’s residual is normalised by the natural scale ofppon the data\. For a vanishing constraint the normalised residual is
ri=RMS\(pi\(x\)\)RMS\(‖x‖degpi\),r\_\{i\}\\;=\\;\\frac\{\\mathrm\{RMS\}\\bigl\(p\_\{i\}\(x\)\\bigr\)\}\{\\mathrm\{RMS\}\\bigl\(\\\|x\\\|^\{\\deg p\_\{i\}\}\\bigr\)\},\(5\)without which a degree\-33generator evaluated on velocities of order ten looks worse than a unit\-norm constraint purely through units\. For a conserved generator, which has no meaningful distance to zero, the numerator becomes the standard deviation ofpip\_\{i\}*along*each trajectory:
ri=stdtraj\(pi\(x\)\)RMS\(‖x‖degpi\)\.r\_\{i\}\\;=\\;\\frac\{\\mathrm\{std\}\_\{\\text\{traj\}\}\\bigl\(p\_\{i\}\(x\)\\bigr\)\}\{\\mathrm\{RMS\}\\bigl\(\\\|x\\\|^\{\\deg p\_\{i\}\}\\bigr\)\}\.\(6\)
A fixed threshold on that residual is the obvious rule and the wrong one, since under measurement noise the reference residual rises off machine epsilon to the noise floor and a fault must then clear a multiple of the*floor*and not of the*signal*\. We test instead against the reference system’s block\-to\-block variability\. Both systems’ trajectories are split into3232contiguous blocks, and for each generator we compute a one\-sided Mann–WhitneyUUpp\-value for the test residuals being stochastically larger, Bonferroni corrected acrossGrefG\_\{\\rm ref\}\. Blocks remain contiguous because conservation drift is defined over trajectory segments rather than shuffled samples\. The resulting*per generator*pp\-values both detect faults and identify the violated constraint\. Blocks cut from one trajectory are not independent replicates, and the resulting level inflation is measured in Section[VIII](https://arxiv.org/html/2609.13194#S8); the same test over whole trajectories, with an exact permutation null, holds its nominal level and is reported alongside throughout\.
### VI\-BAttribution: Parameter Identification
Letp\(x,θ\)p\(x;\\theta\)be a template whose coefficients depend symbolically on physical parameters andp^\\hat\{p\}the polynomial recovered from the test system\. Recovery returns a*direction*, sop^\\hat\{p\}carries an arbitrary scale and, for a conserved quantity, an arbitrary additive constant as well, sinceEEandαE\+β\\alpha E\+\\betaare conserved together\. Fitting is carried out modulo that gauge:
θ⋆=argminθ,α,β‖p^−\(αp\(⋅,θ\)\+β\)‖‖p^‖\.\\theta^\{\\star\}\\;=\\;\\arg\\min\_\{\\theta,\\,\\alpha,\\,\\beta\}\\;\\frac\{\\bigl\\\|\\hat\{p\}\-\\bigl\(\\alpha\\,p\(\\cdot;\\theta\)\+\\beta\\bigr\)\\bigr\\\|\}\{\\\|\\hat\{p\}\\\|\}\.\(7\)Fitting without the gauge fails because every coefficient of the Acrobot energy containsm2m\_\{2\}, leaving no parameter\-free monomial for normalisation\. Real configuration errors are sparse, so for each parameter in turn we free that one, hold the rest at specification, and minimise; templates carry more monomials than parameters, so a wrong hypothesis shows up as a large residual\.
The procedure returns one of three verdicts:*parameter fault*, when one hypothesis both fits far better than its nearest rival and lands away from its specified value;*consistent with specification*, when a generator was recovered, the best hypothesis fits, and nothing separates it from its rivals, which healthy systems produce and a naive argmin would misreport as a fault; and*not explicable as a parameter fault*, when recovery finds no decisive spectral gap, the situation a dropped Coriolis term produces, or when a direction is recovered that no single\-parameter hypothesis fits\. Routing that last case to the second verdict is a mistake with a direction, since a generator no hypothesis explains is evidence against the specification\.
### VI\-CDownstream Applications
The same generators support two constructions that consume only a residual\.*Consistency regularisation*adds to the training loss
ℒcons=λ∑iwi‖pi\(fθ\(s,a\)\)‖2\.\\mathcal\{L\}\_\{\\rm cons\}\\;=\\;\\lambda\\sum\_\{i\}w\_\{i\}\\,\\bigl\\\|p\_\{i\}\\bigl\(f\_\{\\theta\}\(s,a\)\\bigr\)\\bigr\\\|^\{2\}\.\(8\)*Potential\-based shaping*cannot use the residual, identically zero in any real environment; what carries information is the*value*of the conserved quantity, so for a targetE⋆E^\{\\star\}the shaping potential is
Φ\(s\)=−\|E\(s\)−E⋆\|,\\Phi\(s\)\\;=\\;\-\\bigl\|E\(s\)\-E^\{\\star\}\\bigr\|,\(9\)and we shape in the sense of\[[19](https://arxiv.org/html/2609.13194#bib.bib11)\]\. The supplementary material \(Appendix E\) gives both in full\.
## VIIExperiments
Two propositions proved in the supplementary material \(Appendix F\) bound what follows\. Proposition 1 gives soundness with the necessity/sufficiency gap, so the diagnostic is a necessary condition and we therefore conclude only that\. Proposition 2 gives the population\-level target the screen approximates: a residual reaching the state only through the generator, which reseeding cannot move, whereas a two\-sample test on state distributions has a statistic that a change of seed moves without moving the physics\. It does not cover the implemented screen, a finite\-sample test of a different statistic; the healthy controls of Section[VII\-A](https://arxiv.org/html/2609.13194#S7.SS1)are the evidence there\.
Environments come in three tiers \(supplementary material, Appendix G\)\.*Tier A*carries exact vanishing invariants with known ground truth: Acrobot, whose66\-dimensional observation is already the coordinate system the algebra wants, and Reacher, whose1111dimensions answer the dimensionality objection\.*Tier B*is actuated and dissipative, where the power balance replaces conservation\.*Tier C*holds the negative controls, Hopper and HalfCheetah, on which the low\-degree nullspaces are empty at every tolerance tried and the procedure correctly returns nothing\.
The diagnostic is scored against a catalogue of fifteen faults fixed in advance, never against random perturbations, because a fixed list carries a known*locus*, the generator the fault must break, and for parameter faults a known*value*, which is what makes localisation and attribution scorable at all\. Table S2 in the supplementary material lists them with the generator each must break, along with two healthy controls on which the correct behaviour is silence\.
### VII\-AFault Localisation and Attribution
Both experimental configurations come from an analytic reimplementation of the two environments, since the shipped ones fix the step size and the integrator while this experiment has to vary both; it is checked against rollouts of Gymnasium and the symbolic energy \(supplementary material, Appendix I\)\. The reference configuration runs at specification, and the test configuration contains one injected fault\. Two regimes ask different questions of the baselines:*unpaired*logs the two systems independently, the situation anyone comparing two releases is in, and*paired*starts both from identical initial conditions, the regime the two\-sample tests are entitled to\.
TABLE I:Detection, localisation and attribution over fifteen faults and two healthy controls, one draw per cell\. Localisation is scored as exact set agreement with the fault’s known constraint locus, and*n/a*marks a method with no constraint to name or, for the paired difference test, a setting it cannot run in\.*Inv\. screen*evaluates reference invariant residuals;*block*and*traj\.*denote the replication unit\. The paired noiseless control column is an identity check rather than a false\-alarm rate; Fig\.[3](https://arxiv.org/html/2609.13194#S7.F3)measures the rate\.The screen detects15/1515/15and localises15/1515/15in both noiseless regimes, with no false alarm on either healthy control\. It does not attribute the detection: a paired two\-sample test built from the same information, per\-coordinate block\-mean discrepancy against a healthy paired pair, also detects15/1515/15at both noise levels and atσ=10−3\\sigma=10^\{\-3\}detects what the screen misses\.
The localisation column is where the two differ\. No baseline names a constraint: MMD\[[10](https://arxiv.org/html/2609.13194#bib.bib24)\]and the discriminator, a classifier two\-sample test in the sense of\[[18](https://arxiv.org/html/2609.13194#bib.bib25)\], return one number for the whole state vector, while KS and the paired difference test could name an offending*coordinate*, which is not a constraint, and on a parameter fault every coordinate moves at once\. In the unpaired regime all three of them fire on the reseeded Acrobot control, a different seed being a different state distribution that a distributional test cannot separate from different physics, and the screen fires on neither control\. Atσ=10−3\\sigma=10^\{\-3\}the screen detects12/1512/15per trajectory and still localises what it detects \(Table[I](https://arxiv.org/html/2609.13194#S7.T1)\)\. That comparison gives the screen named features and the baselines none, which confounds two differences\. Handed the per\-generator residual vector instead of the raw observation, the baselines localise too, an off\-the\-shelf Kolmogorov–Smirnov test over it reaching14/1514/15\. Localisation is therefore carried by the reference generating set and not by the rank test reading it, and what exactness and canonicity supply is the set itself, well defined, reproducible across runs and comparable between two systems\.
Counts at one fault magnitude also say nothing about where a method’s floor lies\. Sweeping one constant at a time from10−410^\{\-4\}to0\.30\.3places the screen’s noiseless floor at the bottom of the sweep on all four constants, where no baseline resolves better than30%30\\%on Acrobot; under noise it holds10−310^\{\-3\}on Reacher and rises by two to three orders on Acrobot, whose energy is a drift measured over a window that observation noise enters directly\. Both ablations and the operating characteristics overα\\alphaare in the supplementary material \(Appendix H\), and Fig\.[3](https://arxiv.org/html/2609.13194#S7.F3)measures the false\-alarm rate over500500pairs per setting\.
Attribution names the correct parameter on all77parameter faults, to a relative error of1\.0×10−71\.0\\times 10^\{\-7\}, returns*not explicable as a parameter fault*on all seven faults that carry a parameterised generator and that no parameter explains, and returns*consistent with specification*on both healthy controls atσ=0\\sigma=0\. It reads coefficients off a singular direction and inherits that direction’s conditioning, so the conserved\-quantity half fails betweenσ=10−6\\sigma=10^\{\-6\}and10−510^\{\-5\}\(Table S3 in the supplementary material\)\. The consequence is a division of labour, stated here as a limitation: level\-2 attribution serves simulators and learned models, where data is float64 and noise\-free, and not logged hardware, whereas level\-1 screening needs only a residual and stays useful at noise three orders of magnitude higher\.
### VII\-BWorld\-Model Consistency Regularisation
We train eighty\-four MLP dynamics models on Acrobot, varyingλ\\lambda, hidden width, trajectory budget and seed\. The sweep extends toλ=100\\lambda=100, where one\-step validation error increases6464\-fold while the algebraic residual falls to0\.790\.79of its unregularised value, ensuring the regulariser is active\.
Over that whole range no weight improves the divergence horizon \(Table S4 in the supplementary material\)\. Every point estimate is at or below zero, the largest of them−0\.1\-0\.1steps out of45\.945\.9, and the one bootstrap interval that excludes zero does so on the losing side,λ=10−2\\lambda=10^\{\-2\}at−1\.3\-1\.3steps, and does not keep its sign across the divergence threshold\. Pastλ=1\\lambda=1the horizon collapses at every threshold from0\.050\.05to1\.01\.0, losing3737steps atλ=100\\lambda=100\.
One\-step validation error is the better predictor of long\-horizon fidelity, and the pool it is measured over changes how much better\. On the unregularised models Spearman is0\.930\.93for validation error against0\.770\.77for the algebraic residual; the ordering survives on every pool and the margin does not \(supplementary material, Appendix H\)\. Validation error also needs the held\-out ground truth the algebraic residual does not\. The exact invariant does not outperform the approximate construction it was meant to improve on, because the loss consumes only a residual, and a residual does not care whether its generator is canonical\.
### VII\-CReward Shaping from Discovered Invariants
Fig\. 2:Acrobot swing\-up, unshaped environment return, mean over five seeds\.*\(a\)*The discovered energy leads unshaped PPO for the whole of the first4040k steps\. The two random configurations, of the same degree and matched in scale two different ways, each contain ten independent polynomial draws and five PPO seeds per draw; all remain behind the discovered potential\.*\(b\)*Each faulty potential is plotted against the correct one so that the comparison is against seed\-to\-seed spread and not against the axis\. Mass errors of10%10\\%,30%30\\%and100%100\\%stay inside the band; only300%300\\%leaves it, and it leaves it downwards for most of training\.Shaping from the discovered energy is a large sample\-efficiency gain, improving AUC from−147\.8\-147\.8to−91\.3\-91\.3, and among the energy\-derived conditions policy invariance holds empirically as\[[19](https://arxiv.org/html/2609.13194#bib.bib11)\]predicts, each converging to a final return within about one standard deviation of the others\. The gain is in how fast the policy arrives\.
The random control determines whether the gain comes from the recovered potential or merely from adding a dense shaping signal\. Because no single scaling matches both potential range and per\-step shaping magnitude, we evaluate both normalisations \(supplementary material, Appendix H\)\. Across ten random polynomial draws under each normalisation, the seed\-aligned runs are compared with the discovered potential\. Aggregates are formed over polynomial draws, not over the seed\-by\-draw runs\.
The faulty configurations fix their gauge entirely inside the faulty model: scale and offset from that model’s analytic energy, and a targetE⋆E^\{\\star\}from its own upright pose,34\.3034\.30for a doubled second mass against the correct19\.6019\.60\. Nothing correct enters at any step, which is the position of a practitioner deploying from a model they have not checked\. They still shape\. At10%10\\%,30%30\\%and100%100\\%mass error the AUC is−90\.8\-90\.8,−88\.6\-88\.6and−90\.8\-90\.8against the correct potential’s−91\.3\-91\.3, all three inside its own seed\-to\-seed spread for most of training \(Fig\.[2](https://arxiv.org/html/2609.13194#S7.F2)b\) and each difference under a tenth of the−56\.5\-56\.5that shaping gains over none\. Five seeds against five cannot support a failure to reject, so the equivalence is stated as bootstrap intervals, which the supplementary material \(Appendix H\) gives\. Only at300%300\\%does the potential degrade, to−100\.5\-100\.5, and even there it beats no shaping\. What a shaping potential needs is to increase in roughly the direction the task demands, and that survives a mass error of100%100\\%\.
That robustness argues for the diagnostic and not against it\. Learning absorbs a parameter error without reporting one, so a training run is a poor instrument for detecting the error it tolerates, and the cost lands elsewhere: on a policy that transfers to hardware built for the right mass, and on a return quoted against a benchmark whose physics has moved\. Section[VII\-D](https://arxiv.org/html/2609.13194#S7.SS4)finds two such defects in shipped code, neither of which changes a reported return\.
### VII\-DAuditing Shipped Releases
Every fault above was injected by us, the standard objection to a mutation\-based evaluation\. We answer it by pointing the same pipeline, unchanged, at the release history ofgym,gymnasiumand themujocobindings, giving350350pairs over eleven environments, each release pinned into a virtualenv of its own and built through the publicmakeentry point with no source file patched\. A dumper running inside each virtualenv imposes identical initial states and action sequences, so unchanged dynamics code on byte\-identical inputs must reproduce byte\-identical doubles\. The exact stage settles detection outright, and the screen runs on the pairs it separates to settle localisation\.
The dynamics are unchanged throughout\. All275275classic\-control pairs are bitwise identical, and among the7575MuJoCo pairs the four non\-chaotic environments agree to at most9\.1×10−159\.1\\times 10^\{\-15\}, the signature of a recompiled physics library reordering floating\-point operations\. The null is the expected answer on maintained projects\. What this experiment contributes is not the null but three properties of the benchmarks that no source comparison would have surfaced, none of them being a line anyone changed\. The pipeline is not blind while returning them: perturbing Gymnasium’sAcrobotEnv, both controls separate and localise toenergyalone \(supplementary material, Appendix H\)\.
#### Reacher’s observation fails its own forward kinematics\.
On Reacher the forward\-kinematics generators sit at1\.1×10−81\.1\\times 10^\{\-8\}and1\.6×10−71\.6\\times 10^\{\-7\}in a float64 pipeline, nine orders above the precision the unit\-norm identities reach in the same observation vector, and the geometry is not the cause\.MujocoEnv\.\_step\_mujoco\_simulationcallsmj\_stepand nevermj\_forwardafterwards, sodata\.xiposstill describes an internal integrator stage whileReacherEnv\.\_get\_obstakescosθ\\cos\\thetaandsinθ\\sin\\thetafrom the updatedqposand the fingertip vector from the stalexipos: the two halves of the observation are read at different points of the step\. At6×10−96\\times 10^\{\-9\}this changes nobody’s returns and it is not a physics error, but it is a real inconsistency in a widely used benchmark, it floors any exact diagnostic on shipped MuJoCo observations at about10−810^\{\-8\}, and it reproduces on all six installed configurations and both Reacher versions\. Inserting a singlemj\_forwardcall aftermj\_stepin the patched simulation loop drops the FK residual from6\.2×10−96\.2\\times 10^\{\-9\}to2\.8×10−172\.8\\times 10^\{\-17\}, matching the geometry baseline and confirming the diagnosis\. What surfaced it was the per\-generator report: two generators of one reference set, on one observation vector, differing by nine orders of magnitude, whereas an aggregate score returns one unremarkable number\.
#### Acrobot ships at a step size where energy is not usable\.
A one percent error inLINK\_LENGTH\_1moves the trajectory by1\.6rads−11\.6\\,\\mathrm\{rad\}\\,\\mathrm\{s\}^\{\-1\}, which the exact stage sees immediately and the screen does not flag\. Gymnasium ships Acrobot atΔt=0\.2\\Delta t=0\.2, where RK4’s relative energy drift of3\.55×10−33\.55\\times 10^\{\-3\}is a larger violation of conservation than a percent\-level parameter error\. Reducing the step at fixed horizon \(Table[II](https://arxiv.org/html/2609.13194#S7.T2)\) drops the drift floor and the smallest localisable parameter error together, from3×10−23\\times 10^\{\-2\}at the shipped step to below10−310^\{\-3\}atΔt=0\.05\\Delta t=0\.05\. Energy is therefore not a usable invariant of Acrobot as distributed, and any diagnostic resting on it inherits that floor\.
#### On a chaotic benchmark an exact comparison must be read at the first step\.
On InvertedDoublePendulum, the one chaotic environment in the matrix, thirteen release pairs separate by between4\.5×10−24\.5\\times 10^\{\-2\}and the10110^\{1\}at which the observation saturates its clip\. Read off the horizon that would be the largest dynamics change in the audit, and it is not one\. The same pairs differ by at most2\.2×10−162\.2\\times 10^\{\-16\}on the first step, from a state both releases were handed identically, and the separation grows from there at a decade per3232steps \(Fig\.[4](https://arxiv.org/html/2609.13194#S7.F4)\)\. That rate is the system’s Lyapunov exponent and not a changed model, and Reacher over the same pairs and horizon does not separate at all\. The exact stage’s guarantee survives only where it is read before the dynamics amplify anything, so a pair is classified by its first\-step separation; an audit thresholding the horizon would report a physics change in a benchmark whose physics did not change\.
Fig\. 3:Measured family\-wise false\-alarm rate over500500healthy\-versus\-healthy comparisons per setting, against a nominalα=0\.01\\alpha=0\.01, with Wilson95%95\\%intervals\. Both configurations are the same model differing only by seed, so every rejection is a false alarm by construction\. Three intervals lie entirely to the right of the nominal line and all three are block\-level and on Acrobot; every trajectory\-level interval covers it or sits below\.Fig\. 4:Separation between two shipped releases running identical model files, from a state both were handed identically\. Colour is the environment and line style the release pair\. The chaotic environment climbs fourteen decades at a constant rate from one unit in the last place, which is the signature of an amplified rounding difference and not of a changed model; the non\-chaotic one, over the same release pairs and the same horizon, does not move\. The lower Reacher pair is bitwise identical at every step and is drawn on the axis floor\.TABLE II:Release audit\. The reference system’s energy drift sets the floor, and the smallest relative parameter error the screen localises tracks it\. The first row is the shipped configuration\. Both parameters have spec value1\.01\.0, and≤10−3\\leq 10^\{\-3\}means every magnitude down to the bottom of the sweep was localised\.
## VIIILimitations
Attribution needs clean data, and its ceiling is low, failing betweenσ=10−6\\sigma=10^\{\-6\}and10−510^\{\-5\}of observation noise, so it serves simulators, learned models and version diffs, not logged hardware\. A reference generating set is required, so screening cannot audit a system with no correct version behind it\. Version drift is the weakest of its applications, since two releases can be compared withdiffand the null of Section[VII\-D](https://arxiv.org/html/2609.13194#S7.SS4)is most likely explained by that process already working; the instrument earns its cost where no prior release exists, a first release, a hand\-derived model or a robot description file\. Attribution assumes a single fault: on four two\-fault systems it declines on three, and on the fourth it namesm2=1\.3005m\_\{2\}=1\.3005while concealing the second wrong constant entirely, so the failure mode is a confident partial answer\. Freeing both parameters at once recovers both, which locates the loss in the single\-fault search and not in the recovered generator\. The hypothesis class is polynomials of bounded degree in the supplied coordinates, so transcendental invariants are out of reach, and the arity bound assumes physical constraints couple few variables\.
Discovery is bounded by the integrator’s drift \(Remark 2 in the supplementary material\), so the environment has to be re\-integrated more finely than it ships, possible only where we control the simulator\. The exact stage is bounded by the Lyapunov exponent per Section[VII\-D](https://arxiv.org/html/2609.13194#S7.SS4)\. Contact\-rich locomotion is out of scope by construction, with Hopper and HalfCheetah entering as negative controls\. The block\-level test does not hold its nominal level, false\-alarming at up to10\.2%10\.2\\%against a nominal1%1\\%, because blocks cut from one trajectory are not the independent replicates the rank test counts them as; the trajectory\-level permutation test is consistent with nominal in all eight settings and is the unit at which the statedα\\alphais supported\. Table[I](https://arxiv.org/html/2609.13194#S7.T1)is a single draw per cell, so small differences between baselines should not be read; the ordering survives a sweep ofα\\alphaover twelve decades \(Table S5 in the supplementary material\)\. Detection is not where the algebra wins: a paired two\-sample test on per\-coordinate discrepancies, given the reference pair the screen is also given, detects every catalogue fault at both noise levels\. It names a coordinate and never a constraint, so the localisation claim stands while the detection claim is not one this work makes\. Exactness is not what screening needs: perturbing every coefficient of the reference set by about10−410^\{\-4\}retains1414–15/1515/15localisations, and what an approximate set loses at higher noise is the ability to be built at all \(Section[V](https://arxiv.org/html/2609.13194#S5)\)\. The exactness claim therefore covers the equality decision and nothing downstream of a residual\. Finally, necessity is not sufficiency, by Proposition 1 in the supplementary material\.
## IXConclusion
We tested a premise the physics\-informed literature mostly assumes, that enforcing physical structure improves learned dynamics, using the strongest structure available instead of an approximation of it\. For prediction the premise did not hold\. Pushed until it cost the model a factor of sixty in one\-step error, the regulariser provided no rollout fidelity, and a shaping potential recovered and gauged wholly inside a system with a100%100\\%mass error worked as well as the correct one\. What the invariant does supply is the potential’s shape, which the random control isolates\. Canonicity provides decidable equality and reproducibility, and neither minimality, sufficiency nor safety; the substitution ablation narrows the list further still, since the screen keeps localising through a coefficient perturbation four decades above what a numerical recovery incurs\. Deciding is where exactness is not negotiable, so the uses worth building are the diagnostic ones\.
Those are what we built\. Given trajectories from a simulator, a release or a learned world model, the instrument reports which physical constraint broke and, where the fault is a wrong constant, what that constant has become\. Turned on the field’s own infrastructure it reports no change across350350shipped release pairs and returns three properties of the benchmarks that no source comparison would have surfaced\.
## Reproducibility
Code for every experiment is available at[https://www\.github\.com/TesfayZ/algebraicRLtest\.git](https://www.github.com/TesfayZ/algebraicRLtest.git)\. Every number in Section[VII](https://arxiv.org/html/2609.13194#S7)and supplementary Appendix H is produced by a script there; the mapping from result to script is in the accompanying README, and the checks of Appendix I exit nonzero if any claim there has drifted from the text\.
## References
- \[1\]T\. Beucler, M\. Pritchard, S\. Rasp, J\. Ott, P\. Baldi, and P\. Gentine\(2021\)Enforcing analytic constraints in neural networks emulating physical systems\.Physical Review Letters126\(9\),pp\. 098302\.External Links:[Document](https://dx.doi.org/10.1103/PhysRevLett.126.098302)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[2\]S\. L\. Brunton, J\. L\. Proctor, and J\. N\. Kutz\(2016\)Discovering governing equations from data by sparse identification of nonlinear dynamical systems\.Proceedings of the National Academy of Sciences113\(15\),pp\. 3932–3937\.External Links:[Document](https://dx.doi.org/10.1073/pnas.1517384113)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[3\]Y\. Burda, H\. Edwards, A\. Storkey, and O\. Klimov\(2019\)Exploration by random network distillation\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px3.p1.1)\.
- \[4\]T\. Y\. Chen, F\. Kuo, H\. Liu, P\. Poon, D\. Towey, T\. H\. Tse, and Z\. Q\. Zhou\(2018\)Metamorphic testing: a review of challenges and opportunities\.ACM Computing Surveys51\(1\),pp\. 4:1–4:27\.External Links:[Document](https://dx.doi.org/10.1145/3143561)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[5\]D\. A\. Cox, J\. Little, and D\. O’Shea\(2015\)Ideals, varieties, and algorithms: an introduction to computational algebraic geometry and commutative algebra\.4th edition,Springer,New York\.Cited by:[§I](https://arxiv.org/html/2609.13194#S1.p2.1),[§III](https://arxiv.org/html/2609.13194#S3.p1.2)\.
- \[6\]M\. Cranmer, S\. Greydanus, S\. Hoyer, P\. Battaglia, D\. Spergel, and S\. Ho\(2020\)Lagrangian neural networks\.External Links:2003\.04630Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[7\]F\. Djeumou, C\. Neary, E\. Goubault, S\. Putot, and U\. Topcu\(2022\)Neural networks with physics\-informed architectures and constraints for dynamical systems modeling\.InLearning for Dynamics and Control Conference \(L4DC\),Proceedings of Machine Learning Research, Vol\.168,pp\. 263–277\.Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[8\]L\. Engstrom, A\. Ilyas, S\. Santurkar, D\. Tsipras, F\. Janoos, L\. Rudolph, and A\. Madry\(2020\)Implementation matters in deep RL: a case study on PPO and TRPO\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[9\]M\. D\. Ernst, J\. H\. Perkins, P\. J\. Guo, S\. McCamant, C\. Pacheco, M\. S\. Tschantz, and C\. Xiao\(2007\)The Daikon system for dynamic detection of likely invariants\.Science of Computer Programming69\(1–3\),pp\. 35–45\.External Links:[Document](https://dx.doi.org/10.1016/j.scico.2007.01.015)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[10\]A\. Gretton, K\. M\. Borgwardt, M\. J\. Rasch, B\. Schölkopf, and A\. Smola\(2012\)A kernel two\-sample test\.Journal of Machine Learning Research13,pp\. 723–773\.Cited by:[§VII\-A](https://arxiv.org/html/2609.13194#S7.SS1.p3.1)\.
- \[11\]S\. Greydanus, M\. Dzamba, and J\. Yosinski\(2019\)Hamiltonian neural networks\.InAdvances in Neural Information Processing Systems \(NeurIPS\),Vol\.32\.Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[12\]D\. Heldt, M\. Kreuzer, S\. Pokutta, and H\. Poulisse\(2009\)Approximate computation of zero\-dimensional polynomial ideals\.Journal of Symbolic Computation44\(11\),pp\. 1566–1591\.External Links:[Document](https://dx.doi.org/10.1016/j.jsc.2008.11.010)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[13\]P\. Henderson, R\. Islam, P\. Bachman, J\. Pineau, D\. Precup, and D\. Meger\(2018\)Deep reinforcement learning that matters\.InAAAI Conference on Artificial Intelligence,Vol\.32\.External Links:[Document](https://dx.doi.org/10.1609/aaai.v32i1.11694)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[14\]E\. Kaiser, J\. N\. Kutz, and S\. L\. Brunton\(2018\)Discovering conservation laws from data for control\.InIEEE Conference on Decision and Control \(CDC\),pp\. 6415–6421\.External Links:[Document](https://dx.doi.org/10.1109/CDC.2018.8618963)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[15\]Z\. Liu and M\. Tegmark\(2021\)Machine learning conservation laws from trajectories\.Physical Review Letters126\(18\),pp\. 180604\.External Links:[Document](https://dx.doi.org/10.1103/PhysRevLett.126.180604)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[16\]R\. Livni, D\. Lehavi, S\. Schein, H\. Nachliely, S\. Shalev\-Shwartz, and A\. Globerson\(2013\)Vanishing component analysis\.InProceedings of the 30th International Conference on Machine Learning \(ICML\),Proceedings of Machine Learning Research, Vol\.28,pp\. 597–605\.Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[17\]L\. Ljung\(1999\)System identification: theory for the user\.2nd edition,Prentice Hall\.Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px3.p1.1)\.
- \[18\]D\. Lopez\-Paz and M\. Oquab\(2017\)Revisiting classifier two\-sample tests\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[§VII\-A](https://arxiv.org/html/2609.13194#S7.SS1.p3.1)\.
- \[19\]A\. Y\. Ng, D\. Harada, and S\. Russell\(1999\)Policy invariance under reward transformations: theory and application to reward shaping\.InProceedings of the 16th International Conference on Machine Learning \(ICML\),pp\. 278–287\.Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px3.p1.1),[§VI\-C](https://arxiv.org/html/2609.13194#S6.SS3.p1.3),[§VII\-C](https://arxiv.org/html/2609.13194#S7.SS3.p1.1)\.
- \[20\]P\. A\. Parrilo\(2003\)Semidefinite programming relaxations for semialgebraic problems\.Mathematical Programming96\(2\),pp\. 293–320\.External Links:[Document](https://dx.doi.org/10.1007/s10107-003-0387-5)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px3.p1.1)\.
- \[21\]X\. B\. Peng, M\. Andrychowicz, W\. Zaremba, and P\. Abbeel\(2018\)Sim\-to\-real transfer of robotic control with dynamics randomization\.InIEEE International Conference on Robotics and Automation \(ICRA\),pp\. 3803–3810\.External Links:[Document](https://dx.doi.org/10.1109/ICRA.2018.8460528)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[22\]S\. Prajna and A\. Jadbabaie\(2004\)Safety verification of hybrid systems using barrier certificates\.InHybrid Systems: Computation and Control \(HSCC\),Lecture Notes in Computer Science, Vol\.2993,pp\. 477–492\.External Links:[Document](https://dx.doi.org/10.1007/978-3-540-24743-2%5F32)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px3.p1.1)\.
- \[23\]J\. Tobin, R\. Fong, A\. Ray, J\. Schneider, W\. Zaremba, and P\. Abbeel\(2017\)Domain randomization for transferring deep neural networks from simulation to the real world\.InIEEE/RSJ International Conference on Intelligent Robots and Systems \(IROS\),pp\. 23–30\.External Links:[Document](https://dx.doi.org/10.1109/IROS.2017.8202133)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[24\]M\. Towers, A\. Kwiatkowski, J\. Terry, J\. U\. Balis, G\. De Cola, T\. Deleu, M\. Goulão, A\. Kallinteris, M\. Krimmel, A\. KG, R\. Perez\-Vicente, A\. Pierré, S\. Schulhoff, J\. J\. Tai, H\. Tan, and O\. G\. Younis\(2024\)Gymnasium: a standard interface for reinforcement learning environments\.External Links:2407\.17032,[Document](https://dx.doi.org/10.48550/arXiv.2407.17032)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[25\]S\. Udrescu and M\. Tegmark\(2020\)AI Feynman: a physics\-inspired method for symbolic regression\.Science Advances6\(16\),pp\. eaay2631\.External Links:[Document](https://dx.doi.org/10.1126/sciadv.aay2631)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[26\]E\. Wirth, H\. Kera, and S\. Pokutta\(2023\)Approximate vanishing ideal computations at scale\.InInternational Conference on Learning Representations \(ICLR\),Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.
- \[27\]G\. Yang, S\. Khurshid, S\. Person, and N\. Rungta\(2014\)Property differencing for incremental checking\.InInternational Conference on Software Engineering \(ICSE\),pp\. 1059–1070\.External Links:[Document](https://dx.doi.org/10.1145/2568225.2568319)Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px2.p1.1)\.
- \[28\]W\. Zhang, T\. Weng, S\. Das, A\. Megretski, L\. Daniel, and L\. M\. Nguyen\(2023\)ConCerNet: a contrastive learning based framework for automated conservation law discovery and trustworthy dynamical system prediction\.InProceedings of the 40th International Conference on Machine Learning \(ICML\),PMLR, Vol\.202,pp\. 41694–41714\.Cited by:[§II](https://arxiv.org/html/2609.13194#S2.SS0.SSS0.Px1.p1.1)\.Similar Articles
Predicting Closed-Loop Performance of Latent World Models: Offline Checkpoint Selection for MPC and Model-Based RL Under Non-Markovian Rewards in LunarLander
This paper addresses objective mismatch in model-based RL by proposing offline diagnostics to predict closed-loop performance of latent world models. On LunarLander-v3, the Reward Observability Fraction (ROF) and a Composite score (CROF) enable selecting checkpoints that yield strong MPC and model-based RL policies with far fewer real-environment interactions.
Conservation Buys Stability and Factoring Buys Counterfactuals in Physical World Models
This paper identifies two distinct failures in learned physical simulators—instability in long rollouts and inability to adapt to changed laws—and proposes separate structural solutions: symplectic integration for stability and explicit factorization for counterfactual generalization.
Where Instruction Hierarchy Breaks: Diagnosing and Repairing Failures in Reasoning Language Models
This paper introduces a white-box diagnostic framework that localizes instruction hierarchy failures in reasoning language models into identification, conflict resolution, and response realization stages. It evaluates several models and proposes two training-free self-monitoring mechanisms that reduce non-compliance by 81–99%.
Theoretical Foundations and Effective Algorithms for Policy-Aware Simulator Learning
This paper proposes a strategic robustness objective for learning simulators in model-based reinforcement learning, formulated as a minimax game between a model player and an adversarial policy player. Theoretical guarantees and a provably convergent algorithm are provided, with experiments showing reduced prediction error and improved real-world policy transfer.
Repair the Amplifier, Not the Symptom: Stable World-Model Correction for Agent Rollouts
This paper introduces WM-SAR, a world-model correction method for agent planning that repairs causal subgraphs rather than visible symptoms, achieving better stabilization under token budgets compared to standard LLM correctors.