[Paper Review] Not All Datasets Are Born Equal: On Heterogeneous Data and Adversarial Examples
This paper proposes a generic optimization framework for generating minimal, valid adversarial examples in heterogeneous tabular data by embedding features into a continuous latent space and enforcing distribution-aware constraints. It demonstrates that models on such data are equally vulnerable to adversarial attacks as those on homogeneous data, achieving high success rates (up to 99.8%) with low ℓ₀ perturbations across three real-world datasets.
Recent work on adversarial learning has focused mainly on neural networks and domains where those networks excel, such as computer vision, or audio processing. The data in these domains is typically homogeneous, whereas heterogeneous tabular datasets domains remain underexplored despite their prevalence. When searching for adversarial patterns within heterogeneous input spaces, an attacker must simultaneously preserve the complex domain-specific validity rules of the data, as well as the adversarial nature of the identified samples. As such, applying adversarial manipulations to heterogeneous datasets has proved to be a challenging task, and no generic attack method was suggested thus far. We, however, argue that machine learning models trained on heterogeneous tabular data are as susceptible to adversarial manipulations as those trained on continuous or homogeneous data such as images. To support our claim, we introduce a generic optimization framework for identifying adversarial perturbations in heterogeneous input spaces. We define distribution-aware constraints for preserving the consistency of the adversarial examples and incorporate them by embedding the heterogeneous input into a continuous latent space. Due to the nature of the underlying datasets We focus on $\ell_0$ perturbations, and demonstrate their applicability in real life. We demonstrate the effectiveness of our approach using three datasets from different content domains. Our results demonstrate that despite the constraints imposed on input validity in heterogeneous datasets, machine learning models trained using such data are still equally susceptible to adversarial examples.
Motivation & Objective
- To address the lack of research on adversarial examples in heterogeneous tabular data, which remains underexplored despite its prevalence in real-world applications.
- To overcome the challenge of generating adversarial examples that preserve complex data validity rules, such as feature correlations, domain-specific constraints, and immutable features.
- To develop a generic, model-agnostic attack method that focuses on ℓ₀ perturbations to ensure real-life feasibility and minimal feature modification.
- To evaluate the transferability of adversarial examples across diverse models, including tree-based models like GBM and random forests, which are commonly used with tabular data.
- To demonstrate that even with strict data heterogeneity constraints, machine learning models on tabular data remain highly susceptible to adversarial manipulation.
Proposed method
- Formalize data validity through distribution-aware constraints that preserve feature correlation and respect immutable features.
- Embed heterogeneous tabular inputs into a continuous latent space using a differentiable transformation function to enable gradient-based optimization.
- Use an iterative feature selection strategy based on surrogate model gradients (or target model feature importance) to identify the most influential features for minimal ℓ₀ perturbations.
- Optimize adversarial examples via constrained optimization, ensuring that perturbations remain semantically valid and consistent with the original data distribution.
- Apply ℓ₀-based attack formulation to minimize the number of modified features, aligning with real-world feasibility where changing many features is impractical.
- Evaluate transferability by generating adversarial examples on a surrogate model and testing their success on diverse target models, including tree-based learners.
Experimental results
Research questions
- RQ1Can adversarial examples be effectively generated for heterogeneous tabular data while preserving data validity and real-world feasibility?
- RQ2How does the use of ℓ₀ perturbations compare to other distance metrics in terms of minimizing feature modifications in real-world applications?
- RQ3To what extent do adversarial examples crafted on a surrogate model transfer to tree-based models like GBM, random forests, and decision trees?
- RQ4How do distribution-aware constraints affect the optimization process and the validity of generated adversarial examples in heterogeneous input spaces?
- RQ5Is the susceptibility of models trained on heterogeneous tabular data to adversarial attacks comparable to that of models on homogeneous data like images or audio?
Key findings
- The proposed method successfully generates adversarial examples with low ℓ₀ perturbations (e.g., 1.60 on HCDR, 4.33 on Airbnb) while maintaining data validity and achieving high attack success rates (98.20% on HCDR, 99.80% on Airbnb).
- Transferability of adversarial examples to tree-based models is substantial, with base rates ranging from 14.42% to 38.29%, and improved significantly (up to 60.53%) when feature selection is adjusted to the target model’s feature importance.
- The attack framework is effective across diverse domains—healthcare (HCDR), ICU (ICU), and real estate (Airbnb)—demonstrating broad applicability.
- Despite complex constraints such as immutable features and cross-feature interactions, the method maintains high success rates, proving that tabular data models are as vulnerable as those on homogeneous data.
- The use of latent space embedding enables effective gradient-based optimization in heterogeneous input spaces, overcoming the challenge of mixed data types and non-continuous feature spaces.
- The study establishes that adversarial vulnerability in tabular data is not an artifact of model architecture but a systemic issue rooted in data heterogeneity and model sensitivity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.