Variational Autoencoding Neural Operators

Jacob H. Seidman, Georgios Kissas, George J. Pappas, Paris Perdikaris

TL;DR

Variational Autoencoding Neural Operators (VANO) brings the power of generative Variational Autoencoders (VAEs) to the world of infinite-dimensional functional data. By redefining the VAE objective using rigorous measure theory, VANO creates a discretization-invariant model that can learn complex physical patterns and perform "zero-shot" super-resolution on everything from fluid simulations to satellite imagery.

What Problem Does This Paper Address?

Most machine learning models are "discretize-first." They treat images as fixed grids of pixels or words as discrete tokens. However, the natural world is often continuous—think of wind velocity in a storm or temperature distributions across a wing. These are functions, not just vectors.

Standard "discretize-first" models are rigid; if you train a model on 64x64 images, it usually can't handle 128x128 data without significant hacking or retraining. Operator learning aims to fix this by learning maps between infinite-dimensional function spaces. While supervised operator learning (predicting $Y$ from $X$) has seen huge growth, unsupervised learning (learning the underlying structure of the data itself) has lagged behind. This paper addresses the lack of a mathematically rigorous, generative framework for functional data that remains consistent regardless of how many sensors or pixels you use to measure it.

Methods

The authors introduce VANO, which adapts the classic VAE architecture to work with neural operators.

  1. The Architecture: Like a standard VAE, it has an encoder and a decoder. The encoder maps an input function to a distribution in a finite-dimensional latent space. The decoder then takes a sample from that latent space and produces a "queryable" function—meaning you can ask the decoder for the value at any coordinate $(x, y)$, not just the ones in the training set.
  2. The Mathematical "Secret Sauce": In finite dimensions, VAEs rely on probability density functions. In infinite-dimensional function spaces, "density" isn't well-defined. To solve this, the authors use Radon-Nikodym derivatives and the Cameron-Martin theorem to derive a new version of the Evidence Lower Bound (ELBO) objective. This ensures the training process is mathematically sound for continuous fields.
  3. Conditioning and Encodings: To capture high-frequency details (like sharp edges in phase separation), they use advanced techniques like Random Fourier Features and Multi-resolution Hash Encodings within the decoder.

Datasets

The authors evaluated VANO across four increasingly difficult benchmarks:

  • Gaussian Random Field (GRF): A 1D synthetic dataset used to verify that the model can recover optimal linear approximations (Karhunen-Loève expansion).
  • 2D Gaussian Densities: A "toy" 2D dataset where Gaussian peaks move around, testing the model's ability to handle nonlinear data manifolds.
  • Cahn-Hilliard Systems: Solutions to a complex 4th-order partial differential equation (PDE) that describes how binary mixtures (like oil and water) separate over time.
  • InSAR Interferograms: Real-world satellite data from the Sentinel-1 satellites used to measure Earth's surface deformation (e.g., around volcanoes).

Key Insights and Ideas

  • Discretization Invariance is a Superpower: Because VANO treats data as functions, it is "resolution-blind." You can train it on low-resolution data and query it at high resolution. This allows for zero-shot super-resolution, where the model generates sharp, detailed samples it never saw during training.
  • The Linear Limitation: The paper demonstrates that "linear" decoders (which just learn a set of basis functions) fail when the data moves in nonlinear ways (like a peak shifting across a field). Nonlinear decoders—essentially coordinate-based MLPs—are necessary to capture the true "manifold" of physical data.
  • Efficiency over GANs: Generative Adversarial Networks (GANs) are the usual go-to for generative modeling, but they are notoriously hard to train. VANO is shown to be significantly faster to train and more parameter-efficient than GAN-based operator models.

Key Results

  • Super-Resolution Performance: When trained on 64x64 resolution Cahn-Hilliard patterns, VANO successfully generated 256x256 samples. Compared to a standard VAE using bilinear interpolation, VANO's samples were much more physically realistic and had significantly lower error (Generalized MMD).
  • Real-World Satellite Data: On the InSAR dataset, VANO outperformed the state-of-the-art GANO model. It was 4x faster to train and used only 1/4 of the parameters, all while producing more realistic samples without the "spurious artifacts" common in GANs.
  • Mathematical Consistency: The model proved that its learned latent space aligns with theoretical optimal decompositions (like the Karhunen-Loève theorem), providing a bridge between deep learning and classical functional analysis.

Limitations and Future Work

  • The Smoothness Bias: The MLP-based decoders used in VANO have a natural "spectral bias" toward smooth functions. While this is great for many physics problems, it can struggle with truly discontinuous data.
  • Hyperparameter Sensitivity: Like all VAEs, VANO requires careful tuning of the $\beta$ parameter (which balances reconstruction quality vs. latent space regularity). The authors suggest that rate-distortion theory might provide a more automated way to handle this in the future.
  • Latent Priors: The current model uses a simple Gaussian prior. The authors suggest that hierarchical priors could allow the model to learn even more complex, structured functional distributions.

Summary updated

BibTeX
@inproceedings{seidman2023variational,
  author = {Jacob H. Seidman and Georgios Kissas and George J. Pappas and Paris Perdikaris},
  title = {{Variational Autoencoding Neural Operators}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=RJTrIoi2qN},
}
Figure