TabAttackBench: A benchmark for adversarial attacks on tabular data

Zhipeng He, Chun Ouyang, Lijie Wen, Cong Liu, Catarina Moreira

TL;DR

TabAttackBench is the first comprehensive benchmark designed to evaluate adversarial attacks on tabular data by balancing two competing goals: effectiveness (how well the attack fools the model) and imperceptibility (how realistic the fake data looks). The study reveals a sharp trade-off where the most successful attacks are often the easiest to detect, while iterative methods like DeepFool emerge as the "sweet spot" for generating subtle yet potent perturbations.

What Problem Does This Paper Address?

In the world of Computer Vision, adversarial attacks are intuitive: you tweak a few pixels, and a model sees a "toaster" instead of a "dog," while a human sees no difference. However, tabular data—the backbone of finance, healthcare, and insurance—is much messier.

Tabular datasets contain mixed types (numerical and categorical), varying scales, and complex inter-feature dependencies. Changing a "Credit Score" by 50 points might fool a model, but if that change makes the record statistically impossible or "loud" (detectable), the attack fails the realism test. Until now, research has lacked a unified framework to measure this "subtlety" in tabular data, often relying on image-centric metrics that don't translate well to spreadsheets.

Methods

The authors introduce TabAttackBench, a standardized pipeline that evaluates five classic white-box attacks across four representative model architectures.

The Attacks: * Bounded ($\ell_\infty$): FGSM, BIM, and PGD. These are "budget-constrained" attacks that try to maximize error within a small range. * Unbounded ($\ell_2$): DeepFool and C&W. These focus on finding the minimal change needed to cross a decision boundary.

The Models: * Baselines: Logistic Regression (LR) and Multilayer Perceptron (MLP). * State-of-the-Art: TabTransformer and FT-Transformer (attention-based models).

The Innovation: The Imperceptibility Score (IS) Rather than just looking at distance, the authors propose four metrics to define "realism":

  1. Proximity: How close is the fake record to the original?
  2. Sparsity: How many features were changed? (Fewer is better).
  3. Deviation: Does the new record look like an outlier relative to the whole dataset?
  4. Sensitivity: Does the attack target features with very narrow distributions?

Datasets

The benchmark utilizes 11 diverse datasets spanning finance, energy, healthcare, and physics. These include well-known sets like Adult Census, COMPAS, Higgs, and BreastCancer. The selection ensures a mix of categorical-heavy and purely numerical data to test how attacks handle different structures.

Key Insights and Ideas

  • The "Categorical Neglect" Phenomenon: Most attacks (except PGD) almost exclusively target numerical features. Because categorical features are one-hot encoded, changing one requires flipping at least two binary dimensions, which is "mathematically expensive." This means current attacks are "blind" to a huge portion of tabular data.
  • The BIM Paradox: On Transformer models, the authors found a counterintuitive "inverse relationship." Increasing the attack budget sometimes decreased success. Why? Gradient saturation and overshooting. The attack steps were so large they "jumped over" the optimal adversarial regions.
  • Architectural Resilience: Transformer-based models (TabTransformer, FT-Transformer) proved significantly more robust than Logistic Regression or MLPs, requiring much larger perturbations to be successfully deceived.
  • $\ell_\infty$ vs. $\ell_2$: $\ell_\infty$ attacks (like PGD) are "effective but loud"—they achieve high success but create records that are easily flagged as outliers. $\ell_2$ attacks (like DeepFool) are "subtle but selective," focusing on a few influential features.

Key Results

  • DeepFool is the MVP: It consistently achieved the best balance, falling into the "Effective and Imperceptible" quadrant of the authors' trade-off analysis. It uses an iterative approach to find the absolute minimum path to a misclassification.
  • PGD is the Heavy Hitter: PGD was the most consistently effective attack across all models, but it had the worst imperceptibility scores, often pushing records far out of the normal data distribution.
  • Vulnerability Baseline: Logistic Regression was the most fragile, often showing "sharp threshold effects" where a tiny increase in epsilon (perturbation budget) caused the success rate to jump from 0% to 100%.

Limitations and Future Work

The authors acknowledge several areas for growth:

  • White-Box Only: The current benchmark assumes the attacker has full access to the model's gradients. Real-world "Black-Box" scenarios (where the attacker only sees outputs) are a necessary next step.
  • Uniform Importance: The study assumes all features are equally important to change. In reality, changing "Age" might be more "perceptible" than changing "Transaction ID."
  • Defense Gap: While the paper maps out the attacks, it doesn't yet benchmark defenses (like adversarial training or feature denoising) within this new framework.

TabAttackBench provides the necessary "yardstick" for the community to move toward more realistic and robust tabular machine learning.

Summary updated

BibTeX
@article{he2026tabattackbench,
  author = {Zhipeng He and Chun Ouyang and Lijie Wen and Cong Liu and Catarina Moreira},
  title = {{TabAttackBench: A benchmark for adversarial attacks on tabular data}},
  journal = {Expert Systems with Applications},
  year = {2026},
  doi = {10.1016/j.eswa.2025.130491},
}
Figure