Training-Free Model Merging for Multi-target Domain Adaptation
Wenyi Li, Huan-ang Gao, Mingju Gao, Beiwen Tian, Rong Zhi, Hao Zhao
TL;DR
The paper tackles multi-target domain adaptation under data-access restrictions by proposing a training-free model merging framework that combines independently adapted models. It shows that parameter merging along a linear path and merging batch-normalization buffers via a Gaussian-prior model can yield a single robust model without accessing training data, with linear mode connectivity facilitated by shared pretrained weights. The approach achieves competitive, and often superior, harmonic-mean performance compared to data-availability baselines and state-of-the-art MTDA methods, across multiple backbones and target domains. This work highlights the practical potential of data-free domain adaptation and BN-statistics-aware merging to reduce bandwidth and privacy concerns while maintaining strong cross-domain robustness.
Abstract
In this paper, we study multi-target domain adaptation of scene understanding models. While previous methods achieved commendable results through inter-domain consistency losses, they often assumed unrealistic simultaneous access to images from all target domains, overlooking constraints such as data transfer bandwidth limitations and data privacy concerns. Given these challenges, we pose the question: How to merge models adapted independently on distinct domains while bypassing the need for direct access to training data? Our solution to this problem involves two components, merging model parameters and merging model buffers (i.e., normalization layer statistics). For merging model parameters, empirical analyses of mode connectivity surprisingly reveal that linear merging suffices when employing the same pretrained backbone weights for adapting separate models. For merging model buffers, we model the real-world distribution with a Gaussian prior and estimate new statistics from the buffers of separately trained models. Our method is simple yet effective, achieving comparable performance with data combination training baselines, while eliminating the need for accessing training data. Project page: https://air-discover.github.io/ModelMerging
