Skip to content

On the Impact of Feature Dimensionality Reduction Techniques on Adversarial AttacksOn the Impact of Feature Reduction Techniques on Adversarial Attacks

arXiv: 其他 AI 安全论文· arXiv:2611.25004· Mohammad Meymani, Roozbeh Razavi-FarTrustworthy and Secure AI (TSAI) Lab; Faculty of Computer Science, University of New BrunswickIndexed by this site · 4 days ago· Originally publishedAttacks· Its place in the scan record →

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

The authors evaluate on the APT dataset the impact of four feature reduction methods—PCA, PIR, RFE, and UMI—on the robustness of five classifiers including SVM under three types of white-box attacks, and state that PIR and UMI have the most consistent mitigation effect.

Questions
Feature selection/dimensionality reduction (FS/DR) is commonly used to improve efficiency and prevent overfitting, but its impact on adversarial robustness remains unclear: whether it mitigates attacks or introduces new vulnerabilities lacks systematic comparison across different classifiers and attack types.
Methods
On the APT dataset, three types of white-box attacks—label flipping poisoning, backdoor, and UAP—are applied to five classifiers: SVM, DT, RF, MLP, and KNN; four FS/DR techniques—PCA, PIR, RFE, and UMI—are compared; and a mitigation score is proposed to measure the change in performance degradation caused by attacks before and after applying FS/DR.
Experiments and results
The authors state that PIR and UMI have the most consistent mitigation effects across most classifiers and attack scenarios, while PCA and RFE perform unstably and often exacerbate performance degradation under UAP; for example, PIR+SVM has an accuracy mitigation score of 94.81 under strong UAP, while PCA+RF has a Macro-F1 of -75.38 under weak UAP (Figures 7 and 8).
Limitations and future work
The authors state that future work will examine other attack types such as evasion and exploratory, as well as more feature reduction techniques and more advanced ML models (Conclusion). The experiments cover only one dataset, APT, five traditional classifiers, and three attacks; the paper does not report the number of repetitions or statistical significance tests.
Experimental setupsupport vector machine (SVM)、decision tree (DT) et al. · APT · accuracy、macro-F1 et al.
Threat model
Three white-box attacks: label flipping poisoning (5%, 15% corruption rate), backdoor poisoning (20% of training data with triggers added), and UAP (adding a universal scalar perturbation to the test set, with budgets 0.25 and 0.5). In the setting, the attacker has perfect knowledge of the training/test data and the target model.
Evaluated models
support vector machine (SVM)decision tree (DT)random forest (RF)multi-layer perceptron (MLP)k-nearest neighbors (KNN)
Benchmarks
APT
Metrics
accuracymacro-F1mitigation score
AI summaryThe study evaluates on the APT dataset the impact of feature dimensionality reduction techniques on the adversarial robustness of machine learning models. It covers support vector machines, decision trees, random forests, multilayer perceptrons, and k-nearest neighbors, and compares PCA, permutation importance ranking, recursive feature elimination, and univariate mutual information under poisoning, backdoor, and universal adversarial perturbation attacks. The results show that permutation importance ranking and univariate mutual information generally yield the most consistent robustness improvements, while the effects of the other methods vary with the classifier and attack scenario.

The study evaluates on the APT dataset the impact of feature dimensionality reduction techniques on the adversarial robustness of machine learning models. It covers support vector machines, decision trees, random forests, multilayer perceptrons, and k-nearest neighbors, and compares PCA, permutation importance ranking, recursive feature elimination, and univariate mutual information under poisoning, backdoor, and universal adversarial perturbation attacks. The results show that permutation importance ranking and univariate mutual information generally yield the most consistent robustness improvements, while the effects of the other methods vary with the classifier and attack scenario.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Systematically compare the impact of four conventional FS/DR techniques on the adversarial robustness of five classifiers under three types of white-box attacks.

    Core question: whether feature selection/dimensionality reduction (FS/DR) techniques mitigate or exacerbate adversarial attacks lacks systematic study across different classifiers and attack scenarios.

    • Problem setting: FS/DR is widely used to shorten training time, avoid the curse of dimensionality, prevent overfitting, and remove redundant features, but the authors point out that its impact on adversarial robustness remains unexplored, and it is unclear whether it mitigates adversarial effects or introduces new vulnerabilities.
    • Gaps in existing research: The authors state that existing research mainly focuses on adversarial feature selection under specific settings (specialized methods targeting evasion attacks), and lacks a systematic comparison of conventional FS/DR techniques across multiple classifiers and multiple attack types (Introduction and Related Work).
    • What the paper does: On the APT dataset, it evaluates the impact of four FS/DR techniques—PCA, PIR, RFE, and UMI—on the robustness of five classifiers—SVM, DT, RF, MLP, and KNN—under three types of attacks: label flipping poisoning, backdoor, and UAP, and proposes a new metric, mitigation score, to measure the robustness gain after applying FS/DR.
    • Threat model:
      • Attack types: label flipping poisoning, backdoor poisoning, universal adversarial perturbation (UAP), all white-box attacks.
      • Attacker knowledge: The paper assumes the attacker has perfect knowledge of the training/test data and the target model.
      • Attack method: Poisoning attacks tamper with training data labels or implant triggers; UAP adds an optimized universal scalar perturbation to the test set.
      • Victim system: The five traditional ML classifiers above.
  2. What related research exists?

    Related work consists of three methods dedicated to adversarial feature selection; this paper instead systematically compares conventional FS/DR techniques.

    Adversarially robust feature selection (three papers explicitly discussed in the paper)

    • Ozfatura et al. [11]: Argue that only some latent features remain consistent under adversarial perturbations, propose a latent masking (LM) strategy, and identify robust neurons by comparing differences in penultimate-layer neuron activations before and after attacks; report robustness gains against PGD attacks on ResNet-18, CIFAR-10/100.
    • Zhang et al. [12] (WAFS): Model feature selection as multi-objective optimization that simultaneously maximizes generalization ability and robustness, using harness of evasion (HoS, the sample mean of the minimum perturbation required to change the classification result) as a security metric; on spam filtering and PDF malware detection datasets, the authors state that WAFS is more robust than traditional wrapper-style feature selection.
    • Zhang et al. [13] (AREC): An adversarially robust ensemble classifier comprising three stages: diversified adversarial feature selection, training a pool of robust classifiers, and random aggregation at inference time; it builds a feature vector library per feature and trains one SVM for each, and selects a subset for each prediction at inference time. The authors report that it mitigates white-box and black-box evasion attacks on spam filtering, malware detection, and handwritten digit recognition.

    The paper's positioning of this work

    • The authors point out that these works mainly develop specialized adversarial feature selection methods targeting evasion attacks, whereas this paper evaluates the impact of conventional FS/DR techniques on robustness across multiple classifiers and multiple attack scenarios.

    Baselines and benchmarks

    • This paper has no comparison baseline at the learning-method level; the comparison is the scenario without FS/DR (the No FS/DR branch in Figure 1), and the benchmark is the APT dataset [30].
  3. How does the paper address this problem?

    Compare the impact of four FS/DR techniques on five classifiers under six attack scenarios, quantified with a new metric, the mitigation score.

    Overall approach: on the APT dataset, six scenarios are constructed (no attack, two levels of poisoning, backdoor, two levels of UAP); four FS/DR techniques are applied to each of five classifiers, with hyperparameters selected by 10-fold cross-validation and then trained from scratch; the performance drop caused by attacks before and after applying FS/DR is compared, and a mitigation score is proposed as the metric.

    Attack Settings (all white-box)

    • Label flipping poisoning: corruption rates of 5% and 15%; samples near the SVM decision boundary are randomly selected and their labels flipped.
    • Backdoor poisoning (targeted): a trigger value of 0.01 is added to odd-indexed features of 20% of the training data and the labels changed to the target label; at test time the trigger is added to all samples without changing labels.
    • UAP: a grid search over 1000 uniformly spaced perturbation values in the interval [−ϵ, ϵ] selects a universal scalar perturbation with the objective of maximizing the average log-loss of the ensemble classifier, which is added to the test set; the perturbation budget is 0.25 (weak) and 0.5 (strong).

    Data and Scenarios

    • APT dataset [30]: 16 classes, 260+ features, 11000+ samples; split 80%/20% into training/test; missing values mean-imputed and standardized (mean 0, standard deviation 1).
    • Six scenarios (Figure 1): 1) both training and test clean; 2) 5% label flipping; 3) 15% label flipping; 4) backdoor in both training and test; 5) weak perturbation added to the test set; 6) strong perturbation added to the test set.

    FS/DR Techniques and Classifiers

    • Four FS/DR methods: PCA (unsupervised dimensionality reduction, retaining the principal components with the largest variance), PIR (model-agnostic, ranking by the performance drop caused by permuting features), RFE (wrapper-style, recursively removing the least important features and retraining), UMI (filter-style, ranking by univariate mutual information between features and labels).
    • Five classifiers: SVM, DT, RF, MLP, KNN.
    • Training protocol: for each classifier × scenario, hyperparameters are selected by 10-fold cross-validation, then the model is trained from scratch on the full training set and evaluated on the test set; all preprocessing and FS/DR are fitted only on each fold's training data to prevent data leakage, after which they are refitted on the full training set and used to transform the test set.

    Evaluation Metrics

    • Accuracy and Macro-F1: standard definitions; Macro-F1 is the arithmetic mean of the per-class F1 scores (paper equations 1–5).
    • Mitigation score: Mitigation Score = (SBeforeClean − SBeforeAttack) − (SAfterClean − SAfterAttack), i.e., the difference of the "difference between clean and attacked scores" before and after FS/DR; a positive value indicates that FS/DR reduced the performance drop caused by the attack, a negative value indicates it exacerbated it, and zero indicates no change. The authors emphasize that it measures relative robustness improvement rather than absolute classification performance.
  4. What experiments did the paper conduct?

    Comparison of mitigation scores across five classifiers × four FS/DR × five attack scenarios; PIR and UMI are the most consistent.

    Experimental Setup

    • Models evaluated: five classifiers: SVM, DT, RF, MLP, KNN.
    • Dataset: APT [30], 16 classes, 260+ features, 11000+ samples, 80%/20% split.
    • Attack scenarios: 5%/15% label flipping, backdoor, weak UAP (budget 0.25), strong UAP (budget 0.5), plus a no-attack scenario.
    • FS/DR methods: PCA, PIR, RFE, UMI; the control is no FS/DR.
    • Metrics: accuracy, Macro-F1, mitigation score (positive = mitigates attack).
    • Training protocol: hyperparameters selected by 10-fold cross-validation, then trained from scratch; the paper does not report the number of repetitions or statistical significance tests.

    Main Results

    The main results are the mitigation score heatmaps (unit: percentage points) in Figure 7 (accuracy) and Figure 8 (Macro-F1); the table below is transcribed from Figure 7:

    Swipe horizontally to read the table

    FS/DR | classifier5% LF15% LFBackdoorWeak UAPStrong UAP
    PIR | SVM10.0813.5818.9020.4994.81
    PIR | DT1.270.661.661.6394.14
    PIR | RF1.481.581.52-13.797.59
    PIR | MLP3.325.904.787.4185.06
    PIR | kNN0.791.331.44-35.8772.30
    UMI | SVM2.316.877.6717.2817.03
    UMI | DT0.37-0.040.9185.8891.54
    UMI | RF-0.29-0.79-0.28-0.143.02
    UMI | MLP1.732.993.0946.7018.19
    UMI | kNN0.640.180.681.841.51
    PCA | SVM0.320.210.220.140.14
    PCA | DT1.081.301.1931.6980.78
    PCA | RF0.511.441.33-15.26-3.09
    PCA | MLP0.360.360.4375.9877.74
    PCA | kNN-0.081.73-0.58-42.60-10.84
    RFE | SVM0.220.471.080.183.17
    RFE | DT0.000.07-0.25-5.11-3.53
    RFE | RF-0.25-0.15-0.00-2.0519.19
    RFE | MLP0.540.400.36-0.0020.71
    RFE | kNN-0.010.25-0.91-8.47-1.02

    (From Figure 7; the Macro-F1 version is in Figure 8, and its values are not all transcribed here.)

    • Authors' interpretation: PIR and UMI improve robustness most consistently; PIR is positive in the vast majority of scenarios under both metrics, and the only negative values are for RF and KNN under weak UAP (both metrics) and for KNN under strong UAP (Macro-F1 only).
    • Authors' interpretation: UMI is the next most consistent, with slightly more negative values; PCA and RFE fluctuate, being negative in many scenarios (especially Macro-F1 under UAP), i.e., they exacerbate the drop caused by attacks.
    • Authors' interpretation: no single FS/DR technique consistently improves robustness across all classifiers and attack scenarios.

    Per-Classifier Results (Figure 2–6)

    • SVM (Figure 2): all four methods are positive in all scenarios under accuracy; the authors state that PIR improves the most and most consistently, especially against UAP; PCA shows negative Macro-F1 values under 15% label flipping and UAP that the authors call insignificant.
    • DT (Figure 3): mitigation is small for all methods under poisoning-type attacks; under UAP all except RFE are positive, with the authors stating that UMI is strongest under weak UAP and PIR strongest under strong UAP; RFE is negative under UAP.
    • RF (Figure 4): no method consistently improves under all attacks; PIR is positive under poisoning and strong UAP but degrades under weak UAP; UMI is negative except under strong UAP; the authors state that RF's robustness gains depend heavily on attack type, with less consistency than SVM and DT.
    • MLP (Figure 5): under accuracy, all four methods show moderate positive values under poisoning and larger positive values under UAP; under Macro-F1, only PIR and UMI show larger positive values in all scenarios, and RFE is negative under strong UAP.
    • KNN (Figure 6): mitigation is small for all methods under poisoning; PIR improves the most under strong UAP, and UMI is positive under both UAP levels; PCA shows larger negative values under both UAP levels, and RFE reduces robustness under weak UAP.

    Other Ablations and Analyses

    • Metric comparison: Macro-F1 and accuracy trends are broadly consistent, but there are more negative values; the authors state that PCA and RFE are negative in most UAP scenarios under Macro-F1 (Figure 8).
    • Attack strength: under strong UAP (budget 0.5), PIR's mitigation scores are generally higher than under weak UAP (0.25), e.g., PIR|SVM rises from 20.49 to 94.81 (Figure 7).
    • Exceptions and negative results: PIR is negative under weak UAP for RF/KNN (accuracy -13.79 and -35.87, respectively); PCA shows larger negative values under UAP for KNN (-42.60, -10.84); RFE is negative in most scenarios for DT (Figure 7). The authors give no mechanistic explanation for these exceptions.
  5. What are some points that can be further explored?

    The authors state that future work will examine other attack types and more techniques; the experiments cover only one dataset and five traditional classifiers.

    Limitations and Future Directions Noted by the Authors

    • Other attack types: the authors state that future research will examine the effect of feature reduction under other adversarial attack scenarios such as evasion and exploratory (Conclusion).
    • More techniques and models: the authors state that further research could incorporate more feature reduction techniques and more advanced ML models to gain a deeper understanding of their impact on adversarial robustness (Conclusion).
    • The paper has no dedicated Limitations section; the above are the future directions explicitly stated in the Conclusion.

    Scope of the Experiments

    • Dataset: only one dataset, APT (16 classes, 260+ features, 11000+ samples, 80%/20% split).
    • Models evaluated: five traditional classifiers in total: SVM, DT, RF, MLP, KNN; no deep models are included (the ResNet-18 mentioned in Related Work is the experimental subject of a cited work).
    • Attacks: three types of white-box attacks: label flipping (5%, 15%), backdoor (trigger added to 20% of training data), and UAP (budgets 0.25, 0.5); the paper does not report black-box or adaptive attack experiments.
    • FS/DR techniques: four: PCA, PIR, RFE, UMI; the control is no FS/DR.
    • Reporting: results are the mitigation scores per scenario (Figure 2–8); the paper does not report the number of repetitions, confidence intervals, or statistical significance tests, nor does it report the absolute accuracy and Macro-F1 values of each classifier on clean/attacked data.
  6. Summarize the main content of the paper

    A systematic comparison of four FS/DR × five classifiers × three types of white-box attacks: PIR and UMI mitigate most consistently, and there is no one-size-fits-all method.

    An empirical analysis paper in the field of adversarial machine learning, studying the impact of conventional feature selection/dimensionality reduction (FS/DR) techniques on the adversarial robustness of classifiers.

    • Problem: FS/DR is commonly used for efficiency and to prevent overfitting, but its impact on adversarial robustness is unclear—whether it mitigates attacks or introduces new vulnerabilities—and there is a lack of systematic comparison across classifiers and attack types.
    • Method: On the APT dataset (16 classes, 260+ features, 11000+ samples), three types of white-box attacks—label flipping poisoning (5%/15%), backdoor, and UAP (budget 0.25/0.5)—are applied to SVM, DT, RF, MLP, and KNN, comparing four techniques: PCA, PIR, RFE, and UMI; a mitigation score is proposed, i.e., the difference of the "difference between clean and attacked scores" before and after FS/DR, with positive values indicating mitigation.
    • Main results (Figure 7, 8): The authors state that PIR and UMI mitigate most consistently across most classifiers and scenarios, e.g., PIR+SVM under strong UAP has an accuracy mitigation score of 94.81, and UMI+DT is 91.54; PCA and RFE fluctuate, often exacerbating the drop under UAP, e.g., PCA+RF under weak UAP has a Macro-F1 of -75.38.
    • Exceptions: PIR is negative under weak UAP for RF and KNN (accuracy -13.79 and -35.87, respectively); the authors give no mechanistic explanation.
    • Authors' conclusion: Robustness is determined by the interaction of classifier, attack type, and feature reduction method; no single FS/DR technique consistently improves robustness across all scenarios; the authors plan to examine evasion, exploratory, and other attacks as well as more techniques and more advanced models in the future.
Read originalarxiv.org