Manuscript Offprint

arXiv:2610.02051

Learning from Failure: Leveraging Unreliable Predictions in Semi-Supervised Real-World Adverse Weather Removal

Cap Dang Xuan Kiet, Tat-Jen Cham

ABSTRACT

Adverse weather image restoration aims to recover images degraded by rain, haze, snow, and other weather-induced artifacts, thereby improving the robustness of outdoor vision systems. Existing unified restoration models exhibit limited generalization to real-world scenes due to their reliance on synthetic supervision and insufficient semantic constraints. In this paper, we propose a novel student–teacher semi-supervised framework that addresses both challenges. Specifically, we introduce an unreliable database that preserves failed teacher predictions as informative negative samples for contrastive learning, while a reliable database stores high-quality teacher predictions as positive samples. By jointly exploiting reliable pseudo-ground truths and unreliable teacher outputs, the proposed framework learns to enhance desirable restoration characteristics while avoiding common failures. We further propose a phase spectrum-based semantic constraint that replaces computationally expensive text-based supervision with an efficient and naturally aligned semantic prior. An adaptive phase consistency loss is also designed to dynamically balance supervision between the degraded input and teacher pseudo-ground truths according to degradation severity. Extensive experiments on real-world benchmarks demonstrate that the proposed method consistently outperforms existing state-of-the-art approaches in restoration quality and perceptual fidelity while exhibiting stronger generalization to real-world adverse weather conditions.

1 INTRODUCTION

Images captured in real-world environments are often degraded by adverse weather conditions such as rain, haze, and snow, which significantly deteriorate the performance of outdoor vision systems. Existing image restoration methods have mainly focused on task-specific models tailored to individual weather phenomena (Wang et al., 2025b). Although these methods achieve strong performance through extensive training in large-scale synthetic datasets, their highly specialized designs limit scalability in diverse weather conditions.

To address this limitation, recent studies have proposed unified restoration frameworks capable of handling multiple weather degradations within a single model (Wang et al., 2025a; Wu et al., 2026). Although these approaches demonstrate promising results on synthetic benchmarks, they exhibit limited generalization to real-world scene. We attribute this to two key factors: their heavy reliance on synthetic supervision and neglect of the semantic context of the scenes, due to insufficient constraints during training.

To alleviate the dependency on synthetic data, unsupervised restoration methods have been proposed that require only unpaired real-world images (Liu et al., 2025a). However, these approaches fail to exploit the abundant labeled synthetic datasets that have become widely available. Semi-supervised learning offers a more attractive compromise by leveraging both labeled synthetic and unlabeled real-world data. For example, WResVLM (Xu et al., 2024) adopts a student–teacher framework in which the teacher generates pseudo-ground truths (pseudo-GTs) for unlabeled images. Nevertheless, the framework performs contrastive learning using only positive samples derived from reliable pseudo-ground truths, overlooking informative negative samples that could explicitly guide the student away from poor restoration results. We observe that the teacher frequently produces low-quality predictions during training. These predictions often contain severe artifacts, color distortions, or incomplete restoration (Fig. 6b), and have previously been simply discarded. However, we note that they are not just generic negative samples, but are in fact sampled directly from the model in an on-policy manner, and hence provide valuable information (Tang et al., 2024). To address the previous limitation, we propose a mechanism that leverages these informative failures for contrastive semi-supervised learning. More specifically, we retain these cases in an unreliable database and treat them as negative samples for contrastive learning. By simultaneously attracting the student toward reliable restorations while repelling it from unreliable ones, the proposed framework provides stronger supervision and improves generalization to real-world adverse weather conditions.

Besides the supervision strategy, effective semantic guidance is equally important for restoring visually plausible images. Recent methods employ large vision-language models (VLMs) to generate textual descriptions that explicitly constrain image semantics (Xu et al., 2024). Although effective, text supervision suffers from two inherent drawbacks. First, textual descriptions are only weakly aligned with the fine-grained spatial structures required for low-level vision tasks because of language ambiguity and the lossy language-vision representation gap (Wu et al., 2024). Second, generating accurate descriptions with large VLMs introduces substantial computational overhead, slowing the training process.

Instead of relying on language supervision, we exploit the Fourier phase spectrum as an efficient structural prior. It is well established that the Fourier phase spectrum primarily preserves structural and semantic information, whereas the amplitude spectrum mainly represents low-level appearance (Oppenheim et al., 1979). Existing Fourier-based restoration methods (Guo et al., 2022) mainly focus on recovering degraded amplitude information. In contrast, we employ the phase spectrum to constrain structural consistency during semi-supervised learning. Even though the pseudo-GTs are accessible, using them alone is not optimal. (Oppenheim & Lim, 1980) shows that the phase spectrum is inherently robust to illumination variations and color shifts, making it possible to also use the phase spectrum of the input image to constrain the structure of the output image. Nevertheless, severe weather degradations may also corrupt phase information by obscuring structural details (Liu et al., 2025a). Therefore, directly enforcing consistency with the phase spectrum of either the degraded input or pseudo-GT can lead to sub-optimal solutions. To overcome this issue, we propose an adaptive phase consistency loss that dynamically balances supervision between the degraded input and the teacher-generated pseudo-GT according to degradation severity. Consequently, the model relies more on the input phase for mild degradations while progressively shifting toward the pseudo-GT phase under severe degradations.

Our contributions are summarized as follows:

• We propose a new mechanism in the family of semi-supervised weather removal methods that identifies and preserves failed teacher predictions in an unreliable database, enabling their use as negative samples for contrastive semi-supervised learning and improving generalization to real-world adverse weather image restoration.

• We introduce the Fourier phase spectrum as an efficient structural prior, eliminating the need for computationally expensive and ambiguous text-based supervision.

• We propose an adaptive phase consistency loss that automatically adjusts structural supervision according to degradation severity, producing more robust restorations across diverse adverse weather conditions.

• The proposed framework establishes new state-of-the-art performance among unified and semi-supervised image restoration methods, outperforming existing approaches on both quantitative and qualitative evaluation.

References (100)

Couldn't load all references. Reload the page to try again.