Abstract
In this work, we focus on a very practical problem: image segmentation under rain conditions. Image deraining is a classic low-level restoration task, while image segmentation is a typical high-level understanding task. Most of the existing methods intuitively employ the bottom-up paradigm by taking deraining as a preprocessing step for subsequent segmentation. However, our statistical analysis indicates that not only deraining would benefit segmentation (bottom-up), but also segmentation would further improve deraining performance (top-down) in turn. This motivates us to solve the rainy image segmentation task within a novel top-down and bottom-up unified paradigm, in which two sub-tasks are alternatively performed and collaborated with each other. Specifically, the bottom-up procedure yields both clearer images and rain-robust features from both image and feature domains, so as to ease the segmentation ambiguity caused by rain streaks. The top-down procedure adopts semantics to adaptively guide the restoration for different contents via a novel multi-path semantic attentive module (SAM). Thus the deraining and segmentation could boost the performance of each other cooperatively and progressively. Extensive experiments and ablations demonstrate that the proposed method outperforms the state-of-the-art on rainy image segmentation.
Introduction
Computer vision systems often struggle in adverse weather. Specifically, image segmentation—the task of labeling every pixel in an image (e.g., "road," "car," "tree")—degrades significantly under rain. Traditionally, researchers treat this as a linear pipeline: first, "derain" the image (bottom-up restoration), then pass the result to a segmentation model.
However, this unidirectional approach has flaws. Low-level restoration can accidentally smooth out important semantic details, and the segmentation model remains "blind" to the underlying structures that a restoration model might struggle to recover. The authors ask: What if the segmentation map could tell the derainer how to do a better job? By closing the loop between low-level restoration and high-level understanding, the proposed framework iteratively improves both the visual quality of rainy images and the accuracy of their segmentation masks.
Methodology
The authors propose the Unified Bidirectional Cooperation Network (UBCN), which consists of two main streams working in an iterative loop:
- Bottom-Up Stream (Restoration → Segmentation):
- Image-level Deraining: A standard residual-based module to clean the image.
- Feature-level Adaptation: Instead of just cleaning pixels, the model uses a "Feature-level Adaptation Module" to ensure that the internal features extracted from a rainy image match the features of a clean image. This makes the segmentation head more robust to residual rain streaks.
- Top-Down Stream (Segmentation → Restoration):
- Semantic Attentive Module (SAM): This module uses the predicted segmentation mask to guide the deraining process. Since different objects (like a porous "fence" vs. a smooth "road") have different textures and "intrinsic dimensions," they require different restoration strategies. SAM applies category-specific attention to adaptively refine the image.
The system is iterative. The output of one cycle (a cleaner image and a better mask) is fed back into the next, progressively refining both until they converge. Statistical analysis showed that deraining performance is inversely proportional to the semantic complexity (entropy) of a category, justifying the need for this category-aware restoration.
Experimental Results
The researchers evaluated their model on Cityscapes and VOC2012 (modified with simulated rain) and real-world rainy images. The UBCN model consistently outperformed state-of-the-art (SOTA) methods in both tasks:
- Segmentation: On the Cityscapes dataset, UBCN achieved a 77.09% mIoU (mean Intersection over Union), significantly higher than using SOTA derainers like RCDNet (76.13%) or PReNet (75.03%) as pre-processors.
- Restoration: The model achieved a 43.22 dB PSNR on Cityscapes, proving that semantic guidance actually makes the images cleaner than restoration-only models.
- Iterative Gains: Quantitative results showed that performance jumped significantly between Step 1 and Step n of the iteration, validating the "loop" concept.
Conclusion
UBCN demonstrates that a unified bidirectional approach effectively bridges the gap between low-level vision and high-level understanding. While the model performs exceptionally well on simulated data, future work will focus on unsupervised domain adaptation to bridge the gap between synthetic training rain and real-world weather conditions, as well as optimizing computational overhead for real-time applications like autonomous driving.
Summary updated