Introduction
Multi-Source-Free Domain Adaptation (MSFDA) is a critical task in modern machine learning where multiple pre-trained source models must be adapted to a target domain without access to the original source data. This scenario is increasingly common due to privacy regulations and the sheer scale of modern datasets. However, existing MSFDA approaches often struggle with high computational overhead—requiring full fine-tuning of multiple large backbones—and coarse domain-level weighting that ignores instance-specific nuances.
The Bi-ATEN Framework
To address these challenges, we present Bi-level ATtention ENsemble (Bi-ATEN), an agile framework designed for efficiency and precision. Bi-ATEN shifts the focus from full-model adaptation to tuning only small "bottleneck" layers, which typically constitute less than 0.1% of the total parameters. This allows the use of massive backbones like Swin Transformers that were previously computationally prohibitive for this task.
The framework employs a dual-attention mechanism to compute weights at the instance level:
- Intra-domain weights ($\alpha$): These weights resolve feature-classifier mismatches. By computing similarity between a target feature and all source classifiers, the model can "reassemble" an optimal output, effectively mixing and matching components from different source domains for a single sample.
- Inter-domain weights ($\beta$): These weights determine the overall trustworthiness of each source model for a specific target instance based on feature-space similarity.
Training and Datasets
Bi-ATEN utilizes a dynamic-cluster-based strategy for unsupervised training. This method generates pseudo-labels by comparing target features to dynamic centroids, which are prototypes formed from a weighted combination of source knowledge. The effectiveness of this approach was validated on three major benchmarks: DomainNet (0.6 million samples), Office-Home, and Office-Caltech.
Results and Efficiency
Bi-ATEN sets a new state-of-the-art on the DomainNet benchmark with 59.6% accuracy, a 12.8% improvement over previous methods. Beyond accuracy, the framework's agility is its primary strength.
Compared to existing methods like CAiDA, Bi-ATEN reduces trainable parameters by a factor of 12 (10.6M vs 120.2M) and increases throughput by 4x (369 samples/sec). A further optimized version, ATEN, achieves over 10x the throughput of previous SOTA methods while maintaining competitive performance. Furthermore, the attention modules are "pluggable," offering immediate performance gains of up to 4% when integrated into other MSFDA pipelines.
Conclusion
Bi-ATEN demonstrates that high-performance domain adaptation does not require exhaustive computational resources. By leveraging instance-level attention and bottleneck tuning, the framework provides an agile, scalable solution for adapting large-scale "black-box" models to new environments, balancing the trade-off between domain consistency and instance specificity.
Summary updated