TL;DR
This paper explores using Deep Generative Models (DGMs) to create adversarial examples for tabular machine learning models. They adapt existing DGMs to generate realistic adversarial data that respects domain-specific constraints, a significant challenge in tabular data. Their approach shows promise in improving adversarial attack effectiveness while maintaining data integrity.
What Problem Does This Paper Address?
Machine learning models, especially in sensitive domains like credit scoring or healthcare, need to be robust against adversarial attacks. These attacks involve making tiny, often imperceptible, changes to input data to trick a model into making incorrect predictions. While Deep Generative Models (DGMs) have been successfully used to generate adversarial examples in computer vision, applying them to tabular data is much harder. Tabular data has unique characteristics, such as mixed feature types (numerical and categorical) and inherent domain constraints (e.g., "average transaction amount" cannot exceed "maximum transaction amount"). Existing methods often fail to produce realistic adversarial examples for tabular data, either violating these constraints or producing outputs that don't make sense in the real world. This paper aims to bridge this gap by adapting DGMs to generate effective and realistic adversarial examples for tabular machine learning.
Methods
The core contribution of this paper is the adaptation of four popular tabular DGMs (WGAN, TableGAN, CTGAN, TVAE) into adversarial DGMs (AdvDGMs). The key innovation lies in extending these AdvDGMs with a "constraint repair layer" (CL). This layer ensures that the generated adversarial examples adhere to predefined domain constraints. The CL works by evaluating the generated sample against these constraints and minimally modifying it if any are violated. This layer can be integrated either during the training of the DGM (C-AdvDGM) or used only during the generation of adversarial examples (P-AdvDGM). The authors also define adversarial loss functions that balance the need to fool the target model with the requirement of minimizing the perturbation to the original data and maintaining realism.
Datasets
The authors evaluated their methods on four real-world tabular datasets:
- URL
- WiDS
- Heloc
- FSP
These datasets were chosen because they have identified domain constraints, making them suitable for evaluating the effectiveness of constraint-aware adversarial attacks.
Key Insights and Ideas
- Tabular data's unique challenges: The paper highlights that generating realistic adversarial examples for tabular data is significantly more complex than for image data due to feature interdependencies and strict domain constraints.
- The power of constraint repair: The introduction of a constraint repair layer is crucial. It demonstrates that explicitly enforcing domain knowledge during adversarial example generation dramatically improves the realism and effectiveness of the attacks.
- AdvDGMs as a viable alternative: The paper suggests that DGMs can be a faster and effective alternative to traditional iterative adversarial attack methods, especially when combined with constraint enforcement.
- WGAN's surprising resilience: The authors note that even an older DGM like WGAN, when adapted into an adversarial attack strategy, can achieve high success rates, suggesting that the underlying architecture might be less critical than the adversarial adaptation and constraint handling.
Key Results
- Improved Adversarial Success Rate (ASR): The proposed AdvDGMs, particularly when enhanced with the constraint repair layer (C-AdvDGMs and P-AdvDGMs), significantly increase the Attack Success Rate (ASR) across various target models and datasets. For instance, AdvWGAN achieved an ASR of up to 95% on the Heloc dataset with the TabTransformer model.
- Constraint Enforcement Benefits: The constrained versions (P-AdvDGMs and C-AdvDGMs) consistently showed higher ASRs compared to their unconstrained counterparts, with improvements of up to 62% in some cases.
- Minimal Runtime Overhead: The constraint repair layer introduces a negligible increase in training and sampling time. Training time increased by at most 4.7 minutes, and sampling time by at most 0.12 seconds, making the approach practical.
- Comparison with SOTA: While not always outperforming all state-of-the-art (SOTA) attacks, the adapted AdvWGAN achieved competitive results, ranking as the second-best attack on some datasets and models.
Limitations and Future Work
- Inconsistent performance on WiDS: The AdvDGMs were unsuccessful on the WiDS dataset, showing an ASR lower than the original model's error rate. This suggests that certain datasets or model configurations might still pose challenges.
- Further investigation of CL impact: The authors suggest that further research is needed to understand why the constraint layer is more successful when applied during training versus sampling.
- Exploring other DGMs and constraints: Future work could involve adapting other DGMs and exploring more complex types of domain constraints beyond linear inequalities.
- Understanding WGAN's success: The paper raises a question about why WGAN, despite being an older model, performs so well in this adversarial context, warranting further investigation.
Summary updated