Organizations: School of Computer Science and Engineering, University of Electronic Science and Technology of China, China · School of Computer Science and Cyber Security, Chengdu University of Technology, China · City University of Hong Kong, Hong Kong · School of Computer Science and Engineering, Nanyang Technological University, Singapore · Faculty of Computer Science, University of New Brunswick, Fredericton, NB, Canada E3B 5A3
With the rapid development of deep learning technology, deep learning-based Image-to-Image (I2I) networks have become the predominant choice for I2I tasks like image super-resolution and denoising. Despite their remarkable performance, the security of I2I networks has not been thoroughly investigated. While some studies have probed their susceptibility to adversarial attacks, none have explored the backdoor attack against I2I networks, which is a more stealthy and severe threat. In this work, for the first time, we comprehensively investigate the vulnerability of I2I networks to backdoor attacks. We propose a backdoor attack against I2I tasks, where the backdoored I2I network behaves normally on clean input images, yet outputs a specific inappropriate image when the backdoor trigger appears on the input image. To achieve such an I2I backdoor attack, we design a universal adversarial perturbation (UAP) generation algorithm for I2I networks, where the generated UAP is used as the trigger for the I2I backdoor. Besides, multi-task learning (MTL) with dynamic weighting methods is employed in the backdoor training process to gain better results. Expanding our focus beyond I2I tasks, we extend our I2I backdoor to attack downstream tasks, including image classification and object detection. Specifically, the backdoor-triggered image processed by the backdoored image denoising network can fool the downstream image classifiers and object detectors. Extensive experiments demonstrate the effectiveness of the I2I backdoor on state-of-the-art I2I network architectures as well as the robustness against different backdoor defenses.
Figures & tables
Fig. 1: I2I backdoor attack against I2I tasks.
Fig. 2: I2I backdoor attack against downstream tasks.
Fig. 3: The workflow of I2I backdoor attack.
Notations
Description
Xn
the normal input image
Xb
the triggered input image
Yn
the normal target image
Yb
the backdoor target image
t
trigger for the I2I task
F
the targeted I2I model
TABLE I: Notations and description
Fig. 4: Visual examples of input noisy images with/without trigger.
Architecture
MTL
SSIM *
Trigger type
method
None
Gaussian
Color
Filter
Patch
Blend
Refool
UAP
DPIR
SW
Normal.
0.8936
0.8690
0.8872
0.7816
0.7440
0.8914
0.8948
0.8961
Effect.
\
0.9949
0.9964
0.8723
0.9992
0.9437
0.9938
0.9936
Total
\
1.8649
1.8836
1.6539
1.7432
1.8351
1.8886
1.8897
DWA
Normal.
\
0.8660
0.7062
0.6351
0.7110
0.8766
0.8170
0.8855
Effect.
\
0.9939
0.9786
0.8675
0.9995
0.9925
0.9158
0.9841
TABLE II: The performance of I2I backdoor with different triggers and MTL methods on image denoising task.
Architecture
MTL
SSIM *
Trigger type
method
None
Gaussian
Color
Filter
Patch
Blend
Refool
UAP
DPIR
SW
Normal.
0.8381
0.7915
0.7812
0.6328
0.7320
0.7259
0.7531
0.7920
Effect.
\
0.9475
0.4166
0.5466
0.9864
0.9618
0.6862
0.9631
Total
\
1.7390
1.1978
1.1794
1.7184
1.6877
1.4393
1.7551
DWA
Normal.
\
0.7884
0.5442
0.6739
0.7937
0.7641
0.7517
0.7866
Effect.
\
0.9954
0.7099
0.5146
0.6529
0.8448
0.8982
0.9763
TABLE III: The performance of I2I backdoor with different triggers and MTL methods on image super-resolution task.
DPIR
SCUNet
MPRNet
MIRNet
ESRGAN
18.08
49.54
52.22
128.13
57.64
TABLE IV: Computational overhead (s) for the UAP trigger generation.
TABLE V: Computational overhead (s) for different MTL methods (1 epoch).
Task
Architecture
Clean model
Backdoor model
Normal.
Effect.
Normal.
Effect.
Denoise
DPIR
0.0217
\
0.0228
0.0029
SCUNet
0.0261
\
0.0270
0.0070
MPRNet
0.0289
\
0.0295
0.0066
MIRNet
0.0252
\
0.0258
0.0019
ESRGAN
0.0318
\
0.0335
0.0025
TABLE VI: The attack performance of I2I backdoor with the perceptual loss functions based on LPIPS metric.
Fig. 5: The attack performance under different weights.
Fig. 6: The convergence rates of the training loss with different MTL methods.
TABLE VII: Stealthiness evaluation of different trigger types and testing datasets.
Fig. 7: The performance of I2I backdoor attack under bit depth reduction.
Fig. 8: The performance of I2I backdoor attack under image compression.
Epoch
SSIM
DPIR
SCUNet
MPRNet
MIRNet
ESRGAN
10
Normal.
0.8939
0.8855
0.9145
0.9049
0.9038
Effect.
0.9990
0.9989
0.9995
0.9994
0.9978
20
Normal.
0.8935
0.8850
0.9156
0.9056
0.9039
Effect.
0.9991
0.9981
0.9994
0.9994
0.9987
30
Normal.
0.8940
0.8857
0.9162
0.9052
0.9036
Effect.
0.9987
0.9986
0.9992
0.9983
0.9983
TABLE VIII: Performance of I2I backdoor attack under model fine-tuning.
Fig. 9: Robustness of I2I backdoor under STRIP.
Upstream denoising model D
Downstream classification model
Denoised accuracy (%)
ASR (%)
Clean D
Backdoor D
Backdoor D
Clean img.
Clean img.
Backdoor img.
DPIR
ResNet50
72.08
71.48
72.48
VGG19
65.32
65.42
85.90
MobileNetV2
64.40
64.68
74.90
SCUNet
ResNet50
71.72
71.56
72.64
TABLE IX: The performance of I2I backdoor attack against downstream classification task (with the UAP against ResNet152 classifier).
Upstream denoising model D
Downstream detection model
mAP (%)
ASR (%)
Clean D
Backdoor D
Backdoor D
Clean img.
Clean img.
Backdoor img.
DPIR
MobileNetv2-YOLOv3
68.21
66.94
81.17
Darknet53-YOLOv3
78.05
76.31
78.45
EfficientNet-YOLOv3
76.01
73.42
68.02
SCUNet
MobileNetv2-YOLOv3
69.55
67.87
80.58
TABLE X: The performance of I2I backdoor attack against downstream detection task (with the UAP against MobileNetv1-YOLOv3).
Upstream denoising model D
Downstream classification model
ASR (%)
Downstream detection model
ASR (%)
DPIR
ResNet50
38.55
MobileNetv2-YOLOv3
58.43
VGG19
46.18
Darknet53-YOLOv3
53.10
MobileNetV2
41.07
EfficientNet-YOLOv3
44.61
SCUNet
ResNet50
35.97
MobileNetv2-YOLOv3
59.01
VGG19
44.22
Darknet53-YOLOv3
52.30
MobileNetV2
39.46
EfficientNet-YOLOv3
44.99
TABLE XI: The performance of I2I backdoor attack against adversarially trained downstream models.
Fig. 10: I2I backdoor for image steganography.
Preprocessing method
SSIM
No preprocessing
0.9887
Image compression (100% → 80%)
0.9851
Image compression (100% → 60%)
0.9720
Image compression (100% → 40%)
0.9415
Bit depth reduction (8 → 6)
0.9878
Bit depth reduction (8 → 5)
0.9852
TABLE XII: The extraction accuracy of the image steganography scheme using I2I backdoor under different image preprocessing operations.
Backdoor attacks pose a critical threat to the security of deep neural networks, yet existing efforts on universal backdoors often rely on visually salient patterns, making them easier to detect and less practical at scale. In this work, we introduce a novel imperceptible universal backdoor attack that simultaneously controls all target classes with minimal poisoning while preserving stealth. Our key idea is to leverage graph convolutional networks (GCNs) to model inter-class relationships and generate class-specific perturbations that are both effective and visually invisible. The proposed framework optimizes a dual-objective loss that balances stealthiness (measured by perceptual similarity metrics such as PSNR) and attack success rate (ASR), enabling scalable, multi-target backdoor injection. Extensive experiments on ImageNet-1K with ResNet architectures demonstrate that our method achieves high ASR (up to 91.3%) under poisoning rates as low as 0.16%, while maintaining benign accuracy and evading state-of-the-art defenses. These results highlight the emerging risks of invisible universal backdoors and call for more robust detection and mitigation strategies.
Text-to-image (T2I) diffusion models have achieved remarkable success in image synthesis, but their reliance on large-scale data and open ecosystems introduces serious backdoor security risks. Existing defenses, particularly input-level methods, are more practical for deployment but often rely on observable anomalies that become unreliable under stealthy, semantics-preserving trigger designs. As modern backdoor attacks increasingly embed triggers into natural inputs, these methods degrade substantially, raising a critical question: can more stable, implicit, and trigger-agnostic differences between benign and backdoor inputs be exploited for detection? In this work, we address this challenge from an active probing perspective. We introduce controlled scaling perturbations on cross-attention and uncover a novel phenomenon termed Cross-Attention Scaling Response Divergence (CSRD), where benign and backdoor inputs exhibit systematically different response evolution patterns across denoising steps. Building on this insight, we propose SET, an input-level backdoor detection framework that constructs response-offset features under multi-scale perturbations and learns a compact benign response space from a small set of clean samples. Detection is then performed by measuring deviations from this learned space, without requiring prior knowledge of the attack or access to model training. Extensive experiments demonstrate that SET consistently outperforms existing baselines across diverse attack methods, trigger types, and model settings, with particularly strong gains under stealthy implicit-trigger scenarios. Overall, SET improves AUROC by 9.1% and ACC by 6.5% over the best baseline, highlighting its effectiveness and robustness for practical deployment.
Zida Li, Jun Li, Yuzhe Sha +3
Nanjing University of Information Science and Technology, Nanjing, China
Backdoor attacks pose a serious threat to the secure deployment of text-to-image (T2I) diffusion models. Existing defenses typically detect backdoors from specific abnormal patterns in internal representations, which may limit their generalizability with the emergence of increasingly diverse attack mechanisms. In this paper, we study backdoor defense of T2I diffusion models from a transition-dynamics perspective. We observe that benign diffusion trajectories exhibit structured and timestep-dependent transition patterns from cross-attention, latent and noise spaces, whereas backdoor attacks tend to induce deviations from such normal evolution. Motivated by these observations, we propose Normal Diffusion Dynamics Learning (NDDL), a novel backdoor defense framework that learns the normal transition dynamics of diffusion trajectories utilizing only benign samples. NDDL constructs compact multi-space trajectory representations and trains a timestep-conditioned dynamics model to predict the diffusion evolution. In the inference phase, deviations between the observed and predicted transitions are exploited to quantify dynamics inconsistency for backdoor detection. NDDL further enables trigger localization without any prior knowledge of the embedded backdoor by performing substitution with low-semantic words. Extensive experiments for diverse backdoor attacks demonstrate the effectiveness and generalizability of our proposed NDDL.
Junjian Li, Xiaolong Liu, Peng Sun +4
Geely · Hunan University · East China Normal University +3