Introduction
In modern deep learning, data such as images and 3D shapes are typically represented as discrete grids—pixels or voxels. While effective, this discretization imposes fixed resolutions and rigid structures. Implicit Neural Representations (INRs) offer a compelling alternative by treating data as continuous functions, mapping coordinates (e.g., $(x, y, z)$) to values (e.g., RGB or occupancy). However, transforming INRs into efficient generative models has proven challenging. Existing approaches often rely on computationally expensive optimization at inference time or struggle with unstructured data.
This paper introduces VaMoH (Variational Mixture of HyperGenerators), a generative framework designed to learn distributions over continuous functions with high efficiency and robustness. By combining a specialized encoder with a mixture of hypernetworks, VaMoH enables fast, single-pass inference and demonstrates emergent interpretability through local function partitioning.
The Challenge of Generative INRs
Most generative models for INRs face two primary hurdles:
- Inference Latency: State-of-the-art models like Functa require an optimization process—essentially running gradient descent—to find the latent representation of a new data point. This makes real-time applications difficult.
- Architectural Rigidity: Many models are "resolution-locked" or require data to be presented on a perfect grid. When faced with missing data (in-painting) or unstructured point clouds, these models often require biased workarounds like zero-padding.
VaMoH addresses these issues by framing the problem within a Variational Autoencoder (VAE) framework that utilizes a permutation-invariant encoder and a flexible mixture-based decoder.
Methodology
PointConv Encoder
To handle unstructured and incomplete data, VaMoH employs a PointConv encoder. Unlike standard Convolutional Neural Networks (CNNs) that operate on grids, PointConv treats input as a set of coordinate-value pairs. This allows the model to process any "cloud of points," making it inherently robust to missing information and varying sampling densities.
Normalizing Flow Prior
Standard VAEs often use a simple Gaussian prior, which can lead to "prior holes"—regions in the latent space that do not correspond to realistic data. VaMoH incorporates a planar normalizing flow to transform the simple Gaussian into a more complex, multi-modal distribution. This ensures the latent space more accurately reflects the underlying data manifold.
Mixture of HyperGenerators
The core innovation of VaMoH is the Mixture of HyperGenerators. A hypernetwork takes a global latent code and generates the weights for $K$ small neural networks (the generators). For any given coordinate, the model predicts a categorical distribution to determine which of the $K$ generators should be active. This allows the model to partition the function space; for instance, different generators can specialize in textures, edges, or specific object parts.
Experimental Results
The researchers evaluated VaMoH across diverse datasets, including CelebA HQ (faces), Shapes3D, PolyMNIST, ERA5 (climate data), and ShapeNet (3D chairs).
Speed and Efficiency
Because VaMoH utilizes a VAE-style encoder, inference is reduced to a single forward pass. Compared to optimization-based methods like Functa, VaMoH achieved speedups of 2.2x to 11x. This efficiency does not come at the cost of quality; on datasets like Shapes3D and ERA5, VaMoH outperformed competitors in terms of Peak Signal-to-Noise Ratio (PSNR).
Robustness and Generalization
VaMoH demonstrates remarkable resilience to data corruption. Through "point dropout" training, the model learns to reconstruct full signals from highly sparse inputs. It excels at tasks such as:
- In-painting: Reconstructing a complete image when 50% of pixels are missing.
- Out-painting: Predicting values for coordinates outside the original training frame.
- Super-resolution: Querying the continuous function at higher densities than the training data to produce sharp, upscaled outputs.
Emergent Interpretability
A unique byproduct of the mixture-of-generators approach is interpretability. By visualizing which generator is active at specific coordinates, the model produces maps that resemble semantic segmentation. This partitioning of the coordinate space occurs naturally during training without any explicit labels.
Conclusion and Future Work
VaMoH represents a significant step forward in learning distributions over continuous functions. By replacing slow optimization with a fast, robust encoder-decoder architecture, it opens the door for real-time applications in 3D modeling, climate forecasting, and beyond.
Future research directions include scaling the hypernetwork more efficiently to handle a larger number of mixture components ($K$) and exploring disentangled latent spaces to allow for precise attribute editing (e.g., modifying a facial expression while maintaining identity). Additionally, optimizing the PointConv operations could further enhance the model's speed on high-resolution datasets.
Summary updated