Abstract
Generative adversarial network (GAN) models have been successfully utilized in a wide range of machine learning applications, and tabular data generation domain is not an exception. Notably, some state-of-the-art models of tabular data generation, such as CTGAN, TableGan, MedGAN, etc. are based on GAN models. Even though these models have resulted in superior performance in generating artificial data when trained on a range of datasets, there is a lot of room (and desire) for improvement. Not to mention that existing methods do have some weaknesses other than performance. For example, the current methods focus only on the performance of the model, and limited emphasis is given on the interpretation of the model. Secondly, the current models operate on raw features only, and hence they fail to exploit any prior knowledge on explicit feature interactions that can be utilized during data generation process. To alleviate the two above-mentioned limitations, in this work, we propose a novel tabular data generation model—Generative Adversarial Network modelling inspired from Naive Bayes and Logistic Regression’s relationship (GANBLR), which not only address the interpretation limitation of existing tabular GAN-based models but provides capability to handle explicit feature interactions as well. Through extensive evaluations on wide range of datasets, we demonstrate GANBLR’s superior performance as well as better interpretable capability (explanation of feature importance in the synthetic generation process) as compared to existing state-of-the-art tabular data generation models.
Introduction
Generative Adversarial Networks (GANs) have revolutionized data synthesis, particularly in the image domain. However, applying them to tabular data—the structured rows and columns found in databases—presents unique challenges. Unlike images, tabular data lacks spatial structure and often contains complex, non-linear interactions between categorical and numeric features.
Existing state-of-the-art models like CTGAN or TableGAN rely on deep Artificial Neural Networks (ANNs). While powerful, these models face two major hurdles:
- Interpretability: They are "black boxes." It is nearly impossible for a human to understand the internal logic behind a generated record.
- Explicit Feature Interaction: Standard GANs capture feature correlations implicitly. Researchers cannot easily incorporate prior knowledge about specific feature dependencies into a deep neural network's architecture.
Methodology: The GANBLR Model
To address these limitations, we introduce GANBLR (Generative Adversarial Network modelling inspired from Naive Bayes and Logistic Regression’s relationship). The core innovation is replacing traditional ANN-based components with interpretable Bayesian Networks (BNs).
The framework consists of two primary components:
- The Generator ($BN^e$): Instead of transforming random noise via layers of neurons, this generator learns a probabilistic structure from the real data. It uses a "constrained" Bayesian Network where weights represent actual conditional probabilities.
- The Discriminator ($BN^d$): This component is a discriminatively trained Bayesian Network that acts as the "critic," distinguishing between real and synthetic records.
A key feature of GANBLR is the $k$ parameter, which defines the "order of interaction." For example, $k=0$ assumes features are independent (Naive Bayes), while $k=2$ allows each feature to depend on two others. This allows for the explicit modeling of complex dependencies that are often lost in black-box models.
Experimental Evaluation
We evaluated GANBLR against state-of-the-art (SOTA) models, including CTGAN, TableGAN, and MedGAN, across 15 public datasets (e.g., Adult, Credit, Covtype) and 2 synthetic benchmarks designed to test high-order interactions.
Key Results
- Machine Learning Utility: Using the "Train on Synthetic, Test on Real" (TSTR) metric, GANBLR outperformed all baselines on almost all datasets. It showed particular strength on small and medium-sized datasets where deep learning models tend to overfit.
- Statistical Similarity: GANBLR achieved lower scores in Jensen-Shannon Divergence (JSD) and Wasserstein Distance (WD), indicating that the synthetic data's distribution was significantly closer to the real data than its competitors.
- High-Order Interactions: On synthetic Poker-hand tests, increasing the interaction parameter $k$ from 0 to 2 led to a jump in accuracy from ~53% to ~72%, proving the model successfully captures complex feature dependencies.
Discussion and Interpretability
Unlike traditional GANs, GANBLR's interpretability is built-in. Because the generator's weights are actual conditional probabilities, the model's logic is transparent. One can simply examine the learned weights to understand which features most heavily influenced the generation of a specific class.
While currently focused on categorical attributes (requiring discretization for numeric data), GANBLR demonstrates that adversarial training can significantly enhance the quality of Bayesian Networks. Future work will explore the direct generation of numerical attributes and the use of unrestricted Bayesian Networks to capture even more complex patterns.
Summary updated