PNRG: Black-Box Backdoor Detection for Text-to-Image Diffusion Models via Prompt-Null Reconstruction Gap
Zimo YuBingzheng WangXiaoyan GuRong YinYanwei LiuShan AnWeiping Wang
Dec 2026
Artificial IntelligenceComputer Vision
Abstract
Backdoor detection for text-to-image (T2I) diffusion models remains difficult in black-box settings because internal generation signals are inaccessible. Existing output-level detectors rely on image similarity or semantic deviation, but unconstrained generation mixes backdoor effects with sampling randomness and benign semantic variation, often obscuring localized or concept-level abnormal responses. To address this problem, we propose Prompt-Null Reconstruction Gap (PNRG), a black-box detector based on controlled prompt-null comparison. In classifier-free guidance, the difference between prompt-conditioned and null-conditioned noise predictions reflects ordinary semantics and can also carry a trigger-induced response. This motivates limiting ordinary variation to make trigger-related changes easier to observe. PNRG probes this internal response by reconstructing a shared visual anchor with the candidate prompt and the null condition under matched settings. PNRG constructs the anchor by applying mosaic degradation to a reference image generated from the candidate prompt. The mosaic retains coarse scene structure while reducing the high-frequency detail available during reconstruction. On benign prompts, it reduces variation across repeated reconstructions and narrows the gap between the candidate and null branches. Mechanism analysis shows a strong correspondence between the PNRG score and the internal residual statistic. Experiments across multiple attack settings show that PNRG achieves 93.2% average detection accuracy, 18.4 percentage points above the strongest evaluated black-box baseline (74.8%).
It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.
This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.
F. Xia, Amir Zamir, Zhi-Yang He et al.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.
P. Abrahamsson, O. Salo, Jussi Ronkainen et al.· arXiv.org· 727 citations· ⚡54
The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.
M. Pikkarainen, Jukka Haikara, O. Salo et al.· Empirical Software Engineeri...· 401 citations· ⚡48
The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.
Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al.· Information and Software Tec...· 394 citations· ⚡54
Known for his clear and elegant writing style, Bertsekas shaped fields from control and optimization to large-scale computation and artificial intelligence.