Skip to main content
QUICK REVIEW

[论文解读] Variational Model Perturbation for Source-Free Domain Adaptation

Mengmeng Jing, Xiantong Zhen|arXiv (Cornell University)|Oct 19, 2022
Domain Adaptation and Few-Shot LearningComputer Science被引用 19
一句话总结

本文提出变分模型扰动用于无源域自适应,通过变分贝叶斯推断学习参数扰动而非微调,将预训练模型适应到目标域。该方法将确定性模型转化为具有可学习不确定性的贝叶斯式网络,在多个基准上实现最先进性能,同时保留源域知识并减少过拟合。

ABSTRACT

We aim for source-free domain adaptation, where the task is to deploy a model pre-trained on source domains to target domains. The challenges stem from the distribution shift from the source to the target domain, coupled with the unavailability of any source data and labeled target data for optimization. Rather than fine-tuning the model by updating the parameters, we propose to perturb the source model to achieve adaptation to target domains. We introduce perturbations into the model parameters by variational Bayesian inference in a probabilistic framework. By doing so, we can effectively adapt the model to the target domain while largely preserving the discriminative ability. Importantly, we demonstrate the theoretical connection to learning Bayesian neural networks, which proves the generalizability of the perturbed model to target domains. To enable more efficient optimization, we further employ a parameter sharing strategy, which substantially reduces the learnable parameters compared to a fully Bayesian neural network. Our model perturbation provides a new probabilistic way for domain adaptation which enables efficient adaptation to target domains while maximally preserving knowledge in source models. Experiments on several source-free benchmarks under three different evaluation settings verify the effectiveness of the proposed variational model perturbation for source-free domain adaptation.

研究动机与目标

  • 解决无源域自适应(SFDA)中的领域偏移问题,其中无法获取源数据和带标签的目标数据进行再训练。
  • 克服现有SFDA方法的局限性,如灾难性遗忘、过拟合以及由于确定性参数更新导致的泛化能力不足。
  • 在不进行微调的情况下,保留源模型的判别能力,同时实现对目标域的有效适应。
  • 基于变分推断,提供一个理论基础扎实的概率框架,通过建模参数不确定性来实现域自适应。
  • 通过参数共享实现参数量显著减少,开发一种高效的适应机制,支持实际部署。

提出的方法

  • 引入变分推断框架,学习预训练模型权重上的扰动,将扰动视为参数上的后验分布。
  • 将扰动形式化为具有固定均值和可学习方差的贝叶斯神经网络,实现在无需完整权重再训练的情况下建模不确定性。
  • 在各层之间应用参数共享策略,与完整贝叶斯神经网络相比,大幅减少可学习参数数量。
  • 利用扰动后的模型生成具有不确定性感知的输出,提升对未见目标域的泛化能力。
  • 使用变分下界(ELBO)优化扰动,平衡领域偏移适应与知识保留。
  • 将扰动模块作为即插即用组件,与现有SFDA目标(如熵最小化或伪标签法)兼容。

实验结果

研究问题

  • RQ1通过变分推断学习到的参数扰动能否在无源数据访问的情况下有效适应预训练模型到目标域?
  • RQ2所提方法在适应目标域的同时是否能保持在源域的高性能,避免灾难性遗忘?
  • RQ3在持续分布偏移条件下,变分模型扰动与微调和批量归一化调制相比,在泛化能力和鲁棒性方面表现如何?
  • RQ4参数共享策略在无源域自适应中在多大程度上降低了模型复杂度,同时保持性能?
  • RQ5变分模型扰动与贝叶斯神经网络学习之间的理论联系是什么?它如何支持泛化?

主要发现

  • 在Office和Office-Home基准上,变分模型扰动实现了最佳平均准确率,分别优于基线方法SHOT 1.4%和1.0%。
  • 在广义SFDA设置下,该方法在源域性能仅下降0.5%的同时提升了目标域准确率,而SHOT在源域性能则下降11.9%,表现显著更优。
  • 在CIFAR100-C和ImageNet-C上的持续在线SFDA实验中,该方法的测试误差分别比Tent和Tent-FT低2.8%和1.9%,展现出对连续分布偏移的更强鲁棒性。
  • 参数共享策略显著减少了可学习参数数量,实现了高效优化且未牺牲性能。
  • 理论分析表明,变分模型扰动等价于学习一个具有固定均值和可学习方差的贝叶斯神经网络,提供了有原则的泛化保证。
  • 扰动通过变分推断目标自然正则化,防止参数失真,降低无监督适应中的过拟合风险。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。