Flow Matching for Tabular Data Synthesis

Bahrul Ilmi Nasution, Floor Eijkelboom, Mark Elliot, Richard Allmendinger, Christian A. Naesseth

TL;DR

Flow matching (FM) offers a highly efficient, top-performing alternative to diffusion models for synthesizing privacy-preserving tabular data. By evaluating latent-space and data-space implementations, this paper demonstrates that FM methods achieve superior data utility with significantly fewer computational steps ($\le 100$), while providing flexible ways to manage privacy disclosure risks.

What Problem Does This Paper Address?

National statistical offices and research organizations face a constant tug-of-war: how do you share valuable tabular data (like census or medical records) without compromising individual privacy? While deep generative models—particularly diffusion models like TabDDPM and TabSyn—have recently set benchmarks for creating high-fidelity synthetic data, they come with a steep price tag. They are computationally expensive, requiring hundreds of iterative steps to generate data, and their behavior regarding the trade-off between data utility and privacy risk remains poorly understood in real-world scenarios.

The authors bridge this gap by exploring Flow Matching (FM), a simulation-free generative framework that learns a velocity field to transport a simple noise distribution into structured data. They investigate whether FM can deliver a faster, higher-utility, and lower-risk alternative to traditional diffusion baselines.

Methods

The paper systematically maps out the design space of tabular flow matching across four core axes: representation space, learning target, trajectory type, and sampling dynamics. They introduce and evaluate two primary formulations:

  1. TabSynFlow (Latent-Space FM): This method replaces the diffusion process of the state-of-the-art TabSyn model with Conditional Flow Matching. It uses a Variational Autoencoder (VAE) to compress mixed continuous and categorical data into a continuous latent space, where a deterministic Ordinary Differential Equation (ODE) flow is learned.
  2. TabbyFlow (Data-Space FM): Operating directly in the raw data space, this approach leverages Variational Flow Matching (VFM). It handles heterogeneous data types natively by using a unified objective with hybrid Gaussian-categorical posteriors.

Additionally, the authors experiment with different probability paths—Optimal Transport (OT) linear paths versus Variance Preserving (VP) diffusion-like paths—and compare deterministic (ODE) vs. stochastic (SDE) sampling dynamics.

Datasets

The authors evaluate their approaches on a robust mix of real-world datasets, focusing heavily on complex census data alongside standard machine learning benchmarks.

Summary of the census and benchmark datasets used in the study.

The evaluation also includes two extreme stress tests: the Diabetes dataset for high-cardinality categorical features and a Gene Expression dataset to test ultra-high dimensionality ($>20,000$ features).

Key Insights and Ideas

  • The 100-Step Saturation Point: Unlike diffusion models that often require massive computational budgets to generate high-quality samples, FM models saturate and converge after approximately 100 Number of Function Evaluations (NFEs). This makes them incredibly attractive for resource-constrained environments.
  • OT is a Robust Default for Early Stopping: Trajectories based on Optimal Transport (OT) maintain high data utility early in the generation process. This allows practitioners to safely terminate the generation process early (e.g., at integration time $t_{ode} = 0.6$) without major quality drops. Conversely, Variance Preserving (VP) paths introduce disruptive noise early on and require full integration to be useful.
  • Stochasticity Can Be a Win-Win: Introducing controlled randomness via Stochastic Differential Equations (SDEs) into Variational Flow Matching doesn't just preserve marginal distributions; in several datasets (like the Fiji census), it simultaneously increased data utility and reduced privacy disclosure risk—a rare double-win in synthetic data generation.
  • Data-Space vs. Latent-Space Trade-offs: Direct data-space modeling (TabbyFlow) excels at preserving complex categorical distributions. However, in ultra-high-dimensional settings ($>20\text{k}$ features), latent-space modeling (TabSynFlow) scales much better due to the dimensionality reduction provided by the VAE.

Key Results

  • Higher Utility: In the main census benchmarks, TabbyFlow consistently outperformed diffusion baselines. For instance, on the UK Census dataset, TabbyFlow-OT achieved an aggregate utility score of 0.8333, noticeably outperforming TabSyn (0.7617) and TabDDPM (0.7823).
  • Privacy Risk Management: While higher utility often correlates with a slightly higher disclosure risk (measured via Targeted Correct Attribution Probability, or TCAP), choosing a VP path or utilizing SDE sampling successfully mitigated this risk. For example, TabbyFlow-VP lowered disclosure risk across multiple datasets compared to its OT counterpart while maintaining competitive utility.
  • Extreme Efficiency: In low-NFE settings ($\le 16$ steps), TabSyn performed poorly, whereas the flow-matching variants still generated meaningful, usable data.

Limitations and Future Work

While stochastic (SDE) sampling showed great promise, its benefits were found to be highly data-dependent, meaning it cannot yet be prescribed as a universal fix without per-dataset validation. Furthermore, while the empirical privacy risks (disclosure risks) were thoroughly evaluated, the current implementations do not yet incorporate formal mathematical privacy guarantees.

The authors note that future work should focus on integrating formal privacy frameworks like Differential Privacy or federated learning into the flow matching pipeline, and expanding direct mixed-type generation to even more complex domains like genomics and healthcare.

Summary updated

BibTeX
@article{nasution2026flow,
  author = {Bahrul Ilmi Nasution and Floor Eijkelboom and Mark Elliot and Richard Allmendinger and Christian A. Naesseth},
  title = {{Flow Matching for Tabular Data Synthesis}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}
Figure