RobustSAM: Segment Anything Robustly on Degraded Images
Wei-Ting Chen, Yu-Jiet Vong, Sy-Yen Kuo, Sizhuo Ma, Jian Wang
TL;DR
RobustSAM addresses the degraded-image performance gap of SAM by adding lightweight, degradation-robustification modules that preserve zero-shot capabilities. It introduces Anti-Degradation Mask Feature Generation (AMFG), Anti-Degradation Output Token Generation (AOTG), and a Robust Output Token (ROT), trained with degradation-augmented data and consistency losses to align degraded outputs with clean references. A large Robust-Seg dataset (688K image-mask pairs across 15 synthetic degradations) supports training and evaluation, enabling robust zero-shot segmentation across diverse conditions. Experiments show RobustSAM not only improves segmentation under degradation but also enhances SAM-based downstream tasks such as dehazing and deblurring, offering a practical, efficient path to real-world deployment.
Abstract
Segment Anything Model (SAM) has emerged as a transformative approach in image segmentation, acclaimed for its robust zero-shot segmentation capabilities and flexible prompting system. Nonetheless, its performance is challenged by images with degraded quality. Addressing this limitation, we propose the Robust Segment Anything Model (RobustSAM), which enhances SAM's performance on low-quality images while preserving its promptability and zero-shot generalization. Our method leverages the pre-trained SAM model with only marginal parameter increments and computational requirements. The additional parameters of RobustSAM can be optimized within 30 hours on eight GPUs, demonstrating its feasibility and practicality for typical research laboratories. We also introduce the Robust-Seg dataset, a collection of 688K image-mask pairs with different degradations designed to train and evaluate our model optimally. Extensive experiments across various segmentation tasks and datasets confirm RobustSAM's superior performance, especially under zero-shot conditions, underscoring its potential for extensive real-world application. Additionally, our method has been shown to effectively improve the performance of SAM-based downstream tasks such as single image dehazing and deblurring.
