A Tabular Data Generation Framework Guided by Downstream Tasks Optimization (TDGGD)

Fengwei Jia · Hongli Zhu · Fengyuan Jia · Xinyue Ren · Siqi Chen · Hongming Tan · Wai Kin Victor Chan*
Tsinghua Shenzhen International Graduate School & Tsinghua-Berkeley Shenzhen Institute, Tsinghua University · Anhui University of Technology · International S&T and Technology Information Center, Shenzhen · *[email protected]
Scientific Reports 14:15267 (2024) · DOI 10.1038/s41598-024-65777-9 · First deployment of downstream information into a diffusion model framework

Resembling Real Data ≠ Useful Data

  • Generative models craft fake data that superficially resembles reality — yet does not inherently guarantee downstream analysis
  • Hull example: single-column distributions can match reality while the three-dimensional hull is unbuildable by humans
  • Column constraints ensure generated data stays consistent — pursuing only statistical similarity is not conducive to downstream tasks
3
indicators: Easy · Ambiguous · Hard
2
datasets: California Housing · Ship-D
0.92
feasibility rate (vs TabDPM 0.51)

TDGGD Framework

Figure 1 · Green = real data, orange = fake data; the three indicators guide the diffusion loop toward downstream targets

Entire Loss = DDPM + Regularization

  • Without regularization the model may overfit to the DDPM loss — too close to training data, poor generalization
  • Under regularization it explores wider solutions: balancing DDPM loss and constraint satisfaction
  • Three indicators reduce oscillation between training and validation errors

Three Indicators, Three Constraints

  • Easy Indicator (EI): True/False classifier with Restrict() — ensures structural features like temporal trends and periodic changes; BCE loss, MLP blocks
  • Hard Indicator (HI): identifies key columns per downstream task; residual network + gradient guidance; MSE loss; expands 4 task targets (max/min/avg/variance) for single-column tasks
  • Ambiguous Indicator (AI): column regressors implicitly learn inter-column constraints; unrelatable columns discarded; missing values filled with c_j = 0
Figure 3 · Data preparation — green = real data, orange = fake data

Pareto-Guided Sampling

Figure 2 · The structure of hard indicator (residual connection + sin/cos time embedding)
  • Sampling: γ∇X_EL(y|X_t) + (1/n)Σ∇X_AI(C_i|X_t) − Σλ_i∇X_HI(H_i|X_t) — three gradient terms per timestep
  • Multi-objective optimization = Pareto optimization; λ = 0.5 scales HI and AI vectors to positive values

Experimental Setup

  • California Housing: 20,640 samples, regression on MedHouseVal + 4 constructed targets (max/min/avg/variance)
  • Ship-D: 30,000 samples from MIT DocCoDE, 44 hull parameters with explicit constraints; downstream Ship-D*
  • Baselines: TVAE · CTGAN · TabDPM · DDPM with classifier · ShipGen — PyTorch, RTX 4060 Laptop GPU

Feasibility: 0.92 vs 0.51

Table 2 · Feasibility rate on the Ship-D dataset
  • TabDPM satisfies column constraints only half the time (0.51) — TDGGD reaches 0.92
  • The extra HI and AI gradients cost only 0.02 feasibility vs DDPM+classifier (1.0)
  • Indicator fits: nearly R2 1.0; EI reaches F1 score 1.0

Closer Predictions & Privacy

Table 4 · |1 − scaledfactor|: TDGGD 0.0219 vs ShipGen 0.3439 on Cw — average 45.71% closer to original
  • Privacy: DCR 5.3116 (Ship-D) · NNDR 0.9406 whole-dataset · k-anonymization 1 · IdentifiabilityScore 0.01
  • Balanced data for privacy protection while maintaining utility — suitable for higher-privacy applications
TAKEAWAYS
1. First deployment of downstream information into a diffusion model framework
2. EI / AI / HI model structure, inter-column constraints, and downstream-critical columns
3. Feasibility 0.92 vs TabDPM 0.51 — predictions 45.71% closer to originals than ShipGen
Jia, Zhu, Jia, Ren, Chen, Tan & Chan (2024). Scientific Reports 14:15267. DOI 10.1038/s41598-024-65777-9 — figures reprinted from the original paper for academic presentation.