How Realistic Is Your Synthetic Data? Constraining Deep Generative Models for Tabular Data

Mihaela C. Stoian, Salijona Dyrmishi, Maxime Cordy, Thomas Lukasiewicz, Eleonora Giunchiglia
2/12/2026

No official code found. Best implementation: mihaela-stoian/ConstrainedDGM (21 stars, Apache-2.0, last commit 2025-04-15).

Abstract

Deep Generative Models (DGMs) have been shown to be powerful tools for generating tabular data, as they have been increasingly able to capture the complex distributions that characterize them. However, to generate realistic synthetic data, it is often not enough to have a good approximation of their distribution, as it also requires compliance with constraints that encode essential background knowledge on the problem at hand. In this paper, we address this limitation and show how DGMs for tabular data can be transformed into Constrained Deep Generative Models (C-DGMs), whose generated samples are guaranteed to be compliant with the given constraints. This is achieved by automatically parsing the constraints and transforming them into a Constraint Layer (CL) seamlessly integrated with the DGM. Our extensive experimental analysis with various DGMs and tasks reveals that standard DGMs often violate constraints, some exceeding $95\%$ non-compliance, while their corresponding C-DGMs are never non-compliant. Then, we quantitatively demonstrate that, at training time, C-DGMs are able to exploit the background knowledge expressed by the constraints to outperform their standard counterparts with up to $6.5\%$ improvement in utility and detection. Further, we show how our CL does not necessarily need to be integrated at training time, as it can be also used as a guardrail at inference time, still producing some improvements in the overall performance of the models. Finally, we show that our CL does not hinder the sample generation time of the models.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for the ICLR 2024 paper "How Realistic Is Your Synthetic Data? Constraining Deep Generative Models for Tabular Data"

214Shell, PythonJan 27, 20241 years agoApache-2.0
constraintsneuro-symbolicneurosymbolicneurosymbolic-airequirements+1 more

Similar Papers

Cite this paper

@article{stoian2026realistic,
  title  = {How Realistic Is Your Synthetic Data? Constraining Deep Generative Models for Tabular Data},
  author = {Mihaela C. Stoian and Salijona Dyrmishi and Maxime Cordy and Thomas Lukasiewicz and Eleonora Giunchiglia},
  year   = {2026},
  eprint = {2402.04823},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.04823},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.04823.svg)](https://codeofpaper.com/paper/2402.04823)

Discussion