PIG: Prompt Images Guidance for Night-Time Scene Parsing
Zhifeng Xie, Rui Qiu, Sen Wang, Xin Tan, Yuan Xie, Lizhuang Ma
TL;DR
Prompt Images Guidance (PIG) addresses the scarcity of labeled night-time data by coupling a Night-Focused Network (NFNet) with unsupervised domain adaptation (UDA) and a pseudo-label fusion mechanism guided by domain similarity using LPIPS. The method introduces two data augmentations, Prompt Mixture Strategy (PMS) and Alternate Mask Strategy (AMS), to learn from a small set of night-time prompts while avoiding overfitting. PDSG (pseudo-label fusion via domain similarity guidance) blends predictions from UDA and NFNet to produce high-quality pseudo-labels that supervise both networks, yielding substantial gains on NightCity, NightCity+, Dark Zurich, and ACDC without requiring paired day-night data. Empirical results demonstrate that PIG consistently improves strong UDA baselines, validating the efficacy of class-wise fusion and prompt-based night knowledge for robust cross-domain night-time scene understanding.
Abstract
Night-time scene parsing aims to extract pixel-level semantic information in night images, aiding downstream tasks in understanding scene object distribution. Due to limited labeled night image datasets, unsupervised domain adaptation (UDA) has become the predominant method for studying night scenes. UDA typically relies on paired day-night image pairs to guide adaptation, but this approach hampers dataset construction and restricts generalization across night scenes in different datasets. Moreover, UDA, focusing on network architecture and training strategies, faces difficulties in handling classes with few domain similarities. In this paper, we leverage Prompt Images Guidance (PIG) to enhance UDA with supplementary night knowledge. We propose a Night-Focused Network (NFNet) to learn night-specific features from both target domain images and prompt images. To generate high-quality pseudo-labels, we propose Pseudo-label Fusion via Domain Similarity Guidance (FDSG). Classes with fewer domain similarities are predicted by NFNet, which excels in parsing night features, while classes with more domain similarities are predicted by UDA, which has rich labeled semantics. Additionally, we propose two data augmentation strategies: the Prompt Mixture Strategy (PMS) and the Alternate Mask Strategy (AMS), aimed at mitigating the overfitting of the NFNet to a few prompt images. We conduct extensive experiments on four night-time datasets: NightCity, NightCity+, Dark Zurich, and ACDC. The results indicate that utilizing PIG can enhance the parsing accuracy of UDA.
