Next Article in Journal
TransLiteUNet: A Lightweight CNN–Transformer Hybrid for Efficient 3D Brain Tumor Segmentation with Sub-0.5 M Parameters
Previous Article in Journal
GDNet: A Robust 2.5D Multimodal MRI Brain Tumor Segmentation Framework with EMA Stabilization and Tumor-Aware Sampling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Reliable Pseudo-Labeling and Confusion Calibration for Foggy-Scene Semantic Segmentation

1
College of Computer and Cyber Security, Hebei Normal University, Shijiazhuang 050024, China
2
Key Lab of Network and Information Security of Hebei Province, Shijiazhuang 050024, China
3
Hebei Engineering Research Center for Supply Chain Big Data Analysis and Data Security, Shijiazhuang 050024, China
*
Authors to whom correspondence should be addressed.
J. Imaging 2026, 12(7), 289; https://doi.org/10.3390/jimaging12070289
Submission received: 29 May 2026 / Revised: 27 June 2026 / Accepted: 29 June 2026 / Published: 30 June 2026
(This article belongs to the Section Computer Vision and Pattern Recognition)

Abstract

Semantic segmentation in foggy scenes is crucial for autonomous driving systems, yet acquiring annotated real-world foggy data is highly costly. Existing unsupervised domain adaptation methods typically adopt a self-training strategy, adapting models trained under clear-weather conditions to unlabeled foggy target domains and constructing supervision signals via pseudo-labels. However, these methods mainly focus on improving the reliability of target-domain supervision while paying insufficient attention to class confusion caused by the degradation of class discriminability. In fact, the performance degradation of self-training in foggy scenarios is not caused by a single factor, but is jointly affected by unreliable supervision signals and reduced class discriminability. To address these issues, this paper proposes a reliable pseudo-labeling and confusion calibration framework for foggy-scene semantic segmentation, termed RPCC. Specifically, dynamic energy-guided pseudo-labeling (DEPL) models the reliability of target-domain predictions using energy scores, thereby improving the reliability of target-domain supervision signals. Furthermore, the reliable-region class confusion calibration (RCC) module models and calibrates semantic class relationships in target-domain predictions based on reliable pseudo-label supervision, thereby suppressing class confusion and enhancing semantic boundary clarity. Experimental results demonstrate that RPCC outperforms existing methods on multiple real-world foggy-scene datasets and shows favorable generalization to other adverse weather conditions.

Graphical Abstract

1. Introduction

Semantic segmentation aims to assign semantic category labels to each pixel in an image and is one of the key techniques in visual tasks such as autonomous driving, intelligent transportation, and scene understanding. In recent years, deep neural networks have improved semantic segmentation performance. However, existing semantic segmentation models usually rely on data collected and annotated under clear-weather conditions for training. When these models are directly applied to real-world foggy scenes, their segmentation performance often decreases significantly due to reduced visibility, blurred local structures, and weakened texture details. Especially near the category boundaries of roads, vehicles, pedestrians, and buildings, haze weakens the discriminative features in images, making adjacent categories or visually similar categories more likely to be confused. Therefore, improving segmentation performance in foggy scenes without real-world foggy pixel-level annotations remains a challenging problem.
To alleviate the scarcity of annotated real-world foggy data, unsupervised domain adaptation methods [1,2,3,4,5] have been proposed. These methods usually reduce the domain gap between the source domain and the target domain through image translation, feature alignment, style transfer, or self-training [6,7,8,9,10,11,12]. Among them, self-training methods construct target-domain supervision signals by generating pseudo-labels for target-domain images, and do not require additional intermediate-domain datasets or complex multi-stage training procedures, thus showing good application potential in foggy-scene domain adaptation. However, haze degradation reduces the class discriminability of target-domain images, resulting in model predictions inevitably containing errors and thus introducing noisy pseudo-labels.
To reduce the influence of noisy pseudo-labels on target-domain training, many self-training methods [4,5,6,7,8,12,13] adopt softmax confidence scores to select reliable pixels. However, this strategy still has two limitations. First, high-confidence predictions do not necessarily correspond to reliable predictions, and the model may still misidentify some incorrect pixels as reliable pseudo-labels, thereby introducing noisy supervision. Second, pseudo-label reliability is not equivalent to class separability. In real-world foggy scenes, even if some pixels are retained through reliability filtering, the prediction probabilities of adjacent categories or visually similar categories may still overlap, thereby leading to blurred class boundaries and semantic class confusion. Therefore, the degradation of self-training performance in foggy scenes is not only caused by pseudo-label noise, but is also closely related to disordered class relationships in target-domain predictions.
Based on the above analysis, this paper proposes reliable pseudo-labeling and confusion calibration (RPCC), a self-training framework for semantic segmentation in foggy scenes. RPCC optimizes target-domain self-training from two complementary aspects: pseudo-label reliability modeling and class confusion calibration. Specifically, dynamic energy-guided pseudo-labeling (DEPL) uses pixel-level energy scores to construct reliable target-domain pseudo-label supervision to reduce the influence of noisy pseudo-labels; reliable-region class confusion calibration (RCC) models class relationships within reliable prediction regions to suppress unreasonable overlaps between different class prediction distributions. Through the collaborative effect of the two components, RPCC can simultaneously alleviate noisy supervision and class confusion, thereby improving the semantic segmentation performance of the model in foggy scenes.
The main contributions of this paper are summarized as follows:
  • We propose RPCC, a reliable pseudo-labeling and confusion calibration self-training framework. Unlike self-training methods that mainly focus on pseudo-label selection, this paper attributes the degradation of self-training in foggy scenes to the joint effect of pseudo-label noise and class confusion, and collaboratively optimizes target-domain learning from the perspectives of reliable supervision construction and class confusion calibration.
  • We propose dynamic energy-guided pseudo-labeling (DEPL), which uses energy scores to construct reliable target-domain pseudo-label supervision and improves the stability of pseudo-label supervision through training-stage weight adjustment.
  • We propose reliable-region class confusion calibration (RCC), which models class relationships within reliable prediction regions and alleviates class confusion in foggy scenes through class channel normalization and off-diagonal confusion suppression.
  • The proposed RPCC outperforms existing methods on multiple real-world foggy-scene datasets and shows good generalization ability in rainy and snowy scenes.

2. Related Work

Unsupervised Domain Adaptation for Semantic Segmentation in Foggy Scenes

Unsupervised domain adaptation (UDA) aims to improve model performance in the target domain by using labeled source-domain data and unlabeled target-domain data. To reduce the distribution discrepancy between the source and target domains, existing methods have been widely studied from the perspectives of image style transfer, frequency-domain transformation, normalization mechanisms, and feature constraints [3,14,15,16,17,18]. For example, FDA [3] reduces image-level domain discrepancy by exchanging the low-frequency components of source- and target-domain images. TransNorm [15] designs a transferable normalization mechanism to enhance the domain adaptation ability of the model. BSP [16], AFN [17], and TAT [18] improve cross-domain performance from the perspectives of feature transferability, feature norms, and adversarial training, respectively. These methods can reduce the distribution discrepancy between domains to a certain extent, but they mainly focus on global alignment at the image or feature level, while the use of potential supervision signals in the target domain remains limited.
To further exploit unlabeled target-domain data, self-training has gradually become an important direction in UDA semantic segmentation [2,3,6,7,8,9,10,11,12,19,20,21]. Such methods generate pseudo-labels from model predictions on the target domain and use them as supervision signals to continuously optimize the network. CBST [8] alleviates the class imbalance problem of pseudo-labels through a class-balanced strategy. CRST [7] introduces confidence regularization to improve pseudo-label quality. TPLD [6] adopts a two-phase pseudo-label densification strategy to gradually expand reliable pseudo-label regions. Subsequently, ProDA [9], DAFormer [10], MIC [11], and PL-SR [12] further improve self-training from the perspectives of prototype alignment, network architecture improvement, consistency constraint, and pseudo-label self-refinement. Although these methods improve the usability of target-domain pseudo-labels, most of them mainly focus on pseudo-label selection, confidence correction, and noise suppression, while insufficiently considering visual degradation and class confusion in real foggy scenes.
When UDA is applied to semantic segmentation from clear-weather source domains to real foggy target domains, the visual degradation caused by fog, such as reduced visibility, weakened texture, and blurred boundaries, further increases the difficulty of adaptation. Therefore, traditional semantic segmentation methods [1,22] often perform poorly in foggy environments. Early methods usually use synthetic foggy data or intermediate fog domains to alleviate the lack of annotations in real foggy scenes. However, there is still an obvious domain shift between synthetic fog and real fog, which limits their performance in real foggy scenes. To reduce this gap, CMAda3+ [20] gradually transfers the model from synthetic light-fog data to real dense-fog data through curriculum learning. FIFO [23] models the fog formation process using fog pass filtering. CuDA-Net+ [24] decomposes the domain discrepancy into style discrepancy and fog-density discrepancy, and alleviates accumulated domain shift through multi-stage curriculum training. These methods can more specifically handle domain discrepancies in foggy scenes, but they usually rely on synthetic data, intermediate-domain construction, or multi-stage training, making the practical application process relatively complex.
To reduce the dependence on additional intermediate domains and complex training procedures, some studies directly design self-training strategies for real foggy scenes. TDo-Dif [4] enhances temporal consistency through image fusion to improve the stability of target-domain features. CLD [5] reduces confusion between visually similar categories through pixel-wise candidate label disambiguation. DAEN [25] improves adaptation performance in real foggy scenes through intermediate-domain feature construction and pseudo-label optimization. These methods indicate that constructing reliable target-domain supervision signals is crucial for self-training in foggy scenes. However, methods that mainly improve pseudo-label reliability still cannot fully address class confusion caused by unclear class boundaries and overlapping probabilities of similar categories in real foggy images. Different from DAEN, which relies on intermediate-domain feature construction and pseudo-label optimization, RPCC jointly addresses pseudo-label noise and class confusion through reliable pseudo-label construction and reliable-region class confusion calibration.
In addition, some studies have begun to enhance the class discriminability of models from the perspectives of structural information, class relationships, or cross-domain semantic consistency. FreD [26] improves segmentation performance in foggy scenes by decoupling high-frequency and low-frequency information. UniDA-SS [27] uses prototype learning and distribution alignment to improve adaptation under category-mismatched conditions. ShiftMatch [28] matches feature distribution differences between the source and target domains through contrastive learning to enhance cross-domain semantic consistency. These methods improve the model’s ability to distinguish semantic categories from different perspectives, but most of them still focus on structural information utilization, prototype alignment, or feature consistency modeling, while paying insufficient attention to the interaction between pseudo-label noise and class confusion.
In summary, existing methods have promoted the development of foggy-scene semantic segmentation from the perspectives of inter-domain distribution alignment, curriculum learning, fog modeling, pseudo-label optimization, and semantic consistency enhancement. However, in real foggy scenes, pseudo-label noise weakens the reliability of target-domain supervision signals, while class confusion affects the model’s ability to distinguish adjacent and visually similar categories. These two problems often jointly limit model performance. To address this issue, this paper proposes RPCC, which collaboratively optimizes the self-training process in foggy scenes from two aspects—reliable pseudo-label construction and reliable-region class confusion calibration—thereby simultaneously alleviating noisy supervision and class confusion.

3. Materials and Methods

3.1. Motivation and Framework Overview

In the unsupervised domain adaptation task for semantic segmentation from clear weather to real foggy scenes, the source-domain samples and their semantic labels are denoted as X c w and Y c w , respectively, while the unlabeled target-domain samples are denoted as X r f . Since target-domain supervision is constructed from model predictions, the amount of semantic information preserved in X r f directly affects both pseudo-label reliability and class discriminability. Therefore, before presenting the proposed framework, we first analyze how foggy degradation changes the semantic information available for target-domain prediction.
To avoid assuming paired source–target samples, we introduce a latent clear-view image X for each target-domain scene and denote its associated semantic random variable as Y . Here, X denotes an unobserved ideal clear-view observation of the same target scene and is distinct from the observed source-domain samples X c w . We use an idealized fog-degradation model in which the foggy observation X r f is generated from X . This model assumes that fog changes the visual observation while preserving the underlying scene semantics and that, given X , the fog-degradation process does not provide additional information about Y . Accordingly, the Markov relation Y X X r f is used only as a conceptual motivation. Under this model, the data processing inequality gives
I ( Y ; X r f ) I ( Y ; X ) ,
where I ( · ; · ) denotes mutual information. Importantly, this relation does not require a one-to-one correspondence between the observed source-domain samples X c w and target-domain samples X r f . In the actual UDA setting, X c w and X r f are unpaired samples from different domains; no paired clear–foggy images are constructed, and no mutual information quantity is estimated or optimized during training.
Under this latent observation model, mutual information can be written as
I ( Y ; X r f ) = H ( Y ) H ( Y | X r f ) ,
where H ( Y | X r f ) denotes the semantic uncertainty given the foggy observation. For a fixed semantic prior, a decrease in I ( Y ; X r f ) corresponds to an increase in H ( Y | X r f ) . This provides an information-theoretic explanation for why fog degradation can increase prediction uncertainty. In semantic segmentation, such uncertainty may manifest as overlapping class probability distributions in boundary regions, distant objects, and low-contrast regions, thereby causing class confusion. Therefore, target-domain self-training in foggy scenes requires not only reliable pseudo-label supervision but also constraints on class confusion in target-domain predictions.
Based on the above analysis, we construct RPCC as shown in Figure 1. For source-domain samples, S φ is optimized with L s u p using ( X c w , Y c w ) . For target-domain samples, X r f is fed into S φ and its exponential moving average (EMA) branch T φ . DEPL constructs the pseudo-label Y ^ r f and weight map W from T φ predictions to supervise S φ , while RCC uses the probability map N and W to constrain class relationships in reliable regions. During training, T φ is updated from S φ via EMA, and RPCC is optimized by L s u p , L d l , and L r c c .

3.2. Dynamic Energy-Guided Pseudo-Labeling

In unsupervised domain adaptation training, the target domain lacks manual annotations, and thus the model usually relies on pseudo-labels to construct target-domain supervision signals. The quality of pseudo-labels directly affects the effectiveness and stability of the self-training process. Existing methods commonly use softmax confidence scores to select pseudo-labels [4,5]. However, in real foggy scenes, the model may assign high confidence to incorrect predictions, causing some erroneous pixels to be mistakenly selected as reliable pseudo-labels and thus interfering with target-domain learning.
Figure 2 illustrates the distributions of correct and incorrect pseudo-labels in the two-dimensional space of confidence score and energy score, where the horizontal axis denotes the softmax confidence score, and the vertical axis denotes the pixel-level energy score. Blue dots represent correct pseudo-labels, while red crosses represent incorrect pseudo-labels. The shaded region on the right denotes the high-confidence pseudo-label region selected by a confidence threshold, and the dotted shaded region at the bottom denotes the low-energy pseudo-label region selected by an energy threshold. It can be observed that some incorrect pseudo-labels are also concentrated in the high-confidence region, indicating that relying solely on confidence scores may easily misclassify incorrect predictions as reliable pseudo-labels. In contrast, no incorrect pseudo-labels are observed in the low-energy region, indicating that energy scores can more effectively distinguish reliable predictions from erroneous ones and provide a basis for constructing stable target-domain supervision signals.
Based on the above analysis, this paper proposes dynamic energy-guided pseudo-labeling (DEPL) to construct target-domain supervision signals. Given an unlabeled real foggy image X r f , when it is fed into the network T φ , the network outputs the corresponding pixel-level logits map Z r f = T φ ( X r f ) R C × H × W . For each pixel location ( h , w ) , its pixel-level energy score is calculated as
E X r f ( h , w ) = log c = 1 C e Z r f ( c , h , w ) ,
where c denotes the class index; C, H, and W denote the number of classes, image height, and image width, respectively; and E X r f ( h , w ) denotes the energy score at pixel location ( h , w ) .
Previous studies have shown that energy scores can characterize the proximity between samples and known distributions, and can distinguish in-distribution samples from out-of-distribution samples to a certain extent [29,30]. Based on this property, this paper uses an energy threshold to construct a reliable pseudo-label selection mask. Specifically, given an energy threshold λ e , a pixel is regarded as a reliable prediction and retained for subsequent training only when its energy score is lower than the threshold. The corresponding selection mask is defined as
M ( h , w ) = 1 , if E X r f ( h , w ) λ e , 0 , otherwise .
where M ( h , w ) { 0 , 1 } indicates whether the pixel location, ( h , w ) is selected as a valid pseudo-label, and λ e denotes the predefined threshold. Through this process, target-domain supervision is restricted to relatively reliable prediction regions, thereby reducing noise interference caused by high-confidence incorrect predictions.
Although the energy-threshold-based selection strategy can improve pseudo-label quality, relying only on static filtering is still insufficient to fully suppress pseudo-label noise in the early training stage. Since the model has not yet formed stable target-domain decision boundaries at the beginning of training, the retained pseudo-labels may still contain errors. Directly assigning them a fixed weight may cause noisy supervision to accumulate and propagate. Therefore, we adopt a training stage-dependent weight β t to gradually strengthen target-domain supervision as training progresses.
Based on this dynamic weighting strategy, the final pseudo-label weight map is defined as:
W ( h , w ) = clip β t · M ( h , w ) ,   0 ,   1 ,
where M ( h , w ) denotes the energy-based selection mask, and β t denotes the dynamic weight for pseudo-label supervision at iteration t. In practice, β t is assigned a relatively small value in the early training stage, gradually increased during the intermediate stage, and maintained at a maximum value in the later stage. This dynamic weight adjustment gradually increases the contribution of target-domain pseudo-label supervision to the optimization objective, thereby reducing the risk of noisy supervision accumulation in the early stage. The function clip ( · ) ensures that the weight value remains within the range [ 0 , 1 ] .
Based on the above pseudo-label selection and weight adjustment strategy, the weighted cross-entropy loss for the target domain is defined as
L d l = 1 H W h = 1 H w = 1 W W ( h , w ) c e z r f ( h , w ) ,   Y ^ r f ( h , w ) .
where Y ^ r f ( h , w ) denotes the class label corresponding to pixel ( h , w ) in the pseudo-label map Y ^ r f , z r f ( h , w ) denotes the C-dimensional logits vector output by network S φ at this pixel location, W ( h , w ) denotes the pseudo-label weight map obtained from Equation (5), and c e ( · ) denotes the pixel-level cross-entropy loss.
To verify the effect of DEPL on pseudo-label quality, this paper compares three pseudo-label strategies on the ACDC-Fog dataset: confidence score-based selection, static energy selection, and DEPL, using correct ratio and incorrect ratio as evaluation metrics. Among them, DEPL-ND denotes the variant that only uses static energy selection without dynamic weight adjustment. As shown in Table 1, the confidence score-based selection method still retains many incorrect pseudo-labels, with a correct ratio of 91.5% and an incorrect ratio of 8.5%. In contrast, DEPL-ND increases the correct ratio to 92.1% and reduces the incorrect ratio to 7.9%, indicating that energy scores can select reliable predictions more effectively than confidence scores. After further introducing dynamic weight adjustment, DEPL increases the correct ratio to 93.8% and reduces the incorrect ratio to 6.2%. These results show that DEPL can increase the proportion of reliable pseudo-labels while reducing the retention of incorrect pseudo-labels, thereby providing more stable supervision signals for target-domain self-training.
In addition to quantitative metrics, this paper further observes the influence of different pseudo-label selection strategies on the retention of erroneous pseudo-labels through pixel-level visualization results. As shown in Figure 3, the Confidence Score method still retains many black erroneous regions in the target domain, indicating that relying solely on confidence-based selection can easily preserve some incorrect pseudo-labels. Compared with the Confidence Score, DEPL-ND reduces part of the erroneous regions, demonstrating that static energy selection can improve pseudo-label reliability. After further introducing DEPL, the black erroneous regions are significantly reduced, and the target-domain pseudo-labels become more consistent with the ground truth, indicating that dynamic energy-guided pseudo-labeling can effectively reduce the interference of erroneous supervision in target-domain training.

3.3. Reliable-Region Class Confusion Calibration

Although DEPL can reduce the interference of noisy pseudo-labels in target-domain self-training, its main role is to select reliable supervision signals, and it cannot directly constrain unreasonable overlaps among the prediction distributions of different classes. To further improve the class discriminability of target-domain predictions, this paper proposes the Reliable-region Class Confusion Calibration (RCC) module, which calibrates class relationships within reliable prediction regions and enhances the discriminative ability of target-domain predictions.
When an unlabeled target-domain foggy image X r f is fed into the network S φ , the network outputs the corresponding pixel-level logits map z r f = S φ ( X r f ) R B × C × H × W . After applying the softmax operation, the pixel-level class probability map is obtained as
N = s o f t m a x ( z r f ) R B × C × H × W ,
where B, C, H, and W denote the batch size, the number of classes, the image height, and the image width, respectively. Considering that target-domain predictions may still contain unreliable regions, this paper models class relationships only within reliable pixel regions. To this end, the pseudo-label weight map W ( h , w ) generated by DEPL in Equation (5) is used to weight and filter the class probability map, producing the weighted target-domain probability map as follows:
N ˜ = N Z ˜ , Z ˜ R B × 1 × H × W ,
where ⊙ denotes element-wise multiplication, and Z ˜ = W ( h , w ) . Through this operation, the subsequent class relationship modeling is restricted to reliable target-domain regions, thereby reducing the interference of noisy predictions on class constraints. Therefore, RCC is not a class constraint independent of DEPL, but is region-guided by the reliability prediction results of DEPL.
On this basis, the weighted probability map is unfolded along the spatial dimension as G = H × W , namely N ˜ b R C × G . Since the number of pixels belonging to different classes usually varies significantly in an image, directly computing class relationships based on the original probability distributions may cause large-area categories to dominate the statistics, thereby affecting the characterization of relationships among different classes. Therefore, this paper normalizes each class channel along the spatial dimension, so that the probability responses of different class channels are mapped to a relatively unified scale, reducing the influence of category area differences on confusion modeling as follows:
N ^ b ( i , k ) = N ˜ b ( i , k ) k = 1 G N ˜ b ( i , k ) + ϵ , i = ( 1 , , C ) , k = ( 1 , , G ) ,
where i denotes the class index, k denotes the current pixel index, and b denotes the index of the b-th sample in the batch; ϵ is a small constant for numerical stability. N ˜ b ( i , k ) denotes the predicted probability of class i for the k-th pixel in the b-th sample, and k = 1 G N ˜ b ( i , k ) denotes the probability sum of class i over the whole image. After Equation (9), the probability response of each class channel is re-normalized along the spatial dimension, thereby reducing the influence of category area differences on class relationship estimation and improving the comparability and numerical stability of class confusion matrix calculation.
Subsequently, the class confusion matrix is constructed based on the normalized probability distribution as follows:
C b = N ^ b N ^ b T R C × C ,
where C b denotes the class confusion matrix of the b-th sample. The diagonal responses of the matrix reflect intra-class consistency, while the off-diagonal responses reflect the degree of inter-class confusion. As shown in Figure 4, the responses of Source in Figure 4a are mainly concentrated in the diagonal regions, while the off-diagonal regions show lighter colors, indicating that source-domain predictions have better class discriminability. In contrast, the off-diagonal regions of Target in Figure 4b contain more dark responses, suggesting that the prediction distributions of different classes in the real foggy target domain overlap more significantly and exhibit a higher degree of class confusion. After introducing RCC, as shown in Figure 4c, the dark responses in the off-diagonal regions are clearly reduced, indicating that RCC can suppress unreasonable correlations between different classes and reduce inter-class prediction overlap. It should be noted that Figure 4 is only used to analyze the effect of the RCC module on the class confusion matrix when it is applied independently. In this case, RCC is directly applied to the entire target-domain prediction map.
Based on the above analysis, this paper uses the proportion of off-diagonal elements to measure the degree of class confusion. The loss is defined as
L r c c = 1 B b = 1 B i j C b ( i , j ) i , j C b ( i , j ) + ϵ .
The numerator i j C b ( i , j ) denotes the sum of all off-diagonal elements, which characterizes the overall degree of inter-class confusion, while the denominator i , j C b ( i , j ) denotes the sum of all elements in the matrix for normalization. By minimizing Equation (11), the model reduces the proportion of off-diagonal confusion responses in the overall class relationship, thereby alleviating inter-class confusion in target-domain predictions. Here, the off-diagonal responses quantify the overlap of different class probability distributions at the same spatial locations, rather than the normal contextual co-occurrence of different categories.
To further observe the effect of RCC on class confusion at the pixel level, Figure 5 presents the visualization results of class confusion on target-domain foggy images. It can be observed that the Baseline produces many red and yellow high-response regions around road–vehicle boundaries, building contours, and distant low-contrast areas, indicating that the class prediction distributions in these regions have obvious overlaps. After introducing RCC, the high-confusion response regions are significantly reduced, and the responses become more concentrated near target boundaries, indicating that RCC can reduce local class confusion in the foggy target domain and improve the class discrimination ability in boundary and degraded regions. It should be noted that Figure 5 is only used to analyze the effect of the RCC module on class confusion visualization when it is applied independently. In this case, RCC is directly applied to the entire target-domain prediction map.
Combining DEPL and RCC, the total loss function of this paper is defined as
L t o t a l = L s u p + λ d l L d l + λ r c c L r c c .
where λ d l and λ r c c denote the weight coefficients of the dynamic energy-guided pseudo-labeling loss and the reliable-region class confusion calibration loss, respectively. These two terms optimize the target-domain learning process from the perspectives of supervision signal reliability and class relationship constraints, jointly improving the model’s adaptability to real foggy scenes.

4. Experiments

4.1. Datasets

We evaluate the proposed method on several real foggy and adverse-weather scene datasets. Cityscapes [21] is used as the source-domain dataset, which contains 3450 finely annotated urban street scene images collected from 50 cities, including 2975 training images and 500 validation images, with a resolution of 2048 × 1024 . Foggy Zurich [31] is used as the unlabeled target-domain dataset for unsupervised domain adaptation training, containing 3808 real foggy urban street scene images with a resolution of 1920 × 1080 collected in and around Zurich. Foggy Driving [32] contains 101 real foggy urban street scene images and is only used for qualitative and quantitative evaluation. ACDC [33] contains real urban street scene images under various adverse weather conditions. We use the foggy, rainy, and snowy samples from its validation set, where the foggy samples are used to evaluate segmentation performance in foggy scenes, and the rainy and snowy samples are used to evaluate cross-weather generalization ability.

4.2. Implementation Details

Following FIFO [23], we adopt RefineNet-lw [14] with a ResNet-101 [19] backbone as the basic segmentation framework, initialized with model parameters pretrained on Cityscapes. The network is trained using stochastic gradient descent (SGD), with momentum of 0.9 and weight decay of 1 × 10 5 . The initial learning rates of the encoder and decoder are set to 6 × 10 4 and 6 × 10 3 , respectively, and a polynomial learning rate decay strategy with a power of 0.9 is adopted. During training, random scaling, 600 × 600 random cropping, and random horizontal flipping are used for data augmentation. Gradient accumulation and gradient clipping are applied to improve training stability.
For hyperparameter settings, the energy selection threshold λ e is set to 15 , the dynamic weight β t is initialized to 0.8 and increased to a maximum value of 1, λ d l is set to 1, λ r c c is set to 0.05, and the EMA update coefficient is set to 0.999. All experiments are conducted on a single NVIDIA RTX 3090 GPU (NVIDIA Corporation, Santa Clara, CA, USA). To ensure reliable results, we evaluate the model using three random seeds and report the average results. The mean Intersection over Union (mIoU) is used as the evaluation metric.

4.3. Compared Methods

To comprehensively verify the effectiveness of the proposed method, RPCC is compared with several representative unsupervised domain-adaptive semantic segmentation methods. RefineNet-lw [14] trained only on Cityscapes is used as the baseline model to measure the performance without target-domain adaptation. The compared methods include conventional UDA methods, namely AdvEnt [2] and FDA [3]; image-to-image translation methods, namely CycleGAN [34], CUT [35], and StyTr2 [36]; Transformer-based UDA methods, namely HRDA [37] and BWG [38]; and foggy-scene-specific domain adaptation methods, namely CMAda3+ [20], FIFO [23], CuDA-Net+ [24], TDo-Dif [4], SCM [39], and DAEN [25].
It should be noted that the results in Table 2 and Table 3 are obtained from two sources. Methods marked with † were reproduced and evaluated by us under the experimental setting described in Section 4.2, whereas methods marked with ‡ were directly collected from the corresponding publications. Since the latter may differ in backbone networks, input resolutions, training data, synthetic or intermediate domains, and adaptation procedures, they are included as reference results rather than strictly controlled comparisons. Therefore, the main controlled comparison in this work is based on the reproduced methods, the proposed RPCC, and the ablation variants evaluated under our experimental setting.

4.4. Comparison with Other UDA Methods

4.4.1. Quantitative Comparison

Table 2 and Table 3 show the quantitative comparison results on the Foggy Driving dataset [32] and the ACDC-Fog dataset [33]. It can be observed that the proposed RPCC outperforms all comparison methods on both test sets, demonstrating its effectiveness for semantic segmentation in real foggy scenes.
On the Foggy Driving dataset shown in Table 2, RPCC achieves consistent improvements over conventional UDA methods and image-to-image translation (I2I) domain adaptation methods. Compared with foggy-scene-specific UDA methods, RPCC improves the mIoU by 6.2%, 5.3%, 2.6%, 9.2%, 3.0%, and 2.5% over CMAda3+, FIFO, CuDA-Net+, TDo-Dif, DAEN, and SCM, respectively. In addition, compared with recent Transformer-based UDA methods, RPCC also achieves further improvements, indicating that the proposed method not only has clear advantages in foggy-scene domain adaptation but also remains competitive with strong cross-domain semantic segmentation models.
On the ACDC-Fog dataset shown in Table 3, RPCC improves the mIoU by 17.7%, 1.6%, 1.4%, and 2.8% over FIFO, TDo-Dif, DAEN, and SCM, respectively. These results further indicate that RPCC maintains strong segmentation performance on real foggy scenes in another adverse-weather dataset. Further class-level analysis shows that RPCC performs notably better than the comparison methods on key categories such as road, building, car, truck, and bus. Beyond the overall mIoU gains, the improved recognition of road regions and traffic participants is practically relevant for reliable scene understanding under degraded visibility, as these categories are closely associated with drivable-area perception and traffic-aware decision-making. The qualitative results further show more coherent road predictions, more complete vehicle regions, and clearer object boundaries in foggy scenes.

4.4.2. Qualitative Comparison

We further conduct qualitative comparisons with TDo-Dif, DAEN, and SCM on the Foggy Driving and ACDC-Fog datasets. As shown in Figure 6 and Figure 7, the comparison methods still suffer from incomplete object segmentation and local class confusion in real foggy scenes, especially around vehicles, road boundaries, and distant low-contrast regions. In contrast, RPCC produces more coherent predictions for road regions and more accurate segmentation results for traffic participants such as cars and trucks. Moreover, RPCC preserves clearer object boundaries in blurred areas and reduces incorrect predictions between visually similar categories. These qualitative results indicate that the proposed method not only improves the overall segmentation accuracy but also effectively alleviates class confusion in foggy scenes.

4.5. Ablation Study and Parameter Sensitivity Analysis

4.5.1. Statistical Stability Analysis

To evaluate the stability of the methods reproduced under our experimental setting, we repeated the training of each method with three random seeds and report the mean and standard deviation of the overall mIoU. Methods whose results were directly collected from the corresponding publications are not included in this analysis because seed-wise results are unavailable. The results are summarized in Table 4.
As shown in Table 4, RPCC achieves the highest mean mIoU on both datasets while maintaining low standard deviations across different random seeds. These results demonstrate that the performance improvement of RPCC is stable across independent runs and is not caused by random initialization.

4.5.2. Effectiveness Analysis of DEPL and RCC

We first conduct ablation experiments on the Foggy Driving dataset to verify the effectiveness of the key designs in the proposed framework. The results are shown in Table 5. The Baseline is trained only on the clear-weather source domain and does not use foggy target-domain images for adaptive optimization. Therefore, its segmentation performance in real foggy scenes is limited, achieving only 43.6% mIoU, which indicates an obvious domain shift problem.
After introducing confidence score-based pseudo-label supervision on the basis of the Baseline, the model performance improves to 48.3%, which is 4.7% higher than the Baseline. This indicates that target-domain pseudo-label self-training can alleviate the distribution shift from the source domain to the real foggy target domain to a certain extent. However, confidence scores tend to retain high-confidence incorrect predictions, so the performance improvement remains limited. In contrast, after introducing DEPL, the model performance further improves to 51.3%, achieving a 7.7% improvement over the Baseline. This result demonstrates that energy score-based pseudo-label reliability modeling can provide more stable target-domain supervision than simple confidence-based selection.
When RCC is introduced alone on the basis of the Baseline, the model performance improves to 50.1%, which is 6.5% higher than the Baseline. Here, RCC denotes the class confusion calibration module directly applied to the entire target-domain prediction map. This result indicates that even without pseudo-label supervision, class confusion calibration can alleviate class prediction overlap in foggy scenes to a certain extent and improve the discriminability of target-domain predictions.
When DEPL and RCC are introduced simultaneously, the complete RPCC achieves the best performance, with the mIoU further increasing to 56.0%. Compared with using DEPL and RCC alone, the complete method improves the mIoU by 4.7% and 5.9%, respectively. These results show that both dynamic energy-guided pseudo-label selection and reliable-region class confusion calibration can effectively improve the segmentation performance in real foggy target domains.
In addition, Table 5 further compares the effects of different pseudo-label strategies combined with RCC. When confidence-based selection is combined with RCC, the model achieves 53.3% mIoU. When DEPL-ND, which only uses static energy selection without dynamic weight adjustment, is combined with RCC, the performance further improves to 54.1%. The complete RPCC achieves the best result of 56.0%. This result indicates that energy scores can provide a more reliable basis for pseudo-label selection than confidence scores, while the training-stage dynamic weight adjustment in DEPL further improves the stability of pseudo-label supervision.
For the class confusion calibration strategy, when RCC is directly applied to the entire target-domain prediction map, the combination of DEPL and RCC achieves 54.4% mIoU. This indicates that class confusion calibration can alleviate class prediction overlap in the target domain, but it may still be affected by unreliable prediction regions. When class channel normalization is removed from RCC, the combination of DEPL and RCC achieves 55.3% mIoU, indicating that modeling class confusion within reliable regions can further reduce the interference of noisy predictions on confusion statistics. Finally, the complete RPCC achieves the best result of 56.0%, demonstrating that class channel normalization can further reduce the influence of class area differences on confusion statistics under reliable-region constraints, thereby improving the stability of class relationship estimation.

4.5.3. Sensitivity Analysis of the EMA Update Ratio and Loss Weights

Table 6 reports the sensitivity analysis results of the EMA update ratio α , the RCC loss weight λ r c c , and the pseudo-label supervision loss weight λ d l on the Foggy Driving dataset. It can be observed that the model achieves the best performance when α = 0.999 , and thus the EMA update ratio of the momentum teacher network is set to 0.999. For the RCC loss weight, the model obtains the best result when λ r c c = 0.05 . When λ r c c is too large or too small, the model performance decreases, indicating that an appropriate λ r c c can achieve a better balance between class relationship regularization and main-task learning. For the pseudo-label supervision loss weight, the model performs best when λ d l = 1.0 , while smaller or larger values lead to performance degradation. Therefore, λ r c c and λ d l are finally set to 0.05 and 1.0, respectively.

4.5.4. Sensitivity Analysis of Energy Threshold and Dynamic Pseudo-Label Selection Weight

We further analyze the influence of the energy threshold λ e and the dynamic pseudo-label selection weight β t in DEPL. As shown in Table 7, different energy thresholds significantly affect the quality of pseudo-label selection. When λ e = 15 , the model achieves the best performance on the Foggy Driving dataset. Lower thresholds, such as 19 and 17 , are too strict and limit the number of target-domain pixels available for self-training, making it difficult to sufficiently learn target-domain knowledge. In contrast, higher thresholds, such as 13 and 11 , introduce more noisy pseudo-labels and lead to performance degradation. Therefore, λ e = 15 achieves the best balance between reliable pseudo-label selection and effective target-domain adaptation.
Table 7 also reports the influence of the dynamic pseudo-label selection weight β t . It can be observed that the model achieves the best result when β t = 0.8 . When β t is further increased or decreased, the performance declines. This indicates that an appropriate dynamic weight can more effectively regulate the strength of target-domain supervision, thereby improving the stability of self-training while suppressing noise propagation. Therefore, λ e and β t are finally set to 15 and 0.8, respectively.

4.6. Computational Overhead Analysis

To further analyze the computational overhead of the proposed RPCC, we compare it with the RefineNet-LW baseline and two representative foggy-scene adaptation methods, FIFO and TDo-Dif. All measurements are conducted under the same experimental environment with an input resolution of 1920 × 1080 .
As shown in Table 8, RPCC preserves the lightweight inference property of the RefineNet-LW baseline. Both methods contain 46.35 M parameters and require 410.33 GMACs, while their inference latency is nearly identical at 48.22 ms/image and 48.37 ms/image, respectively. Compared with TDo-Dif, RPCC reduces the training time, GPU memory, parameter count, computational complexity, and inference latency by 37.0%, 13.1%, 60.7%, 80.3%, and 63.1%, respectively. RPCC also requires lower training overhead and inference cost than FIFO, which uses additional FogPassFilter modules and a three-scale inference protocol. Overall, RPCC achieves a favorable balance between segmentation performance and computational efficiency.

4.7. Generalization Experiment

To further verify the cross-weather robustness of the proposed method, this paper extends the test scenarios to the rainy and snowy subsets of the ACDC dataset while keeping the training configuration of the foggy-scene domain adaptation task unchanged. It should be noted that, in this experiment, the model does not access any labeled or unlabeled data from rainy or snowy scenes during training. Therefore, this experiment aims to evaluate the generalization ability of the model under unseen adverse weather conditions.
The proposed RPCC is compared with four recent representative methods, namely FIFO, TDo-Dif, DAEN, and SCM, and the quantitative results are shown in Table 9. It can be observed that although the training process only relies on foggy target-domain data, RPCC still achieves better segmentation performance under both unseen rainy and snowy conditions. Specifically, compared with SCM, RPCC improves the mIoU by 1.7% and 1.5% on rainy and snowy scenes, respectively; compared with DAEN, RPCC improves the mIoU by 4.1% and 1.8%, respectively; compared with TDo-Dif, the improvements are 7.3% and 2.8%, respectively; compared with FIFO, the improvements are 11.1% and 6.1%, respectively. These results indicate that the proposed confusion-aware self-training framework not only improves target-domain adaptation performance in foggy scenes but also exhibits certain cross-weather robustness.

Qualitative Comparison Under Cross-Weather Conditions

We further conduct qualitative comparisons among RPCC, TDo-Dif, DAEN, and SCM on the rainy and snowy subsets of the ACDC dataset. As shown in Figure 8 and Figure 9, RPCC produces overall better segmentation results than the comparison methods in rainy and snowy scenes that are not involved in training. In particular, RPCC provides more stable semantic predictions in road regions, vehicle objects, and local areas severely affected by weather degradation, while reducing local class confusion. This indicates that the proposed method can maintain certain adaptability to other adverse weather scenarios even when it is trained only with foggy target-domain data.

5. Discussion

The experimental results indicate that the performance gains of RPCC arise from the complementary roles of reliable pseudo-labeling and class confusion calibration. Compared with confidence-based pseudo-label selection, DEPL uses energy scores to identify more reliable target-domain predictions and reduces the retention of high-confidence incorrect pseudo-labels. RCC further calibrates class relationships within reliable prediction regions to suppress unreasonable overlaps among different class prediction distributions. Therefore, RPCC not only improves the quality of pseudo-label supervision but also alleviates class confusion caused by degraded visual information in real foggy scenes.
The ablation results further demonstrate the benefit of combining DEPL and RCC. When DEPL is used alone, the model benefits from more reliable target-domain supervision, but class prediction overlap is not explicitly constrained. When RCC is used alone, class confusion can be alleviated to a certain extent, but the calibration process may still be affected by unreliable target-domain predictions. By applying RCC within the reliable regions identified by DEPL, the proposed framework reduces the influence of noisy predictions on class relationship modeling and improves the stability of confusion calibration. This explains why the complete RPCC achieves better performance than either DEPL or RCC used independently.
The cross-weather evaluation results also indicate that RPCC exhibits some robustness under unseen adverse weather conditions. Although the model is trained only with foggy target-domain data, it still achieves improved performance on rainy and snowy scenes. This suggests that reliable pseudo-label supervision and class relationship calibration can help maintain more stable semantic predictions under other degraded visual conditions. However, the current framework still relies on manually selected hyperparameters, such as the energy threshold and loss weights. In addition, RCC models class relationships primarily based on prediction probabilities, while more explicit structural cues and temporal information are not fully explored. Future work will investigate adaptive threshold selection strategies and stronger structure-aware calibration mechanisms to further improve robustness in diverse adverse weather scenarios.

6. Conclusions

In this paper, we propose RPCC, a reliable pseudo-labeling and confusion calibration self-training framework for semantic segmentation in real foggy scenes. RPCC jointly addresses pseudo-label noise and class confusion in target-domain learning through dynamic energy-guided pseudo-labeling (DEPL) and reliable-region class confusion calibration (RCC).
Experiments on real foggy-scene datasets demonstrate that RPCC achieves strong quantitative and qualitative segmentation performance compared with existing UDA methods. Further evaluations on unseen rainy and snowy scenes show that RPCC maintains favorable cross-weather generalization. These results demonstrate that jointly improving pseudo-label reliability and reducing class confusion is effective for robust semantic segmentation under degraded visual conditions.

Author Contributions

Conceptualization, S.Y.; methodology, S.Y.; software, S.Y.; validation, S.Y.; formal analysis, S.Y.; investigation, S.Y.; resources, S.F. and Z.W.; data curation, S.Y.; writing—original draft preparation, S.Y.; writing—review and editing, S.Y., S.F. and Z.W.; visualization, S.Y.; supervision, S.F. and Z.W.; project administration, Z.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are openly available in public datasets. Cityscapes is available at https://www.cityscapes-dataset.com/ (accessed on 28 June 2026); Foggy Zurich is available at https://people.ee.ethz.ch/~csakarid/Model_adaptation_SFSU_dense/ (accessed on 28 June 2026); Foggy Driving is available at https://people.ee.ethz.ch/~csakarid/SFSU_synthetic/ (accessed on 28 June 2026); and ACDC is available at https://acdc.vision.ee.ethz.ch/ (accessed on 28 June 2026).

Acknowledgments

The authors would like to thank the providers of the public datasets used in this study.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
UDAUnsupervised Domain Adaptation
RPCCReliable Pseudo-labeling and Confusion Calibration
DEPL Dynamic Energy-guided Pseudo-Labeling
RCC Reliable-region Class Confusion Calibration
EMA Exponential Moving Average
mIoU mean Intersection over Union

References

  1. Tsai, Y.H.; Hung, W.C.; Schulter, S.; Sohn, K.; Yang, M.H.; Chandraker, M. Learning to adapt structured output space for semantic segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2018; pp. 7472–7481. [Google Scholar]
  2. Vu, T.H.; Jain, H.; Bucher, M.; Cord, M.; Pérez, P. ADVENT: Adversarial entropy minimization for domain adaptation in semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2019; pp. 2517–2526. [Google Scholar]
  3. Yang, Y.; Soatto, S. FDA: Fourier domain adaptation for semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2020; pp. 4085–4095. [Google Scholar]
  4. Liao, L.; Chen, W.; Xiao, J.; Wang, Z.; Lin, C.W.; Satoh, S. Unsupervised foggy scene understanding via self spatial-temporal label diffusion. IEEE Trans. Image Process. 2022, 31, 3525–3540. [Google Scholar] [CrossRef] [PubMed]
  5. Liao, L.; Chen, W.; Zhang, Z.; Xiao, J.; Yang, Y.; Lin, C.W.; Satoh, S. Only a few classes confusing: Pixel-wise candidate labels disambiguation for foggy scene understanding. In Proceedings of the AAAI Conference on Artificial Intelligence; AAAI Press: Washington, DC, USA, 2023; Volume 37, pp. 1558–1567. [Google Scholar]
  6. Shin, I.; Woo, S.; Pan, F.; Kweon, I.S. Two-phase pseudo label densification for self-training based domain adaptation. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2020; pp. 532–548. [Google Scholar]
  7. Zou, Y.; Yu, Z.; Liu, X.; Kumar, B.V.K.; Wang, J. Confidence regularized self-training. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 5982–5991. [Google Scholar]
  8. Zou, Y.; Yu, Z.; Kumar, B.V.K.; Wang, J. Unsupervised domain adaptation for semantic segmentation via class-balanced self-training. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2018; pp. 289–305. [Google Scholar]
  9. Zhang, P.; Zhang, B.; Zhang, T.; Chen, D.; Wang, Y.; Wen, F. Prototypical pseudo label denoising and target structure learning for domain adaptive semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2021; pp. 12414–12424. [Google Scholar]
  10. Hoyer, L.; Dai, D.; Van Gool, L. DAFormer: Improving network architectures and training strategies for domain-adaptive semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 9924–9935. [Google Scholar]
  11. Hoyer, L.; Dai, D.; Wang, H.; Van Gool, L. MIC: Masked image consistency for context-enhanced domain adaptation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2023; pp. 11721–11732. [Google Scholar]
  12. Zhao, X.; Mithun, N.C.; Rajvanshi, A.; Chiu, H.P.; Samarasekera, S. Unsupervised domain adaptation for semantic segmentation with pseudo label self-refinement. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision; IEEE: New York, NY, USA, 2024; pp. 2399–2409. [Google Scholar]
  13. Xiang, J.; Wan, C.; Cao, Z. Pseudolabel guided pixels contrast for domain adaptive semantic segmentation. Sci. Rep. 2024, 14, 31615. [Google Scholar] [CrossRef] [PubMed]
  14. Nekrasov, V.; Shen, C.; Reid, I. Light-weight RefineNet for real-time semantic segmentation. arXiv 2018, arXiv:1810.03272. [Google Scholar]
  15. Wang, X.; Jin, Y.; Long, M.; Wang, J.; Jordan, M.I. Transferable normalization: Towards improving transferability of deep neural networks. Adv. Neural Inf. Process. Syst. 2019, 32, 1951–1961. [Google Scholar]
  16. Chen, X.; Wang, S.; Long, M.; Wang, J. Transferability vs. discriminability: Batch spectral penalization for adversarial domain adaptation. In Proceedings of the International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2019; pp. 1081–1090. [Google Scholar]
  17. Xu, R.; Li, G.; Yang, J.; Lin, L. Larger norm more transferable: An adaptive feature norm approach for unsupervised domain adaptation. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2019; pp. 1426–1435. [Google Scholar]
  18. Liu, H.; Long, M.; Wang, J.; Jordan, M. Transferable adversarial training: A general approach to adapting deep classifiers. In Proceedings of the International Conference on Machine Learning; PMLR: Cambridge, MA, USA, 2019; pp. 4013–4022. [Google Scholar]
  19. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2016; pp. 770–778. [Google Scholar]
  20. Dai, D.; Sakaridis, C.; Hecker, S.; Van Gool, L. Curriculum model adaptation with synthetic and real data for semantic foggy scene understanding. Int. J. Comput. Vis. 2020, 128, 1182–1204. [Google Scholar]
  21. Cordts, M.; Omran, M.; Ramos, S.; Rehfeld, T.; Enzweiler, M.; Benenson, R.; Franke, U.; Roth, S.; Schiele, B. The Cityscapes dataset for semantic urban scene understanding. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2016; pp. 3213–3223. [Google Scholar]
  22. Felzenszwalb, P.F.; Huttenlocher, D.P. Efficient graph-based image segmentation. Int. J. Comput. Vis. 2004, 59, 167–181. [Google Scholar] [CrossRef]
  23. Lee, S.; Son, T.; Kwak, S. FIFO: Learning fog-invariant features for foggy scene segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 18911–18921. [Google Scholar]
  24. Ma, X.; Wang, Z.; Zhan, Y.; Zheng, Y.; Wang, Z.; Dai, D.; Lin, C.W. Both style and fog matter: Cumulative domain adaptation for semantic foggy scene understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 18922–18931. [Google Scholar]
  25. Jang, D.; Lee, S.; Choi, G.; Lee, Y.; Son, S.; Kim, D.S. Energy-based domain adaptation without intermediate domain dataset for foggy scene segmentation. IEEE Trans. Image Process. 2024, 33, 6143–6157. [Google Scholar] [CrossRef] [PubMed]
  26. Bi, Q.; You, S.; Gevers, T. Generalized foggy-scene semantic segmentation by frequency decoupling. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2024; pp. 1389–1399. [Google Scholar]
  27. Choe, S.A.; Park, K.H.; Choi, J.; Park, G.M. Universal domain adaptation for semantic segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2025; pp. 4607–4617. [Google Scholar]
  28. Lee, M.; Song, K.; Choe, J. Fog-free training for foggy scene understanding. Pattern Recognit. Lett. 2025, 189, 129–135. [Google Scholar] [CrossRef]
  29. Liu, W.; Wang, X.; Owens, J.; Li, Y. Energy-based out-of-distribution detection. Adv. Neural Inf. Process. Syst. 2020, 33, 21464–21475. [Google Scholar]
  30. Tian, Y.; Liu, Y.; Pang, G.; Liu, F.; Chen, Y.; Carneiro, G. Pixel-wise energy-biased abstention learning for anomaly segmentation on complex urban driving scenes. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2022; pp. 246–263. [Google Scholar]
  31. Sakaridis, C.; Dai, D.; Hecker, S.; Van Gool, L. Model adaptation with synthetic and real data for semantic dense foggy scene understanding. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2018; pp. 687–704. [Google Scholar]
  32. Schneider, S.; Rusak, E.; Eck, L.; Bringmann, O.; Brendel, W.; Bethge, M. Improving robustness against common corruptions by covariate shift adaptation. Adv. Neural Inf. Process. Syst. 2020, 33, 11539–11551. [Google Scholar]
  33. Sakaridis, C.; Dai, D.; Van Gool, L. ACDC: The adverse conditions dataset with correspondences for semantic driving scene understanding. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2021; pp. 10765–10775. [Google Scholar]
  34. Zhu, J.Y.; Park, T.; Isola, P.; Efros, A.A. Unpaired image-to-image translation using cycle-consistent adversarial networks. In Proceedings of the IEEE International Conference on Computer Vision; IEEE: New York, NY, USA, 2017; pp. 2223–2232. [Google Scholar]
  35. Park, T.; Efros, A.A.; Zhang, R.; Zhu, J.Y. Contrastive learning for unpaired image-to-image translation. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2020; pp. 319–345. [Google Scholar]
  36. Deng, Y.; Tang, F.; Dong, W.; Ma, C.; Pan, X.; Wang, L.; Xu, C. StyTr2: Image style transfer with transformers. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2022; pp. 11326–11336. [Google Scholar]
  37. Hoyer, L.; Dai, D.; Van Gool, L. HRDA: Context-aware high-resolution domain-adaptive semantic segmentation. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2022; pp. 372–391. [Google Scholar]
  38. Bi, Q.; You, S.; Gevers, T. Learning generalized segmentation for foggy-scenes by bi-directional wavelet guidance. Proc. AAAI Conf. Artif. Intell. 2024, 38, 801–809. [Google Scholar] [CrossRef]
  39. Tian, S.; Pang, J.; Wang, J.; Zhang, B.; Liu, W. SCM: Semantic Segmentation with Dual-stream Semantic Synergy under Adverse Weather Conditions. Multimed. Syst. 2026, 32, 23. [Google Scholar] [CrossRef]
Figure 1. Overall framework of RPCC.
Figure 1. Overall framework of RPCC.
Jimaging 12 00289 g001
Figure 2. Comparison of confidence scores and energy scores for pseudo-label reliability estimation. The horizontal axis denotes the softmax confidence score, and the vertical axis denotes the pixel-level energy score. Blue dots represent correct pseudo-labels, while red crosses represent incorrect pseudo-labels. The shaded region on the right denotes the high-confidence pseudo-label region selected by a confidence threshold, and the dotted shaded region at the bottom denotes the low-energy pseudo-label region selected by an energy threshold.
Figure 2. Comparison of confidence scores and energy scores for pseudo-label reliability estimation. The horizontal axis denotes the softmax confidence score, and the vertical axis denotes the pixel-level energy score. Blue dots represent correct pseudo-labels, while red crosses represent incorrect pseudo-labels. The shaded region on the right denotes the high-confidence pseudo-label region selected by a confidence threshold, and the dotted shaded region at the bottom denotes the low-energy pseudo-label region selected by an energy threshold.
Jimaging 12 00289 g002
Figure 3. Pixel-level visualization of pseudo-label quality under different selection strategies on the ACDC-Fog dataset. (a) Ground truth. (b) Confidence score-based selection. (c) DEPL-ND with static energy selection. (d) The proposed DEPL. Colored regions indicate correct semantic predictions, while black regions indicate incorrect pseudo-labels.
Figure 3. Pixel-level visualization of pseudo-label quality under different selection strategies on the ACDC-Fog dataset. (a) Ground truth. (b) Confidence score-based selection. (c) DEPL-ND with static energy selection. (d) The proposed DEPL. Colored regions indicate correct semantic predictions, while black regions indicate incorrect pseudo-labels.
Jimaging 12 00289 g003
Figure 4. Normalized class confusion matrices of different prediction results. (a) Source-domain prediction. (b) Target-domain prediction. (c) RCC applied to the entire target-domain prediction map. (d) RCC+DEPL applied within reliable prediction regions. Darker colors indicate stronger class correlations. Diagonal responses reflect intra-class consistency, while off-diagonal responses reflect inter-class confusion.
Figure 4. Normalized class confusion matrices of different prediction results. (a) Source-domain prediction. (b) Target-domain prediction. (c) RCC applied to the entire target-domain prediction map. (d) RCC+DEPL applied within reliable prediction regions. Darker colors indicate stronger class correlations. Diagonal responses reflect intra-class consistency, while off-diagonal responses reflect inter-class confusion.
Jimaging 12 00289 g004
Figure 5. Visualization results of class confusion on target-domain foggy images. (a) Input images. (b) Baseline. (c) RCC applied to the entire target-domain prediction map. (d) RCC+DEPL applied within reliable prediction regions. Red and yellow regions indicate higher class confusion, while blue regions indicate lower class confusion.
Figure 5. Visualization results of class confusion on target-domain foggy images. (a) Input images. (b) Baseline. (c) RCC applied to the entire target-domain prediction map. (d) RCC+DEPL applied within reliable prediction regions. Red and yellow regions indicate higher class confusion, while blue regions indicate lower class confusion.
Jimaging 12 00289 g005
Figure 6. Qualitative comparison between the proposed RPCC and existing mainstream methods on the Foggy Driving dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Figure 6. Qualitative comparison between the proposed RPCC and existing mainstream methods on the Foggy Driving dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Jimaging 12 00289 g006
Figure 7. Qualitative comparison between the proposed RPCC and existing mainstream methods on the ACDC-Fog dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Figure 7. Qualitative comparison between the proposed RPCC and existing mainstream methods on the ACDC-Fog dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Jimaging 12 00289 g007
Figure 8. Qualitative comparison among RPCC, TDo-Dif, DAEN, and SCM on the ACDC-Rain dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Figure 8. Qualitative comparison among RPCC, TDo-Dif, DAEN, and SCM on the ACDC-Rain dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Jimaging 12 00289 g008
Figure 9. Qualitative comparison among RPCC, TDo-Dif, DAEN, and SCM on the ACDC-Snow dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Figure 9. Qualitative comparison among RPCC, TDo-Dif, DAEN, and SCM on the ACDC-Snow dataset. From left to right: input image, ground truth, TDo-Dif, DAEN, SCM, and RPCC.
Jimaging 12 00289 g009
Table 1. Comparison of correct and incorrect ratios under different pseudo-label selection strategies on the ACDC-Fog dataset. DEPL-ND denotes the variant that only uses static energy selection without dynamic weight adjustment.
Table 1. Comparison of correct and incorrect ratios under different pseudo-label selection strategies on the ACDC-Fog dataset. DEPL-ND denotes the variant that only uses static energy selection without dynamic weight adjustment.
Pseudo-Label StrategyCorrect Ratio (%) ↑Incorrect Ratio (%) ↓
Confidence Score91.58.5
DEPL-ND92.17.9
DEPL93.86.2
Table 2. Comparison of mIoU (%) between the proposed RPCC and existing mainstream methods on the Foggy Driving dataset. The best and second-best results are highlighted in bold and underlined, respectively. Methods marked with † are reproduced by us, whereas methods marked with ‡ are directly collected from the corresponding publications.
Table 2. Comparison of mIoU (%) between the proposed RPCC and existing mainstream methods on the Foggy Driving dataset. The best and second-best results are highlighted in bold and underlined, respectively. Methods marked with † are reproduced by us, whereas methods marked with ‡ are directly collected from the corresponding publications.
MethodRoadS.WalkBuild.WallFencePoleTr.LightTr.SignVeget.TerrainSkyPersonRiderCarTruckBusTrainM.BikeBikemIoU
 Baseline88.026.668.128.514.642.544.354.563.09.186.964.546.765.06.813.027.528.749.243.6
 AdSegNet29.7
 AdvEnt46.8
 FDA21.8
 CycleGAN92.235.368.127.414.146.749.858.771.211.988.166.041.066.87.019.160.930.853.047.8
 CUT92.134.268.220.813.846.549.257.070.212.587.666.241.366.99.816.961.330.552.147.2
 StyTr291.833.766.636.210.533.046.453.071.77.387.666.346.165.418.111.633.835.050.645.5
 HRDA46.6
 BWG54.2
 CMAda3+49.8
 FIFO90.839.172.924.220.042.351.059.172.09.490.264.748.571.025.465.843.424.849.150.7
 CuDA-Net+53.4
 TDo-Dif91.733.072.622.721.143.146.157.270.911.487.366.141.172.337.815.530.025.044.246.8
 DAEN92.542.670.627.820.645.550.660.173.411.490.469.151.970.416.162.965.133.353.553.0
 SCM92.138.466.735.917.948.249.957.570.513.086.266.250.070.423.367.677.235.649.953.5
RPCC (Ours)92.631.875.126.519.245.251.158.673.517.288.970.447.377.159.477.661.836.554.256.0
Table 3. Comparison of mIoU (%) between the proposed RPCC and existing mainstream methods on the ACDC-Fog dataset. The best and second-best results are highlighted in bold and underlined, respectively. Methods marked with † are reproduced by us.
Table 3. Comparison of mIoU (%) between the proposed RPCC and existing mainstream methods on the ACDC-Fog dataset. The best and second-best results are highlighted in bold and underlined, respectively. Methods marked with † are reproduced by us.
MethodRoadS.WalkBuild.WallFencePoleTr.LightTr.SignVeget.TerrainSkyPersonRiderCarTruckBusTrainM.BikeBikemIoU
 Baseline79.865.267.818.726.530.559.854.771.249.293.641.649.869.920.925.279.312.156.451.2
 CycleGAN94.975.574.036.732.737.365.662.382.656.194.346.957.083.643.260.078.740.160.062.2
 CUT94.474.176.241.132.236.865.461.582.654.496.043.058.083.346.671.082.459.057.264.0
 StyTr287.073.872.542.928.931.961.154.177.952.585.549.251.080.030.145.545.333.659.655.8
 FIFO51.364.971.222.026.827.749.252.373.246.160.348.552.574.816.954.167.416.260.649.3
 TDo-Dif94.373.882.350.744.344.860.159.085.946.395.142.165.984.648.370.687.666.341.265.4
 DAEN95.581.482.748.235.544.468.866.585.755.397.346.758.385.641.574.288.327.861.765.6
 SCM92.680.973.947.933.048.970.457.783.957.492.250.462.682.956.140.779.445.663.364.2
RPCC (Ours)96.582.978.746.433.046.070.956.384.953.396.044.960.487.145.181.391.059.959.067.0
Table 4. Statistical comparison of overall mIoU (%) for methods reproduced under our experimental setting over three random seeds on the Foggy Driving and ACDC-Fog datasets. Results are reported as mean ± standard deviation. The best results are highlighted in bold.
Table 4. Statistical comparison of overall mIoU (%) for methods reproduced under our experimental setting over three random seeds on the Foggy Driving and ACDC-Fog datasets. Results are reported as mean ± standard deviation. The best results are highlighted in bold.
MethodFoggy DrivingACDC-Fog
Baseline43.6 ± 0.3151.2 ± 0.28
CycleGAN47.8 ± 0.3562.2 ± 0.41
CUT47.2 ± 0.3864.0 ± 0.33
StyTr245.5 ± 0.4455.8 ± 0.47
FIFO50.7 ± 0.3249.3 ± 0.46
TDo-Dif46.8 ± 0.4165.4 ± 0.34
DAEN53.0 ± 0.2665.6 ± 0.29
SCM53.5 ± 0.3064.2 ± 0.37
RPCC (Ours)56.0 ± 0.2267.0 ± 0.24
Table 5. Comprehensive ablation study of the proposed RPCC framework on the Foggy Driving dataset. FD denotes the Foggy Driving dataset. The best results are highlighted in bold.
Table 5. Comprehensive ablation study of the proposed RPCC framework on the Foggy Driving dataset. FD denotes the Foggy Driving dataset. The best results are highlighted in bold.
Method/VariantPseudo-Label StrategyClass Confusion Mitigation StrategymIoU
Baseline43.6
Baseline + ConfidenceConfidence-based pseudo-labeling48.3
Baseline + RCCRCC on the whole target prediction50.1
Baseline + DEPLDEPL51.3
RCC + ConfidenceConfidence-based pseudo-labelingFull RCC53.3
RCC + DEPL-NDStatic energy-based pseudo-labelingFull RCC54.1
DEPL + RCCDEPLRCC on the whole target prediction54.4
DEPL + RCCDEPLRCC without class channel normalization55.3
RPCC (Ours)DEPLFull RCC56.0
Table 6. Sensitivity analysis of EMA update ratio and loss weights on the Foggy Driving dataset. FD denotes the Foggy Driving dataset. The best results are highlighted in bold.
Table 6. Sensitivity analysis of EMA update ratio and loss weights on the Foggy Driving dataset. FD denotes the Foggy Driving dataset. The best results are highlighted in bold.
α mIoU λ rcc mIoU λ dl mIoU
0.950.30.0754.90.552.9
0.9953.10.0655.11.056.0
0.99956.00.0556.05.051.4
0.999952.30.0453.9
0.0353.8
Table 7. Sensitivity analysis of the energy threshold λ e and dynamic pseudo-label selection weight β t on the Foggy Driving dataset. FD denotes the Foggy Driving dataset. The best results are highlighted in bold.
Table 7. Sensitivity analysis of the energy threshold λ e and dynamic pseudo-label selection weight β t on the Foggy Driving dataset. FD denotes the Foggy Driving dataset. The best results are highlighted in bold.
λ e mIoU β t mIoU
−1952.21.054.0
−1752.40.954.9
−1556.00.856.0
−1354.50.752.5
−1153.80.651.2
Table 8. Computational overhead comparison between the proposed RPCC, the RefineNet-LW baseline, and representative competitors.
Table 8. Computational overhead comparison between the proposed RPCC, the RefineNet-LW baseline, and representative competitors.
MethodTrain Time (h)GPU Memory (GiB)Total Params (M)GMACsInfer. Time (ms/img)
RefineNet-LW (Baseline)1318.046.35410.3348.37
FIFO3322.8184.62820.2098.74
TDo-Dif2723.6118.052084.83130.52
RPCC (Ours)1720.546.35410.3348.22
Table 9. Comparison of mIoU (%) between the proposed RPCC and recent representative methods on the rainy and snowy subsets of the ACDC dataset. The best results are highlighted in bold.
Table 9. Comparison of mIoU (%) between the proposed RPCC and recent representative methods on the rainy and snowy subsets of the ACDC dataset. The best results are highlighted in bold.
MethodRainSnow
FIFO47.248.1
TDo-Dif51.051.4
DAEN54.252.4
SCM56.652.7
RPCC (Ours)58.354.2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Yan, S.; Feng, S.; Wei, Z. Reliable Pseudo-Labeling and Confusion Calibration for Foggy-Scene Semantic Segmentation. J. Imaging 2026, 12, 289. https://doi.org/10.3390/jimaging12070289

AMA Style

Yan S, Feng S, Wei Z. Reliable Pseudo-Labeling and Confusion Calibration for Foggy-Scene Semantic Segmentation. Journal of Imaging. 2026; 12(7):289. https://doi.org/10.3390/jimaging12070289

Chicago/Turabian Style

Yan, Shuai, Shirong Feng, and Zhicheng Wei. 2026. "Reliable Pseudo-Labeling and Confusion Calibration for Foggy-Scene Semantic Segmentation" Journal of Imaging 12, no. 7: 289. https://doi.org/10.3390/jimaging12070289

APA Style

Yan, S., Feng, S., & Wei, Z. (2026). Reliable Pseudo-Labeling and Confusion Calibration for Foggy-Scene Semantic Segmentation. Journal of Imaging, 12(7), 289. https://doi.org/10.3390/jimaging12070289

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop