Abstract
We present a generative model that is defined on finite sets of exchangeable, potentially high dimensional, data. As the architecture is an extension of RealNVPs, it inherits all its favorable properties, such as being invertible and allowing for exact log-likelihood evaluation. We show that this architecture is able to learn finite non-i.i.d. set data distributions, learn statistical dependencies between entities of the set and is able to train and sample with variable set sizes in a computationally efficient manner. Experiments on 3D point clouds show state-of-the art likelihoods.
Introduction
Standard machine learning models typically assume data is either independent and identically distributed (i.i.d.) or follows a specific sequence. However, many real-world data types—like 3D point clouds, voice samples from a speaker, or "bags-of-words" in documents—are finite unordered sets.
The challenge is that the joint probability of these "entities" must be permutation invariant: the likelihood shouldn't change if you shuffle the order of the points in a cloud. While architectures like Deep Sets handle this for classification, generative modeling (creating new sets) is harder. Previous generative approaches often relied on "de Finetti’s theorem," which assumes an underlying infinite sequence of variables—an assumption that doesn't always hold for finite, non-i.i.d. data where entities are statistically dependent on one another.
Methodology
The authors introduce Set Flow, which integrates Normalizing Flows with permutation-invariant layers.
The model is built on three core components:
- Normalizing Flows (Real NVP) Base: It utilizes the "coupling layer" mechanism from Real NVP, allowing for complex transformations that remain easy to invert and have a simple Jacobian determinant, essential for calculating exact likelihoods.
- Global Noise Coupling: In each "stack" of the model, every entity in the set is transformed using a shared global Gaussian noise vector ($z_0$).
- Permutation Invariant Feedback: After the entities are transformed, the global noise vector itself is updated based on a symmetric function (a Deep Set layer) of all the transformed entities. Because this pooling operation is order-independent, the entire stack remains permutation equivariant.
Experiments and Results
The researchers evaluated Set Flow on synthetic toy datasets and the ModelNet40 benchmark for 3D object recognition.
Non-i.i.d. Learning
On a toy circle dataset (2D points equidistant on circles), the model successfully learned the "equidistance" property. This demonstrated that Set Flow can capture spatial dependencies between points—knowing the position of some points highly constrains the others.
State-of-the-Art Likelihoods
On the ModelNet40 dataset, Set Flow outperformed existing models like BRUNO and PILET in mean test log-likelihoods. For the "Airplane" class, Set Flow achieved a score of 4.1, compared to PILET-VAE's 4.08 and BRUNO's 2.6. The model's global noise vector acts as a "coordinator," allowing it to learn the global structure (like the shape of a chair) rather than just the distribution of individual points.
Conclusion
Set Flow provides a flexible and efficient framework for generative modeling of finite sets. By inheriting the properties of Normalizing Flows, it avoids expensive approximations like MCMC or Variational Inference, providing exact density estimation. Future work will explore scaling to higher-dimensional entities, such as sets of images, and applying these methods to temporal correlations in time-series data.
Summary updated