NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Certificates for Complex-Compatible Learned Cochain Laplacians

Nivar Anwer, Marien Chenaud, David ElizondoICML 2026

In the rapidly evolving field of Scientific Machine Learning (SciML), traditional numerical solvers are increasingly being augmented or replaced by learned operators. While these neural surrogates offer significant speedups, they often lack the intrinsic algebraic structure of the physical systems they represent. The paper "Certificates for Complex-Compatible Learned Cochain Laplacians" introduces a rigorous framework to audit and correct these models, ensuring they not only fit the training data but also respect fundamental mathematical laws.

Executive Summary

This research introduces a "compatibility certificate" for learned Partial Differential Equation (PDE) operators. The certificate measures the extent to which a learned model violates fundamental algebraic identities, such as the rule that the curl of a gradient is zero. By providing a closed-form projection to the nearest "compatible" operator alongside explicit stability bounds, the authors demonstrate how to prevent numerical solver failures and guarantee topological correctness in learned simulations.

The Challenge: Algebraic Defects in Learned Operators

When physical systems are discretized on a mesh, traditional methods rely on cochain complexes—sequences of operators where applying two consecutive operations yields zero (e.g., the exterior derivative property $d \circ d = 0$). Classical techniques, such as Finite Element Exterior Calculus (FEEC), satisfy these identities by construction.

However, when operators are learned from data, neural networks often implicitly violate these constraints. Even when a model achieves a low training loss, these underlying "algebraic defects" introduce three critical failure modes:

  1. Numerical Instability: As mesh resolution increases, the learned Laplacian (stiffness matrix) becomes severely ill-conditioned, causing downstream solvers to diverge or explode.
  2. Spectral Drift: The eigenvalues of the learned operator shift unpredictably, introducing "near-kernel" directions that have no physical basis.
  3. Topological Blindness: The model may fail to recognize the fundamental shape of the domain, such as the number of holes (Betti numbers), which is critical for accurate engineering and physics simulations.

Methodology: Certificates and Projections

To detect and control these violations, the authors propose a comprehensive mathematical framework:

  • The Cochain-Compatibility Defect: The authors define a scalar metric, $D_{comp} = \|D_1 D_0\|_F$, which quantifies the violation of the chain condition.
  • The Nearest-Compatible Projection: They derive a closed-form orthogonal projection that maps any learned operator to its Frobenius-nearest "compatible" counterpart. While computationally intensive, this serves as a theoretical anchor for stability analysis.
  • Stability Certificates: The framework provides a scalar criterion, $\rho(\phi) < 1$. When this condition is met, the operator is theoretically guaranteed to maintain stable small-eigenvalue counts and well-behaved elliptic solves.
  • Training Regimes: The study compares three training methodologies:
  • Unconstrained: Purely minimizing the PDE loss.
  • Soft Penalty: Adding the defect $D_{comp}$ as a regularization term during training.
  • Hard Constraint: Parameterizing the model to exist strictly on the manifold of compatible operators, ensuring zero defect by design.

Experimental Validation

The researchers evaluated their approach across a variety of challenging benchmarks:

  • Standard Elliptic Problems: Poisson and Darcy flow benchmarks on both structured and unstructured triangular meshes.
  • Topological Shift Tests: Evaluating domains where the number of holes ($\beta_0$) changes, such as transitioning from a solid square to an annulus.
  • Discretization Shifts: Training on one mesh resolution or type and testing on finer or "pathological" meshes.
  • Time-Dependent PDEs: Validating on 1D viscous Burgers and Allen-Cahn equations to benchmark against standard Physics-Informed Neural Networks (PINNs).

Key Findings and Insights

Training Loss is Insufficient

A model can achieve near-zero training loss while remaining numerically broken. The paper demonstrates that standard regression losses fail to detect the near-kernel directions responsible for solver failures.

The Importance of the Spectral Gap

The stability of a model's "topological memory" (its ability to preserve Betti numbers) relies heavily on the gap between the zero eigenvalues and the rest of the spectrum. The authors prove that if the algebraic defect is smaller than half of this spectral gap, the topology is mathematically guaranteed to be preserved.

Dramatic Improvements in Conditioning

On a $64 \times 64$ mesh, unconstrained models exhibited condition numbers that blew up to approximately $3.5 \times 10^6$, leading to catastrophic solver failure. In contrast, defect-controlled models maintained a highly stable condition number of approximately $9.6 \times 10^2$.

Robustness to Topological Shifts

Under "topology shift" scenarios (e.g., adding holes to the domain), the defect-based certificate successfully predicted failures with an Area Under the Curve (AUC) of 0.85. Standard validation loss, by comparison, performed no better than random chance. Furthermore, while hard constraints offer the strongest guarantees, "soft" defect regularization captured most of the stability benefits without the accuracy trade-offs typically associated with heavily constrained models.

Deployment-Neutral Auditing

Because the certificate is computed directly from the realized sparse operators, it can be used to audit any mesh-based ML model post-training, regardless of the underlying neural architecture.

Limitations and Future Directions

While a significant step forward, the framework has limitations. The "nearest compatible" projection is a global operation that can destroy the sparsity of the operators; thus, it is currently used primarily as an analysis tool rather than a direct neural network layer. Additionally, the theoretical guarantees rely on the existence of a spectral gap. In physical scenarios where this gap naturally collapses (e.g., certain singular limits), the certificate becomes vacuous. Finally, while the paper outlines a roadmap for higher-degree complexes (edges, faces, volumes), empirical validation has largely focused on degree-0 (node-based) Laplacians. Extending this framework to full 3D Hodge decompositions remains an exciting frontier for future work.

By providing a computable, mathematical "safety check," this research moves SciML significantly closer to becoming a reliable, deployment-ready tool for high-stakes engineering and scientific simulations.

Summary updated

BibTeX
@inproceedings{anwer2026certificates,
  author = {Nivar Anwer and Marien Chenaud and David Elizondo},
  title = {{Certificates for Complex-Compatible Learned Cochain Laplacians}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=B9sw1zxl88},
}
Figure