ACR is a plug-in that extends existing unsupervised domain adaptation (UDA) methods for semantic segmentation to handle both domain and taxonomy shift. Target-only classes are recovered from a handful of labeled target images, with no extra cost at inference.
Semantic segmentation in specialized domains, such as industrial inspection and medical imagery, is challenged not only by distribution shifts across acquisition conditions, but also by discrepancies between source and target taxonomies. This is particularly relevant to photovoltaic (PV) inspection, where annotations require expert knowledge, datasets are small and imbalanced, and different imaging modalities such as electroluminescence (EL), ultraviolet-induced fluorescence (UV) and visible light (RGB) imagery reveal complementary structural and defect-related characteristics.
We introduce anchored class recovery (ACR), a domain-adaptive semantic segmentation framework that jointly addresses distribution and taxonomy shifts. Our approach enhances self-training unsupervised domain adaptation pipelines through dual prototype refinement (DPR), which refines the target adaptation for shared classes using a feature prototype bank. For target-private classes, an exemplar-anchored pseudo-label recovery (EAPR) module combines a frozen SAM 2 backbone with a lightweight few-shot learner to generate class-specific pseudo-labels from minimal target annotations.
We evaluate ACR on one public EL dataset and two PV datasets that we collected using a robotic inspection platform, covering both RGB and UV imagery. To the best of our knowledge, this is the first systematic study of cross-modality domain adaptation for PV semantic segmentation. In the challenging EL→UV setting, ACR improves DAFormer by 4.80 mIoU points on the shared taxonomy and by 13.41 mIoU points on the complete target taxonomy.
Most UDA methods assume the source and target domains share the same label space. In expert domains like PV inspection this rarely holds: each imaging modality reveals different structures, and some target classes have zero source pixels. ACR splits the target label space into shared classes, adapted without target labels, and target-private classes, recovered from a handful of target exemplars.
(a) Samples from the three PV datasets: ESCDD (EL), PVF1 (RGB) and PVF1UV (UV). (b) Per-class pixel distribution (the dominant cell class is omitted). (c) PCA of frozen DINOv3 features: the three modalities form well-separated clusters, revealing a large cross-modality gap.
Overview of ACR. Blue: supervised source training. Pink: conventional UDA adaptation. Green: teacher pseudo-labels refined by DPR. Red: few-shot relabeling of target-private classes by EAPR.
ACR is used with two UDA base models, DAFormer and MIC. Closed-set methods (DAFormer, SeCoV2, MIC) cannot predict target-private classes, so those classes count as 0 IoU in mIoUall. On the shared classes (mIoUshared), ACR uses no target labels, so it has the same supervision as the baselines.
On EL→RGB, the gain on the target-private class comes with a trade-off on some frequent shared classes (e.g. busbars), which leaves DAFormer + ACR level with DAFormer overall.
On SpaceNet-8, adapting from Louisiana-East (USA) to Germany, MIC + ACR raises the thin, hard-to-recover road class from 0.01% to 1.84% IoU and overall mIoU from 46.31% to 46.60%, with building slightly lower (40.50% → 39.79%). This is initial evidence that anchored recovery helps underrepresented structures outside PV inspection.
Red: building. Blue: road.
For questions, contact shiva.hanifi@uni.lu
@inproceedings{hanifi2027acr,
title = {{ACR}: Domain-Adaptive Semantic Segmentation under Taxonomy Shift in Specialized Domains},
author = {Hanifi, Shiva and Jafarnejad, Sasan and Cormier, Mathieu and Elghazaly, Gamal and Frank, Raphael},
booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
year = {2027}
}
Acknowledgments. This work was funded by SolarCleano. We thank SolarCleano for providing access to its robotic inspection platform for collecting the PVF1 and PVF1UV datasets.