RankMatch: Exploring the Better Consistency Regularization for Semi-Supervised Semantic Segmentation

Huayu Mai, Rui Sun, Tianzhu Zhang, Feng WuCVPR 2024

Abstract

The key to semi-supervised semantic segmentation (SSSS) lies in effectively exploiting substantial unlabeled data to improve model generalization. Most existing methods rely on pixel-wise consistency regularization or complex contrastive learning, which can suffer from heavy memory footprints and confirmation bias. In this paper, we introduce RankMatch, a framework that shifts the focus to inter-pixel correlations. By constructing representative agents and modeling inter-agent relationships through rank-aware correlation consistency, RankMatch provides a safer and more effective supervision signal. Extensive experiments on benchmarks like PASCAL VOC 2012, Cityscapes, and Lucchi mitochondria segmentation demonstrate that RankMatch significantly outperforms state-of-the-art methods, particularly in low-data regimes.

Introduction

Semi-supervised semantic segmentation aims to bridge the gap between limited labeled data and abundant unlabeled data. The standard paradigm, consistency regularization, typically forces a "student" network to match the pixel-level predictions of a "teacher" network under different augmentations. However, treating pixels as independent entities ignores the structural context inherent in images. While contrastive learning attempts to capture these relationships, it often introduces significant computational complexity and is prone to reinforcing the model's own errors.

RankMatch addresses these bottlenecks by proposing a fresh perspective: instead of matching raw pixel values or complex contrastive pairs, it matches the ranking of correlations between pixels and a set of representative semantic "agents."

Methodology

Conceptual evolution from pixel-wise consistency to rank-aware correlation consistency.

Agent-level Correlation

To avoid the computational explosion of comparing every pixel to every other pixel, RankMatch selects a small set of representative agents. These agents are chosen using an orthogonal selection strategy, a greedy approach that identifies pixels capturing diverse semantic cues across the image. For any given pixel $p$, the model calculates its similarity to each agent, creating a correlation profile that represents the pixel's relationship to the broader scene context.

Rank-aware Correlation Consistency

The core innovation of RankMatch is matching the ranking of these agent correlations rather than their raw values. Ranking is inherently more robust to noise and intensity fluctuations. The framework treats the ranking of agents as a probability distribution using the Plackett-Luce model. By minimizing the KL-divergence between the teacher's and student's ranking distributions (specifically focusing on the top-4 most similar agents for efficiency), the model learns stable structural relationships. This approach allows the model to handle uncertainty gracefully, learning from the teacher's relative preferences even when absolute confidence is low.

Experimental Results

Quantitative performance on Cityscapes and qualitative comparison against state-of-the-art methods.

RankMatch was evaluated across three major benchmarks, demonstrating superior performance and generalization:

  • Cityscapes: In the highly challenging 1/16 labeled data regime, RankMatch achieved 75.4% mIoU, a 12.1% improvement over the supervised baseline and a significant margin over previous SOTA methods like UniMatch.
  • PASCAL VOC 2012: On the 1/16 partition (92 images), the model reached 71.6% mIoU, representing a massive 27.6% gain over the baseline, showcasing its dominance when labeled data is extremely scarce.
  • Lucchi (Mitochondria): To test domain generalizability, RankMatch was applied to electron microscopy images. It achieved 88.1% mIoU with 1/8 labels, proving its effectiveness in specialized biological imaging where objects are small and textures are repetitive.

Qualitative results (as seen in Figure 3) highlight that RankMatch produces much cleaner segmentations with fewer artifacts in complex regions compared to methods like $U^2PL$ or DGCL.

Conclusion

RankMatch redefines consistency regularization for SSSS by prioritizing structural correlation rankings over individual pixel labels. This shift provides a richer, more stable supervision signal that is less susceptible to confirmation bias. While the permutation-based ranking adds a minor computational overhead, the significant performance gains—especially in low-data scenarios—make it a powerful new tool for semi-supervised dense prediction tasks. Future work will explore extending this rank-aware consistency to other domains like depth estimation and optical flow.

Summary updated

BibTeX
@inproceedings{mai2024rankmatch,
  author = {Huayu Mai and Rui Sun and Tianzhu Zhang and Feng Wu},
  title = {{RankMatch: Exploring the Better Consistency Regularization for Semi-Supervised Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=HPxabfkMX6},
}
Figure