Abstract
Deep regression models typically require massive labeled datasets to map complex inputs to continuous values. This paper introduces GCLSS (Generalized Contrastive Learning with Spectral Seriation), a semi-supervised framework that uses a small set of labeled "anchor" samples to recover the hidden ordinal rankings of unlabeled data. By combining these recovered rankings with a noise-reducing feature selection module, the framework achieves state-of-the-art performance across medical imaging, computer vision, and audio tasks.
Introduction
In deep learning, regression—predicting continuous numbers like age or health scores—is often more challenging than classification. While contrastive learning has revolutionized how models learn feature representations by comparing similar and dissimilar pairs, it struggles with regression because "similarity" exists on a spectrum rather than a binary.
Existing semi-supervised regression (SSR) methods usually focus on making predictions consistent across different views of the same data. However, they often ignore the underlying structure of the feature space. To use contrastive learning effectively without labels, we need to know the relative order (ordinal ranking) of unlabeled samples. Previous attempts (such as the authors' earlier work, CLSS) tried to infer this order using only unlabeled data, but these estimations were often noisy and inaccurate.
Methodology: The GCLSS Framework
The authors propose Generalized Contrastive Learning with Spectral Seriation (GCLSS). The core idea is to treat the few available labels as "ground truth anchors" that help organize the entire feature space.
1. Generalized Spectral Seriation
Spectral seriation is a mathematical technique that takes a similarity matrix and finds the best linear ordering of the elements. GCLSS constructs a similarity matrix containing both labeled and unlabeled samples. The known labels act as a "backbone," providing a global coordinate system that makes the recovered rankings of the unlabeled samples much more reliable.
2. Memory-based Feature Selection Module (MFSM)
Unlabeled data is inherently noisy. To prevent "garbage in, garbage out," the authors use a Dynamic Programming (DP) algorithm to select the most stable features across different training steps. This filters out features with high variance, ensuring the similarity matrix is built on robust information.
3. Multi-Component Loss
The model is trained using a combination of three loss types:
- Supervised Loss: Standard regression on labeled data.
- Supervised Contrastive Loss: Ensuring labeled features respect label distances.
- Unsupervised Contrastive & Ranking Losses: Forcing unlabeled features and predictions to match the ordinal rankings recovered via spectral seriation.
Experimental Evaluation
The authors evaluated GCLSS on a diverse range of benchmarks:
- IXI Dataset: Brain MRI volumes for biological age estimation.
- Synthetic Dataset: A non-linear operator learning task based on partial differential equations.
- AgeDB-DIR & UTKFace: Natural face photographs for chronological age estimation.
- BVCC: An audio dataset for predicting mean opinion scores of speech quality.
Key Results
GCLSS consistently outperformed state-of-the-art (SOTA) methods like RankUp and UCVME:
- Medical Imaging (IXI): On the $R^2$ metric (where 1.0 is perfect), GCLSS achieved 53.3% with only 1/5 of the labels, compared to 45.0% for the previous best contrastive method (CLSS).
- Natural Images (UTKFace): GCLSS reduced the Mean Absolute Error (MAE) to 5.22 years, outperforming all other semi-supervised competitors.
- Efficiency: Despite the added complexity of spectral seriation, the authors show that GCLSS has a similar inference time and parameter count to standard models because the heavy lifting (seriation and DP) only happens during training.
Discussion and Insights
- Labels as Regularizers for Unlabeled Space: Instead of just using labels to calculate error at the end, GCLSS uses them to "rectify" the geometry of the feature space. Even a tiny amount of labeled data significantly improves the model's ability to "sort" unlabeled data correctly.
- Robustness of Seriation: The paper provides a theoretical proof showing that spectral seriation is inherently robust to a certain degree of noise in the similarity matrix. This explains why the method works even when the model's initial feature representations are imperfect.
- Feature Stability vs. Accuracy: In semi-supervised learning, the stability of a feature (how little it changes between training iterations) is a strong proxy for its reliability. The MFSM module leverages this to stabilize the training process.
Limitations and Future Work
While GCLSS shows significant promise, it faces challenges in Computational Scaling. The similarity matrix scales quadratically ($O(N^2)$) with the number of samples in a mini-batch. While the authors use a moderate batch size to keep this manageable, scaling to very large batch sizes might require more efficient approximation methods. Additionally, the method assumes a Manifold Assumption, where data lies on a relatively simple 1D manifold. Future work may explore how this "anchor-based" ranking could be applied to multi-dimensional target variables or time-series forecasting.
Summary updated