arXiv(opens in a new tab)Computer ScienceJun 2025Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2506.10973

Principled approaches for extending neural architectures to function spaces for operator learning

Julius Berner, Miguel Liu-Schiaffini, Jean Kossaifi, Valentin Duruisseaux, B. Bonev, K. Azizzadenesheli, Anima Anandkumar

Abstract

A wide range of scientific problems, such as those described by continuous-time dynamical systems and partial differential equations (PDEs), are naturally formulated on function spaces. While function spaces are typically infinite-dimensional, deep learning has predominantly advanced through applications in computer vision and natural language processing that focus on mappings between finite-dimensional spaces. Such fundamental disparities in the nature of the data have limited neural networks from achieving a comparable level of success in scientific applications as seen in other fields. Neural operators are a principled way to generalize neural networks to mappings between function spaces, offering a pathway to replicate deep learning’s transformative impact on scientific problems. For instance, neural operators can learn solution operators for entire classes of PDEs, e.g., physical systems with different boundary conditions, coefficient functions, and geometries. A key factor in deep learning’s success has been the careful engineering of neural architectures through extensive empirical testing. Translating these neural architectures into neural operators allows operator learning to enjoy these same empirical optimizations. However, prior neural operator architectures have often been introduced as standalone models, not directly derived as extensions of existing neural network architectures. In this paper, we identify and distill the key principles for constructing practical implementations of mappings between infinite-dimensional function spaces. Using these principles, we propose a recipe for converting several popular neural architectures into neural operators with minimal modifications. This paper aims to guide practitioners through this process and details the steps to make neural operators work in practice.

1 Introduction to Neural Operators

In many scientific and engineering applications, data is derived from an underlying function, of which we have access to discretizations at different resolutions. We want to develop deep learning models that respect the functional nature of the data in the sense that they are agnostic to the discretization and resolution.

In the past decade, deep learning has led to unprecedented advances in domains like computer vision, speech, and natural language processing. Following this success, deep learning is poised to have an arguably even greater transformational impact on the natural sciences. While underlying data in all these areas comes in vastly different structures, the standard models powering deep learning, neural networks, consume data in a unified way: processed versions in the form of finite-dimensional vectors. For instance, these can be pixel representations of images and videos, word embeddings of language, or measurements of physical systems.

Yet, many physical phenomena of interest are inherently captured by continuum descriptions. Physical quantities describing, e.g., fluid and thermodynamics, continuum mechanics, or electromagnetism, depend on continuous variables such as spatial and temporal coordinates. Mathematically, such quantities are given as functions depending on continuous variables, and their behavior is often governed by differential equations modeling the relationship between physical quantities and their derivatives.

For instance, we can describe the temporal evolution of a given physical system, such as a heat distribution in a certain domain. This naturally leads to the task of predicting the physical system after a given time (i.e., the solution function) based on an initial condition of the system (i.e., an initial function). Common tasks in computer vision are inherently defined on functions as well since the underlying natural scenes or objects depend on spatiotemporal variables. Images or videos merely capture a discretized version with a certain resolution; e.g., an image is a discretization of a two-dimensional function.

While classical neural networks can process discretizations of continuous quantities (e.g., on a mesh or grid), they either rely on a fixed discretization or do not generalize to unseen resolutions. However, we would like the action of the neural network to be invariant to the specific choice of discretization and its resolution. Furthermore, in numerous applications, it is essential for the output to be a function that can be queried at arbitrary coordinates, allowing for further operations (e.g., differentiation and integration). To this end, neural networks have recently been generalized to so-called neural operators. Neural operators are naturally formulated to operate on functions rather than vectors. In particular, by construction, they output functions that can be queried at arbitrary coordinates and that are consistent across different discretizations of the input function; more precisely the outputs only differ by a discretization error that vanishes as the discretization is refined. This property of being agnostic to the underlying discretization enables learning of function-to-function mappings and multi-scale phenomena for the wide range of tasks where the underlying data is captured by continuum descriptions. This has led to significantly improved performance and generalization, as well as powerful capabilities, such as zero-shot super-resolution, in a series of practical applications. In turn, these advances have spurred a large interest in developing different neural operator architectures and training paradigms. The increased popularity of neural operators has also led to the development of dedicated Python libraries, such as the NeuralOperator library (Kossaifi et al., 2024), as well as large-scale benchmarks of these methods (Ohana et al., 2024).

Using neural networks to represent continuous functions, known as implicit neural representations or neural fields, has a long history (Lagaris et al., 1998). Special cases include physics-informed neural networks (PINNs) (Raissi et al., 2019), where the neural network approximates the solution function of a partial differential equation (PDE) by optimizing its parameters to reduce deviations from the governing equation. Shortly after the introduction of neural operators, 3D scenes in graphics and computer vision have been similarly represented using neural radiance fields (NeRF) (Mildenhall et al., 2020; Sitzmann et al., 2020; Jeong et al., 2022). In both of these cases, the neural network represents a single function, i.e., a single PDE solution or 3D scene. In contrast, neural operators can be viewed as generalizations of neural fields because they output a function for any given input function; instead of representing a single function, they can learn operators that act on functions. In other words, neural operators can be viewed as conditional neural fields (Azizzadenesheli et al., 2024), conditioned on different input functions. Alternatively, one can condition the implicit neural representations on the parameters of a (given or learned) finite-dimensional parametrization of the space of input functions (Chen et al., 2022; Serrano et al., 2023). While this can be viewed as a special case of an encoder-decoder neural operator (see Section 3.6), neural operators are more general and can handle input and output functions based on point evaluations without the need for parametrizations.

References (100)

Couldn't load all references. Reload the page to try again.