TL;DR
Compressing a Large Language Model might cost you a bit of grammar, but compressing a Physics Foundation Model using standard tools can literally break the laws of physics—like violating conservation of mass in a fluid simulation. SAFE-SVD introduces a post-training compression technique that explicitly protects the spatial and temporal derivatives governing physical dynamics. It shrinks massive scientific models down to 20% of their original size while keeping simulated physics crisp, stable, and faithful to reality.
What Problem Does This Paper Address?
Just as NLP has GPT, "AI for Science" now has Physics Foundation Models (PFMs) pre-trained to simulate everything from weather patterns to shockwaves. As these models scale up, they are becoming prohibitively expensive to run.
While model compression—specifically low-rank approximation via Singular Value Decomposition (SVD)—is well-worn territory for text and vision models, PFMs operate in a completely different mathematical universe. Instead of discrete tokens or pixels, PFMs map continuous function spaces over space and time. Standard SVD methods optimize for basic numerical accuracy (matching output values) or simple layer-by-layer weight reconstruction. In physics, however, getting the output values roughly right isn't enough if you ruin their partial derivatives. If a compressed fluid model slightly blurs velocity gradients, mass conservation breaks, vortices vanish, and long-term simulations blow up. Furthermore, compression errors compound across layers, and different layers vary wildly in how sensitive they are to physical laws.
Methods
SAFE-SVD is a post-training, low-rank compression framework requiring no costly retraining—just a small calibration dataset to measure activation statistics. Here is how it blends standard linear algebra with physics-informed insights:
- Sobolev-Space Sensitivity (New): Instead of measuring how weight changes affect standard prediction error, SAFE-SVD augments the global objective with a Sobolev loss—a mathematical norm that measures errors not just in the predicted fields, but across their partial derivatives (e.g., up to 2nd-order derivatives for Navier–Stokes). To avoid massive memory overhead, it estimates each layer's sensitivity to this physics-aware loss using the Fisher Information Matrix on intermediate activations rather than raw weights.
- Error-Propagated Sequential SVD (Hybrid): Compressing all layers jointly is intractable, so SAFE-SVD compresses sequentially from first layer to last. Crucially, it minimizes a weighted combination of intra-layer error (clean inputs) and propagated error (inputs already perturbed by earlier compressed layers), transforming this global, physics-aware objective into an exact, fast SVD truncation problem.
- Greedy Global Rank Allocation (New): Rather than trimming every layer equally, the authors treat compression as a global budget game. They score every singular component across the entire network by its "benefit-cost ratio" (how much physics-loss degradation it prevents per parameter) and greedily keep the best components until hitting the target model size.
Datasets
The authors do not introduce new benchmarks, instead evaluating SAFE-SVD across established, diverse partial differential equation (PDE) suites tailored to three representative PFMs (Poseidon, VICON, and MPP):
- Poseidon tasks: Fine-tuned and tested on NS-PwC and NS-BB (incompressible Navier–Stokes with sharp interfaces/vortices), CE-RM (compressible Euler equations for shock-driven turbulent mixing), and Wave-Gauss (acoustic wave propagation).
- VICON tasks: Tested in a unified multi-domain setting across NS-2D, Comp-2D, and Euler-2D, utilizing a fused calibration dataset drawn from its supported physical scenarios.
Key Insights and Ideas
- Higher-order derivatives are the secret sauce: In ablations, compressing with standard value-matching (Order-0) left divergence errors at nearly 24%. Simply forcing the sensitivity metric to care about 1st and 2nd derivatives dropped divergence error to 0.26%. Protecting the derivatives naturally protects the underlying physics.
- Not all physics compress equally: Localized phenomena like turbulent vortices and shock fronts (Navier-Stokes, Euler) tolerate aggressive 80% compression remarkably well because errors stay spatially contained. Conversely, globally coherent phenomena like expanding acoustic waves (
Wave-Gauss) are much touchier—tiny compression perturbations accumulate into phase shifts and wave-speed errors over time. - Multi-domain models need energy balancing: When compressing a generalist model like VICON across multiple physics domains at once, differences in numerical scales across datasets can skew sensitivity. Reweighting calibration samples by dataset "energy" (
Ours*) noticeably stabilizes cross-domain performance.
Key Results
SAFE-SVD outperforms five strong SVD baselines—often by orders of magnitude—without any post-compression fine-tuning.
- Near-lossless at 40%–60% size: On Poseidon (originally 628.6M parameters), shrinking the model to 40% (
η = 0.4, 251.9M parameters) yields < 0.5% relative error degradation across all tasks and physical metrics (divergence-free error changes by just 0.03%). Baselines at this ratio suffer thousands of percent in degradation. - Extreme compression (20% size): At
η = 0.2(126.3M parameters) on turbulent flow (NS-PwC), baselines completely fall apart, posting Sobolev error increases between 2,429% and 10,090% and visually smoothing vortices into featureless blobs or checkerboard artifacts. SAFE-SVD keeps Base Loss within 2.64%, Sobolev within 1.79%, and cleanly tracks sharp shear layers and vortex cores over 15 rollout steps. - Multi-domain resilience: On VICON (87.8M compressed to 52.8M at
η = 0.6),Ours*keepsNS-2DBase Loss degradation to 0.51% and vorticity to 0.06%, whereas the next best baseline (SAES-SVD) degrades by 49.63% and 26.01%, respectively.
Limitations and Future Work
- PDE-family specificity: Because the Sobolev loss requires choosing which derivative orders matter (e.g., 2nd-order for fluids), SAFE-SVD must be tailored to the target PDE family using domain-specific calibration data.
- Precision ceilings: At extreme compression (
η = 0.2on smaller backbones like VICON), capacity bottlenecks still cause sharp error spikes, meaning ultra-high-precision scientific applications may hit limits—though moderate errors remain plenty useful for fast engineering surrogates (like building ventilation design). - Future directions: The authors aim to bake in stricter physical priors—such as exact conservation laws, symmetries, and geometry-aware constraints—and scale the framework up to multimodal scientific foundation models.
Summary updated