Skip to content
AI News HubLIVE
Original source2 min read

Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers

Summary

Researchers propose TRIM (Trigger Removal by Identifying Manipulated Regions), a deployment-oriented black-box defense that detects and removes backdoor triggers at inference time without model internals, training data, or clean samples. Experiments show TRIM reduces attack success rate to as low as 1.16% while preserving clean accuracy of up to 87.87%.

SourcearXiv Computer VisionAuthor: Ahmed Abdelnaby, Mohamed Elmahallawy
Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions
Read article

[Submitted on 2 Sep 2026]

Title:Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers

View a PDF of the paper titled Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers, by Ahmed Abdelnaby and 1 other authors

View PDF HTML (experimental)

Abstract:Deep neural networks (DNNs) are increasingly deployed in real-world vision systems, yet their predictions can be covertly manipulated by backdoor attacks, in which malicious triggers cause targeted misclassification while preserving high clean accuracy. Existing defenses often rely on model internals, training data, or clean validation samples, making them difficult to deploy when only black-box access to a trained model is available. We propose TRIM (Trigger Removal by Identifying Manipulated Regions), a deployment-oriented black-box defense that detects and selectively removes backdoor triggers at inference time without requiring model internals, training data, or clean samples. The key insight behind TRIM is to identify image regions that are responsible for anomalous model behavior and purify only those regions while preserving benign content. TRIM innovates via three key components: (i) region-based segmentation with deep feature representations, (ii) adaptive trigger discovery through inpainting and diffusion-based reconstruction to isolate regions responsible for misclassification---without assumptions about trigger type, shape, or location, and (iii) selective region purification that cleans poisoned regions while retaining benign content. To support practical deployment, TRIM further caches feature embeddings of previously identified triggers, enabling efficient recognition and avoiding redundant detection and purification. Extensive experiments across diverse datasets and backdoor types, including blended, sparse, varying-size, and multiple triggers, show that TRIM consistently outperforms existing black-box defenses, reducing attack success rates (ASR) to as low as 1.16% while preserving clean accuracy of up to 87.87%. These results demonstrate that effective backdoor mitigation is possible at inference time even when the defender has no access to any auxiliary data.

Subjects:

Computer Vision and Pattern Recognition (cs.CV); Cryptography and Security (cs.CR)

Cite as: arXiv:2609.03139 [cs.CV]

(or arXiv:2609.03139v1 [cs.CV] for this version)

https://doi.org/10.48550/arXiv.2609.03139

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Mohamed Elmahallawy [view email] [v1] Wed, 2 Sep 2026 20:24:25 UTC (21,073 KB)

Full-text links:

Access Paper:

View a PDF of the paper titled Beyond Small Patches: Black-Box Detection and Purification of Diverse Backdoor Triggers, by Ahmed Abdelnaby and 1 other authors

View PDF

HTML (experimental)

TeX Source

view license

Current browse context:

cs.CV

new | recent | 2026-09

Change to browse by:

cs cs.CR

References & Citations

NASA ADS

Google Scholar

Semantic Scholar

Loading...

Data provided by:

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

About arXivLabs

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Key points and analysis

Article intelligence

EngineersAdvanced

Key points

  • TRIM is a black-box defense that purifies backdoor triggers during inference without auxiliary data or model access.
  • It uses three components: region segmentation with deep features, adaptive trigger discovery via inpainting and diffusion, and selective region purification.
  • Feature caching accelerates recognition of previously seen triggers, avoiding redundant computation.
  • TRIM outperforms existing black-box defenses across blended, sparse, varying-size, and multiple trigger attacks.

Highlights and analysis are generated automatically and may contain errors. Check the original source.