TL;DR
The Existence-Field Diffusion Model (EFDM) introduces a novel framework for generative modeling of spatial point processes with variable numbers of points. By pairing each potential point with a continuous "existence variable," EFDM jointly models both spatial locations and set cardinality within a standard, unified diffusion process. This eliminates the need for complex, discrete trans-dimensional operations and significantly improves the model's ability to capture dependencies between a set's size and its spatial layout.
What Problem Does This Paper Address?
Many real-world phenomena are best represented as spatial point processes (SPPs)—unordered sets of points where both the locations and the total number of points (cardinality) vary. Examples include the positions of atoms in a molecule, or the locations of ride-share pickups in a city. Crucially, the spatial layout often depends heavily on the number of points present; for instance, a small molecule has a fundamentally different geometry than a large one.
While diffusion models excel at generating fixed-dimensional data (like images), adapting them to variable-cardinality sets is challenging. Existing approaches typically either:
- Decouple the problem: Model the number of points and their spatial positions separately, which fails to capture the joint dependencies between size and layout.
- Use trans-dimensional jumps: Rely on discrete operations (like thinning or jump processes) to add or remove points during diffusion. This creates asymmetric, complex generative dynamics that are difficult to optimize.
EFDM addresses this gap by creating a continuous formulation that models both spatial coordinates and cardinality simultaneously without relying on discrete transitions.
Methods
Instead of dynamically changing the dimensionality of the data vector during diffusion, EFDM establishes a fixed maximum number of potential point slots ($N$). Each point slot $i$ is defined by an augmented variable $y_i = (x_i, e_i)$, where:
- $x_i \in \mathbb{R}^d$ represents the spatial coordinates.
- $e_i \in [0, 1]$ is a continuous existence variable representing the point's "degree of presence."
To integrate this into a standard continuous diffusion framework (like DDPM), the authors apply a logit transform to the existence variable: $$u_i = \log \frac{e_i}{1 - e_i}$$
The forward process diffuses both the spatial coordinates $x_i$ and the reparameterized existence values $u_i$ into standard Gaussian noise. During the reverse (generative) process, the model jointly denoises both features.
At the end of the generation process, the continuous existence values are mapped back via a sigmoid function ($e_i = \sigma(u_i)$) and treated as probabilities. The final discrete set of points is determined by sampling binary indicators from a Bernoulli distribution ($z_i \sim \text{Bernoulli}(e_i)$), effectively filtering out "inactive" slots.
Datasets
The authors evaluated EFDM on three distinct datasets:
- Synthetic Dataset: A custom 2D dataset designed specifically to test if a model can learn cardinality-dependent spatial structures (e.g., transitioning from a Gaussian blob to a ring structure as the number of points increases).
- City Louisville E-Scooter Trip Dataset: Real-world micro-mobility data where samples consist of 10% of daily e-scooter pickup locations, exhibiting highly variable daily densities.
- QM9 Molecule Dataset: A standard benchmark consisting of small organic molecules with varying numbers of atoms (up to $N=29$) distributed in 3D space.
Key Insights and Ideas
- Continuous Relaxation of Discrete States: The core "aha moment" is treating a point's existence not as a hard binary state or a discrete jump event, but as a continuous field that can smoothly fade in or out. This allows the model to leverage the full power of standard, continuous diffusion mathematics.
- Symmetric Dynamics: Unlike jump-diffusion models that must use entirely different mechanisms for the forward process (removing points) versus the reverse process (adding points), EFDM allows points to naturally strengthen or diminish symmetrically in both directions.
- The Power of Conditional Evaluation: The paper highlights that evaluating models globally (unconditionally) can mask poor performance. By binning evaluations by cardinality, the authors demonstrate that capturing how spatial distributions change relative to set size is the true differentiator for high-quality SPP modeling.
Key Results
EFDM consistently outperformed baseline models—including Independent Point Diffusion (IDM), Fixed-Dimensional Diffusion (FDDM), and Trans-Dimensional Diffusion (TDDM)—especially in capturing joint size-space dependencies.
Synthetic & Real-World Spatial Data
As shown in the evaluation tables, EFDM achieved the lowest Wasserstein-1 (W1) distances across nearly all spatial statistics (mean, variance, skewness, kurtosis) under conditional (binned by cardinality) evaluation.
Qualitatively, EFDM successfully recovered the complex, cardinality-dependent shapes in the synthetic data, whereas competing TDDM methods failed to cover the full range of patterns.
Molecular Generation (QM9)
On the QM9 dataset, EFDM achieved state-of-the-art molecular validity metrics under a non-GNN (Graph Neural Network) setup:
- Atom Stability: 0.968
- Molecule Stability: 0.766
- Validity: 0.920
Remarkably, despite using a standard Transformer backbone, EFDM achieved highly competitive results compared to a pretrained TDDM model that utilized a specialized, domain-specific Equivariant Graph Neural Network (EGNN). It also accurately matched the ground-truth atom-count distributions for individual element types (C, H, N, O, F) much more closely than baselines.
Limitations and Future Work
- Independence Overhead: If a dataset's spatial distribution is entirely independent of its cardinality, EFDM provides no modeling advantage and may overfit.
- Computational Cost: Because the model uses a fixed maximum number of slots ($N$), it introduces additional computational and memory overhead for padding inactive slots when generating very small sets from a wide cardinality range.
- Static Limitation: The current framework is designed purely for static spatial point processes. The authors note that extending EFDM to handle spatio-temporal point processes (STPP)—where points move or occur over time—is a vital next step.
Summary updated