Skip to main content
QUICK REVIEW

[Paper Review] Generative Models as Distributions of Functions

Emilien Dupont, Yee Whye Teh|arXiv (Cornell University)|Feb 9, 2021
Image Processing and 3D ReconstructionComputer Science72 references13 citations
TL;DR

This paper proposes a generative modeling framework that treats data as continuous functions rather than discrete grids, enabling resolution-agnostic learning via a distribution over neural network functions. Using a hypernetwork and adversarial training with a continuous-space discriminator, the model generates high-quality, sharp samples across diverse data types—including images, 3D shapes, and climate data—without dependency on grid resolution or discretization.

ABSTRACT

Generative models are typically trained on grid-like data such as images. As a result, the size of these models usually scales directly with the underlying grid resolution. In this paper, we abandon discretized grids and instead parameterize individual data points by continuous functions. We then build generative models by learning distributions over such functions. By treating data points as functions, we can abstract away from the specific type of data we train on and construct models that are agnostic to discretization. To train our model, we use an adversarial approach with a discriminator that acts on continuous signals. Through experiments on a wide variety of data modalities including images, 3D shapes and climate data, we demonstrate that our model can learn rich distributions of functions independently of data type and resolution.

Motivation & Objective

  • Address the curse of discretization in generative modeling, where model size and training cost scale with grid resolution, especially in 3D.
  • Overcome the limitations of grid-based representations (e.g., images as 2D arrays, voxels as 3D grids) that constrain scalability and resolution independence.
  • Develop a unified generative modeling framework that operates on continuous functions, independent of data type or resolution.
  • Enable high-fidelity generation of complex, high-frequency signals (e.g., sharp images, detailed 3D shapes) using implicit neural representations.
  • Train a single model architecture to learn rich, smooth distributions of functions across diverse data modalities using the same training procedure.

Proposed method

  • Represent each data point as a continuous function $ f_\theta: \mathbb{R}^d \to \mathbb{R}^k $, parameterized by a neural network with weights $ \theta $, using coordinate-based encoding (e.g., random Fourier features) to model high-frequency signals.
  • Model the generative process as a distribution over functions by parameterizing the weights $ \theta $ of the function network via a hypernetwork, enabling stochastic generation of diverse functions.
  • Train the model using an adversarial framework where a discriminator operates directly on sets of coordinate-feature pairs $ \{ (\mathbf{x}_i, \mathbf{y}_i) \} $, treating them as continuous signals rather than discrete grids.
  • Use a set-based discriminator with a symmetric, permutation-invariant architecture that computes a global score from local encodings, ensuring invariance to input order and enabling generalization across varying numbers of points.
  • Leverage random Fourier features (RFF) to improve modeling of high-frequency components in signals, mitigating the bias of standard MLPs toward low-frequency functions.
  • Ensure training stability by bounding the Lipschitz constant of the discriminator using theoretical analysis, enabling reliable GAN training on continuous function spaces.

Experimental results

Research questions

  • RQ1Can generative models be trained to learn distributions over continuous functions, independent of the underlying data resolution or grid structure?
  • RQ2Can a single model architecture generate high-quality, sharp samples across diverse data modalities such as images, 3D shapes, and climate data using the same training procedure?
  • RQ3Does adversarial training on continuous coordinate-feature sets outperform or generalize better than grid-based GANs in terms of sample quality and resolution independence?
  • RQ4Can implicit neural representations with RFF encoding effectively model high-frequency signals in generative modeling, enabling sharp and realistic sample generation?
  • RQ5Does the model learn a smooth, interpolatable latent space that reflects meaningful variations in the data manifold, even across different data types?

Key findings

  • The proposed model, GASP, generates high-fidelity, sharp samples across images (CelebAHQ, MNIST), 3D shapes (ShapeNet), and climate data (ERA5), with qualitative quality matching or exceeding real data.
  • The model achieves resolution-agnostic generation: training on low-resolution images (64×64) enables high-resolution super-resolution (up to 512×512) without retraining.
  • Latent space interpolations in function space produce smooth, coherent transitions between samples, indicating the model learns a meaningful, continuous data manifold.
  • The distribution of generated climate data (e.g., temperature) closely matches the true test set distribution, as confirmed by histogram comparisons, indicating faithful distribution learning.
  • The model generalizes across data types: the same architecture and training setup successfully learn distributions on images, 3D shapes, and 2D climate fields without architectural changes.
  • The use of random Fourier features enables effective modeling of high-frequency components, allowing the model to generate sharp textures and fine details not captured by standard implicit representations.

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.