betaFeedback

WorksComputer Science

Realistic Robustness Evaluation of Tabular Data Driven Models

Abstract

The increasing adoption of Machine Learning (ML) models in high-stakes applications has raised critical concerns regarding their robustness against adversarial attacks. While extensive research has focused on adversarial example generation in image and text domains, the study of such examples in tabular data remains comparatively limited, despite its widespread use in real-world systems. This work introduces AURORA, a modular, open-source tool for evaluating the robustness of ML models on tabular data classification. It integrates multiple adversarial perturbation methods and evaluation metrics within a unified framework to systematically assess model behavior under adversarial conditions. Central to AURORA is its evaluation report, which focuses on robustness analysis by quantifying performance degradation, comparing the impact of different perturbation strategies, and identifying model vulnerabilities across features and input regions. The report is complemented by visual artifacts that facilitate the interpretability of robustness patterns. Additionally, AURORA incorporates a distance adjustment mechanism that penalizes implausible adversarial samples based on feature-level constraints, ensuring that the robustness assessment remains grounded in realistic perturbations and is therefore more reliable.

Introduction

The rapid growth of Artificial Intelligence (AI) and its widespread integration into everyday applications has positioned it as a one-size-fits-all transformative technology across virtually every domain. However, this integration can introduce inherent vulnerabilities of AI models, particularly concerning privacy, fairness, and system security [29]. These concerns become especially critical in high-stakes environments, such as autonomous vehicles or automated surgical systems, where AI failures can cause unintended and potentially irreversible harm.

Adversarial examples, a term coined by Szegedy et al. [34], are inputs that have been intentionally perturbed to cause an AI model to misclassify them, while remaining indistinguishable from the original to the human eye. The vulnerability of models to such subtle input modifications has motivated extensive research across multiple domains. In computer vision, adversarial examples can be crafted by suppressing imperceptible details such as color depth, degrading overall model performance [11], or by modifying as little as a single pixel [21]. In the context of autonomous driving, studies have shown that minor physical alterations to traffic signs, such as the addition of a sticker, can significantly reduce a model’s confidence or cause it to misidentify the sign entirely [12, 16].

When adversarial examples are deliberately created to cause a model to misbehave, this is referred to as an adversarial attack. Such attacks have been extensively studied for other domains, such as text classifiers, although their construction differs fundamentally from image-based attacks. In this setting, the objective is to alter the model’s prediction by modifying parts of the input text, while preserving its readability. Such modifications can be introduced at the character, word, sentence, or multi-level [25], and may include deliberate misspellings [24], among other strategies.

In tabular data, however, comparatively little work has addressed the constraints inherent to this setting. Unlike images or text, tabular inputs are highly structured, with each column corresponding to a specific attribute. Adversarial perturbation methods developed for images are therefore not directly applicable to tabular data, as they fail to account for its structure [15], and the similarity metrics used to constrain image perturbations are not transferable to this context. Furthermore, no universal robustness metric exists for measuring model resilience against adversarial attacks, and existing approaches vary considerably in scope and methodology, as some focus on overall model performance based on predicted labels [8], while others rely on metrics such as the divergence between adversarial and true class predictions [37]. These gaps are more evident in tabular settings, where the absence of domain-specific constraints and evaluation standards makes it difficult to assess the robustness of models.

To address these limitations, this work presents AURORA, a tool for evaluating the robustness of Machine Learning (ML) models to adversarial attacks on tabular data. By integrating diverse perturbation methods, evaluation metrics, and a distance adjustment mechanism, AURORA ensures that the adversarial examples used for evaluation are both realistic and valid, resulting in a more reliable and meaningful robustness assessment. In summary, the main contributions of this work are:

  • presentation of AURORA, an open-source framework for the systematic evaluation of ML model robustness on tabular data under adversarial conditions;

  • introduction of a distance adjustment mechanism that ensures a more reliable robustness evaluation by accounting for the quality of adversarial examples;

  • validation of AURORA through a case study evaluating a CatBoost model trained for network intrusion detection.

This paper is organized as follows. § 3 introduces AURORA and provides an overview of each perturbation method, evaluation metric, and distance calculation. § 2 reviews existing tools for generating adversarial examples and evaluating model robustness, discussing their limitations in the context of tabular data and positioning AURORA in relation to them. § 4 describes the experimental setup and presents and discusses the robustness evaluation results for a tree-based ML model. Finally, § 5 summarizes the main conclusions and outlines directions for future work.

Related Work

ML robustness centers on evaluating how a model’s predictions behave when inputs are presented with subtle perturbations. Extensive research has focused on developing several methodologies to test models by subjecting them to multiple attack vectors and quantifying performance degradation [38]. Following this line of research, various studies have employed different metrics and perturbation methods to assess this vulnerability [6, 18, 28]. This necessity led to the development of comprehensive toolboxes, including the Adversarial Robustness Toolbox (ART) [22], CleverHans [23], Foolbox [26, 27], AdvBox [14], Azure Counterfit1, and TabularBench [32]. However, these tools exhibit some limitations. While they provide the necessary functionality for generating adversarial examples, most are designed primarily for the generation of attacks rather than for systematic comparative evaluation. For instance, although ART provides advanced metrics such as CLEVER and loss sensitivity, using these robust evaluation metrics is optional, placing a significant interpretive burden on the user to select the appropriate metrics. Furthermore, other specialized frameworks lack a standardized mechanism for comparing the efficacy or severity of multiple perturbation methods against a model.

Beyond the application of a tool, evaluating ML robustness requires careful consideration of the underlying data type and the perturbation methods employed. While considerable research has been conducted focusing on computer-vision models, much less work has been done to evaluate ML robustness in tabular data. In image-based settings, perturbation methods such as Carlini & Wagner, ZerothOrderOptimization, BoundaryAttack, and the Fast Gradient Sign Method [13] often operate under the assumption of minimal perturbation defined by lpl_p-norms (ℓ1\ell_1, ℓ2\ell_2, or ℓ∞\ell_\infty) [30, 36, 39]. This constraint allows researchers to manage a trade-off between imperceptibility and attack success rate [17]. However, this established methodology does not translate reliably to tabular data, as perturbations created via these standard lpl_p-norms frequently violate the inherent structural constraints or statistical properties of real-world tabular features [15]. Consequently, evaluation metrics in such settings often assume high sample quality by assessing model performance without validating individual sample realism [2, 10], even when these methods generate invalid examples that are nevertheless used for scoring [1, 3].

Overall, these limitations underscore two significant gaps in the literature. First, there is a lack of standardization regarding evaluation metrics. Currently, while tools exist for attack generation, they do not automatically standardize or simplify the calculation into a single, universally interpretable metric. Second, applying perturbation methods developed for computer vision directly to tabular data violates the inherent structural constraints of the domain. This inconsistency highlights the need for a higher level of rigour, namely, a way to evaluate robustness while considering whether an adversarial example is both valid and realistic. To bridge these critical gaps, we propose AURORA. Our tool provides a fully automated evaluation pipeline, calculating a single, standardized robustness score across diverse attack methods and model requirements to be considered robust. Most significantly, AURORA introduces a novel distance adjustment mechanism to distinguish between high or low-quality adversarial examples and penalize the final score accordingly, to ensure a more reliable assessment of model robustness.

AURORA

AURORA2 (Adversarial Understanding of Robustness and Offensive Resilience Analysis) is an open-source tool that enables users to assess the robustness of ML models. This assessment is done by subjecting clean data and the model to multiple perturbation methods in order to create adversarial examples specific to the model. Each method perturbs clean samples according to its own objective and strategy, producing adversarial examples of varying characteristics for the same input dataset. The resulting adversarial sets are evaluated independently, allowing users to identify which methods are most efficient and most effective against their model.

The evaluation is conducted using a diverse set of metrics, each targeting a different aspect of robustness, ensuring a comprehensive yet interpretable assessment. To further improve reliability and ensure the evaluation is based on realistic perturbations, AURORA applies a distance adjustment mechanism to key metrics. This mechanism penalizes results derived from adversarial examples that are either invalid, violating the structural constraints of the feature space, such as implausible categorical transitions, or of low quality, where the perturbation distance exceeds the defined plausibility threshold. As such, the calculated distance directly grounds the resulting robustness score, ensuring that the final evaluation reflects only realistic and feasible attack scenarios. Moreover, since this distance is computed relative to the clean samples, it also ensures a domain-specific evaluation, aligned with the actual characteristics of the dataset.

Once all perturbation methods have been evaluated, AURORA consolidates the results in a report addressing two robustness scenarios. The standard scenario aggregates performance across all perturbation methods, providing a broad assessment of model robustness under typical adversarial conditions. The worst-case scenario considers only the most effective perturbation method for each attack objective, offering a more conservative and critical evaluation suited for high-stakes applications where the strongest possible adversary must be assumed.

Perturbation Methods

AURORA is designed to provide a structured and reliable evaluation of the robustness of ML models under adversarial conditions in tabular domains. It explicitly accounts for the limitations of applying generic perturbation methods to tabular data, where feature values lack perceptual structure and even small modifications may violate meaningful domain constraints while remaining difficult to detect for an analyst. To address this, AURORA embeds adversarial generation directly within a controlled evaluation pipeline. It enforces feature-level constraints during the construction of adversarial examples, ensuring that generated samples remain consistent with valid data ranges and dataset-specific rules. In addition, it incorporates a distance adjustment mechanism that penalizes invalid or unrealistic perturbations when computing robustness metrics. This guarantees that the evaluation is not biased by implausible samples and instead reflects the model’s behavior under realistic adversarial settings.

To guarantee consistency and comparability across methods, AURORA defines a set of requirements for all integrated perturbation techniques: each method must generate an adversarial attempt for every input sample, preserve the original sample ordering to enable accurate distance computations, respect logical and dataset-specific feature constraints, and support targeted attack variants. Additionally, AURORA prioritizes the inclusion of black-box methods, allowing robustness evaluation without requiring access to model internals.

Based on these criteria, AURORA incorporates five widely used perturbation methods (Table 1), each implemented in both targeted and untargeted variants. With the exception of the Carlini & Wagner method, which requires gradient access, all methods operate in a black-box setting and rely solely on model queries, using predicted labels or confidence scores. When the number of classes is not explicitly available, AURORA automatically infers it by querying the model across the dataset.

Perturbation MethodIs TargetedRequires KnowledgeRequires Constraints
A2PM [35]✓/✗●-
BoundaryAttack [4]✓/✗●✓
Carlini & Wagner [5]✓/✗○✓
HopSkipJumpAttack [7]✓/✗●✓
Zeroth Order Optimization [9]✓/✗●✓

Table 1. Adversarial methods implemented in AURORA

Furthermore, given that most existing perturbation methods were originally designed for other domains, AURORA provides both unconstrained and constrained implementations. In the constrained versions, a validation step enforces feature-level rules after perturbation: float values are rounded to integers where appropriate, and for categorical features, only the highest value is kept as active, as one, while all others are set to zero. This ensures that generated samples remain within valid ranges and respect dataset-specific constraints. The dual implementation enables direct comparison between unconstrained and constraint-aware attacks, highlighting the impact of validity on robustness evaluation.

Evaluation Metrics

To evaluate the resulting perturbations, AURORA employs several widely used metrics. Clean Accuracy (CA), measures the performance of the model on unperturbed data. It reflects the model’s ability to generalize to unseen inputs and serves as a baseline for comparison with adversarial performance. This metric requires access to ground-truth labels.

Adversarial Accuracy (AA) evaluates model performance on adversarially perturbed samples. It provides a direct comparison to Clean Accuracy, quantifying the degradation in predictive performance caused by adversarial manipulation. This metric also requires ground-truth labels.

Misclassification Rate (MR) measures the proportion of predictions that differ between clean and adversarial samples. Unlike accuracy-based metrics, it does not require ground-truth labels, making it suitable for black-box evaluation scenarios. However, it does not indicate whether the new prediction is correct.

Attack Success Rate (ASR), quantifies the effectiveness of targeted adversarial attacks. It measures the proportion of adversarial samples that are successfully classified into a specific target class defined by the attacker [20]. This metric is widely used under different names, such as fooling ratio or evasion rate.

Attack Deterioration (AD) measures the relative degradation in model performance caused by adversarial perturbations. By comparing Clean Accuracy and Adversarial Accuracy, it provides a normalized measure of robustness loss [19, 33].

Confusion Matrix provides a detailed breakdown of prediction changes. By treating clean predictions as reference labels and adversarial predictions as outputs, it enables the analysis of class-specific vulnerabilities and transition patterns.

Finally, Time Required measures the computational cost of each perturbation method. While not directly related to attack effectiveness, it provides practical insights into the feasibility of applying each method in real-world scenarios.

Distance Adjustment Mechanism

AURORA introduces a distance adjustment mechanism to quantify the deviation between adversarial and clean samples, with the goal of assessing the realism of generated perturbations. This mechanism combines the Euclidean distance between clean and adversarial examples, scaled for numerical features, and the Hamming distance for categorical features, enabling a unified treatment of heterogeneous tabular data.

Building on this distance measure, AURORA incorporates a penalty scheme that down-weights invalid or implausible adversarial examples. These penalties explicitly distinguish realistic perturbations from those that violate feature constraints and would not occur in practice. An adversarial sample is considered invalid if:

  • categorical features containing values outside the valid range (not equal to 0 or 1);

  • multiple active values within a single categorical feature (violating one-hot encoding);

  • absence of an active value within a categorical feature. Although this can occur, if a feature is omitted from the input columns, then all of its values will be set to 0. Since perturbation methods cannot distinguish between a true zero and a zero that is the result of an omitted feature, such cases are considered invalid.

To ensure that robustness evaluation reflects only realistic perturbations, AURORA defines a dataset-specific threshold over the computed distance, representing the maximum acceptable deviation for a perturbation to be considered plausible. This threshold is derived from the characteristics of successfully perturbed samples, incorporating statistics such as the median absolute values of numerical features and possible valid categorical transitions. Since categorical features are one-hot encoded, a valid transition corresponds to a Hamming distance of 2, as flipping one category to another changes exactly two positions. For numerical features, the median is used rather than the mean, as it is computed solely from the clean dataset and is less sensitive to skewed or non-linear feature distributions. Its formulation is given in Equation (1), where CC is the number of categorical features, N\mathcal{N} is the set of numerical features, and XjX_j represents the clean samples’ values for numerical feature jj.

Threshold=2C+∑j∈N∣median⁡(Xj)∣(1)\mathrm{Threshold} = 2C + \sum_{j \in\mathcal{N}} \left|\operatorname{median}(X_j)\right| \tag*{(1)}

The computed distance and threshold are then incorporated into AURORA’s distance adjustment mechanism, which reduces the influence of unrealistic perturbations on the evaluation. While prior approaches typically apply evaluation metrics directly to adversarial samples, AURORA adjusts metric contributions based on perturbation quality, ensuring that adversarial examples generated by less suitable methods do not disproportionately affect the results. The adjustment mechanism is then designed to satisfy the following properties:

  • the adjusted metric remains non-zero whenever the original metric is non-zero, preserving meaningful performance signals;

  • a dataset-dependent threshold distance must be defined to characterize the maximum acceptable perturbation magnitude, ensuring that valid and realistic perturbations retain their full contribution to the final metric;

  • the adjustment introduces a gradual degradation as distance increases, allowing differentiation between mild and severe perturbations;

  • the adjustment must strictly increase with distance to ensure that it acts exclusively as a penalty mechanism and never artificially inflates performance metrics.

When the distance between a clean and an adversarial sample exceeds the computed threshold, a penalty, with a value of a tenth of the defined threshold for each categorical feature, as shown in Equation (2), is added to the distance measured for each invalid case detected to reduce the contribution of that sample to the final evaluation metric. As the threshold depends on the success of the perturbation methods, so does the penalty. The adjustment follows a step function to ensure a gradual degradation of metric values, as represented in Equation (3), where xx is defined as the positive difference between the perturbation distance and the threshold, taking the value zero whenever this difference is negative. This margin allows room for perturbations to be generated within an acceptable range; without it, perturbations would never be fully accounted for, as any deviation would be penalized immediately.

Penalty=Threshold10⋅ncategorical(2)\mathrm{Penalty} = \frac{\mathrm{Threshold}}{10} \cdot n_{\mathit{categorical}} \tag*{(2)}
Distance Adjustment={1,if x=01−0.9xThreshold,if 0<x≤Threshold1−(1−Threshold20(x−Threshold2)),if x>Threshold(3)\text{Distance Adjustment} = \begin{cases} 1, & \text{if } x=0 \\ 1-\frac{0.9x}{\text{Threshold}}, & \text{if } 0<x\leq\text{Threshold} \\ 1-\left(1-\frac{\text{Threshold}}{20\left(x-\frac{\text{Threshold}}{2}\right)}\right), & \text{if } x>\text{Threshold} \end{cases} \tag*{(3)}

Finally, AURORA applies this mechanism to derive distance-adjusted evaluation metrics, including Distance Adjusted MR and Distance Adjusted ASR. These metrics extend their standard counterparts by weighting their contributions according to perturbation quality. The adjusted metric is computed as shown in (4), where Metric denotes the original, unadjusted value.

Distance Adjusted Metric=Metric∗Distance Adjustment(4)\text{Distance Adjusted Metric} = \text{Metric} * \text{Distance Adjustment} \tag*{(4)}

Although this adjustment can, in principle, be applied to any metric defined over adversarial samples, it is not directly suitable for composite metrics that jointly depend on clean and adversarial data, such as Attack Deterioration, where distance-based penalties would confound the contributions of the underlying components.

Robustness Metric

AURORA introduces a composite robustness score that consolidates multiple complementary metrics into a single, unified, and interpretable measure of adversarial robustness. Rather than relying on isolated metrics that capture only a specific aspect of a model’s robustness, this score integrates three core metrics that collectively cover the primary objectives of adversarial attacks: the Distance Adjusted Attack Success Rate (DAASR), which measures the adversary’s ability to force targeted misclassification; the Distance Adjusted Misclassification Rate (DAMR), which captures general prediction instability induced by perturbations; and Attack Deterioration, which quantifies the overall degradation of model performance, as shown in (5). By combining these three dimensions, the resulting score is expressed on a normalized scale from 0 to 100 and partitioned into five interpretable robustness levels: Not Robust (0-20), Weakly Robust (21-40), Moderately Robust (41-60), Robust (61-80), and Very Robust (81-100).

Robustness score=100−DAASR+DAMR+Attack Deterioration3(5)\text{Robustness score} = 100-\frac{\text{DAASR}+\text{DAMR}+\text{Attack Deterioration}}{3} \tag*{(5)}

To account for the diversity of deployment contexts, AURORA further instantiates the robustness score under two distinct evaluation scenarios. In the first scenario, a standard evaluation is made, where the robustness score of the model results from the average performance computed across all perturbation methods, regardless of their individual results. While this approach can undermine high-performing perturbation methods, it offers a general assessment of model robustness under typical adversarial conditions and provides insight into how the model performs when subjected to a variety of perturbation strategies.

The second scenario, by contrast, is the worst-case scenario. It selects the most effective perturbation method for each attack objective and always results in a lower evaluation, or at most an equal one, than the first scenario. Although this approach does not represent typical performance, it provides a pessimistic view of model robustness by considering the maximum adversarial threat. This scenario is more relevant for high-risk applications, where the model may encounter the strongest possible adversary and failures may have significant consequences.

Experimental Evaluation

A case study was conducted to demonstrate AURORA’s capability to assess ML model robustness in a real-world tabular setting. This section describes the experimental setup, including the dataset, feature selection, and model configuration, followed by a detailed analysis of the report created by AURORA, including robustness results and visual artifacts.

Dataset and Models

To demonstrate AURORA’s evaluation capabilities, we assess the robustness of an ML classifier on the GeNIS [31], a tabular dataset designed for network intrusion detection scenarios.

The high dimensionality of the dataset makes dimensionality reduction a necessary step to make the evaluation computationally feasible without sacrificing discriminative power. To this end, Recursive Feature Elimination was applied, yielding two numerical key features: SrcBytes, the number of bytes in the transaction from source to destination, SIntPktMax, the maximum value of the source interpacket arrival time, and two categorical features, Proto and State, representing protocol types and connection states, respectively. Although Sdaddr was classified as the most important feature, it was removed since it reflects the number of connections sharing the same service and source IP, and its inclusion would undermine generalization to unseen hosts.

Given the predominance of categorical features, a tree-based CatBoost classifier was selected and optimized using 5-fold cross-validation, with the macro-averaged F1-score as the evaluation metric for multi-class classification. The best hyperparameters found were a learning rate of 0.1, a depth of 6, and 1000 iterations. The model achieved near-perfect classification performance on the GeNIS dataset, with 99.74% accuracy, 98.61% macro-averaged precision, 97.08% recall, 97.82% F1-score, and 2.15% false positive rate. FPR was defined as the proportion of benign samples incorrectly classified as attacks, that is, samples with a true label of 0 predicted as any other class.

Robustness Results

To evaluate the robustness of the CatBoost model using AURORA, 1000 random samples were extracted from the test set, retaining only the features used during training along with their true labels. Since methods such as A2PM require information about the distribution of the data, gathering a representative set of clean examples is essential to ensure a reliable evaluation. Although 1000 samples were used in this evaluation, other sample sizes may also be used. These samples were sent to AURORA and served as the clean baseline for the perturbation methods. For the objective of AURORA’s targeted perturbation method, a file containing the label 0 was used, meaning that samples that are already classified as 0 (263 samples) would be skipped, and the others (737 samples) would be perturbed with the objective of being classified as 0. All resulting adversarial examples, configurations, and the final report created by AURORA in these experiments are publicly available on GitHub3.

All perturbation methods were configured with default settings, with the exception of A2PM and the constrained variants. For A2PM, each categorical feature and its combinations were explicitly defined with a probability value of 0.8, and the numerical features, SrcBytes and SIntPktMax, were set with minimum and maximum perturbation ratios of 0.001 and 0.2, respectively, while SrcBytes was set as an integer. For the constrained variants, State and Proto were set as categorical features, and SrcBytes was set as an integer.

Two sets of adversarial results were obtained using AURORA. The first set contained the perturbation methods adapted with constraints alongside A2PM, and the second method the perturbation methods as they were originally developed. The evaluation results for each set of adversarial examples created by each perturbation method are summarized in Table 2. Since the CatBoost model provides no gradient information, the Carlini & Wagner method was omitted, as it is incompatible with gradient-free settings.

MethodTCDTHPCAAAASRMRADTRDA ASRDA MR
A2PM✗-2.054.030.8199.311.3-89.288.620.17-89.20
BA✗✓2.04.070.8199.390.1-9.49.26421.89-10.2
HSJA✗✓4.04.050.8199.357.3-42.942.3196.44-42.9
ZOO✗✓0.00.00.099.399.3-0.00.02.24-0.0
A2PM✓-2.044.020.899.327.884.5372.172.00.1684.5372.10
BA✓✓2.04.030.8199.388.612.2110.910.78384.8212.2110.9
HSJA✓✓4.04.030.8199.358.848.341.440.79162.9248.341.4
ZOO✓✓0.00.00.099.399.3-0.00.04.5-0.0
BA✗✗147.224.030.8199.331.2-68.868.58420.11-0.1
HSJA✗✗147.224.030.8199.318.8-81.881.07192.63-0.12
ZOO✗✗0.00.00.099.399.3-0.00.02.19-0.0
BA✓✗145.64.020.899.326.310073.773.51391.760.140.11
HSJA✓✗145.64.020.899.326.310073.773.51161.030.140.11
ZOO✓✗0.00.00.099.399.3-0.00.04.3-0.0

Table 2. Results obtained for each perturbation method against CatBoost, on top the set with constraints and A2PM, on the bottom the original perturbation methods. BA: BoundaryAttack; HSJA: HopSkipJumpAttack; ZOO: Zeroth Order Optimization; T: targeted; C: constrained; D: distance; TH: threshold; P: penalty; CA: clean accuracy (%); AA: adversarial accuracy (%); ASR: attack success rate (%); MR: misclassification rate (%); AD: attack deterioration (%); TR: time required (s); DAASR: distance-adjusted attack success rate (%); DAMR: distance-adjusted misclassification rate (%).

As expected, the methods that generated adversarial samples with no regard for tabular data were those with a higher distance. As the threshold is calculated based on the normalized median values of the clean samples that were successfully attacked, this threshold varies only slightly between methods. The best performing untargeted perturbation method was A2PM, as it reached the highest MR, both with the distance adjustment and without. For the targeted version, both BoundaryAttack and HopSkipJumpAttack were able to reach 100% ASR, but since the perturbed data is neither considered realistic nor valid because the distance is far from the threshold, their distance-adjusted ASR is below 1%. As such, the best targeted perturbation method that respected the tabular data constraints specified was A2PM. An interesting detail is that the targeted version of BoundaryAttack was able to achieve a higher MR than its untargeted version for both the constrained and unconstrained versions, although in theory, this would not happen, since the target pool is higher for the untargeted attack. Table 3 and Table 4 present the results of this perturbation method. Some adversarial samples were classified as values other than the targeted class 0, since the constraints were applied only after the attack had completed. While this may influence the MR, only the adversarial examples predicted as the target contribute to the ASR. These results suggest that it is easier to create perturbations if the method is aiming for this specific class rather than any other neighboring class, and if class 0 could be perturbed in an untargeted manner, it could reach an even higher MR.

Predicted
0123
Actual0249680
11245140
24813781
3100534

Table 3. Confusion matrix of constrained untargeted BoundaryAttack.

Predicted
0123
Actual0263000
133211160
24903790
380338

Table 4. Confusion matrix of constrained untargeted BoundaryAttack.

Regarding computational cost, A2PM surpassed by far every other method in terms of efficiency, even surpassing ZerothOrderOptimization, which was unable to create adversarial examples for CatBoost using these samples. Even though the constrained versions require an additional step to ensure the adversarial samples respect the intrinsic properties of tabular data, this did not add much time to the total time required. Interestingly enough, while most perturbation methods took less time to create targeted adversarial examples, as the pool of possible perturbations is lower, ZerothOrderOptimization took longer while providing the same results.

As BoundaryAttack operates by pushing clean samples toward the decision boundary of a model, its generated adversarial examples tend to remain closer to the original clean samples than those produced by HopSkipJumpAttack, as can be seen in the distance between these two constrained methods. While HopSkipJumpAttack did create around four times the number of adversarial examples that BoundaryAttack created, as the distance is computed based on the median, HopSkipJumpAttack having a higher distance translates to a farther adversarial example from the original value. For the unconstrained methods, however, this does not happen, as their distance is the same. This is likely due to the number of adversarial samples created being so high that the median converged to the same value.

Regarding the modified feature values, and more specifically the categorical feature State, the transactional state of the network flow, the initial statistical distribution of the selected clean samples is shown in Figure 1, created by AURORA. In these samples, values such as CLO (State_CLO) and URH (State_URH) are absent, since these columns exist, but none of the selected samples have them as values, as seen in "Max and Min Values" diagram in Figure 1. The average value of a valid categorical feature should always sum to 1, since each sample can only hold a single categorical value. Consequently, the sum of value counts across all values within the same categorical feature must always equal the number of samples, in this case 1000. Figure 1 confirms this property for the clean samples, all of which satisfy this constraint.

Original State category statistics

Figure 1. Original State category statistics.

When subjected to an unconstrained method designed for image data, such as HopSkipJumpAttack, the resulting feature distribution differs substantially from the original. As shown in Figure 2, the adversarial samples exhibit clearly invalid values, with maximum values reaching up to 247739.0 across all values in the State categorical feature. The average values are equally anomalous, with every possible category averaging over 700, which is invalid, since the average is always 1 with valid samples. The "Value Counts" diagram distribution does not retain a similar shape to the "Average Values", and having approximately 800 counts per category also indicates invalid data. Furthermore, the total sum of value counts exceeds 8000, far beyond the expected 1000, a discrepancy that would only be consistent with a dataset of over 8000 samples.

Resulting State category statistics for HopSkipJumpAttack with no constraints

Figure 2. Resulting State category statistics for HopSkipJumpAttack with no constraints.

Each change made to the values of the State categorical feature in each sample can be seen in Figure 3. As shown, every value underwent an infeasible number of changes, which is only possible under invalid perturbations, given that a set of 1000 samples can produce at most 2000 changes, corresponding to each sample changing from one value to another.

Changes in the State category for HopSkipJumpAttack with no constraints

Figure 3. Changes in the State category for HopSkipJumpAttack with no constraints.

In contrast, the constrained variant of HopSkipJumpAttack produces adversarial examples that respect the logic of tabular data, as shown in Figure 4. The minimum and maximum values fall within the valid range of 0 and 1, the average values sum to 1, and the value counts sum to the number of successfully perturbed samples, with the value count distributions remaining consistent with one another.

Three radar charts showing resulting State category statistics for HopSkipJumpAttack with constraints

Figure 4. Resulting State category statistics for HopSkipJumpAttack with constraints.

As shown in Figure 5, the change distribution for the constrained variant differs considerably from that of the unconstrained version. Beyond presenting lower overall values, consistent with the other figures, Figure 5 no longer closely mirrors the "Value Counts" distribution found in Figure 4. While the clean samples had multiple columns with no values assigned, the adversarial examples now have values for every column, meaning that values from other, more populated columns, such as RST, were changed to other

Radar chart showing changes in the State category for HopSkipJumpAttack with constraints

Figure 5. Changes in the State category for HopSkipJumpAttack with constraints.

columns. Furthermore, RST was changed 126 times, although the original samples had 371, and the adversarial samples have 257. This suggests that, more than values changing from RST to others, other values also changed to RST.

Although both variants of HopSkipJumpAttack differ substantially in the quality of the adversarial samples produced, the unconstrained version achieves a higher MR of 81.8%, compared to 42.9% for the constrained untargeted variant. However, as demonstrated in Figure 2, the vast majority of adversarial samples produced by the unconstrained method are invalid and unrealistic. When evaluation treats low-quality samples on equal terms with high-quality ones, standard metrics may appear favorable; however, since these samples are, in most cases, both unrealistic and invalid, their impact on the overall robustness assessment should be weighted accordingly. By contrast, the constrained method, while unable to perturb every sample, produces valid and realistic adversarial examples. Taking this into account, the AURORA Distance Adjustment reduces the effective MR of the unconstrained variant to 0.12%, while leaving the constrained variant unaffected.

As a final robustness evaluation of the CatBoost model, and based on the two previously introduced scenarios, the model achieves a robustness score of 65 when evaluated with methods fitted for tabular data, under the standard evaluation scenario, as shown in Figure 6, corresponding to a robust, near-moderately robust classification. While some perturbation methods successfully perturbed almost every clean sample, others failed to produce a single adversarial example, resulting in a more moderate average attack performance. Under the worst-case scenario, however, the outcome changes drastically, with the robustness score dropping to 13, corresponding to a not robust classification. This is attributable to high-performing constrained perturbation methods, which generate adversarial samples that are close to the original examples, respect the intrinsic constraints of tabular data, and therefore require no distance adjustment, yielding high metric values.

CatBoost robustness score on constrained perturbation methods

Figure 6. CatBoost robustness score on constrained perturbation methods. Standard evaluation case on the left, and worst-case scenario on the right.

The evaluation made using the original versions of the perturbation, however, differs significantly from the previous score. As the methods create unrealistic and invalid perturbations, the results are substantially discounted after the metric adjustment, further limiting their contribution to the final score. As such, the model achieves a robustness score of 83 under the standard evaluation scenario, as shown in Figure 7, a very robust score, while achieving 73 on the worst-case scenario, which translates to a robust score. It is important to note that this score should not be considered to be an absolute evaluation of the model robustness, since the model was tested using inappropriate perturbation methods, but as a reflection on how a user may misjudge a model as robust when testing it wrongly. This score should be taken into account, as well as the previously discussed figures, to ensure the safe deployment of an AI model.

CatBoost robustness score on unconstrained perturbation methods

Figure 7. CatBoost robustness score on unconstrained perturbation methods. Standard evaluation case on the left, and worst-case scenario on the right.

Conclusion

This paper presents AURORA, a framework for assessing the robustness of ML models in tabular data, addressing the critical lack of realism and validity in the adversarial samples typically used for such evaluations. AURORA streamlines the robustness evaluation process by integrating multiple perturbation methods and a diverse set of evaluation metrics, while being designed for scalability and adaptability across different scenarios. AURORA’s novel distance adjustment mechanism treats categorical and numerical features separately, enabling more realistic and reliable robustness assessments by decoupling the final evaluation from results derived from low-quality adversarial examples.

To make this evaluation process transparent and actionable, AURORA compiles detailed information on each perturbation method, artifacts, and their results into a comprehensive report. Users can explore both the obtained metrics and the feature analysis, allowing them to understand the final robustness score and the reasoning behind it. This tool was designed to raise the standard for model robustness testing, enabling researchers and practitioners to easily evaluate their own ML models before deployment and select the most appropriate one for their specific use case through the two introduced evaluation scenarios.

Experiments demonstrated that conventional evaluation approaches may overestimate model vulnerability by treating unrealistic adversarial samples, which represent impossible real-world scenarios, on equal terms with valid ones. AURORA addresses this by incorporating distance-based penalties that distinguish valid perturbations from invalid ones, which leads to a more meaningful and trustworthy robustness evaluation. Rather than treating the final robustness score as a silver bullet, AURORA provides additional means to assess the quality of the data used in the evaluation, helping analysts understand the resulting robustness score and whether the testing methodology should incorporate different perturbation methods.

As most perturbation methods were originally developed for image data, future work will focus on developing perturbation strategies that are natively constrained to the valid feature space of each tabular data scenario. Given the strong results achieved by the constrained variants, a promising direction is to adapt these methods to enforce validity at each perturbation step, leveraging the distance metrics computed by AURORA to guide the process toward realistic examples, rather than transforming invalid adversarial samples into valid ones as a final step. Furthermore, including more objectives of attacks other than targeted or untargeted, as well as considering more constraints related to dependencies between features, could be pertinent. Additionally, testing the robustness of other model architectures on other datasets could provide insights on which perturbation methods are more fitted to tabular data.

Acknowledgment

This research was supported by the SAFE project, which has received funding from the European Cybersecurity Competence Centre under grant agreement 101190370. Furthermore, the project UID/00760/2025 has also funded this work.

References

  1. [1]Uliya Ashfaque Ali, Krish Dogra, and Seema Sharma. White-box adversarial exploitation of nids: Insights from fgsm, pgd, and c&w. In 2025 2nd International Conference on Computational Intelligence, Communication Technology and Networking (CICTN), pages 668–673, 2025.DOI
  2. [2]Tarun aditya Baddukon̄da, Ronit Kumar Kanakam, and B. Yasotha. Adversarial attacks using carlini wagner. In 2024 IEEE International Conference on Information Technology, Electronics and Intelligent Communication Systems (ICITEICS), pages 1–7, 2024.DOI
  3. [3]Kousik Barik and Sanjay Misra. Adversarial attack defense analysis: An empirical approach in cybersecurity perspective. Software Impacts, 21:100681, 2024.DOI
  4. [4]Wieland Brendel, Jonas Rauber, and Matthias Bethge. Decision-based adversarial attacks: Reliable attacks against black-box machine learning models. In International Conference on Learning Representations, 2018.arxiv.org/abs/1712.04248
  5. [5]Nicholas Carlini and David Wagner. Towards evaluating the robustness of neural networks. In 2017 IEEE Symposium on Security and Privacy (SP), pages 39–57, 2017.arxiv.org/abs/1608.04644
  6. [6]Bingzhi Chen, Ruihan Liu, Yishu Liu, Xiaozhao Fang, Jiahui Pan, Guangming Lu, and Zheng Zhang. Stay focused is all you need for adversarial robustness. MM ’24, page 6482–6491, New York, NY, USA, 2024. Association for Computing Machinery.DOI
  7. [7]Jianbo Chen, Michael I. Jordan, and Martin J. Wainwright. Hopskipjumpattack: A query-efficient decision-based attack. In 2020 IEEE Symposium on Security and Privacy (SP), pages 1277–1294, 2020.arxiv.org/abs/1904.02144
  8. [8]Jiyu Chen, David Wang, and Hao Chen. Explore the transformation space for adversarial images. In Proceedings of the Tenth ACM Conference on Data and Application Security and Privacy, CODASPY ’20, page 109–120, New York, NY, USA, 2020. Association for Computing Machinery.DOI
  9. [9]Pin-Yu Chen, Huan Zhang, Yash Sharma, Jinfeng Yi, and Cho-Jui Hsieh. Zoo: Zeroth order optimization based black-box attacks to deep neural networks without training substitute models. In Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, AISec ’17, page 15–26, New York, NY, USA, 2017. Association for Computing Machinery.
  10. [10]Rachel Selva Dhanaraj and M. Sridevi. Building a robust and efficient defensive system using hybrid adversarial attack. IEEE Transactions on Artificial Intelligence, 5(9):4470–4478, 2024.DOI
  11. [11]Ranjie Duan, Yuefeng Chen, Dantong Niu, Yun Yang, A. K. Qin, and Yuan He. Advdrop: Adversarial attack to dnns by dropping information. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pages 7506–7515, October 2021.arxiv.org/abs/2108.09034
  12. [12]Anthony Etim and Jakub Szefer. Adversarial universal stickers: Universal perturbation attacks on traffic sign using stickers. arXiv preprint arXiv:2502.18724, 2025.arxiv.org/abs/2502.18724
  13. [13]Ian J. Goodfellow, Jonathon Shlens, and Christian Szegedy. Explaining and harnessing adversarial examples, 2015.DOI
  14. [14]Dou Goodman, Hao Xin, Wang Yang, Wu Yuesheng, Xiong Junfeng, and Zhang Huan. Advbox: a toolbox to generate adversarial examples that fool neural networks, 2020.
  15. [15]Zhipeng He, Chun Ouyang, Laith Alzubaidi, Alistair Barros, and Catarina Moreira. Investigating imperceptibility of adversarial attacks on tabular data: An empirical analysis. Intelligent Systems with Applications, 25:200461, 2025.
  16. [16]Shize Huang, Xiaowen Liu, Xiaolu Yang, and Zhaoxin Zhang. An improved shapeshifter method of generating adversarial examples for physical attacks on stop signs against faster r-cnns. Computers & Security, 104:102120, 2021.
  17. [17]Aleksandar Jankovic and Rudolf Mayer. An empirical evaluation of adversarial examples defences, combinations and robustness scores. In Proceedings of the 2022 ACM on International Workshop on Security and Privacy Analytics, IWSPA ’22, page 86–92, New York, NY, USA, 2022. Association for Computing Machinery.
  18. [18]Haibo Jin, Ruoxi Chen, Haibin Zheng, Jinyin Chen, Yao Cheng, Yue Yu, Tieming Chen, and Xianglong Liu. Excitement surfeited turns to errors: Deep learning testing framework based on excitable neurons. Information Sciences, 637:118936, 2023.
  19. [19]Ming Jin, Heng Chang, Wenwu Zhu, and Somayeh Sojoudi. Power up! robust graph convolutional network via graph powering, 2021.
  20. [20]Harsh Kasyap and Somanath Tripathy. Beyond data poisoning in federated learning. Expert Systems with Applications, 235:121192, 2024.DOI
  21. [21]Hoang-Quoc Nguyen-Son, Tran Phuong Thao, Seira Hidano, Vanessa Bracamonte, Shinsaku Kiyomoto, and Rie Shigetomi Yamaguchi. Op2ad: One-pixel attack, detection, and defense in deep neural networks. In 2021 International Joint Conference on Neural Networks (IJCNN), pages 1–10, 2021.
  22. [22]Maria-Irina Nicolae, Mathieu Sinn, Minh Ngoc Tran, Beat Buesser, Ambrish Rawat, Martin Wistuba, Valentina Zantedeschi, Nathalie Aconradlo, Bryant Chen, Heiko Ludwig, Ian Molloy, and Ben Edwards. Adversarial robustness toolbox v1.2.0. CoRR, 1807.01069, 2018.
  23. [23]Nicolas Papernot, Fartash Faghri, Nicholas Carlini, Ian Goodfellow, Reuben Feinman, Alexey Kurakin, Chihang Xie, Yash Sharma, Tom Brown, Aurko Roy, Alexander Matyasko, Vahid Behzadan, Karen Hambardzumyan, Zhishuai Zhang, Yi-Lin Juang, Zhi Li, Ryan Sheatsley, Abhibhav Garg, Jonathan Uesato, Willi Gierke, Yinpeng Dong, David Berthelot, Paul Hendricks, Jonas Rauber, and Rujun Long. Technical report on the cleverhans v2.1.0 adversarial examples library. arXiv preprint arXiv:1610.00768, 2018.arxiv.org/abs/1610.00768
  24. [24]Danish Pruthi, Bhuwan Dhingra, and Zachary C. Lipton. Combating adversarial misspellings with robust word recognition. In Anna Korhonen, David Traum, and Lluís Márquez, editors, Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 5822–5591, Florence, Italy, July 2019. Association for Computational Linguistics.arxiv.org/abs/1905.11268
  25. [25]Shilin Qiu, Qihe Liu, Shijie Zhou, and Wen Huang. Adversarial attack and defense technologies in natural language processing: A survey. Neurocomputing, 492:278–307, 2022.DOI
  26. [26]Jonas Rauber, Roland Zimmermann, Matthias Bethge, and Wieland Brendel. Foolbox: A python toolbox to benchmark the robustness of machine learning models. In Reliable Machine Learning in the Wild Workshop, 34th International Conference on Machine Learning, 2017.arxiv.org/abs/1707.04131
  27. [27]Jonas Rauber, Roland Zimmermann, Matthias Bethge, and Wieland Brendel. Foolbox native: Fast adversarial attacks to benchmark the robustness of machine learning models in pytorch, tensorflow, and jax. Journal of Open Source Software, 5(53):2607, 2020.DOI
  28. [28]Deepak Ravikumar, Sangamesh Kodgire, Isha Garg, and Kaushik Roy. Trend: Transferability-based robust ensemble design. IEEE Transactions on Artificial Intelligence, 4(3):534–548, 2023.arxiv.org/abs/2008.01524
  29. [29]Maria Rigaki and Sebastian Garcia. A survey of privacy attacks in machine learning. ACM Comput. Surv., 56(4), November 2023.DOI
  30. [30]Ug Dheeraj Sai, Vinay Sai Yogeesh, N Vindya, Akanksha P Mulgund, and Bhaskarjyoti Das. Interpretation of white box adversarial attacks on machine learning model using grad-cam. In 2024 8th International Symposium on Innovative Approaches in Smart Technologies (ISAS), pages 1–10, 2024.DOI
  31. [31]Miguel Silva, Daniela Pinto, João Vitorino, José Gonçalves, Eva Maia, and Isabel Praça. Genis: A modular dataset for network intrusion detection and classification. Data in Brief, 60:111487, 2025.DOI
  32. [32]Thibault Simonetto, Salah Ghamizi, and Maxime Cordy. Tabularbench: Benchmarking adversarial robustness for tabular deep learning in real-world use-cases, 2024.
  33. [33]Lichao Sun, Yingtong Dou, Carl Yang, Kai Zhang, Ji Wang, Philip S. Yu, Lifang He, and Bo Li. Adversarial attack and defense on graph data: A survey. IEEE Transactions on Knowledge and Data Engineering, 35(8):7693–7711, 2023.DOI
  34. [34]Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks, 2014.arxiv.org/abs/1312.6199
  35. [35]João Vitorino, Nuno Oliveira, and Isabel Praça. Adaptative perturbation patterns: Realistic adversarial learning for robust intrusion detection. Future Internet, 14(4), 2022.DOI
  36. [36]Xiawei Wang, Yao Li, Cho-Jui Hsieh, and Thomas C. M. Lee. Uncovering distortion differences: A study of adversarial attacks and machine discriminability. IEEE Access, 12:117872–117883, 2024.DOI
  37. [37]Wenqi Wei, Ling Liu, Margaret Loper, Ka-Ho Chow, Mehmet Emre Gursoy, Stacey Truex, and Yanzhao Wu. Adversarial deception in deep learning: Analysis and mitigation. In 2020 Second IEEE International Conference on Trust, Privacy and Security in Intelligent Systems and Applications (TPS-ISA), pages 236–245, 2020.DOI
  38. [38]Chiyu Zhang, Lu Zhou, Xiaogang Xu, Jiafei Wu, and Zhe Liu. Adversarial attacks of vision tasks in the past 10 years: A survey. ACM Comput. Surv., 58(2), September 2025.arxiv.org/abs/2410.23687
  39. [39]Zhe Zhao, Guangke Chen, Tong Liu, Taishan Li, Fu Song, Jingyi Wang, and Jun Sun. Attack as detection: Using adversarial attack methods to detect abnormal examples. ACM Trans. Softw. Eng. Methodol., 33(3), March 2024.DOI

Paper details

vlnc:W_xhydbemy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents