[Paper Review] Model Agnostic Defence against Backdoor Attacks in Machine Learning
NEO is a model-agnostic, blackbox defense framework that detects and mitigates backdoor attacks in image classification models by locating and neutralizing backdoor triggers through systematic trigger masking and reconstruction. It achieves 88% average detection rate with 4.4 ms inference time per image and outperforms state-of-the-art whitebox defenses despite no access to model weights or training data.
Machine Learning (ML) has automated a multitude of our day-to-day decision making domains such as education, employment and driving automation. The continued success of ML largely depends on our ability to trust the model we are using. Recently, a new class of attacks called Backdoor Attacks have been developed. These attacks undermine the user's trust in ML models. In this work, we present NEO, a model agnostic framework to detect and mitigate such backdoor attacks in image classification ML models. For a given image classification model, our approach analyses the inputs it receives and determines if the model is backdoored. In addition to this feature, we also mitigate these attacks by determining the correct predictions of the poisoned images. An appealing feature of NEO is that it can, for the first time, isolate and reconstruct the backdoor trigger. NEO is also the first defence methodology, to the best of our knowledge that is completely blackbox. We have implemented NEO and evaluated it against three state of the art poisoned models. These models include highly critical applications such as traffic sign detection (USTS) and facial detection. In our evaluation, we show that NEO can detect $\approx$88% of the poisoned inputs on average and it is as fast as 4.4 ms per input image. We also reconstruct the poisoned input for the user to effectively test their systems.
Motivation & Objective
- Address the growing threat of backdoor attacks in machine learning, especially in third-party ML-as-a-service deployments where model trustworthiness is compromised.
- Develop a defense mechanism that does not require access to model architecture, weights, or training data—enabling blackbox deployment.
- Detect backdoor triggers in poisoned inputs and reconstruct them for user inspection, thereby exposing the stealthy nature of such attacks.
- Provide a mitigation strategy that restores correct predictions for poisoned inputs by neutralizing the trigger.
- Outperform existing state-of-the-art defenses, including whitebox techniques, despite being a blackbox solution.
Proposed method
- Systematically mask candidate regions in input images to identify the location of the backdoor trigger by observing changes in model predictions.
- Use the dominant color in the detected trigger region to generate a mask that neutralizes the trigger’s influence on the model’s output.
- Apply a threshold-based decision rule (ΛT) to determine whether a masked region indicates a backdoor trigger based on prediction shifts across clean inputs.
- Reconstruct the original backdoor trigger pattern from the masked region for user transparency and system improvement.
- Operate as a post-inference module alongside any pre-trained image classifier without modifying the model or its training process.
- Leverage a stream of clean inputs to verify whether a suspected trigger causes misclassification, confirming backdoor presence via majority prediction shift.
Experimental results
Research questions
- RQ1Can a blackbox, model-agnostic approach detect backdoor triggers in image classifiers without access to training data or model parameters?
- RQ2How effective is trigger masking in restoring correct predictions for poisoned inputs while preserving baseline accuracy?
- RQ3Can the framework reconstruct the exact backdoor trigger pattern for user inspection and model hardening?
- RQ4How does NEO’s detection and mitigation performance compare to state-of-the-art whitebox defenses in terms of accuracy and robustness?
- RQ5To what extent does NEO remain effective against diverse, state-of-the-art backdoor attack variants?
Key findings
- NEO achieves an average detection rate of 88% across three state-of-the-art poisoned models, demonstrating strong detection capability.
- The framework processes each input in just 4.4 ms on average, indicating high efficiency suitable for real-time deployment.
- Despite being a blackbox approach, NEO outperforms existing whitebox defenses in thwarting backdoor attacks, particularly in detection accuracy.
- NEO successfully reconstructs the exact backdoor trigger pattern, enabling users to inspect and remediate the root cause of poisoning.
- The method maintains minimal performance loss on clean inputs, preserving baseline accuracy while mitigating malicious behavior.
- NEO is effective against a wide range of backdoor attacks, including those with localized, fixed-position triggers, though it does not defend against distributed triggers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.