NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion and Flow-based Copulas: Forgetting and Remembering Dependencies

David Huk, Theodoros Damoulas

Introduction

This paper introduces a novel approach to modeling complex, high-dimensional dependencies between variables by applying diffusion and flow-based generative models to copulas. By designing forward processes that progressively "forget" inter-variable dependencies while mathematically preserving individual marginal distributions, the authors create highly scalable copula models capable of handling thousands of dimensions—a significant leap over traditional methods.

The Challenge with High-Dimensional Copulas

In statistics and machine learning, a copula is a powerful tool used to build multivariate distributions. It works by separating the behavior of individual variables (the marginals) from how they interact with each other (the dependence). This allows practitioners to model marginals independently and then use a copula to "stitch" them together, a technique widely used in finance, weather forecasting, and causal inference.

However, existing copula models struggle with complex or high-dimensional data. Traditional models, such as Gaussian or Vine copulas, either make overly simplistic assumptions or scale exponentially poorly. Recent deep learning-based copulas often suffer from mode collapse or require prohibitively slow Markov Chain Monte Carlo (MCMC) methods for sampling. This paper addresses a critical gap: How can we build a highly expressive copula model that scales to thousands of dimensions, allows for exact density estimation, and supports fast sampling?

Proposed Methods: Targeted Destruction

The authors leverage the "destroy and reconstruct" paradigm of diffusion and flow models with a crucial modification. While standard diffusions destroy all structure in data, building a valid copula requires a stochastic process that only destroys the dependence between variables, leaving the marginal distributions perfectly intact at every time step.

Overview of the Classification-Diffusion and Reflection Copula methods.

To achieve this, they introduce two distinct models tailored for different use cases:

  1. Classification-Diffusion Copula ($c_{dc}$) (Optimized for Density Estimation): Operating on a Gaussian scale, this method uses an Ornstein-Uhlenbeck (OU) process that diffuses the data until the variables are completely independent. To reverse the process, a neural network classifier is trained to predict the "diffusion timestep" of a given sample. The authors mathematically prove that the output of this classifier directly yields both the exact copula density and the score needed to generate samples via Langevin dynamics.

  2. Reflection Copula (Optimized for Fast Sampling): Operating directly on the $[0,1]^d$ copula hypercube, this flow-based method assigns random velocities to data points, allowing them to bounce (reflect) off the boundaries of the hypercube. Over time, this deterministic bouncing scrambles the data into a uniform, independent distribution. The model learns to predict the expected velocity of these particles, allowing it to reverse the flow and generate dependent samples rapidly.

Key Insights

  • Targeted Destruction: The core mathematical breakthrough is proving that specific diffusion and reflection processes can act exclusively on the joint distribution while leaving the marginals invariant. This guarantees the model explores a space of valid copulas at all times.
  • Density as Classification: Building on advances in density ratio estimation, the authors demonstrate that expensive numerical ODE/SDE solvers are not required to obtain the likelihood of a copula. A simple categorical classifier predicting the noise level contains all the necessary information to extract the exact density.
  • Bouncing Particles as Generative Flows: The Reflection Copula offers a highly intuitive approach to generative modeling on bounded spaces. By letting particles bounce within a box, the system naturally mixes into uniform noise, creating a reversible path from dependence to independence.
Visualization of the Reflection Copula's bouncing particle mechanics and velocity prediction.

Experimental Results and Scalability

The models were evaluated on a mix of scientific tabular data (e.g., telescope data, robot movements) and high-dimensional image data (e.g., MNIST, Cifar). Images were used as a rigorous stress-test for high-dimensional structured dependence, a domain where traditional copulas typically fail.

  • State-of-the-Art Performance: Both proposed models consistently outperformed baselines—including Gaussian, Vine, Ratio, and Implicit Generative Copulas—on Log-Likelihood (LL) and Wasserstein-2 (W2) distances across almost all datasets.
  • Unprecedented Scalability: The models successfully scaled to $d=1024$ (Cifar). For perspective, the industry-standard Vine copula returned NaN errors on Cifar, and other deep copulas struggled to capture the underlying structure.
  • Massive Speedups: The Reflection Copula proved exceptionally fast for generation. On the $d=1024$ Cifar dataset, it generated 1,000 samples in just 15 seconds. In contrast, the competing state-of-the-art deep copula (Ratio copula), which relies on Hamiltonian Monte Carlo, took 2.5 hours for the same task.

Limitations and Future Directions

While the mathematical guarantees ensure these models produce perfectly valid copulas at global optimality, neural network approximations in practice can introduce slight deviations in the marginals (though empirical tests showed these to be minor). Additionally, the current framework relies on continuous marginal densities; extending this to discrete variables remains an open challenge. Future work may explore different marginal-preserving diffusions or alternative velocity distributions for the Reflection copula to provide better inductive biases for datasets with extreme tail dependencies.

Summary updated

BibTeX
@inproceedings{huk2026diffusion,
  author = {David Huk and Theodoros Damoulas},
  title = {{Diffusion and Flow-based Copulas: Forgetting and Remembering Dependencies}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=YrX77XRgku},
}
Figure