TL;DR
This paper introduces BadRefSR, a novel framework for backdoor attacks specifically targeting Reference-based Image Super-Resolution (RefSR) models. By embedding triggers in the reference images, BadRefSR demonstrates that RefSR models can be compromised to produce attacker-specified outputs on triggered inputs while maintaining normal performance on clean inputs, highlighting a significant security vulnerability.
What Problem Does This Paper Address?
Single-Image Super-Resolution (SISR) aims to enhance the resolution of a single low-resolution (LR) image. Reference-based Super-Resolution (RefSR) takes this a step further by utilizing an additional reference (Ref) image to transfer textures and details, leading to more natural and high-quality super-resolved images. While RefSR has broad applications, its security vulnerabilities, particularly to backdoor attacks, have been largely unexplored. Backdoor attacks involve subtly poisoning a model during training so that it behaves normally on clean inputs but produces malicious outputs when presented with specific "trigger" patterns. This paper addresses the gap in understanding and demonstrating backdoor attack risks in the context of RefSR, where the challenge lies in how to effectively embed triggers within the reference image.
Methods
The authors propose a novel attack framework called BadRefSR. The core idea is to inject backdoor triggers into the reference images rather than the low-resolution input images, which is a departure from previous backdoor attack methods.
The BadRefSR framework involves two main phases:
- Training Phase:
- Triggers are added to a subset of reference images.
- The ground truth images for these triggered pairs are replaced with an attacker-specified "backdoor target image."
- The RefSR model is then trained using a mixed loss function that combines:
- A loss for clean inputs, aiming to preserve normal super-resolution functionality (using reconstruction and perceptual losses).
- A loss for triggered inputs, aiming to achieve the backdoor objective (outputting the target image).
- This training process is designed to be consistent with a threat model where the attacker only controls the training data, not the training process itself.
- Inference Phase:
- When presented with clean LR and Ref images, the compromised RefSR model outputs a normal high-resolution (HR) image.
- When presented with a clean LR image and a triggered Ref image, the model outputs the attacker-specified backdoor target image.
The paper also explores six existing backdoor triggers (Badnet, Blend, Filter, Color, Wanet, Refool) and adapts them for use with reference images.
Datasets
- Training Dataset: CUFED dataset (11,871 pairs of original HR images and corresponding Ref images).
- Test Datasets:
- CUFED5 (126 test pairs with varying levels of Ref image similarity).
- Urban100 (100 HR images).
- Manga109 (109 manga images).
For Urban100 and Manga109, the images themselves were used as reference images.
Key Insights and Ideas
- Triggering the Reference Image is Effective: The most significant insight is that backdoor triggers can be successfully embedded into the reference image of an RefSR model, rather than the primary LR input. This opens up a new attack vector for RefSR systems.
- Stealthiness of the Attack: The proposed method is designed to be discreet. The triggered reference images are made to resemble clean reference images, and in practical applications, users often focus on the super-resolved output of the LR image, overlooking subtle changes in the reference image. This makes manual detection more difficult.
- Functionality Preservation: BadRefSR effectively balances attack effectiveness with the preservation of the model's original functionality. The compromised models perform normally on clean inputs, making the backdoor harder to detect during routine use.
- Robustness to Poisoning Rate: The attack remains effective even at low poisoning rates (the percentage of poisoned data in the training set), and the model's original functionality is well-preserved even at high poisoning rates.
- Filter Trigger's Superiority: Among the tested triggers, the "Filter" trigger demonstrated a good balance between attack effectiveness and preserving original performance, making it a strong candidate for BadRefSR.
Key Results
- Attack Effectiveness: Most of the tested backdoor triggers successfully compromised the RefSR models (TTSR and MASA-SR) at a 20% poisoning rate, producing attacker-specified target images.
- Model Performance: The MASA-SR model generally showed better performance under attack compared to the TTSR model.
- Filter Trigger Performance: The Filter trigger achieved high attack effectiveness while maintaining good performance on clean inputs.
- Color Trigger Failure: The Color trigger showed poor backdoor attack performance on the MASA-SR model, potentially due to the model's data augmentation techniques that involve color transformations.
- Varying Poisoning Rates: Experiments showed that as the poisoning rate increased, the effectiveness of the backdoor attack improved, while the baseline super-resolution performance slightly deteriorated. Even a 10% poisoning rate was sufficient to backdoor the MASA-SR model.
- Visual Examples: Qualitative results showed that as the poisoning rate increased, the output images on triggered inputs became progressively more similar to the target images, eventually becoming imperceptible to the human eye.
Limitations and Future Work
- Limitations:
- The paper notes that the Color trigger failed on the MASA-SR model, possibly due to its data augmentation. This suggests that the effectiveness of certain triggers might be model-dependent.
- While the attack is stealthy, the paper doesn't quantify the degree of stealthiness beyond qualitative observations and the fact that users focus on the LR output.
- Future Work: The authors aim to further enhance their understanding and develop defense capabilities against backdoor attacks in RefSR and similar tasks like reference-based image style transfer and denoising.
Summary updated