RelationMatch: Matching In-batch Relationships for Semi-supervised Learning
Yifan Zhang, Jingqin Yang, Zhiquan Tan, Yang Yuan
TL;DR
RelationMatch introduces Matrix Cross-Entropy (MCE), a theoretically grounded loss that enforces in-batch relational consistency between weak and strong augmentations in semi-supervised learning. By representing predictions as density-like matrices and aligning their pairwise relations via MCE, the approach extends traditional cross-entropy with a principled, geometry-aware objective. Empirically, it yields strong gains across CIFAR-10/100 and STL-10, including notable improvements over state-of-the-art methods and compatibility with Curriculum Pseudo Labeling (CPL). The framework rests on solid connections to density matrices, von Neumann entropy, and information geometry, offering a versatile foundation for incorporating relational cues in SSL and beyond.
Abstract
Semi-supervised learning has emerged as a pivotal approach for leveraging scarce labeled data alongside abundant unlabeled data. Despite significant progress, prevailing SSL methods predominantly enforce consistency between different augmented views of individual samples, thereby overlooking the rich relational structure inherent within a mini-batch. In this paper, we present RelationMatch, a novel SSL framework that explicitly enforces in-batch relational consistency through a Matrix Cross-Entropy (MCE) loss function. The proposed MCE loss is rigorously derived from both matrix analysis and information geometry perspectives, ensuring theoretical soundness and practical efficacy. Extensive empirical evaluations on standard benchmarks, including a notable 15.21% accuracy improvement over FlexMatch on STL-10, demonstrate that RelationMatch not only advances state-of-the-art performance but also provides a principled foundation for incorporating relational cues in SSL.
