Skip to main content
QUICK REVIEW

[Paper 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 Science19 citations
TL;DR

This paper proposes variational model perturbation for source-free domain adaptation, where a pre-trained model is adapted to a target domain by learning parameter perturbations via variational Bayesian inference instead of fine-tuning. The method transforms the deterministic model into a Bayesian-like network with learnable uncertainty, achieving state-of-the-art performance across multiple benchmarks while preserving source-domain knowledge and reducing overfitting.

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.

Motivation & Objective

  • Address the challenge of domain shift in source-free domain adaptation (SFDA), where source data and labeled target data are unavailable for retraining.
  • Overcome limitations of existing SFDA methods such as catastrophic forgetting, overfitting, and lack of generalization due to deterministic parameter updates.
  • Preserve the discriminative capacity of the source model while enabling effective adaptation to target domains without fine-tuning.
  • Provide a theoretically grounded, probabilistic framework for domain adaptation using variational inference to model uncertainty in model parameters.
  • Develop an efficient adaptation mechanism with reduced parameter count through parameter sharing, enabling practical deployment.

Proposed method

  • Introduce a variational inference framework to learn perturbations on pre-trained model weights, treating the perturbation as a posterior distribution over parameters.
  • Formulate the perturbation as a Bayesian neural network with fixed mean and learnable variance, enabling uncertainty modeling without full weight retraining.
  • Apply a parameter sharing strategy across layers to drastically reduce the number of learnable parameters compared to a full Bayesian neural network.
  • Use the perturbed model to make predictions with uncertainty-aware outputs, improving generalization to unseen target domains.
  • Optimize the perturbations using a variational lower bound (ELBO) that balances domain shift adaptation and knowledge preservation.
  • Integrate the perturbation module as a plug-and-play component compatible with existing SFDA objectives like entropy minimization or pseudo-labeling.

Experimental results

Research questions

  • RQ1Can parameter perturbations learned via variational inference effectively adapt a pre-trained model to a target domain without access to source data?
  • RQ2Does the proposed method maintain high performance on the source domain while adapting to target domains, avoiding catastrophic forgetting?
  • RQ3How does the variational model perturbation compare to fine-tuning and batch normalization modulation in terms of generalization and robustness under continual distribution shifts?
  • RQ4To what extent does the parameter sharing strategy reduce model complexity while preserving performance in source-free domain adaptation?
  • RQ5What is the theoretical connection between variational model perturbation and Bayesian neural network learning, and how does it support generalization?

Key findings

  • On the Office and Office-Home benchmarks, variational model perturbation achieves the best average accuracy, outperforming the baseline SHOT method by 1.4% and 1.0% respectively.
  • In generalized SFDA, the method maintains strong source-domain performance (only 0.5% drop) while improving target-domain accuracy, in contrast to SHOT, which suffers an 11.9% drop on the source.
  • In continual online SFDA on CIFAR100-C and ImageNet-C, the method achieves 2.8% and 1.9% lower test error than Tent and Tent-FT respectively, demonstrating superior robustness to continuous distribution shifts.
  • The parameter sharing strategy reduces the number of learnable parameters significantly, enabling efficient optimization without sacrificing performance.
  • Theoretical analysis confirms that variational model perturbation is equivalent to learning a Bayesian neural network with fixed mean and learnable variance, providing a principled generalization guarantee.
  • The perturbation is naturally regularized by the variational inference objective, preventing parameter distortion and reducing overfitting in unsupervised adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.