Unsupervised domain adaptation (UDA) aims at learning a machine learning model using a labeled source domain that performs well on a similar yet different, unlabeled target domain. UDA is important in many applications such as medicine, where it is used to adapt risk scores across different patient cohorts. In this paper, we develop a novel framework for UDA of time series data, called CLUDA. Specifically, we propose a contrastive learning framework to learn contextual representations in multivariate time series, so that these preserve label information for the prediction task. In our framework, we further capture the variation in the contextual representations between source and target domain via a custom nearest-neighbor contrastive learning. To the best of our knowledge, ours is the first framework to learn domain-invariant, contextual representation for UDA of time series data. We evaluate our framework using a wide range of time series datasets to demonstrate its effectiveness and show that it achieves state-of-the-art performance for time series UDA.
翻译:无人监督的域适应(UDA)旨在学习一个机器学习模型,它使用一个标签的源域,在一个相似但又不同的、没有标签的目标域上运行良好。UDA在医学等许多应用中非常重要,在医学等许多应用中,它被用来调整不同病人群的风险分数。在本文中,我们为时间序列数据UDA制定了一个新的框架,称为CLUDA。具体地说,我们提议了一个对比式学习框架,以学习多变时间序列中的背景表现,从而保存用于预测任务的标签信息。在我们的框架中,我们进一步通过定制的近邻对比学习来捕捉源和目标域之间背景表现的差异。我们最了解的是,我们是第一个学习时间序列数据域变量和背景表现的框架。我们用广泛的时间序列数据集来评估我们的框架,以显示其有效性,并显示它达到时间序列的状态性能。