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

Fine-tuning Neural-Operator architectures for training and generalization

Jose Antonio Lara Benitez, Takashi Furuya, Florian Faucher, Xavier Tricoche, Maarten V. de Hoop · DOI

Abstract

Despite their remarkable success in approximating a wide range of operators defined by PDEs, existing neural operators (NOs) do not necessarily perform well for all physics problems. We focus here on high-frequency waves to highlight possible shortcomings. To resolve these, we propose a subfamily of NOs enabling an enhanced empirical approximation of the nonlinear operator mapping wave speed to solution, or boundary values for the Helmholtz equation on a bounded domain. Our methodology draws inspiration from transformers and techniques such as stochastic depth. Our experiments reveal certain surprises in the generalization and the relevance of introducing stochastic depth. Our NOs show superior performance as compared with standard NOs, not only for testing within the training distribution but also for out-of-distribution scenarios. To delve into this observation, we offer an in-depth analysis of the Rademacher complexity associated with our modified models and prove an upper bound tied to their stochastic depth that existing NOs do not satisfy. Furthermore, we obtain a novel out-of-distribution risk bound tailored to Gaussian measures on Banach spaces, again relating stochastic depth with the bound. We conclude by proposing a hypernetwork version of the subfamily of NOs as a surrogate model for the mentioned forward operator.

Introduction

Neural Operators (NOs), such as the Fourier Neural Operator (FNO), have emerged as powerful tools for learning mappings between infinite-dimensional functional spaces. However, their application to high-frequency physics, specifically the Helmholtz equation, reveals significant limitations. The Helmholtz equation describes wave propagation in heterogeneous media, where the mapping from wave speed $c$ to the resulting pressure field $p$ is highly nonlinear and sensitive to high-frequency components.

The forward operator mapping wave speed $c$ to the real and imaginary parts of the acoustic pressure field $p$.

Standard NOs often struggle with generalization, failing when test data deviates from the training distribution (e.g., different wave speed ranges or increased environmental roughness). Furthermore, theoretical understanding of NO generalization in the infinite-dimensional Banach spaces where PDEs reside remains limited, especially in out-of-distribution (OOD) scenarios.

Methodology: Sequential Neural Operators and Stochastic Depth

To address these challenges, we introduce the Sequential Neural Operator (sNO). Drawing inspiration from the Transformer architecture, sNO decouples the integral operator (token mixer) and the pointwise MLP (feature mixer). While standard NOs combine these operations in a single step, sNO applies them sequentially, mimicking the attention-then-feed-forward structure found in modern vision and language models.

We further refine this into the sNO + $\epsilon$I architecture by incorporating skip connections (identity mappings, $I_d$) and layer normalization ($N$).

Architecture of the proposed sNO + $\epsilon$I model, featuring skip connections and layer normalization.

A critical component of our approach is stochastic depth. By randomly dropping entire layers during training using Bernoulli random variables, we force the network to learn more robust, redundant representations. This technique acts as a powerful regularizer, particularly effective for deep operator networks.

Theoretical Analysis

We provide a rigorous mathematical foundation for the observed performance gains. We prove that stochastic depth provides a uniform upper bound on the Rademacher complexity of the model. Unlike standard deep NOs, where complexity can grow uncontrollably with depth, our stochastic depth variant remains bounded, directly contributing to improved generalization.

Additionally, we derive a novel out-of-distribution risk bound specifically tailored to Gaussian measures on Banach spaces. This result links the architectural choice of stochastic depth to the model's ability to handle shifts in the input distribution, providing a theoretical bridge between finite-dimensional deep learning theory and infinite-dimensional operator learning.

Experimental Results

We evaluated our models on a massive synthetic dataset of 50,000 wave speed/pressure field pairs generated via a high-fidelity Hybridizable Discontinuous Galerkin (HDG) solver. Wave speeds were modeled as Gaussian Random Fields (GRF) with varying smoothness and correlation lengths.

In-Distribution and OOD Performance

The proposed sNO + $\epsilon$I v2 (with stochastic depth) achieved a relative $L^2$ error of approximately 0.04, a significant improvement over the 0.17 error of the standard FNO.

In OOD scenarios—where wave speed ranges and correlation lengths were perturbed—the resilience of our model was even more pronounced. In the most difficult test cases, our model maintained a relative error of ~0.44, whereas the standard FNO failed completely with errors exceeding 0.97.

Zero-Shot Robustness

The model demonstrated remarkable zero-shot robustness. When tested on the 2004 BP velocity benchmark—a complex, real-world seismic imaging model—the sNO variant successfully predicted wave propagation despite being trained only on simpler, isotropic synthetic fields.

Conclusion

By integrating Transformer-inspired sequential processing and stochastic depth, we have developed a robust subfamily of Neural Operators capable of tackling high-frequency wave physics. Our work provides both empirical evidence of superior performance and new theoretical tools for understanding generalization in infinite-dimensional spaces. Future work will focus on applying these architectures to the inverse problem (mapping wave fields back to media properties) and optimizing computational efficiency for 3D applications.

Summary updated

BibTeX
@article{benitez2023fine,
  author = {Jose Antonio Lara Benitez and Takashi Furuya and Florian Faucher and Xavier Tricoche and Maarten V. de Hoop},
  title = {{Fine-tuning Neural-Operator architectures for training and generalization}},
  journal = {Journal of Computational Physics},
  year = {2023},
}
Figure