TL;DR
Generating realistic synthetic spreadsheets is surprisingly hard because tabular columns are wildly heterogeneous—mixing categories, sparse integers, and skewed continuous numbers. Inspired by rally car racing, DN-Flow splits the generative process into a "Driver" that steers the whole table globally and a "Navigator" that selectively fine-tunes tricky numerical columns toward their exact destinations. This structured division of labor outperforms top diffusion baselines across eight real-world datasets, proving that columns shouldn't all be treated the same.
What Problem Does This Paper Address?
Images are grids of uniform pixels; text is a sequence of tokens. Tabular data—the humble spreadsheet powering healthcare, finance, and science—is a chaotic zoo. A single row might contain an age, a zip code, a binary flag, and a heavily skewed income figure.
We want to generate synthetic tables to share data safely without leaking privacy, or to augment small datasets. Recently, diffusion and flow-matching models (which learn to smoothly transform random noise into structured data) have become the gold standard here. However, almost all of them treat every column homogeneously, pushing all features through a single, unified velocity-learning mechanism. The authors point out a flaw in this one-size-fits-all approach: while smooth, continuous numerical columns thrive on aggressive, endpoint-aware fine-tuning, discrete categorical columns (and certain unruly numerical ones) don't respond well to the same kind of strong local correction.
Methods
DN-Flow builds on conditional flow matching, a standard technique that learns a velocity field to transport Gaussian noise ($x_0$) along a straight-line path to real data ($x_1$) over time $t \in [0, 1]$. Numerical columns are quantile-transformed, and categorical columns are one-hot encoded into a shared continuous space, then fed through a shared Transformer backbone.
What’s new is how DN-Flow structures the velocity prediction, splitting it asymmetrically into two specialized roles:
- The Driver (Global Base Transport): A linear readout head that predicts a stable, full-dimensional base velocity field across all columns (both numerical and categorical). It is directly supervised to learn the overall global trajectory.
- The Navigator (Local Route Refinement): Rather than predicting a generic residual tweak, the Navigator predicts the final destination ($\tilde{x}_1^{\text{num}}$) for numerical columns only, computing a "route velocity" pointing straight toward that predicted endpoint.
- Two-Level Control: Not every column—or every moment in time—needs the Navigator shouting directions. DN-Flow regulates the Navigator's influence using two mechanisms:
- A learnable column-wise soft selector ($s$) that learns end-to-end which numerical columns actually benefit from endpoint refinement (with sparsity and binarization regularizers so it makes decisive choices).
- A dynamic gate ($g$) that adjusts the correction strength on the fly based on the specific sample state and current time step $t$.
At sampling time, Gaussian noise is integrated from $t=0$ to $t=1$ using a standard second-order Heun solver over the fused Driver–Navigator velocity field.
Datasets
The authors evaluate DN-Flow on eight real-world mixed-type tabular datasets:
- Six standard benchmark datasets reused directly from the TABDIFF benchmark: Adult, Default, Shoppers, Magic (classification), and Beijing, News (regression).
- Two additional public datasets introduced to test generalization beyond the original benchmark: Bank Marketing (BM) for classification and Bike Sharing (BS) for regression.
Key Insights and Ideas
- Role specialization beats raw capacity: When the authors replaced the Driver–Navigator setup with a parameter-matched single-branch network, performance dropped slightly below even the basic model. The gains come from separating global transport from endpoint-guided steering, not from sneaking in extra parameters.
- Timing your corrections is critical: In ablation studies, removing the sample- and time-dependent dynamic gate (
w/o Gate) caused the single worst degradation in data quality—worse than having no Navigator at all! Strong local refinement is only helpful when injected at the right time and strength. - Spillover benefits for categories: Even though the Navigator only refines numerical columns, categorical marginal distributions improved on all eight datasets compared to the Driver-only baseline, thanks to the shared representation backbone.
- Architecture agnosticism: Swapping the Transformer backbone for a parameter-matched residual MLP yielded nearly identical performance (within 2.2%–3.5%), showing the Driver–Navigator concept isn't tied to one specific neural architecture.
Key Results
DN-Flow was tested against 11 baselines (including SMOTE, CTGAN, GReaT, TabDDPM, TABSYN, CDTD, and TABDIFF) across fidelity and downstream utility:
- Marginal Fidelity (Shape): DN-Flow achieved the lowest error rate on all eight datasets, averaging 0.85% error—slashing average error by 29.8% compared to CDTD (1.21%) and 32.5% compared to TABDIFF (1.26%).
- Pairwise Dependencies (Trend): Achieved the best overall average error of 1.55% (vs. 1.91% for CDTD and 2.10% for TABDIFF), ranking first on five of the eight datasets.
- Downstream Machine Learning Efficiency (MLE): When training XGBoost models on synthetic data and testing on real data, DN-Flow achieved the smallest performance gap relative to real training data: 5.37%, outperforming CDTD (7.18%), TABSYN (9.19%), and TABDIFF (9.85%).
Limitations and Future Work
The authors are admirably candid about what DN-Flow doesn't do:
- Modest gains on some individual datasets: While average improvements over the base flow model and top competitors are consistent, the margins on several individual datasets (such as Trend on Shoppers, Magic, and News, where CDTD or TABDIFF edge ahead) are modest rather than statistically decisive clean sweeps.
- Categorical columns miss out on direct refinement: Because the Navigator relies on continuous endpoint interpolation, its direct local correction is restricted strictly to numerical dimensions; some categorical–categorical and numerical–categorical pairwise dependencies do not uniformly improve.
- Selector interpretability: The authors caution that the learned column selector shouldn't be read as a traditional "feature importance" score, since final adjustments also depend heavily on the dynamic gate and Driver–Navigator velocity discrepancies. Explicit directions for future work are not discussed in the main text.
Summary updated