Unsupervised domain adaptation aims to align a labeled source domain and an unlabeled target domain, but it requires to access the source data which often raises concerns in data privacy, data portability and data transmission efficiency. We study unsupervised model adaptation (UMA), or called Unsupervised Domain Adaptation without Source Data, an alternative setting that aims to adapt source-trained models towards target distributions without accessing source data. To this end, we design an innovative historical contrastive learning (HCL) technique that exploits historical source hypothesis to make up for the absence of source data in UMA. HCL addresses the UMA challenge from two perspectives. First, it introduces historical contrastive instance discrimination (HCID) that learns from target samples by contrasting their embeddings which are generated by the currently adapted model and the historical models. With the source-trained and earlier-epoch models as the historical models, HCID encourages UMA to learn instance-discriminative target representations while preserving the source hypothesis. Second, it introduces historical contrastive category discrimination (HCCD) that pseudo-labels target samples to learn category-discriminative target representations. Instead of globally thresholding pseudo labels, HCCD re-weights pseudo labels according to their prediction consistency across the current and historical models. Extensive experiments show that HCL outperforms and complements state-of-the-art methods consistently across a variety of visual tasks (e.g., segmentation, classification and detection) and setups (e.g., close-set, open-set and partial adaptation).
翻译:不受监督的域适应旨在对标签源域和未标签目标域进行匹配,但需要从两个角度获取往往引起数据隐私、数据可移植性和数据传输效率关切的来源数据。我们研究未经监督的模式调整(UMA),或称为无源数据不受监督的域域适应(Domain Aditation)。替代设置的目的是将经过源培训的模型调整为目标分配,而无需获取源数据。为此,我们设计了一种创新的历史对比学习(HCL)技术,利用历史来源假设弥补了UMA缺乏源数据的情况。HCL从两个角度应对UMA挑战。首先,它引入了历史对比实例歧视(HCID),通过对比目前经调整的模型和历史模型所产生的嵌入式,从目标样本中学习目标样本。由于受源培训的早期模型,因此鼓励UMA在保留源码假设的同时学习实例差异性目标表达方式(HCLD),它引入了历史对比性分类(HCD), 和类对比性类别测试(HCD) 的近位标样本,从当前模拟定位模型到全球的模拟级测定值分析,从而显示历史定值的模型。