Beyond the Efficiency-Efficacy Dilemma: A Critical Analysis of Transferability in Adversarial Malware Detection

arXiv:2611.33243 · cs.CR, cs.AI, cs.LG · Submitted 2026-11-24 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "Beyond the Efficiency-Efficacy Dilemma".

Title and authors: Nadia: So we're looking at this paper titled "Beyond the Efficiency-Efficacy Dilemma: A Critical Analysis of Transferability in Adversarial Malware Detection". It’s about how models that detect malware on a massive scale, like those on arXiv, need to be more robust against attacks because they're being deployed everywhere.

Elias: Yeah, the authors are talking about how we need to study this adversarial robustness seriously since these models are already out there in production. They introduce a platform called the Adversarial AI Engine or AAIE to automate security stress-testing and look for some counterintuitive findings about transferability in attacks.

Priya: It sounds like they’re trying to find ways to test these detection systems automatically, which is crucial because manually testing every possible attack vector is just not practical anymore.

Nadia: Exactly. The core idea of this paper is that we need to rigorously study adversarial robustness for these models since they're already deployed at scale for malware detection and the AAIE platform helps with that automated stress-testing.

Elias: They focus specifically on transfer attacks using a dataset called EMBER2018 against a Random Forest target model, which is used to emulate production-grade malware detection systems.

The paper's summary: Nadia: So, the paper dives into performing transfer attacks against that specific Random Forest target and they find something really surprising about how different attack types perform. They found that single-step FGSM, which is a fast gradient method attack, actually had the highest success rate of fifty-two point nine percent when compared to iterative PGD attacks which only got forty-five point two percent <ref:2611.33243#pg1>.

Elias: That finding is statistically significant with a p value less than zero point zero zero two, which means it’s not just a fluke in their experiment, and they show this difference is pretty big with a coefficient of delta equal to zero point seven forty two.

Priya: From my perspective as someone who looks at the data, I'm interested in why FGSM is performing better here; the paper suggests that compared to iterative attacks which tend to overfit surrogate networks creating brittle perturbations, FGSM created more transferable examples.

Nadia: Right. So they are saying that this single-step method generates more transferable examples because of how the gradient aligns with the direction in feature space that is most effective at fooling models, as Zheng and colleagues showed earlier.

Elias: That’s a key point, because it suggests that FGSM’s linear approximation leads to better generalization than those iterative attacks which create brittle perturbations fifteen <ref:2611.33243#pg2>.

The paper's improvements: Nadia: Now the paper points out several ways they improved the testing process and what they found concerning the metrics used. They benchmarked their attacks using Attack Success Rate, Transferability Score, Detection Evasion Rate, and Resilience Index.

Elias: They also found that when looking at these metrics, their transferability scores peak at about zero point eight with constrained perturbations according to their analysis in accordance with emerging standards in AI governance.

Priya: I’m thinking about the Resilience Index they introduced; it’s a composite metric defined as one hundred times zero point four times accuracy plus zero point four times one minus attack success rate plus zero point two times detection evasion rate. It tries to give you a holistic robustness assessment by weighing accuracy preservation and attack resistance highly for cybersecurity applications.

Nadia: That makes sense, it’s trying to give a comprehensive view instead of just looking at one number like the Attack Success Rate alone. They also recommended using adversarial training with FGSM-generated examples and continuous automated auditing via pipelines like AAIE to protect detectors against these attacks.

Elias: So they are suggesting a layered defense approach, combining techniques like using heterogeneous detector ensembles to limit crossmodel transferability, alongside that continuous automated auditing through tools like the AAIE.

Conclusion: Nadia: To wrap up, this work introduced the Adversarial AI Engine as a reusable toolkit for automating attack generation and testing suites against machine learning based security solutions. They empirically evaluated on malware detection and uncovered that black-box transferability decreases with attack complexity such that the single step FGSM attack outperforms PGD.

Elias: The paper suggests that practitioners can rely on lightweight, fast attacks like FGSM to scalably measure black-box adversarial robustness because it shows a clear improvement over more complex iterative methods like PGD.

Priya: The high transferability scores they found, up to zero point eight, show us shortcomings that need to be addressed if we want to meet future AI governance requirements like the EU AI Act or NIST AI RMF.

Nadia: So the main implication is that current state-of-the-art ML based malware detectors are unlikely to satisfy standards without adversarial hardening, and they support using single step attacks like FGSM as the preferred method for scalable black-box adversarial stress testing.

Elias: It’s about using lightweight, fast attacks to measure robustness effectively in a way that scales across many different deployed detectors.

Priya: I think what this really means for us is that we need to be careful because even with these high scores, we still have these weaknesses that must be fixed through things like adversarial training and ensemble methods.

COPELABS · ECATI · Lusófona University · PDMFC SA Project Development and Consulting Department of Informatics, Ionian University

cs.CR, cs.AI, cs.LG

Submitted: 2026-11-24

Updated: 2026-11-24

Comments: Accepted at IEEE RTSI 2026 (10th International Forum on Research and Technologies for Society and Industry), Espoo, Finland. 6 pages, 4 figures, 5 tables

Code: https://github.com/veyselalevcan/Adversarial_Machine_Learning

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 73/100

The gist: Machine Learning (ML) models are already being deployed at scale for malware detection, creating a pressing need to rigorously study adversarial robustness.<ref:2611.33243#pg1…

Key concepts

Adversarial AI Engine (AAIE)
A modular platform designed for automated security stress-testing. It collects input data, specifies attack goals, and generates various attacks like FGSM or PGD against target models to test their resilience in a systematic way.
Transferability Score (TS)
A metric used to measure how well an adversarial example created against one model can successfully fool a different, unseen target model. High scores indicate that the attack is highly transferable, which is a key vulnerability for security systems.
FGSM vs. PGD
FGSM is a single-step attack method that was found to be more effective at transferring adversarial examples than PGD, an iterative multi-step attack. This means simpler, faster attacks can achieve higher success rates when testing black-box robustness against malware detectors.

Terminology

Summary

Machine Learning (ML) models are already being deployed at scale for malware detection, creating a pressing need to rigorously study adversarial robustness. p. 0<ref:2611.33243#pg1, "Machine Learning (ML) models are already being deployed at scale for malware detection">. p. 0 The paper introduces the Adversarial AI Engine (AAIE), a platform for automated security stress-testing that reveals a counterintuitive finding regarding transferability in adversarial attacks. p. 0<ref:2611.33243#pg1, "Counterintuitively, we found single-step FGSM to have the highest attack success rate (ASR) of 52. p. 0 p. 0 p. 09% compared to iterative PGD with 45. p. 0 p. 0 p. 0 p. 02% (p &lt; 0.002)">.

Adversarial AI Engine Architecture

The AAIE is a modular framework for automated adversarial testing implementing white-box, gray-box, and black-box threat models.<ref:2611.33243#pg1, "This paper presents the Adversarial AI Engine (AAIE), a modular framework for automated adversarial testing implementing white-box, gray-box, and black-box threat models">. p. 0 The architecture consists of several interchangeable components including the Input & Context Module (MICo), the Attack Specification Module (ASM), and the Transfer Module (TM). p. 1<ref:2611.33243#pg2, "AAIE consists of several interchangeable components and implements a pipeline design, composed of: (1) the Input & Context Module (MICo) for collecting input data and experiment metadata to reproduce experiments; (2) the Attack Specification Module (ASM) translates a given security-relevant goal to appropriate algorithmic specification(s)">. p. 1 For surrogate-based transfer attacks, the Transfer Module trains a differentiable neural network to approximate the target’s behavior via pseudo-labeling. p. 1 p. 1<ref:2611.33243#pg2, "For surrogate-based transfer attacks (focus of this study), the Transfer Module trains a differentiable neural network to approximate the target’s behavior via pseudo-labeling">. p. 1

Experimental Methodology

The experiments utilized a stratified random subset of the EMBER2018 dataset, where each sample is represented by a 30-dimensional feature vector extracted statically.<ref:2611.33243#pg4>. The target model used for attack evaluation was a Random Forest Classifier configured with 200 trees and a maximum depth of 15. p. 2<ref:2611.33243#pg4>. The surrogate model employed is a fully-connected neural network with two hidden layers. p. 2<ref:2611.33243#pg4>. Evaluation metrics include Attack Success Rate (ASR), Transferability Score (TS), Detection Evasion Ratio (DER), and Resilience Index (RI). p. 2<ref:2611.33243#pg4>.

Key Empirical Findings

The primary empirical contribution is the discovery of a counterintuitive transferability tradeoff where FGSM’s single-step attack transfers far better than PGD’s multi-step attack against a Random Forest target.<ref:2611.33243#pg1, "Contrary to intuition, we found single-step FGSM to have the highest attack success rate (ASR) of 52. p. 09% compared to iterative PGD with 45.2% (p &lt; 0.002)">. This is statistically significant with a paired t-test yielding a p-value of 0. p. 300112.<ref:2611.33243#pg5, "Similarly strong evidence using a paired t-test (t = 5. p. 3234, p = 0. p. 300112) and a medium-to-large effect size (Cohen’s d = 0. p. 3742) indicates that FGSM’s higher transferability is likely not due to chance">. p. 3 FGSM consistently achieves higher TS values, with an average improvement of 19. p. 34% over PGD. p. 0<ref:2611.33243#pg5>.

Implications for Security and Governance

The findings carry direct practical consequences for future AI regulations and policies, suggesting that current state-of-the-art ML-based malware detectors are unlikely to satisfy standards without adversarial hardening.<ref:2611.33243#pg6>. The authors recommend a defense in depth approach including adversarial training with FGSM-generated examples and continuous automated auditing via pipelines such as AAIE. p. 5<ref:2611.33243#pg6, "To protect ML-based detectors against such attacks, we recommend the following defense in depth approach: adversarial training with FGSM-generated examples; heterogeneous detector ensembles to limit crossmodel transferability; feature hardening against continuous perturbation; continuous automated auditing via pipelines such as AAIE">. p. 5

Conclusion

This work introduced the Adversarial AI Engine, a reusable toolkit designed to automate attack generation and testing suites against machine learning based security solutions.<ref:2611.33243#pg6, "This work introduced the Adversarial AI Engine, a reusable toolkit designed to automate attack generation and testing suites against machine learning based security solutions">. p. 5 Empirically evaluating on malware detection, the paper uncovered that black-box transferability decreases with attack complexity such that the single step FGSM attack outperforms PGD. p. 5<ref:2611.33243#pg6, "Empirically evaluating on malware detection, we uncovered a surprising and fundamental insight: black-box transferability decreases with attack complexity such that the single step FGSM attack outperforms PGD">. p. 5 This suggests practitioners can rely on lightweight, fast attacks to scalably measure black-box adversarial robustness. p. 5<ref:2611.33243#pg6, "This suggests practitioners can rely on lightweight, fast attacks to scalably measure black-box adversarial robustness">. p. 5 Additionally, the high TS values demonstrate shortcomings that must be addressed to achieve future AI governance and policy requirements such as the EU AI Act or NIST AI RMF. p. 5<ref:2611.33243#pg6, "These findings support the use of lightweight, single-step attacks such as FGSM as the preferred method for scalable black-box adversarial stress-testing of deployed detectors">. p. 5

--- Page 1 ---

Beyond the Efficiency-Efficacy Dilemma: A Critical Analysis of Transferability in Adversarial Malware Detection.<ref:2611.33243#pg1, "Beyond the Efficiency-Efficacy Dilemma: A Critical Analysis of Transferability in Adversarial Malware Detection">. p. 0

Abstract—Machine Learning (ML) models are already being deployed at scale for malware detection. p. 0 Therefore there is a pressing need to rigorously study adversarial robustness. p. 0<ref:2611.33243#pg1, "Machine Learning (ML) models are already being deployed at scale for malware detection. p. 0 Therefore there is a pressing need to rigorously study adversarial robustness">. p. 0 To that end, we introduce the Adversarial AI Engine (AAIE): a platform for automated security stress-testing. p. 0<ref:2611.33243#pg1, "To that end, we introduce the Adversarial AI Engine (AAIE): a platform for automated security stress-testing">. p. 0 We performed transfer attacks, via EMBER2018, against a Random Forest target. p. 0<ref:2611.33243#pg1, "We performed transfer attacks, via EMBER2018, against a Random Forest target">. p. 0 Counterintuitively, we found single-step FGSM to have the highest attack success rate (ASR) of 52.9% compared to iterative PGD with 45.2% (p < 0.002).<ref:2611.33243#pg1, "Counterintuitively, we found single-step FGSM to have the highest attack success rate (ASR) of 52.9% compared to iterative PGD with 45.2% (p &lt; 0.002)">. Compared to iterative attacks which tend to overfit surrogate networks creating brittle perturbations, FGSM created more transferable examples. p. 0<ref:2611.33243#pg1, "Compared to iterative attacks which tend to overfit surrogate networks creating brittle perturbations, FGSM created more transferable examples">. p. 0 We benchmarked our attacks using ASR, transferability score, evasion rate, and resilience index. p. 0<ref:2611.33243#pg1, "We benchmarked our attacks using ASR, transferability score, evasion rate, and resilience index">. p. 0 Through these metrics, proposed in concordance with emerging standards in AI governance, we expose shortcomings as our transferability scores peak at ∼0. p. 08 with constrained perturbations. p. 0<ref:2611.33243#pg1, "Through these metrics, proposed in concordance with emerging standards in AI governance, we expose shortcomings as our transferability scores peak at ∼0. p. 08 with constrained perturbations">. p. 0 We highlight the practical security implications of these findings and demonstrate AAIE for automated adversarial auditing. p. 0<ref:2611.33243#pg1, "We highlight the practical security implications of these findings and demonstrate AAIE for automated adversarial auditing">. p. 0

--- Page 2 ---

II. RELATED WORK

Adversarial Machine Learning (AML) originally took root in computer vision research.<ref:2611.33243#pg2>. Here, the primary objective has been to identify the smallest possible perturbation δ that causes the largest model loss subject to some distance constraint ∥δ∥p ≤ ε [12]. p. 0<ref:2611.33243#pg2, Here, the primary objective has been to identify the smallest possible perturbation δ that causes the largest model loss subject to some distance constraint ∥δ∥p ≤ ε [12]>. As the field matured, attention turned from provably damaging white-box attacks to extremely realistic black-box settings. p. 0<ref:2611.33243#pg2>. Malware detection complicates this picture significantly, as cybersecurity features are frequently discrete, nondifferentiable, and strictly bound to preserve malicious functionality [13]. p. 0<ref:2611.33243#pg2, Malware detection complicates this picture significantly, as cybersecurity features are frequently discrete, nondifferentiable, and strictly bound to preserve malicious functionality [13]>. To navigate these rigid constraints, the AAIE leverages a feature-space surrogate architecture. p. 1<ref:2611.33243#pg2, "To navigate these rigid constraints, the AAIE leverages a feature-space surrogate architecture">. p. 1 Transferability fooling target fT with examples crafted against surrogate fS remains central to black-box evasion [10], [14]. p. 1<ref:2611.33243#pg2, Transferability fooling target fT with examples crafted against surrogate fS remains central to black-box evasion [10], [14]>. Recent frameworks formalize such surrogate-guided pipelines into highly tractable problems [11]. p. 1<ref:2611.33243#pg2, Recent frameworks formalize such surrogate-guided pipelines into highly tractable problems [11]>. How can an adversarial example transfer well? p. 1 One line of recent work attributes transferability to feature-level patterns. p. 1<ref:2611.33243#pg2, "How can an adversarial example transfer well? p. 1 One line of recent work attributes transferability to feature-level patterns">. p. 1 Recent work by Li et al. p. 1 [15] found that directly accounting for the relative importance of features consistently improves transferability to many different architectures. p. 1<ref:2611.33243#pg2, Recent work by Li et al. [15] found that directly accounting for the relative importance of features consistently improves transferability to many different architectures>. Extending this work, Zheng et al. p. 1 [16] showed that these improvements can be further amplified through the application of attention across multiple features. p. 1<ref:2611.33243#pg2, Extending this work, Zheng et al. [16] showed that these improvements can be further amplified through the application of attention across multiple features>.

--- Page 3 ---

III. SYSTEM ARCHITECTURE: THE ADVERSARIAL AI ENGINE

AAIE consists of several interchangeable components and implements a pipeline design, composed of: (1) the Input & Context Module (MICo) for collecting input data and experiment metadata to reproduce experiments; (2) the Attack Specification Module (ASM) translates a given security-relevant goal to appropriate algorithmic specification(s); (3) the Attack Generator (ATGen) composes gradient-based attacks (FGSM, PGD), as well as transfer-based attacks.<ref:2611.33243#pg3>. For surrogate-based transfer attacks, the Transfer Module trains a differentiable neural network to approximate the target’s behavior via pseudo-labeling.<ref:2611.33243#pg3>. The workflow is illustrated in Fig. p. 1 1.<ref:2611.33243#pg4>. AAIE’s modular design permits independent substitution of datasets, attack algorithms, and target models without pipeline modification. p. 1<ref:2611.33243#pg4>. The Provenance Layer (PAL) logs all parameters for reproducibility and AI governance audit compliance. p. 1<ref:2611.33243#pg4>.

--- Page 4 ---

A. Dataset and Feature Extraction

We use a stratified random subset of the EMBER2018 dataset.<ref:2611.33243#pg5>. Each sample is represented by a 30-dimensional feature vector extracted statically using a robust feature extraction pipeline. p. 1<ref:2611.33243#pg5>. The target model utilized for attack evaluation is a Random Forest Classifier configured with 200 trees and a maximum depth of 15. p. 2<ref:2611.33243#pg5>. All features are normalized using scikit-learn’s StandardScaler preprocessing utility, which transforms each feature to have zero mean and unit variance. p. 1<ref:2611.33243#pg5>. The attack algorithms include Fast Gradient Sign Method (FGSM) [4] and Projected Gradient Descent (PGD) [12]. p. 2 p. 2<ref:2611.33243#pg5, The attack algorithms include Fast Gradient Sign Method (FGSM) [4] and Projected Gradient Descent (PGD) [12]>.

--- Page 5 ---

B. Target and Surrogate Models

Target Model: Random Forest Classifier. For our target, we utilize a Random Forest Classifier. p. 2<ref:2611.33243#pg5>. Surrogate Model: Neural Network. p. 2 Since the internal parameters of the target model are inaccessible in a black-box scenario, we develop a surrogate to approximate its decision boundaries. p. 2<ref:2611.33243#pg5>. The surrogate’s architecture consists of a fully-connected neural network featuring two hidden layers. p. 2<ref:2611.33243#pg5>.

--- Page 6 ---

D. Adversarial Attack Configuration

We perform surrogate based black-box attacks, where the attacks are crafted only on the surrogate neural network and then transferred onto the target Random Forest.<ref:2611.33243#pg5>. The attack algorithms include Fast Gradient Sign Method (FGSM) [4] and Projected Gradient Descent (PGD) [12].<ref:2611.33243#pg5, The attack algorithms include Fast Gradient Sign Method (FGSM) [4] and Projected Gradient Descent (PGD) [12]>. We evaluate attacks across a comprehensive range of Perturbation Budgets: ε ∈ 0. p. 201, 0.02, 0.03, 0.05, 0.075, 0.15, 0.2.<ref:2611.33243#pg5>

constrained by the L∞ norm.<ref:2611.33243#pg5> and we use 10 iterations. p. 2<ref:2611.33243#pg5>.

--- Page 7 ---

E. Experimental Setup

Experiments were conducted on Google Colab Pro (NVIDIA T4 GPU, 16GB VRAM) using PyTorch 2.1.0 and scikit-learn 1. p. 13.0, with all random seeds fixed at 42 for reproducibility. p. 2<ref:2611.33243#pg5>.

--- Page 8 ---

Table I

BASELINE PERFORMANCE OF TARGET AND SURROGATE MODELS

Metric Target RF Surrogate NN. Accuracy 0. p. 28820 0.7397 F1-Score 0. p. 38847 0.7512 Precision 0. p. 38765 0.7284 Recall 0. p. 38932 0.7753 ROC-AUC 0. p. 39557 0.8142".

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Automated Adversarial Auditing Pipeline: Implement an Adversarial AI Engine (AAIE) to automate security stress-testing by composing gradient-based attacks (FGSM, PGD) and transfer-based attacks against any differentiable surrogate architecture. This allows for automated adversarial generation and testing applicable to any differentiable surrogate architecture.

  2. Counterintuitive Attack Selection: Utilize FGSM as the preferred attack method for scalable black-box adversarial stress-testing because it achieves a higher Attack Success Rate (ASR) compared to iterative PGD, as shown by the finding that single-step FGSM to have the highest attack success rate (ASR) of 52.9% compared to iterative PGD with 45.2%.

  3. Transferability Guided Perturbation Design: Employ feature-level patterns derived from relative feature importance, as suggested by recent work, to craft perturbations that maximize transferability between surrogate and target models. This approach leverages the insight that FGSM’s linear approximation leads to better generalization compared to iterative attacks which tend to overfit surrogate networks creating brittle perturbations.

  4. Resilience-Focused Robustness Metrics: Incorporate a composite metric called the Resilience Index (RI) into robustness evaluations, defined as RI = 100 times (0.4 times Accuracy + 0.4 times (1 minus ASR) + 0.2 times Detection Evasion Rate). This provides a holistic robustness assessment that weights accuracy preservation and attack resistance highly for cybersecurity applications, aligning with NIST AI RMF requirements.

  5. Regulatory Compliance Verification: Use the high Transferability Score (TS) metric to assess model shortcomings against emerging AI governance standards like the EU AI Act. Since our attack had consistently high transferability (TS as high as 0.80), this demonstrates that ML detectors may fail regulatory standards without adversarial hardening, necessitating defenses like adversarial training with FGSM-generated examples.

  6. Defense Strategy Implementation: Deploy a defense in depth approach combining multiple techniques to counter black-box transfer attacks. This includes using heterogeneous detector ensembles to limit crossmodel transferability and employing continuous automated auditing via pipelines such as AAIE for real-time monitoring of deployed detectors.

Sources

Related papers