SemAlign: Language Guided Semi-supervised Domain Generalization
Muditha Fernando, Kajhanan Kailainathan, Krishnakanth Nagaratnam, Isuranga Udaravi Bandara Senavirathne, Ranga Rodrigo
TL;DR
This work tackles semi-supervised domain generalization (SSDG) by moving beyond sole reliance on pseudo-labeling accuracy and toward maximizing data utilization. It introduces SemAlign, which aligns intermediate features with the semantically rich space of a Vision-Language Model (via CLIP-based class prototypes) to promote domain-invariant representations, complemented by entropy-based and adaptive negative learning losses, plus targeted Fourier and texture-based augmentations. Key contributions include a residual feature refinement mechanism, multi-term feature and output space losses, and data-augmented training that leverages all unlabeled data, validated on four benchmarks with state-of-the-art results and evidence of improved Effective Data Utilization ($EDU$). The approach offers a practical, label-efficient pathway to robust domain generalization in diverse visual domains, with future work aimed at relaxing the need for meaningful class labels.
Abstract
Semi-supervised Domain Generalization (SSDG) addresses the challenge of generalizing to unseen target domains with limited labeled data. Existing SSDG methods highlight the importance of achieving high pseudo-labeling (PL) accuracy and preventing model overfitting as the main challenges in SSDG. In this light, we show that the SSDG literature's excessive focus on PL accuracy, without consideration for maximum data utilization during training, limits potential performance improvements. We propose a novel approach to the SSDG problem by aligning the intermediate features of our model with the semantically rich and generalized feature space of a Vision Language Model (VLM) in a way that promotes domain-invariance. The above approach is enhanced with effective image-level augmentation and output-level regularization strategies to improve data utilization and minimize overfitting. Extensive experimentation across four benchmarks against existing SSDG baselines suggests that our method achieves SOTA results both qualitatively and quantitatively. The code will be made publicly available.
