Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DaWin: Training-free Dynamic Weight Interpolation for Robust Adaptation

About

Adapting a pre-trained foundation model on downstream tasks should ensure robustness against distribution shifts without the need to retrain the whole model. Although existing weight interpolation methods are simple yet effective, we argue that their static nature limits downstream performance while achieving efficiency. In this work, we propose DaWin, a training-free dynamic weight interpolation method that leverages the entropy of individual models over each unlabeled test sample to assess model expertise, and compute per-sample interpolation coefficients dynamically. Unlike previous works that typically rely on additional training to learn such coefficients, our approach requires no training. Then, we propose a mixture modeling approach that greatly reduces inference overhead raised by dynamic interpolation. We validate DaWin on the large-scale visual recognition benchmarks, spanning 14 tasks across robust fine-tuning -- ImageNet and derived five distribution shift benchmarks -- and multi-task learning with eight classification tasks. Results demonstrate that DaWin achieves significant performance gain in considered settings, with minimal computational overhead. We further discuss DaWin's analytic behavior to explain its empirical success.

Changdae Oh, Yixuan Li, Kyungwoo Song, Sangdoo Yun, Dongyoon Han• 2024

Related benchmarks

TaskDatasetResultRank
Image Classification20 Vision Classification Tasks
Average Accuracy77.5
170
Image Classification14 Vision Tasks
Average Accuracy82.6
160
Image ClassificationCUB-200--
126
Coreference ResolutionWinoGrande
Accuracy68.7
72
Fine-grained Image ClassificationCUB-200 (test)
Accuracy61
58
Multi-task image classification8 vision tasks
Accuracy91.6
48
Multi-task image classification20 vision tasks
Accuracy77.5
48
Multi-task image classification14 Vision Tasks
Accuracy82.6
48
Image Classification8 computer vision tasks
Average Accuracy91.6
39
Paraphrase IdentificationPAWS
Accuracy85.6
35
Showing 10 of 26 rows

Other info

Follow for update