Beware of Aliases - Signal Preservation is Crucial for Robust Image Restoration

Shashank Agnihotri, Julia Grabinski, Janis Keuper, Margret KeuperarXiv 2024 · DOI

Abstract

Current state-of-the-art image restoration models often achieve high performance on standard benchmarks but exhibit extreme brittleness when faced with adversarial noise. This vulnerability manifests as "spectral artifacts"—visible zebra stripes or grid patterns—caused by aliasing in standard downsampling and upsampling layers. We introduce BOA-Restormer, a model utilizing novel frequency-domain operations to eliminate aliasing. Our results on the GoPro deblurring dataset demonstrate that BOA-Restormer is significantly more robust to adversarial attacks, maintaining recognizable image quality where baseline models fail.

Introduction

In the pursuit of higher Peak Signal-to-Noise Ratio (PSNR), deep learning architectures for image restoration have largely ignored the Nyquist-Shannon sampling theorem. Standard operations like strided convolutions and transpose convolutions introduce aliasing by failing to properly filter high-frequency signals during resolution changes. While these artifacts are often hidden in clean data, white-box adversarial attacks (such as Projected Gradient Descent, PGD) act as a magnifying glass, exposing these underlying flaws. This lack of robustness is a major safety concern for real-world applications like medical imaging or autonomous driving.

Methodology: The BOA-Restormer Architecture

To address these issues, we propose BOA-Pooling (Beware of Aliases), a suite of signal-preserving operations integrated into the Restormer architecture.

The BOA-Restormer architecture utilizes FrequencyPreserved Pooling and FreqAvgUp upsampling to maintain signal integrity across the encoder-decoder bottleneck.

FrequencyPreservedPooling (FP)

Instead of traditional max or average pooling, FP transforms feature maps into the frequency domain using a Discrete Fourier Transform (DFT). It separates the signal into low-frequency and high-frequency components. A learnable parameter, $\alpha$, allows the network to dynamically balance these components, prioritizing stable low frequencies while preserving the high-frequency details necessary for sharp restoration.

FreqAvgUp and Symmetric Design

Symmetry between the encoder and decoder is critical. We introduce FreqAvgUp, a symmetric upsampling operation. By ensuring that the upsampling logic mirrors the downsampling logic, skip connections can effectively communicate feature information without re-introducing aliasing artifacts at the reconstruction stage.

Experimental Results

We evaluated our approach using the GoPro image deblurring dataset. The primary test of robustness involved a 10-iteration PGD adversarial attack designed to maximize restoration error.

Qualitative and quantitative comparison under adversarial attack. BOA-Restormer (bottom-right) avoids the severe spectral artifacts seen in baseline models like Restormer and FSNet.

As shown in the comparison above, the baseline Restormer model's performance collapses under attack, with PSNR dropping to 9.04 and the image becoming obscured by zebra-stripe artifacts. In contrast, BOA-Restormer maintains a PSNR of 18.91, producing a much cleaner and more recognizable output. While there is a slight trade-off in performance on perfectly clean images (26.99 PSNR for BOA-Restormer vs. 31.99 for baseline), the gain in reliability is substantial.

Conclusion

The "PSNR paradox" suggests that high scores on clean data can provide a false sense of security. Robustness in image restoration requires a fundamental shift toward alias-free signal processing. By incorporating frequency-domain awareness, BOA-Restormer demonstrates that models can be made resilient to adversarial perturbations, paving the way for more dependable AI in sensitive visual tasks.

Summary updated

BibTeX
@misc{agnihotri2024beware,
  author = {Shashank Agnihotri and Julia Grabinski and Janis Keuper and Margret Keuper},
  title = {{Beware of Aliases - Signal Preservation is Crucial for Robust Image Restoration}},
  year = {2024},
  eprint = {2406.07435},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.07435},
}
Figure