Functional regression aims to infer a continuous function across an entire domain based on a sparse set of noisy observations. For decades, Gaussian Processes (GPs) have been the standard tool for this task because they offer elegant, closed-form solutions for uncertainty. However, GPs fundamentally assume the underlying data follows a Gaussian distribution. In real-world applications—such as seismology, fluid dynamics, or financial markets—data is often heavy-tailed or multimodal. When the Gaussian assumption fails, GP regression produces unreliable predictions and inaccurate uncertainty estimates.
While alternatives like Deep GPs and Warped GPs exist, they often struggle with mathematical intractability or limited expressiveness. To address this gap, researchers introduce Neural Operator Flows (OpFlow), a novel framework for "Universal Functional Regression." OpFlow learns complex, non-Gaussian prior distributions directly from data while remaining mathematically tractable, enabling robust regression and uncertainty quantification on messy, real-world datasets.
Extending Normalizing Flows to Infinite Dimensions
OpFlow is an infinite-dimensional extension of normalizing flows. While standard normalizing flows map a complex vector distribution to a simple Gaussian one through a series of invertible transformations, OpFlow performs this mapping for functions.
Key components of the OpFlow framework include:
- Invertible Neural Operators: The model utilizes Fourier Neural Operators (FNOs) within its flow layers. This makes the architecture "discretization agnostic," allowing it to be trained at one resolution and evaluated at another (zero-shot super-resolution).
- Partitioning Strategies: To maintain invertibility, the function data is split using either Domain Partitioning (spatial masks, like a checkerboard) or Codomain Partitioning (splitting across features/channels).
- $W_2$ Regularization: Training high-dimensional flows is notoriously unstable. The authors stabilize the "warmup" phase by introducing a 2-Wasserstein distance regularization term. This keeps the learned mapping close to a valid Gaussian Process, preventing model collapse.
- Posterior Sampling via SGLD: For inference, OpFlow uses Stochastic Gradient Langevin Dynamics (SGLD). Because the operator is invertible, the model can perform maximum a posteriori (MAP) estimation and draw posterior samples in the simple latent GP space, which are then mapped back to the complex data space.
Key Insights and Results
Unlike point-wise "Warped GPs," OpFlow learns a global, bijective operator, capturing complex structural dependencies across the entire function domain. The model was evaluated on synthetic datasets (1D/2D GPs, Truncated GPs, Gaussian Random Fields) and a massive real-world dataset of over 20,000 KiK-net Seismic Waveforms.
Key findings include:
- Respecting Bounds: On Truncated GP data, standard GP regression predicted physically impossible values outside allowed ranges. OpFlow successfully learned these truncation boundaries, providing a much more accurate posterior.
- Seismic Superiority: On highly non-Gaussian earthquake waveforms, OpFlow accurately captured distinct phases and high-frequency wiggles. In contrast, the best-fitted GP produced an overly smoothed line that failed to represent the physical event.
- Data Efficiency: OpFlow can learn an effective prior with as few as 3,000 to 6,000 samples (just 10-20% of the full training set), making it highly viable for domains where data collection is expensive.
- Benchmark Performance: OpFlow achieved lower Standardized Mean Squared Error (SMSE) and better Log Loss (MSLL) than state-of-the-art Deep GP baselines.
Limitations and Future Work
While highly effective in 1D and 2D domains, scaling OpFlow to very high-dimensional spaces remains an open challenge. Additionally, using SGLD for posterior sampling, though mathematically rigorous, is computationally slower than amortized inference methods like Variational Autoencoders (VAEs). Finally, future work is needed to develop partitioning schemes that combine the expressiveness of domain splitting with the smoothness of codomain splitting to eliminate potential artifacts during super-resolution tasks.
Summary updated