TL;DR
Constrained Tabular Diffusion for Finance (CTDF) introduces a training-free feasibility operator directly into the reverse-sampling loop of tabular diffusion models. This allows financial institutions to generate synthetic mixed-type tabular data that strictly obeys complex regulatory, economic, and business constraints with absolute zero violations while preserving high statistical fidelity.
What Problem Does This Paper Address?
Synthetic tabular data is incredibly valuable in finance for training fraud detection systems, stress-testing credit models, and sharing data securely without violating privacy laws. However, financial data doesn't exist in a vacuum—it is governed by a strict web of business logic, economic principles, and legal regulations (e.g., interest rate caps, debt-to-income limits, or housing laws).
State-of-the-art generative models, like diffusion probabilistic models, excel at capturing complex statistical distributions, but their sampling process is inherently stochastic. This means they frequently generate unrealistic or illegal data points. Traditional fixes either throw away invalid samples (which is computationally expensive and leaves models starved for rare data) or project invalid samples onto a valid space at the very end of the process (which violently distorts the data's natural statistical structure).
Methods
CTDF solves this by integrating a training-free feasibility operator ($\mathcal{F}_\mathcal{C}$) directly into the reverse-diffusion sampling loop of an existing tabular diffusion model (TabDiff). Instead of fixing the data post-hoc, CTDF nudges the unconstrained samples back into the "compliance region" at every single denoising step.
Because financial tables contain a mix of continuous and categorical data, CTDF uses a hybrid mapping strategy:
- Numerical Features: Uses a squared Euclidean distance projection to map continuous values onto a convex polytope defined by linear constraints (e.g., $\text{Price} \ge 100$).
- Categorical Features: Employs a Kullback-Leibler (KL) divergence mapping on the model's predicted probability logits. It zeroes out the probabilities of invalid categories and re-normalizes the remaining valid options, preserving the model's relative likelihoods.
For complex, interdependent rules (e.g., "if property type is a single-family home, price must be $\ge X$"), CTDF applies a targeted, sequential mapping. It uses the current step's input features to compute a dynamic boundary for the target feature, adjusting only the target column while leaving the inputs untouched.
Datasets
The authors evaluated CTDF on two massive, real-world datasets:
- Airbnb Open Data (Housing Market): Consists of 450k property listings across major U.S. cities, featuring 9 numerical and 5 categorical attributes. This was used to simulate real estate investment portfolios bound by local housing laws (like NYC's Local Law 18).
- Lending Club Dataset (Loan Analysis): A massive consumer credit dataset containing nearly 3 million peer-to-peer loan records with 41 columns (22 numerical, 19 categorical). This was used to simulate prime lending portfolios and augment highly imbalanced small-business loan data.
Key Insights and Ideas
- Trajectory Steering Preserves Fidelity: Nudging the sample at each step of the reverse SDE allows the diffusion model's parallel denoising capabilities to naturally adapt to the constraint. The final outputs stay aligned with the base model's learned joint structure, avoiding the statistical distortion typical of post-hoc corrections.
- Compliance as AI Augmentation: Enforcing constraints isn't just a defensive legal measure; it actively improves downstream machine learning performance. By guiding the model to generate realistic data in "data deserts" (rare, high-risk, or historically data-scarce regions), CTDF provides high-quality data augmentation where real data is weakest.
- Algorithmic Auditing and Fairness: CTDF can cleanly truncate biased tails in generative distributions. By enforcing a constraint that eliminates location-based overpricing premiums, the authors generated a plausible, counterfactual "fair-price" synthetic market stripped of historical geographic bias.
Key Results
- Zero Violations: Across all experiments, CTDF achieved 0.0% constraint violations, whereas unconstrained baselines violated rules up to 90% of the time.
- Superior Data Fidelity: On the Housing Market dataset, CTDF achieved a Shape Similarity score of 0.98787 and a Trend Score of 0.95376, outperforming standard generative models like CTGAN, TVAE, and FinDiff.
- Downstream Performance Boost: When training a classifier to detect early defaults on small-business loans, augmenting the training set with 500k compliant CTDF samples yielded a +0.09 uplift in AUC-PR and a 27% relative increase in Recall@5% FPR compared to training on the full real dataset alone.
Limitations and Future Work
While highly effective, the paper notes a few boundaries and areas for exploration:
- Sequential Mapping Trade-offs: The sequential approach for functional constraints ($y \le f(z)$) alters only the target column $y$ at a given step. While computationally efficient, it does not perform a full joint projection across all interdependent variables simultaneously, which might be required for highly circular or bidirectional constraints.
- Dependence on Base Model: Because CTDF is training-free, it relies entirely on the underlying unconstrained model to capture the broad data distribution. If the base model suffers from severe mode collapse, CTDF will only generate compliant samples within that collapsed space.
- Future Directions: The authors suggest extending this framework to non-convex constraints and dynamic time-series financial data.
Summary updated