Introduction
Semi-supervised Domain Adaptation (SSDA) represents a critical frontier in machine learning, addressing the challenge of transferring knowledge from a label-rich "source" domain to a label-scarce "target" domain. While standard domain adaptation focuses on unsupervised scenarios, SSDA leverages a handful of labeled target examples (typically 1 or 3 per class) to bridge the gap between domains. However, existing methods often struggle to fully exploit these sparse labels or fail to maintain structural consistency across different levels of data representation.
The Multi-level Consistency Learning (MCL) framework addresses these limitations by enforcing consistency across three distinct scales: inter-domain alignment, intra-domain class structure, and individual sample predictions. By integrating prototype-based optimal transport with a novel class-wise contrastive loss, MCL establishes a new state-of-the-art for SSDA tasks.
The Multi-level Consistency Framework
The core of MCL lies in its ability to process two "views" of target data—a weakly augmented version (View A) and a strongly augmented version (View B)—and ensure they remain consistent across three hierarchical levels.
1. Inter-domain Level: Prototype-based Alignment
To bridge the gap between source and target domains, MCL utilizes Optimal Transport (OT) to map target features to source prototypes. These prototypes serve as representative centers for each class in the source domain. By aligning target samples with these prototypes rather than individual source samples, the model becomes significantly more robust to noise and the mini-batch fluctuations common in small-scale training. The framework ensures that if View A of a sample is mapped to a specific source class, View B is similarly clustered toward that same class prototype.
2. Intra-domain Level: Class-wise Consistency
Beyond simple sample-to-sample comparisons, MCL introduces a class-wise approach to learn the global structure of the target domain. The model computes a cross-correlation matrix between the predictions of View A and View B for an entire batch. By optimizing this matrix toward an identity matrix, the model encourages target features to be both compact (intra-class similarity) and discriminative (inter-class separation). This global perspective is particularly effective when labels are extremely scarce, as it treats the entire batch's prediction for a class as a single entity.
3. Sample Level: Prediction Consistency
At the most granular level, MCL adopts standard semi-supervised practices like pseudo-labeling. High-confidence predictions from the weakly augmented View A are used as "pseudo-labels" to supervise the model's training on the strongly augmented View B. This ensures that the model's predictions remain stable under heavy data transformations.
Experimental Evaluation
The MCL framework was rigorously tested on three major SSDA benchmarks:
- DomainNet: A large-scale dataset featuring 126 categories across diverse domains such as Clipart, Painting, and Sketch.
- VisDA2017: A synthetic-to-real challenge focusing on 12 categories.
- Office-Home: A dataset containing 65 categories across four domains (Art, Clipart, Product, Real World).
Experiments were conducted in both 1-shot and 3-shot settings.
Key Results and Insights
MCL consistently outperformed previous state-of-the-art (SOTA) methods, including CDAC and DECOTA. Notable achievements include:
- DomainNet: Reached a mean accuracy of 76.5% in the 3-shot scenario.
- Office-Home: Achieved 77.1% accuracy (3-shot), a 1.4% improvement over previous benchmarks.
- VisDA2017: Demonstrated a significant leap to 87.3% mean class-wise accuracy, compared to previous baselines ranging from 64% to 80%.
The ablation studies highlight the "Power of Three": while each consistency level provides benefits, the combination of all three is essential for peak performance. The inter-domain level acts as the bridge between domains, while the intra-domain and sample levels refine the internal logic of the target domain.
Conclusion and Future Work
The Multi-level Consistency Learning framework demonstrates that hierarchical consistency is key to solving the challenges of SSDA. While the model introduces some computational overhead due to the Sinkhorn-Knopp algorithm used in Optimal Transport and requires careful hyperparameter tuning, its performance gains are substantial. Future research may explore extending this multi-level approach to Unsupervised Domain Adaptation (UDA) or multi-source scenarios, potentially further reducing the reliance on labeled data in complex real-world environments.
Summary updated