Efficient Input-Level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation

Sheng-Fang Zhai, Jia-Jun Li, Yue Liu, Huan-Ran Chen, Zhi-Hua Tian +5 more
3/1/2025
11 citations
diffusion-flow

No official code found. Best implementation: zhaisf/NaviT2I (10 stars, Apache-2.0, last commit 2026-03-30).

Abstract

In recent years, text-to-image (T2I) diffusion models have gained significant attention for their ability to generate highquality images reflecting text prompts. However, their growing popularity has also led to the emergence of backdoor threats, posing substantial risks.

Show full abstract

Currently, effective defense strategies against such threats are lacking due to the diversity of backdoor targets in T2I synthesis. In this paper, we propose NaviT2I, an efficient input-level backdoor defense framework against diverse T2I backdoors. Our approach is based on the new observation that trigger tokens tend to induce significant neuron activation variation in the early stage of the diffusion generation process, a phenomenon we term Early-step Activation Variation. Leveraging this insight, NaviT2I navigates T2I models to prevent malicious inputs by analyzing Neuron activation variations caused by input tokens. Extensive experiments show that NaviT2I significantly outperforms the baselines in both effectiveness and efficiency across diverse datasets, various T2I backdoors, and different model architectures including UNet and DiT. Furthermore, we show that our method remains effective under potential adaptive attacks.11Our code will be released at: https://github.com/zhaisf/NaviT2I.

View on arXivView PDF

Code Implementations(1)

zhaisf/NaviT2ICommunity69%
Apache-2.0

[ICCV'2025 Highlight] Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation

101Jul 28, 20258 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhai2025efficient,
  title  = {Efficient Input-Level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation},
  author = {Sheng-Fang Zhai and Jia-Jun Li and Yue Liu and Huan-Ran Chen and Zhi-Hua Tian and Wen-Jie Qu and Qing-Ni Shen and Ruoxi Jia and Yin-Peng Dong and Jia-Heng Zhang},
  year   = {2025},
  eprint = {2503.06453},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2503.06453},
  journal = {IEEE International Conference on Computer Vision}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.06453.svg)](https://codeofpaper.com/paper/2503.06453)

Discussion