Benchmarking Adversarial Robustness of Image Shadow Removal with Shadow-adaptive Attacks
Chong Wang, Yi Yu, Lanqing Guo, Bihan Wen
TL;DR
The paper tackles adversarial robustness in image shadow removal by introducing a shadow-adaptive adversarial attack that allocates perturbation budgets proportionally to pixel intensities to respect the illumination heterogeneity between shadow and non-shadow regions. It defines and analyzes the attack with per-pixel constraints, leveraging PGD and a normalization constraint, and proves an $ ext{L}_1$-norm equivalence between adaptive and uniform budgets via $\epsilon_u = \epsilon_a \bar{I}$. Through extensive experiments on ISTD and ISTD+ with five shadow-removal models, it demonstrates that the adaptive attack can degrade performance effectively while maintaining perturbation stealth, highlighting region-specific robustness differences and artifacts in some models. The work provides both theoretical and empirical benchmarks to guide the design of more robust shadow-removal methods in real-world scenarios where illumination varies spatially across images.
Abstract
Shadow removal is a task aimed at erasing regional shadows present in images and reinstating visually pleasing natural scenes with consistent illumination. While recent deep learning techniques have demonstrated impressive performance in image shadow removal, their robustness against adversarial attacks remains largely unexplored. Furthermore, many existing attack frameworks typically allocate a uniform budget for perturbations across the entire input image, which may not be suitable for attacking shadow images. This is primarily due to the unique characteristic of spatially varying illumination within shadow images. In this paper, we propose a novel approach, called shadow-adaptive adversarial attack. Different from standard adversarial attacks, our attack budget is adjusted based on the pixel intensity in different regions of shadow images. Consequently, the optimized adversarial noise in the shadowed regions becomes visually less perceptible while permitting a greater tolerance for perturbations in non-shadow regions. The proposed shadow-adaptive attacks naturally align with the varying illumination distribution in shadow images, resulting in perturbations that are less conspicuous. Building on this, we conduct a comprehensive empirical evaluation of existing shadow removal methods, subjecting them to various levels of attack on publicly available datasets.
