The field of semi-supervised learning (SSL) has seen substantial progress, driven by ongoing refinements within the pseudo-label SSL paradigm. The main difficulty lies in reducing the adverse impact of confirmation bias. The predominant approach is to apply a confidence threshold during training to discard low-confidence samples. Nevertheless, while this mitigates the bias, the discarded samples are mostly situated near class boundaries, and consequently, this strategy also loses valuable boundary information. To address this problem, we propose Boundary Refinement and Correction (BRC), an add-on for confidence-thresholded SSL that rescues useful discarded samples without changing how the base SSL method selects pseudo-labels. BRC keeps the original confidence-based selection rule and operates only on the rejected set. It first identifies discarded samples that may still be useful for training, then replaces their original pseudo-labels with corrected soft pseudo-labels and returns them to the unsupervised loss. Extensive experiments on CIFAR-100, STL-10, and TissueMNIST demonstrate the flexibility and broad applicability of BRC across diverse datasets and base SSL methods, reducing error rates by up to 4.97 percentage points. On boundary-near samples, BRC further improves Top-1 accuracy by 12.80 percentage points, directly supporting its ability to refine the model's decision boundary. An exploratory extension to semantic segmentation also yields consistent gains of 1.03-2.39 mIoU, indicating that BRC generalizes beyond image classification.
Figures & tables
Figure 1: Motivation of BRC. Confidence thresholding removes samples near the class boundary and weakens margin supervision. BRC selects and corrects useful discarded samples to restore boundary information.
Figure 2: Overall BRC framework. Top: the backbone update selects useful samples from Drej , assigns corrected targets yj , and reuses them through Lres . Bottom: the RCN update uses virtual updates and gradient-direction comparison to learn corrections and utility scores.
Dataset (labeled samples)
FixMatch
FlexMatch
FreeMatch
OTMatch
RegMixMatch
Avg. reduction
Base
+BRC
Base
+BRC
Base
+BRC
Base
+BRC
Base
+BRC
Δerr
CIFAR-100 (100)
53.19 ± 1.36
52.74 ± 0.35
42.68 ± 2.84
38.50 ± 4.45
38.08 ± 4.06
34.94 ± 2.04
41.48 ± 2.56
36.51 ± 3.24
39.55 ± 5.03
38.03 ± 4.93
2.85
CIFAR-100 (200)
31.55 ± 3.86
30.64 ± 2.23
27.08 ± 1.50
23.18 ± 1.84
21.44 ± 3.56
20.42 ± 1.81
21.56 ± 2.70
20.48 ± 1.96
22.18 ± 5.04
20.99 ± 4.73
1.62
STL-10 (40)
18.82 ± 4.00
14.51 ± 6.85
14.14 ± 5.54
13.80 ± 3.28
12.78 ± 3.01
10.55 ± 2.38
13.26 ± 2.59
12.66 ± 4.49
11.53 ± 4.40
8.13 ± 0.66
2.18
STL-10 (100)
6.01 ± 1.04
4.94 ± 0.67
6.55 ± 1.26
6.20 ± 0.99
6.18 ± 0.76
6.15 ± 0.88
6.36 ± 0.87
6.19 ± 0.99
6.65 ± 1.37
6.37 ± 0.83
0.38
TissueMNIST (100)
55.14 ± 1.59
54.19 ± 1.92
57.84 ± 1.81
56.57 ± 2.54
57.38 ± 2.74
55.66 ± 1.59
57.02 ± 2.71
55.65 ± 1.38
56.68 ± 1.27
55.10 ± 0.61
1.38
Table 1: Main results in Top-1 error rate (%; mean ± standard deviation). Lower is better. BRC reduces error in all 30 method–setting pairs, demonstrating broad applicability across datasets and base learners.
Variant
FlexMatch
FreeMatch
RegMixMatch
Base
42.68 ± 2.84
38.08 ± 4.06
39.55 ± 5.03
Full BRC
38.50 ± 4.45
34.94 ± 2.04
38.03 ± 4.93
Random selection
42.91 ± 2.58
36.59 ± 1.54
40.25 ± 3.12
w/o correction
45.21 ± 4.00
38.27 ± 2.15
44.51 ± 2.21
Table 2: Ablations of learned selection and label correction. Entries are Top-1 error rate (%; mean ± standard deviation); lower is better. Full BRC performs best; random selection weakens the gains, while removing correction performs worse than Base.
Figure 5
Figure 5: Top-1 accuracy (a) and NLL (b) of Base, a lower-threshold control, and BRC on fixed full, non-boundary, and boundary sample sets. BRC substantially improves boundary predictions, whereas lowering the threshold does not, supporting the learned select–correct–reuse mechanism.
Figure 6: Hyperparameter sensitivity of BRC. The star marks the setting used for the main results, and the dashed line shows the Base accuracy. BRC outperforms Base under every tested configuration, indicating robustness to reasonable hyperparameter choices.
Method
Krcn
Err.
Params
Wall time
Time ratio
(%)
(M)
(h)
( × )
FlexMatch
–
27.59
21.44
9.39
1.00
BRC
2
23.70
21.85
17.63
1.88
BRC
5
20.34
21.85
13.33
1.42
BRC
10
22.50
21.85
11.48
1.22
BRC
20
22.19
21.85
10.04
1.07
Table 3: Error rate, trainable parameters, and training time under different RCN update intervals. The RCN adds only 1.9% trainable parameters, while its update interval provides a controllable accuracy–efficiency trade-off.
Figure 7: Sample-level BRC cases. GT rank is the ground-truth class rank (1 is best); Original-class p is the probability assigned to the original pseudo-label class before and after correction. The panels show complete correction, partial improvement, correct filtering, and a failure case; the final column reports the utility score, rescue decision, and the BRC-trained backbone prediction.
Figure 8: Pixel-level case studies. In each row, yellow highlights the ground-truth region, while red and green contours denote the Base and PixelBRC boundaries. PixelBRC follows the ground truth more closely in both cases.
Dataset (split)
Base learner
Base
+PixelBRC
Δ
CamVid (1/4)
Dense FreeMatch
79.91
82.30
+2.39
PASCAL VOC (1/8)
FixMatch
85.94
87.55
+1.61
ADE20K (1/16)
UniMatch V2
45.34
46.75
+1.41
Stanford BG (1/4)
Teacher–student
76.50
77.67
+1.17
CamVid (1/4)
FixMatch
82.04
83.07
+1.03
Table 4: Exploratory transfer to semi-supervised semantic segmentation. Entries are best validation mIoU (%); higher is better. PixelBRC improves all evaluated settings by 1.03 – 2.39 mIoU, supporting BRC’s cross-task generalization to dense prediction.
Setting
CIFAR-100
STL-10
TissueMNIST
Backbone
ViT-S/2
ViT-B/16
ViT-Ti/2
Input resolution
322
962
322
Feature dimension d
384
768
192
Attention heads
6
12
3
Transformer blocks
12
12
12
Backbone LR
5×10−4
10−4
5×10−5
Table S1 : Classification architecture and dataset-specific configuration. The number after the slash denotes the patch size.
Base
Trcn
Tres
ρ
RCN cutoff
FixMatch
50,000
55,000
20%
0.95
FlexMatch
0
5,000
30%
0.98
FreeMatch
50,000
55,000
50%
Adaptive
OTMatch
50,000
55,000
50%
0.95
RegMixMatch
0
5,000
30%
0.98
Table S2 : Classification BRC experiment settings. Trcn and Tres denote the start iterations for RCN updates and rescue; ρ is the rescue ratio.
CIFAR-100
Base (100)
BRC (100)
Base (200)
BRC (200)
Method
Seed 1
Seed 2
Seed 42
Seed 1
Seed 2
Seed 42
Seed 1
Seed 2
Seed 42
Seed 1
Seed 2
Seed 42
FixMatch
53.710
54.210
51.640
52.670
53.120
52.420
31.540
35.410
27.700
32.420
31.350
28.140
FlexMatch
39.510
43.520
45.000
34.050
38.500
42.950
28.280
27.570
25.400
25.180
22.810
21.560
FreeMatch
33.500
39.490
41.250
33.220
34.410
37.200
22.730
24.180
17.410
22.370
20.090
18.800
OTMatch
38.580
43.430
42.430
33.640
35.880
40.020
21.960
24.040
18.690
22.470
20.420
18.550
RegMixMatch
34.170
44.130
40.340
32.630
42.280
39.170
25.680
24.460
16.410
24.880
22.370
15.720
Table S3 : Full seed-level classification results underlying main-paper Table 1. Entries are Top-1 error rates (%); lower is better. Parentheses give the label budget. Base and BRC share the data split within each paired setting and seed.
Dataset
Base
Epochs
Batch
Start
CamVid
Dense FreeMatch
120
4
500
VOC
FixMatch
60
4
2,000
ADE20K
UniMatch V2
60
8
2,000
Stanford BG
Teacher–student
80
2
500
CamVid
FixMatch
120
4
500
Table S4 : PixelBRC training configuration. Batch denotes the size of each labeled/unlabeled minibatch; Start is the first rescue iteration. Splits are CamVid/Stanford BG 1/4, VOC 1/8, and ADE20K 1/16.
Base learner
Threshold
V
Strong-view training
FixMatch
Fixed 0.95
1
CutMix
Dense FreeMatch
Adaptive
1
CutMix
UniMatch V2
Fixed 0.95
2
CutMix and complementary feature dropout
Teacher–student
Fixed 0.95
1
CutMix disabled
Table S5 : Base-specific PixelBRC integration. V is the number of strong views; accepted-pixel and rescue losses are averaged over these views.
Selection
Rescue target
Rfirst ( 10−8 )
Utility score
Learned correction
3.21
Original confidence
Learned correction
−0.35
Corrected confidence
Learned correction
0.22
Random
Learned correction
−0.42
Utility score
Original soft prediction
0.87
Utility score
Uniform soft label
−2.11
Table S6 : Training value of rescued samples at a fixed checkpoint. Larger Rfirst indicates a greater predicted decrease in held-out loss.
Configuration
Test acc. (%)
Narrow-boundary acc. (%)
Base
72.41
30.57
All rejected + Correction
71.96
32.65
Random + Correction
72.24
33.39
Original confidence + Correction
72.30
34.52
Corrected confidence + Correction
70.98
34.03
Utility score + Original soft prediction
73.36
32.04
Table S7 : Single-seed full-training comparison on CIFAR-100 with 200 labels using FlexMatch. Each row reports test accuracy (%) and accuracy (%) on the fixed narrow-boundary (Strict) set, Ri∈[0.90,1.10] .
Base
Variant
Seed 1
Seed 2
Seed 42
Mean (%)
FlexMatch
Base
60.49
56.48
55.00
57.32
FlexMatch
Full BRC
65.95
61.50
57.05
61.50
FlexMatch
Random selection
58.67
58.49
54.11
57.09
FlexMatch
w/o correction
57.81
56.32
50.25
54.79
FlexMatch
w/o score loss
60.79
62.30
54.37
59.15
FreeMatch
Base
66.50
60.51
58.75
61.92
Table S8 : Per-seed Top-1 accuracy for component ablations. Seed values are reported before aggregation; the mean column is their arithmetic mean.
Parameter
Value
Best validation Top-1 (%)
Best iteration
τrcn
0.85
75.20
182,271
τrcn
0.90
78.34
122,879
τrcn
0.95
77.53
155,647
τrcn
0.98
77.50
188,415
τrcn
0.995
75.49
108,543
ρ (%)
10
75.89
190,463
Table S9 : Numerical results for the main-paper hyperparameter sensitivity analysis. Entries are best validation Top-1 accuracies.
Figure S1 : Four additional CIFAR-100 cases: Base predictions, RCN targets, rescue decisions, and final backbone predictions.
Figure S2 : Six additional VOC validation cases showing the input and zoomed ground-truth, Base, and PixelBRC regions, with boundary metrics below. Yellow, red, and green contours mark the respective boundaries.
Semi-supervised learning (SSL) often suffers under class imbalance, where pseudo-labeling amplifies majority bias and suppresses minority performance. We address this issue with a lightweight framework that, to our knowledge, is the first to introduce Proportion Loss from learning from label proportions (LLP) into SSL as a regularization term. Proportion Loss aligns model predictions with the global class distribution, mitigating bias across both majority and minority classes. To further stabilize training, we formulate a stochastic variant that accounts for fluctuations in mini-batch composition. Experiments on the Long-tailed CIFAR-10 benchmark show that integrating Proportion Loss into FixMatch and ReMixMatch consistently improves performance over the baselines across imbalance severities and label ratios, and achieves competitive or superior results compared to existing CISSL methods, particularly under scarce-label conditions.
Real-world semi-supervised learning (SSL) often encounters significant challenges with long-tailed label distributions and noisy pseudo-labels, which hinder generalization and amplify confirmation bias. In this work, we introduce a novel framework, Gaussian Bridge Consistency (GBC), to address these challenges by constructing semantic interpolation paths between unlabeled samples and high-quality class anchors. Our method maintains a dynamic Prototype Atlas that stores a diverse and evolving set of labeled and pseudo-labeled exemplars per class. For each unlabeled instance, GBC forms a class-conditional Gaussian Feature Bridge in the latent space, enabling the student model to traverse a smooth trajectory from uncertain predictions to reliable class prototypes. A bridge consistency loss is applied along this path to enforce alignment with a geometrically interpolated target distribution. Furthermore, we propose BridgeMix, a confidence-aware feature mixing strategy that interpolates both sample and anchor pairs to amplify cross-sample generalization. Extensive experiments on CIFAR10-LT and ImageNet-LT (USB benchmarks) validate the robustness and effectiveness of GBC under realistic long-tailed SSL settings, consistently improving long tail-class performance without sacrificing scalability.
Hongyang He, Xinyuan Song, Yan Zhong +4
University of Warwick, Coventry, United Kingdom · Wuhan University, Wuhan, China · Emory University, Atlanta, GA, USA +2
In semantic segmentation, the creation of pixel-level labels for training data incurs significant costs. To address this problem, semi-supervised learning, which utilizes a small number of labeled images alongside unlabeled images to enhance the performance, has gained attention. A conventional semi-supervised learning method, ClassMix, pastes class labels predicted from unlabeled images onto other images. However, since ClassMix performs operations using pseudo-labels obtained from unlabeled images, there is a risk of handling inaccurate labels. Additionally, there is a gap in data quality between labeled and unlabeled images, which can impact the feature maps. This study addresses these two issues. First, we propose a method where class labels from labeled images, along with the corresponding image regions, are pasted onto unlabeled images and their pseudo-labeled images. Second, we introduce a method that trains the model to make predictions on unlabeled images more similar to those on labeled images. Experiments on the Chase and COVID-19 datasets demonstrated an average improvement of 2.07% in mIoU compared to conventional semi-supervised learning methods.
Takahiro Mano, Reiji Saito, Kazuhiro Hotta
Meijo University, 1-501 Shiogamaguchi, Tempaku-ku, Nagoya 468-8502, Japan