Skip to main content
QUICK REVIEW

[Paper Review] A Library for Learning Neural Operators

Jean Kossaifi, Nikola Kovachki|arXiv (Cornell University)|Dec 13, 2024
Neural Networks and ApplicationsComputer Science5 citations
TL;DR

NeuralOperator is an open-source PyTorch-based library that provides state-of-the-art neural operator architectures and building blocks for learning maps between function spaces, with discretization-agnostic training and inference across varying input/output resolutions.

ABSTRACT

We present NeuralOperator, an open-source Python library for operator learning. Neural operators generalize neural networks to maps between function spaces instead of finite-dimensional Euclidean spaces. They can be trained and inferenced on input and output functions given at various discretizations, satisfying a discretization convergence properties. Part of the official PyTorch Ecosystem, NeuralOperator provides all the tools for training and deploying neural operator models, as well as developing new ones, in a high-quality, tested, open-source package. It combines cutting-edge models and customizability with a gentle learning curve and simple user interface for newcomers.

Motivation & Objective

  • Democratize neural operator methods by providing a robust, easy-to-use, and well-documented library.
  • Enable discretization-agnostic learning so models work across varying input/output resolutions.
  • Offer modular building blocks and prebuilt architectures to accelerate development and experimentation.
  • Provide datasets, training utilities, and efficiency tools to deploy neural operators on real-world problems.
  • Ensure reliability through testing, documentation, and CI/CD processes.

Proposed method

  • Implement resolution-agnostic data loaders, architectures, and losses that operate on functions at arbitrary discretizations.
  • Provide state-of-the-art neural operator architectures (e.g., GNOs, FNOs, TFNOs, SFNOs, GINOs) and their building blocks (integral transforms, tensorized layers, spherical transforms).
  • Offer datasets and interfaces for PDE-based operator learning, hosted for automatic download via the library modules.
  • Include a Trainer module and DataProcessor to automate training pipelines and ensure discretization-convergence properties.
  • Incorporate efficiency features such as tensor decomposition for spectral weights, mixed-precision training, incremental learning, and multi-grid domain decomposition.
  • Ensure reliability with unit tests, CI/CD validation, inline documentation, and a public API reference.
Figure 1: Overview of functionalities. The NeuralOperator library provides the full stack required to train and deploy neural operators, including datasets and data loaders , core layers and building blocks , neural operator models , losses and training and efficiency methods .
Figure 1: Overview of functionalities. The NeuralOperator library provides the full stack required to train and deploy neural operators, including datasets and data loaders , core layers and building blocks , neural operator models , losses and training and efficiency methods .

Experimental results

Research questions

  • RQ1How can a software library support learning neural operators across different discretizations while preserving discretization convergence properties?
  • RQ2What architectures and building blocks are essential for flexible neural operator modeling within a PyTorch framework?
  • RQ3How can datasets and training utilities be organized to streamline PDE-based operator learning?
  • RQ4What efficiency and reliability techniques (e.g., tensorization, mixed precision, incremental learning) best support large-scale operator training?

Key findings

  • Provides a modular, robust package with out-of-the-box neural operator architectures and building blocks.
  • Supports multiple architectures: Graph Neural Operators (GNOs), Fourier Neural Operators (FNOs), Tensorized FNOs (TFNOs), Spherical Fourier Neural Operators (SFNOs), and Geometry-informed Neural Operators (GINOs).
  • Offers convenient dataset interfaces and public data hosting for PDE-related tasks (e.g., Darcy’s law, Burger’s equation, Navier–Stokes).
  • Delivers training automation via a Trainer and data processing pipeline that respect discretization convergence.
  • Includes memory-efficient training tools such as tensorization of spectral weights, mixed-precision training, incremental learning, and multi-grid domain decomposition.
  • Reviewed with automated testing and documentation to support robust, real-world use.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.