Abstract
Deep neural networks (DNN)-based machine learning (ML) algorithms have recently emerged as the leading ML paradigm particularly for the task of classification due to their superior capability of learning efficiently from large datasets. The discovery of a number of well-known attacks such as dataset poisoning, adversarial examples, and network manipulation has, however, put the spotlight squarely on the lack of security in DNN-based ML systems. In particular, malicious actors can use these attacks to cause random/targeted misclassification by manipulating environmental parameters, inference data, or the data acquisition block. Most prior adversarial attacks have not accounted for the pre-processing noise filters commonly integrated with the ML-inference module. This work demonstrates that these noise filters can render ineffective the majority of existing attacks. We propose a novel pre-processing noise Filter-aware Adversarial ML attack called FAdeML. Using the VGGNet DNN trained for the German Traffic Sign Recognition Benchmarks (GTSRB) dataset, we show that FAdeML can cause misclassification even in the presence of pre-processing noise filters without introducing visual noise.
Introduction: The Vulnerability of Real-World ML Pipelines
Deep Learning models are notoriously vulnerable to "adversarial examples"—input data modified by tiny, invisible perturbations that cause the model to misclassify. However, most research in this field assumes a "clean" path from the attacker to the model. In practice, production ML systems—especially those in autonomous vehicles or IoT devices—use pre-processing blocks to clean data before it reaches the neural network.
These blocks often include noise filters (like local averaging) to improve image quality. A significant gap exists: these common filters often inadvertently "neutralize" standard adversarial attacks by washing away carefully crafted high-frequency noise. This paper investigates whether an attacker, aware of these filters, can design an attack that survives them.
Methods: Evaluating Filter Resilience
The authors approached the problem in two stages: vulnerability analysis of existing attacks and the development of a new filter-aware methodology.
Threat Models
They evaluated three "Threat Models" to represent different real-world scenarios:
- Threat Model I: The attacker has access to the filter's output.
- Threat Model II: The attacker perturbs the raw data before it enters an integrated pre-processing/inference IP.
- Threat Model III: The attacker perturbs the physical environment/data acquisition before any processing.
The FAdeML Attack
Standard attacks like L-BFGS, FGSM, and BIM were tested against two smoothing filters: LAP (Local Average with neighborhood Pixels) and LAR (Local Average with Radius). Finding these attacks lacking, the authors proposed Filter-aware Adversarial ML (FAdeML). Unlike standard attacks that optimize noise based solely on the model's output, FAdeML incorporates a cost function that accounts for the mathematical transformation of the pre-processing filter. By calculating the gradient of this cost function with respect to the noise, the attack "learns" to bypass the filter's smoothing effect.
Datasets and Experimental Setup
The study utilized the German Traffic Sign Recognition Benchmarks (GTSRB), containing over 39,000 images across 43 classes. The target model was a VGGNet architecture consisting of 5 convolutional layers and 1 fully connected layer.
Key Insights: Smoothing as an Accidental Defense
- Effectiveness of Low-Pass Filters: Simple filters (LAP and LAR) are surprisingly effective at neutralizing gradient-descent-based attacks. These attacks rely on "sudden changes" in pixel values, which smoothing filters are specifically designed to remove.
- The Filtering "Sweet Spot": There is a threshold for filtering strength. For instance, a neighborhood of 32 pixels (np=32) for LAP filters maintained high model accuracy while effectively neutralizing standard attacks. Beyond this, images became too blurry, degrading clean model performance.
- The Danger of Filter-Awareness: If an attacker can model the pre-processing stage, "security through obscurity" fails. FAdeML demonstrates that incorporating the filter's transformation into the optimization loop makes the noise "filter-resistant."
Key Results
- Neutralization of Standard Attacks: In Threat Models II and III, standard attacks like FGSM and BIM were almost entirely neutralized. The model correctly identified signs, albeit with slightly lower confidence.
- FAdeML Success: The proposed FAdeML attack successfully forced targeted misclassifications (e.g., a "Stop" sign misclassified as "60km/h") even with active filters.
- Visual Stealth: FAdeML maintained "invisibility" to the human eye, achieving its goals without perceptible visual noise.
- System Robustness: While standard attacks saw effectiveness drop by nearly 100% under filtering, FAdeML maintained its ability to fool the network while keeping the overall top-5 accuracy of the system high for non-targeted images.
Conclusion and Future Work
The primary limitation is that FAdeML assumes "white-box" or "grey-box" knowledge of the filter type and parameters. If pre-processing steps are unknown or highly non-linear, optimization becomes significantly harder.
Future research should focus on developing complex, non-linear pre-processing defenses that are difficult to model. Furthermore, the ML security community must move beyond testing attacks on "raw" models and consider the entire end-to-end hardware/software pipeline, including data acquisition and pre-processing stages.
Summary updated