Masked Language Modeling Becomes Conditional Density Estimation for Tabular Data Synthesis
Abstract
In this paper, our goal is to generate synthetic data for heterogeneous (mixed-type) tabular datasets with high machine learning utility (MLu). Since the MLu performance depends on accurately approximating the conditional distributions, we focus on devising a synthetic data generation method based on conditional distribution estimation. We introduce MaCoDE by redefining the consecutive multi-class classification task of Masked Language Modeling (MLM) as histogram-based non-parametric conditional density estimation. Our approach enables the estimation of conditional densities across arbitrary combinations of target and conditional variables. We bridge the theoretical gap between distributional learning and MLM by demonstrating that minimizing the orderless multi-class classification loss leads to minimizing the total variation distance between conditional distributions. To validate our proposed model, we evaluate its performance in synthetic data generation across 10 real-world datasets, demonstrating its ability to adjust data privacy levels easily without re-training. Additionally, since masked input tokens in MLM are analogous to missing data, we further assess its effectiveness in handling training datasets with missing values, including multiple imputations of the missing entries.
Cite
Text
An et al. "Masked Language Modeling Becomes Conditional Density Estimation for Tabular Data Synthesis." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I15.33685Markdown
[An et al. "Masked Language Modeling Becomes Conditional Density Estimation for Tabular Data Synthesis." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/an2025aaai-masked/) doi:10.1609/AAAI.V39I15.33685BibTeX
@inproceedings{an2025aaai-masked,
title = {{Masked Language Modeling Becomes Conditional Density Estimation for Tabular Data Synthesis}},
author = {An, Seunghwan and Woo, Gyeongdong and Lim, Jaesung and Kim, Chang-Hyun and Hong, Sungchul and Jeon, Jong-June},
booktitle = {AAAI Conference on Artificial Intelligence},
year = {2025},
pages = {15356-15364},
doi = {10.1609/AAAI.V39I15.33685},
url = {https://mlanthology.org/aaai/2025/an2025aaai-masked/}
}