TabSyn
A tabular data generator that runs score-based diffusion in the latent space of a Transformer VAE.
Tabular and recommender · 253 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 10.6M
- Operations
- 253
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2024
- Cited by
- 33 (as of 28 October 2026)
- Authors
- Hengrui Zhang, Jiani Zhang, Balasubramaniam Srinivasan and others
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20889
- Graph hash
- e91ea9bd38860e1a5bc2e528532039b955908b42c65b4d8a94b136a006cdfeb0
- Skeleton hash
- 2a428f4fee85b6a2ebc8f31b2331f4e47da592fa02d225a36b753e5b508867d9
- Architecture hash
- 609730d0cfa1168b6a144c12e738e4c59a0860ee3fa3268076240d872320bb73
- Diagram SHA-256
- 054eacd785e1bcecdfa464276fb58f49e6ad2d5b46f85033dd2004ba6c499de9
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
TabSyn generates synthetic tables with mixed column types by running a diffusion model inside a latent space built by a variational autoencoder (VAE). The paper starts from the observation that extending diffusion models to tabular data is hard because of the varied distributions and the blend of data types.
The VAE begins with a feature tokenizer that converts each column, numerical or categorical, into a d-dimensional vector. Both the encoder and the decoder are two-layer Transformers of identical architecture. A detokenizer then reconstructs the column values from the recovered token representation of each column. The VAE is trained as a β-VAE, and the scale of β is scheduled adaptively during training to lower reconstruction error while keeping an appropriate embedding shape.
For diffusion, the encoder output is flattened so that the embedding of a record is a vector rather than a matrix. The denoising function is a 5-layer MLP with SiLU activations. The noise level is set to be linear in time, σ(t) = t. With that schedule the authors report high-quality synthetic data with fewer than 20 reverse steps. On six datasets, the paper reports error rates reduced by 86% and 67% for column-wise distribution and pair-wise column correlation estimation, compared with the most competitive baselines.
Key idea. TabSyn maps mixed-type table rows into a VAE latent space with Transformer encoders and decoders, then trains a score-based diffusion model there using a linear noise schedule.
- TabSyn
- tabular data synthesis
- synthetic tabular data
- latent diffusion
- score-based diffusion
- mixed-type tabular data
- tabular VAE
- tabular data generation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2024mixedtypetabulardatasynthesis,
title={Mixed-Type Tabular Data Synthesis with Score-based Diffusion in Latent Space},
author={Hengrui Zhang and Jiani Zhang and Balasubramaniam Srinivasan and Zhengyuan Shen and Xiao Qin and Christos Faloutsos and Huzefa Rangwala and George Karypis},
year={2024},
eprint={2310.09656},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2310.09656},
}