Abstract
Solving high-dimensional partial differential equations (PDEs) is a critical challenge where modern data-driven solvers often lack reliability and rigorous error guarantees. We introduce Simulation-Calibrated Scientific Machine Learning (SCaSML), a framework that systematically improves pre-trained PDE solvers at inference time without any retraining. Our core idea is to use defect correction method that derive a new PDE, termed Structural-preserving Law of Defect, that precisely describes the error of a given surrogate model. Since it retains the structure of the original problem, we can solve it efficiently with traditional stochastic simulators and correct the initial machine-learned solution. We prove that SCaSML achieves a faster convergence rate, with a final error bounded by the product of the surrogate and simulation errors. On challenging PDEs up to 160 dimensions, SCaSML reduces the error of various surrogate models, including PINNs and Gaussian Processes, by 20-80%. Code of SCaSML is available at https://github.com/Francis-Fan-create/SCaSML.
Introduction: The Challenge of High Dimensions
Many fundamental phenomena in science and engineering—from quantum mechanics to financial derivatives—are governed by high-dimensional partial differential equations (PDEs). Traditional numerical methods, such as finite element or grid-based solvers, are often rendered impractical by the "curse of dimensionality," where computational costs grow exponentially with the number of dimensions.
Scientific Machine Learning (SciML) has emerged as a promising alternative, utilizing models like Physics-Informed Neural Networks (PINNs) to approximate solutions. However, these models often act as black boxes, lacking rigorous error guarantees and frequently hitting a performance ceiling. Inspired by the "inference-time scaling" seen in Large Language Models, this paper introduces SCaSML, a framework designed to refine pre-trained PDE surrogates at test time using additional compute.
Methodology: The SCaSML Framework
The core of SCaSML is a two-stage process that bridges the gap between fast machine learning surrogates and reliable stochastic simulations.
- Surrogate Training: A base model (e.g., a PINN or GP) is trained to provide an initial approximation of the PDE solution.
- The Law of Defect: Instead of treating the surrogate's error as noise, SCaSML derives a new PDE—the Structural-preserving Law of Defect—that governs this exact error. Crucially, this defect PDE inherits the semi-linear structure of the original problem, allowing it to be solved efficiently in high dimensions using stochastic Monte Carlo simulators (e.g., Multilevel Picard iterations based on the Feynman–Kac formula).
Key Insights: Synergy and Error Bounds
SCaSML leverages the complementary strengths of neural networks and Monte Carlo methods. Neural networks are adept at learning smooth, low-frequency components but struggle with high-frequency errors (spectral bias). Conversely, Monte Carlo methods are robust to high-frequency irregularities but suffer from high variance. By using the neural network to handle the "bulk" of the solution, the Monte Carlo simulator only needs to resolve a small, high-frequency residual.
Mathematically, the authors prove a multiplicative error bound: the final error is bounded by the product of the surrogate error and the simulation error. This ensures that SCaSML converges strictly faster than either method used in isolation.
Experimental Results and Performance
The framework was evaluated on several high-dimensional benchmarks, including the Viscous Burgers and Hamilton-Jacobi-Bellman equations, across dimensions ranging from 10 to 160.
Key findings include:
- Significant Error Reduction: SCaSML reduced relative $L^2$ errors by 20% to 80% across all benchmarks with high statistical significance ($p \ll 0.001$).
- Scaling at Inference Time: Unlike traditional retraining, SCaSML allows practitioners to trade additional inference-time compute (more Monte Carlo samples) for higher precision, effectively scaling performance without modifying the base model.
- Robustness in High Dimensions: On a 160-dimensional control problem where naive Monte Carlo solvers failed, SCaSML successfully refined PINN solutions, achieving a 30.8% error reduction.
Conclusion
SCaSML presents a powerful paradigm shift for SciML, moving from static model evaluation to dynamic inference-time refinement. By mathematically isolating and solving for model defects, it provides a path toward more reliable and precise high-dimensional PDE solvers. Future work will look to extend this framework to fully nonlinear and hyperbolic PDEs.
Summary updated