GOLIATH: Gradient Inversion of Tabular Diffusion Models

Giulio Segalini, Aditya Shankar, Jérémie Decouchant, Lydia ChenNeurIPS 2026

TL;DR

Federated learning lets hospitals and banks train shared AI models without trading raw spreadsheets—just mathematical weight updates called gradients. Unfortunately, GOLIATH shows that an inquisitive server can reverse-engineer those updates from state-of-the-art tabular diffusion models, reconstructing up to 89.1% of private table cells. By untangling the messy mix of numbers, categories, and random diffusion noise, this attack proves that generative training updates leak far more individual attributes than previously assumed.

What Problem Does This Paper Address?

Diffusion models—the engines behind modern image generators—are also the gold standard for synthesizing realistic tabular data (like medical records or financial logs). To keep raw records private, institutions increasingly train these generators collaboratively via federated learning, sending only model gradients to a central server.

However, we already know from gradient inversion attacks that gradients can act like fingerprints of the training data. Yet, existing attacks hit three walls when facing tabular diffusion:

  1. No Labels: Standard attacks target classifiers and rely on recovering discrete class labels first to anchor their search. Generative diffusion models just denoise data—there are no labels to grab onto.
  2. Mixed Data Types: Unlike images (uniform grids of continuous pixels), tables mix continuous numbers (e.g., age) with discrete categories (e.g., marital status). Modern "mixed" tabular diffusion models add smooth Gaussian noise to numbers while randomly masking out categories with [M] tokens. This splits the gradient into two competing signals operating at totally different scales.
  3. Unordered Batches: Tables are trained in batches of rows. Because gradients average across the batch, any reconstructed rows come out shuffled. Without class labels to match rows across training epochs, standard alignment algorithms (like the Hungarian algorithm) scale cubically ($O(N^3)$) and choke on large batches.

Methods

GOLIATH (Gradient Optimization Leaking Individual Attributes from Tables) is the first gradient inversion attack tailored for both continuous (Gaussian) and mixed-type tabular diffusion. Instead of recovering a label, the server initializes "dummy" variables for the clean table rows and the hidden diffusion latents, optimizing them until their dummy gradients match the client's shared gradient.

Figure 1: Overview of GOLIATH’s mixed-diffusion in- version loop.

What makes GOLIATH work is how it tames the quirks of tabular diffusion:

  • Cyclic Inversion & Continuous Relaxation: The optimizer cycles through updating dummy data, diffusion timesteps, Gaussian noise, and (for mixed models) categorical masks. Because binary masks aren't differentiable, GOLIATH relaxes them into soft probabilities using a sigmoid function, gradually cooling the temperature to force crisp binary decisions.
  • Tabular-Aware Objectives: To stop large gradient channels from drowning out smaller ones, GOLIATH uses dynamic balancing. For Gaussian diffusion, it blends Mean-Squared-Error (magnitude) and Cosine distance (direction) normalized by exponential moving averages. For mixed diffusion, it explicitly splits the output-layer gradient into continuous (MSE) and categorical (cross-entropy) parts, matching each separately.
  • Timestep-Mask Coupling: In mixed diffusion, a row's diffusion timestep dictates the probability of its categories being masked. Optimizing them separately creates a mathematical blind spot where the two trade off without changing the gradient. GOLIATH enforces physical reality by penalizing mismatches between a batch's observed mask density and expected timestep schedule via symmetric Bernoulli KL divergence.
  • Fast Cross-Epoch Ensembling: To sharpen reconstructions over multiple epochs without $O(N^3)$ bottlenecks, GOLIATH introduces a greedy row-alignment heuristic ("Fast Align") that iteratively pairs up the most similar rows between epochs before averaging them.
Figure 2: Cross-epoch ensembling. Reconstruc- tions from successive training epochs are row- aligned and averaged with decaying weight.

Datasets

The authors evaluate GOLIATH on ten public benchmark datasets (primarily from the UCI Machine Learning Repository), spanning continuous-heavy and categorical-heavy schemas: Abalone, Adult, Dry Bean, Default, Gesture, Letter, MAGIC Gamma Telescope, Shoppers, Credit, and the category-heavy Census-Income (KDD) dataset (which features 34 categorical columns). No new datasets are introduced.

Key Insights and Ideas

  • Whole rows stay hidden, but sensitive columns leak: Looking only at whole-row recovery gives a false sense of security—at batch size 32, only 0.2% of rows are recovered with every single cell intact. Yet, low-cardinality sensitive attributes leak heavily: on the Adult dataset, race and sex are recovered with 83.2% and 82.4% accuracy.
  • Standard defenses have mixed-data blind spots: Gradient clipping and compression barely scratch GOLIATH. Even advanced defenses like CENSOR struggle under mixed diffusion on categorical-heavy tables, leaving categorical leakage high because the defense doesn't account for split continuous-discrete loss functions.
  • Greedy alignment rivals exact math: GOLIATH's greedy row-matching heuristic performs nearly identically to the exact cubic-time Hungarian algorithm, proving you don't need expensive combinatorial solvers to ensemble unlabelled batches.

Key Results

Across 80 experimental configurations (10 datasets $\times$ 4 batch sizes $\times$ 2 diffusion regimes), 5-epoch GOLIATH beats all baselines—including image-diffusion (GIDM) and adapted tabular classification (Adaptive TabLeak) attacks—by an average of 14.6 percentage points over the strongest baseline.

  • Reconstruction Accuracy: Reaches up to 89.1% per-cell accuracy under Gaussian diffusion (Census, batch size 1) and 77.0% under mixed diffusion (Shoppers, batch size 1). Even at batch size 32, 5-epoch accuracy stays high (e.g., 67.7% on Census for Gaussian; 55.5% on Credit for mixed).
  • Efficiency & Transferability: Inverting a single gradient takes ~8.5 seconds and 700 MB of VRAM on an NVIDIA H100. Furthermore, swapping the standard MLP backbone for an FT-Transformer still yields 46.3% (Gaussian) and 42.4% (mixed) mean cell accuracy at batch size 32, showing the attack transfers across architectures.
  • Differential Privacy (DP) Trade-offs: Adding calibrated Gaussian noise ($\varepsilon \in \{0.5, \dots, 10\}, \delta = 10^{-5}$) successfully suppresses cell accuracy down to 11.5–14.4% on Adult, though at the cost of substantially degraded model training loss at small batch sizes.

Limitations and Future Work

  • Threat Model Assumptions: GOLIATH assumes a semi-honest server that sees individual client updates; cryptographic secure aggregation hides these individual gradients and neutralizes the attack.
  • Batch Reshuffling: Cross-epoch ensembling shines brightest when clients iterate over batches in a fixed order. Random reshuffling between epochs roughly halves the multi-epoch accuracy gains on Adult under Gaussian diffusion.
  • Future Directions: Because standard defenses falter on mixed continuous-discrete gradients, the authors highlight an urgent need for tabular-specific privacy defenses tailored to heterogeneous loss functions, alongside full-trajectory differential privacy accounting.

Summary updated

Abstract

Gradient inversion reconstructs training data from shared gradients. However, existing methods target classification tasks and image diffusion, and do not address mixed tabular diffusion, where numerical columns follow Gaussian noising while categorical columns are corrupted by discrete masks. This mixed continuous-discrete training objective changes both the inversion target and the gradient structure: an attacker must recover not only rows, timesteps, and noise, but also the latent mask pattern whose density is tied to the diffusion timestep. We propose Goliath, the first gradient inversion attack designed for tabular diffusion models. Goliath employs a cyclic inversion loop that jointly recovers rows and diffusion latents across Gaussian and mixed diffusion regimes. We introduce a tabular-aware objective function that balances numerical and categorical gradient contributions while improving categorical recovery through enforced consistency between noise levels and mask structures. To accommodate large batches, we aggregate multiple reconstructions across epochs using a row-alignment heuristic. Evaluated across nine tabular datasets, Goliath achieves up to $88.9\\%$ per-cell reconstruction accuracy and consistently outperforms gradient-inversion baselines across Gaussian and mixed tabular diffusion. Code is available at https://anonymous.4open.science/r/fl-tab-diffusion-inversion-F4E7/README.md.
BibTeX
@inproceedings{segalini2026goliath,
  author = {Giulio Segalini and Aditya Shankar and Jérémie Decouchant and Lydia Chen},
  title = {{GOLIATH: Gradient Inversion of Tabular Diffusion Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=GXxPzaSox4},
}
Figure