arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.14208cs.CV
收藏

使用高斯混合模型进行在线无源通用域适应的内存高效伪标签生成

Memory-Efficient Pseudo-Labeling for Online Source-Free Universal Domain Adaptation using a Gaussian Mixture Model

University of Stuttgart(斯图加特大学)

Pascal Schlachter, Simon Wagner, Bin Yang

AI总结:

针对在线无源通用领域适应中的内存限制问题,提出基于高斯混合模型持续捕捉已知类分布并结合熵检测生成伪标签的方法,在多个数据集上达到SOTA。

摘要:

在实际应用中,训练数据和测试数据之间很可能发生领域偏移,因此需要通过领域适应(DA)来将预训练的源模型调整至目标领域。近期,通用领域适应(UniDA)因能解决源域和目标域之间可能存在的额外类别(标签)偏移而受到关注。这意味着目标数据中可能出现新类别,某些源类别可能不再存在,或者两者同时发生。为了具备实用性,UniDA方法必须同时处理无源和在线场景,从而在无法访问源数据的情况下进行适应,并在预测的同时并行执行分批更新。在在线场景中,跨批次保留知识至关重要。然而,现有方法通常需要大量内存,这在实际中是不可行的,因为内存有限且宝贵,尤其是在嵌入式系统上。因此,我们将内存效率视为一个额外的约束条件。为了实现内存高效的在线无源通用领域适应(SF-UniDA),我们提出了一种新方法,该方法使用高斯混合模型(GMM)在特征空间中持续捕捉已知类别的分布。这种方法结合基于熵的分布外检测,能够生成可靠的伪标签。最后,我们将对比损失与KL散度损失相结合以执行适应过程。我们的方法不仅在DomainNet和Office-Home数据集上的所有实验中取得了最先进的结果,而且在具有挑战性的VisDA-C数据集上显著优于现有方法,为在线SF-UniDA设定了新的基准。我们的代码可在https://github.com/pascalschlachter/GMM获取。

英文摘要:

In practice, domain shifts are likely to occur between training and test data, necessitating domain adaptation (DA) to adjust the pre-trained source model to the target domain. Recently, universal domain adaptation (UniDA) has gained attention for addressing the possibility of an additional category (label) shift between the source and target domain. This means new classes can appear in the target data, some source classes may no longer be present, or both at the same time. For practical applicability, UniDA methods must handle both source-free and online scenarios, enabling adaptation without access to the source data and performing batch-wise updates in parallel with prediction. In an online setting, preserving knowledge across batches is crucial. However, existing methods often require substantial memory, which is impractical because memory is limited and valuable, in particular on embedded systems. Therefore, we consider memory-efficiency as an additional constraint. To achieve memory-efficient online source-free universal domain adaptation (SF-UniDA), we propose a novel method that continuously captures the distribution of known classes in the feature space using a Gaussian mixture model (GMM). This approach, combined with entropy-based out-of-distribution detection, allows for the generation of reliable pseudo-labels. Finally, we combine a contrastive loss with a KL divergence loss to perform the adaptation. Our approach not only achieves state-of-the-art results in all experiments on the DomainNet and Office-Home datasets but also significantly outperforms the existing methods on the challenging VisDA-C dataset, setting a new benchmark for online SF-UniDA. Our code is available at https://github.com/pascalschlachter/GMM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑