Domain adaptation enhances generalizability of a model across domains with domain shifts. Most research effort has been spent on Unsupervised Domain Adaption (UDA) which trains a model jointly with labeled source data and unlabeled target data. This paper studies how much it can help address domain shifts if we further have a few target samples (e.g., one sample per class) labeled. This is the so-called semi-supervised domain adaptation (SSDA) problem and the few labeled target samples are termed as ``landmarks''. To explore the full potential of landmarks, we incorporate a prototypical alignment (PA) module which calculates a target prototype for each class from the landmarks; source samples are then aligned with the target prototype from the same class. To further alleviate label scarcity, we propose a data augmentation based solution. Specifically, we severely perturb the labeled images, making PA non-trivial to achieve and thus promoting model generalizability. Moreover, we apply consistency learning on unlabeled target images, by perturbing each image with light transformations and strong transformations. Then, the strongly perturbed image can enjoy ``supervised-like'' training using the pseudo label inferred from the lightly perturbed one. Experiments show that the proposed method, though simple, reaches significant performance gains over state-of-the-art methods, and enjoys the flexibility of being able to serve as a plug-and-play component to various existing UDA methods and improve adaptation performance with landmarks provided. Our code is available at \url{https://github.com/kailigo/pacl}.
翻译:域适应可以提高一个带有域变的模型的通用性。 大部分的研究工作都花在了无监督的域变适应( UDA) 上, 该模型用标签源数据和未标签的目标数据联合培训一个模型。 本文研究如果我们进一步贴上几个目标样本( 例如, 每类一个样本), 它能帮助处理域变。 这是所谓的半监督域变适应( SSDA) 问题, 被贴上标签的目标样本被称为“ landmarks ” 。 为了探索里程碑的全部潜力, 我们采用了一个模拟校准校准校准( PA) 模块, 该模块用标签源数据和未标签的目标变换来计算每类的原型。 为了进一步减轻标签稀缺性格, 我们提议了一个基于数据扩增的解决方案。 具体地说, 我们严重干扰了标签图像, 使得 PA 无法实现并因此促进模型的通用性能。 此外, 我们用未标记的目标图像来改进一致性学习, 通过每张图像与光的变换部分和强烈的变形变换结果, 然后, 以一个模拟的模型显示我们现有的图像, 。 将享受一个模拟变形的演法 。