arXiv:2609.03453cs.CVSep 2026

Manuscript Offprint

arXiv:2609.03453

Preprocessing Failure and Adversarial Detection in Depthwise-Separable Edge Vision Systems

Jannatul Masruk Mukta, Rifa Sanjida, Adrita Rahman Tory, Md. Saifur Rahman, Khondokar Fida Hasan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jannatul Masruk Mukta¹, Rifa Sanjida¹, Adrita Rahman Tory¹, Md. Saifur Rahman¹, and Khondokar Fida Hasan²*

Bangladesh University of Business and Technology (BUBT), Mirpur-2, Dhaka-1216, Bangladesh

University of New South Wales (UNSW), ACT 2601, Australia

fida.hasan@unsw.edu.au

Abstract. Preprocessing-based defenses are the standard first-line response to adversarial attacks on edge vision systems, requiring no retraining, no architectural changes, and widely recommended as model-agnostic mitigations. Yet the foundational evaluations of these defenses were conducted on residual or Inception-class architectures, not on the depthwise-separable CNNs that dominate edge deployments. This untested assumption leaves a gap in the security evaluation literature. This paper closes that gap by evaluating six preprocessing defenses against adversarial perturbations across both architecture families. Across all perturbation levels and defenses tested, the two depthwise-separable architectures show consistently poor recovery while the residual architecture shows partial recovery; ablation results are consistent with an architectural rather than parametric explanation, though only three architectures and one attack family are evaluated. Crucially, this failure is not merely a negative result. The same output divergence that disqualifies preprocessing as a recovery mechanism reveals a detection opportunity: preprocessing consistently disrupts clean predictions while leaving adversarial predictions largely unchanged, an asymmetry that is directly measurable without retraining or architectural modification. We further show that standard image quality metrics are unreliable proxies for defense effectiveness, a methodological gap in current evaluation practice. A practitioner decision framework is provided for adversarially resilient edge vision deployment.

Keywords: Adversarial Robustness · FGSM Attack · Edge Vision Security · Preprocessing Defenses · Depthwise-Separable CNN · IoT Security · Adversarial Detection

1 Introduction

MobileNetV2 [1] and EfficientNetB0 [2] are the architectures of choice for edge vision inference, covering applications such as surveillance, biometric access

Accepted in the 8th International Conference on Machine Learning for Cyber Security 2026 1 control, embedded medical screening, and IoT nodes. Both offer accuracy-to-cost trade-offs that enable on-device inference on resource-constrained hardware [3], yet both remain fundamentally susceptible to adversarial examples: imperceptible perturbations that induce high-confidence misclassification, formalized through FGSM by Goodfellow et al. [4].

Preprocessing defenses, including Gaussian blurring, JPEG compression, bit-depth reduction, median filtering, and spatial resizing, are the standard first-line response. They require no architectural modification or retraining and are widely recommended as model-agnostic mitigations [5,6,7,8,9]. The foundational evaluations by Guo et al. [5] and the Feature Squeezing framework of Xu et al. [6] established this paradigm's legitimacy. Those studies, however, evaluated defenses on residual or Inception-class architectures. Whether their findings generalize to depthwise-separable CNNs has never been tested, which is a meaningful gap, because the architectures that carry the assumption are not the architectures being deployed.

This paper closes that gap. Across all six defenses and four perturbation magnitudes, defense success stays below operationally useful levels on both depthwise-separable architectures, while the residual architecture shows partial recovery. Because FGSM is the weakest adversary in the threat landscape, failure here is a conservative lower bound, meaning any stronger attacker yields strictly worse outcomes. The result implies that edge vision systems relying on preprocessing as their primary defense are effectively unprotected.

This failure, however, enables a complementary finding. The output divergence that disqualifies preprocessing as a recovery mechanism constitutes a consistent detection signal. Preprocessing disrupts model outputs on clean inputs substantially while leaving adversarial outputs largely unchanged, an asymmetric response that is directly measurable and exploitable without retraining. We propose redeploying preprocessing from recovery to detection mode, grounded in the empirical evidence from this study and building on the Feature Squeezing detection principle [6].

The contributions are: (1) creating a systematic evaluation of preprocessing defense failure on MobileNetV2 and EfficientNetB0, with architectural causation confirmed via parameter ablation and cross-architecture transferability; (2) statistical disproof that PSNR and SSIM can proxy for defense effectiveness; (3) characterization of the output divergence asymmetry as a practical detection signal on depthwise-separable architectures; and (4) a practitioner decision framework with concrete, cited recommendations for adversarially resilient edge vision deployment.

The remainder of this paper is organized as follows. Section 2 reviews related work on adversarial attacks, preprocessing defenses, and architecture-dependent robustness. Section 3 formalizes the threat model and evaluation metrics. Section 4 describes the experimental setup, architectures, dataset, and defense configurations. Section 5 presents the experimental results across all architectures and defense methods. Section 6 interprets the findings and discusses the detec-

Accepted in the 8th International Conference on Machine Learning for Cyber Security 2026 2 tion proposal and its security implications. Section 7 outlines limitations and future work, and Section 8 concludes the paper.