Permutation-Invariant Tabular Data Synthesis

Yujin Zhu, Zilong Zhao, Robert Birke, Lydia Y. Chen · DOI

Introduction

In the field of privacy-preserving machine learning, the generation of synthetic tabular data—such as financial records or medical histories—is a critical task. Ideally, a generative model should exhibit permutation invariance: the statistical quality of the synthetic output should remain consistent regardless of the order in which input columns are presented. However, recent research reveals that state-of-the-art tabular synthesizers are surprisingly sensitive to column ordering, with permutations causing performance drops of up to 38%. This paper introduces AE-GAN, a novel architecture designed to overcome data sparsity, alongside a feature-sorting algorithm that optimizes column placement for existing CNN-based generators.

The Sensitivity Problem in Tabular Synthesis

Existing generative models, including leaders like CTAB-GAN and TVAE, suffer from significant performance degradation when column orders are shuffled. The authors identify two primary drivers for this sensitivity:

  1. Data Sparsity: Standard preprocessing techniques, such as one-hot encoding for categorical variables and mode-specific normalization for numerical values, often result in high-dimensional, sparse matrices. In some datasets, up to 97% of the input data consists of zeros. This sparsity makes the generative learning process fragile and highly dependent on the initial configuration of the feature space.
  2. Architectural Bias in CNNs: Many modern synthesizers utilize Convolutional Neural Networks (CNNs). While powerful, CNNs are inherently designed for spatial data (like images) where local pixel relationships are paramount. In a table, two highly correlated features might be placed far apart or at the "edges" of the input matrix. These edge features suffer from boundary effects, causing the CNN to fail to capture critical inter-feature relationships.

Proposed Methodology: AE-GAN

To address these challenges, the authors propose AE-GAN (Autoencoder-GAN). This model shifts the generative process from the sparse, high-dimensional raw feature space into a dense, lower-dimensional latent space.

The Autoencoder Component

The system utilizes a three-layer fully connected autoencoder to compress sparse input data into a compact latent representation. By training the autoencoder first, the model eliminates the sparsity issue, providing a more stable foundation for the generative stage.

The Generative Component

A Wasserstein GAN with Gradient Penalty (WGAN-GP) is employed to synthesize these latent vectors. To ensure "semantic integrity"—ensuring that synthetic records remain logically consistent (e.g., matching 'Job' titles with appropriate 'Education' levels)—the authors integrate an Auxiliary Classifier. This classifier provides additional feedback to the generator, penalizing records that violate learned semantic relationships.

Optimizing CNN-based Synthesizers: Feature Sorting

For models that rely on CNN architectures (like CTAB-GAN), the authors developed a heuristic feature-sorting algorithm. This algorithm calculates pairwise correlations between all features and reorders the columns to place the most highly correlated features in the center of the input matrix. By centering these relationships, the model ensures they are processed more frequently by convolution kernels and are protected from the information loss typically associated with matrix boundaries.

Experimental Evaluation

The proposed methods were evaluated across five diverse, real-world datasets: Loan (demographics), Adult (census data), Credit (fraud detection), Intrusion (network security), and Covtype (geographical data).

Key Findings

  • Reduced Sensitivity: AE-GAN demonstrated a permutation sensitivity of only 11.71%, a stark contrast to the 38.67% observed in CTAB-GAN.
  • Computational Efficiency: AE-GAN proved significantly more efficient, training up to 6x faster than CTAB-GAN (approximately 10 minutes versus 64 minutes on standard benchmarks).
  • Utility Gains via Sorting: Applying the feature-sorting algorithm to the existing CTAB-GAN model improved its machine learning utility and statistical similarity by an average of 22%. In the Credit dataset specifically, the algorithm reduced discrepancies in correlation matrices by 12%.

Conclusion and Future Work

While AE-GAN offers superior robustness and speed, the authors note that the use of an autoencoder introduces a compression loss. Squeezing data into a latent vector can result in the loss of fine-grained information. Future research will focus on optimizing the trade-off between GAN performance and compression loss, exploring Variational Autoencoders (VAEs) for a more generative-friendly latent space, and refining sorting algorithms to account for complex, multi-variable correlations beyond simple pairwise associations. Ultimately, AE-GAN represents a significant step toward more reliable and consistent tabular data synthesis.

Summary updated

BibTeX
@inproceedings{zhu2022permutation,
  author = {Yujin Zhu and Zilong Zhao and Robert Birke and Lydia Y. Chen},
  title = {{Permutation-Invariant Tabular Data Synthesis}},
  booktitle = {IEEE Big Data},
  year = {2022},
  url = {https://openreview.net/forum?id=meV2T9rbGr},
}
Figure