Emerging Equilibria Example
Run all eight compact mechanisms from public package imports:
The command needs no external download. It evaluates a contractive teacher, mixed-boundary Poisson grid, heterogeneous material field, articulated stick, typed Gaussian mesh, and exact Poisson field. These are equation checks and small simulations. The command also solves an exact thermodynamic elasticity cell and a timestep-conditioned fixed-point diffusion sequence. These are not substitutes for source-scale benchmark runs.
Every compact case instantiates a state-preserving SILVA transition,
or the corresponding finite tied-depth, root-search, or reverse-diffusion specialization. The tensor contract is explicit in each result: the leading batch or node dimensions are retained, the repeated state shape is preserved, and the readout supplies the physical output shape.
What Is Checked
| Family | Compact evidence | Full experiment handoff |
|---|---|---|
| consistency DEQ | analytic teacher equilibrium and few-step state | cache source-model trajectories, train the refiner, compare task quality and latency |
| Psi-GNN | fixed Dirichlet values and finite-difference Poisson system | load unstructured meshes, preserve mixed boundary types, train with the source residual protocol |
| IFNO | tied increment and a known heterogeneous-bar response | load material simulation or DIC fields, match channels, splits, depth, modes, and metrics |
| SNARF | two-bone forward deformation and canonical root recovery | load articulated sequences, sample occupancy, retain multi-start roots, extract meshes |
| mesh inference | distributed and centralized Gaussian estimates agree | reproduce carrier policies, typed evidence, asynchronous sweeps, and communication metrics |
| physics-guided diffusion | PDE energy decreases and boundaries remain fixed | train or load the source field prior, then run the published reverse schedule and coefficient shifts |
| TherINO | exact strain, stress, energy, and prescribed mean strain agree | regenerate periodic microstructures and finite-element labels, then restore the source operator and contrast tests |
| fixed-point diffusion | per-timestep roots, allocation, reuse, and gradient route | restore the source latent encoder, image data, architecture, schedule, checkpoints, and FID-50K protocol |
Every row uses the same SILVA discipline: declare the state, condition, repeated transition, numerical policy, and output diagnostic. The larger protocol changes data volume and modules without changing that contract.
The compact mechanisms follow C-DEQ [59], Psi-GNN [60], IFNO [61], SNARF [62], Mesh Inference [63], and physics-guided PDE diffusion [64], TherINO [73], and Fixed-Point Diffusion Models [74]. Each numbered link opens the complete citation and primary external source.
Complete Worked Study
The short construction above identifies the main API. A complete study must also distinguish the state equation, task objective, numerical residual, gradient path, and scale transfer. In this example, the equilibrium state is the latent vector or tensor z, the condition is the injected observation x, and the repeated map is the tied map f_theta(z, x).
Derivation From Transition to Reported Result
The forward solve is defined by
The task output and task objective are separate from convergence:
For a computed state \(z_K\), the normalized fixed-point residual is
A small task loss does not imply a small \(r_K\), and a small \(r_K\) does not establish task quality. Both belong in the result. For implicit training, the parameter sensitivity follows
This is why the example checks gradients in addition to forward convergence. The reader-facing evidence for this route is family-specific exact-solution, boundary, reconstruction, or trajectory checks. The invariants that must remain true are state shape and a decreasing or bounded residual.
Run the Complete Example
Measured Compact Output
The following output was produced by the executable program in the current repository. Floating-point values may vary slightly across devices and library builds, while shapes, finite values, invariants, and declared tolerances must remain stable.
consistency: {'shape': (4, 3), 'teacher_error': 5.960464477539063e-08}
psi_gnn: {'shape': (25, 1), 'boundary_error': 0.0}
ifno: {'shape': (2, 1, 4, 8), 'final_increment': 3.803837776184082}
snarf: {'shape': (7, 1), 'root_residual': 8.068445911391109e-10}
mesh: {'shape': (5, 2), 'centralized_error': 1.8730469264482963e-07}
physics_diffusion: {'shape': (1, 1, 8, 8), 'final_energy': 40.260433197021484}
therino: {'shape': (2, 3, 6, 6), 'strain_error': 1.4901161193847656e-08}
fixed_point_diffusion: {'shape': (2, 1, 6, 6), 'reverse_steps': 3}
Interpret the Output
| Evidence | What it answers | What would require investigation |
|---|---|---|
| Tensor shapes | Did every source, state, branch, and readout preserve its declared contract? | A changed entity, channel, token, or spatial dimension |
| Task metric | Did the compact task execute and produce finite evidence? | Non-finite loss, a missing mask, or a metric computed on the wrong split |
| Fixed-point residual | Did the returned state satisfy the repeated transition to the requested tolerance? | A residual plateau, rising trajectory, or convergence flag inconsistent with the value |
| Iteration or trajectory data | How much numerical work was required? | Solver effort that grows sharply under a small input or resolution change |
| Gradient evidence | Can the loss reach every trainable component through the selected backward mode? | Missing, non-finite, or implausibly large gradients |
| Domain invariant | Did the method retain positivity, feasibility, boundary values, permutation behavior, or another structural requirement? | A task metric that looks acceptable while the structural contract fails |
The compact output is a mechanism check, not a paper-scale benchmark claim. It shows that data enter the intended construction, the transition executes, the solver returns diagnostics, and differentiation reaches trainable parameters.
Add a Solver and Scale Sweep
The next run should hold model parameters and data fixed while changing one numerical control at a time. A complete experiment record can use this schema:
experiment:
example: emerging-equilibria
state: the latent vector or tensor z
condition: the injected observation x
repeated_transition: the tied map f_theta(z, x)
invariant_checks: state shape and a decreasing or bounded residual
compact_evidence: family-specific exact-solution, boundary, reconstruction, or trajectory checks
scale_axes: latent width, solver tolerance, and iteration budget
solver_sweep:
methods: [picard, anderson, broyden]
tolerances: [1.0e-4, 1.0e-6, 1.0e-8]
maximum_iterations: [25, 50, 100]
report:
- task_metric
- fixed_point_residual
- backward_linear_residual
- iterations
- wall_time
- peak_memory
- gradient_norm
At full scale, move toward the cited dataset and complete architecture for the selected family. Increase only one of latent width, solver tolerance, and iteration budget at a time. Retain this compact run as a regression test, preserve the source split and preprocessing receipt, archive the resolved configuration and checkpoint, and report convergence failures rather than discarding them.
Where to Go Next
| Question | Page |
|---|---|
| Where are all eight methods derived? | Emerging Equilibrium Methods |
| Which classes and result records are public? | Emerging Equilibria API |
| Which exact compact datasets are available? | Emerging Equilibrium Data API |
| Where are the executed simulations and plots? | Notebook Library |