Robust Fine-tuning of Zero-shot Models via Variance Reduction
Beier Zhu, Jiequan Cui, Hanwang Zhang
摘要
When fine-tuning zero-shot models like CLIP, our desideratum is for the fine-tuned model to excel in both in-distribution (ID) and out-of-distribution (OOD). Recently, ensemble-based models (ESM) have been shown to offer significant robustness improvement, while preserving high ID accuracy. However, our study finds that ESMs do not solve the ID-OOD trade-offs: they achieve peak performance for ID and OOD accuracy at different mixing coefficients. When optimized for OOD accuracy, the ensemble model exhibits a noticeable decline in ID accuracy, and vice versa. In contrast, we propose a sample-wise ensembling technique that can simultaneously attain the best ID and OOD accuracy without the trade-offs. Specifically, we construct a Zero-Shot Failure (ZSF) set containing training samples incorrectly predicted by the zero-shot model. For each test sample, we calculate its distance to the ZSF set and assign a higher weight to the fine-tuned model in the ensemble if the distance is small. We term our method Variance Reduction Fine-tuning (VRF), as it effectively reduces the variance in ensemble predictions, thereby decreasing residual error. On ImageNet and five derived distribution shifts, our VRF further improves the OOD accuracy by 1.5 - 2.0 pp over the ensemble baselines while maintaining or increasing ID accuracy. VRF achieves similar large robustness gains (0.9 - 3.1 pp) on other distribution shifts benchmarks. Codes are available in https://github.com/BeierZhu/VRF.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Project-Probe-Aggregate: Efficient Fine-Tuning for Group Robustness 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Project-Probe-Aggregate: Efficient Fine-Tuning for Group Robustness 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Enhancing CLIP Robustness via Cross-Modality Alignment 引用了 Project-Probe-Aggregate: Efficient Fine-Tuning for Group Robustness
- Enhancing CLIP Robustness via Cross-Modality Alignment 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Enhancing CLIP Robustness via Cross-Modality Alignment 引用了 Dynamic Multimodal Prototype Learning in Vision-Language Models
- Enhancing CLIP Robustness via Cross-Modality Alignment 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Scalable Multi-Task Low-Rank Model Adaptation 引用了 Project-Probe-Aggregate: Efficient Fine-Tuning for Group Robustness
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Dynamic Multimodal Prototype Learning in Vision-Language Models 引用了 Project-Probe-Aggregate: Efficient Fine-Tuning for Group Robustness
- Dynamic Multimodal Prototype Learning in Vision-Language Models 引用了 Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervision
- Dynamic Multimodal Prototype Learning in Vision-Language Models 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
- Dynamic Multimodal Prototype Learning in Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
引用它的顶会 Paper5
- Enhancing CLIP Robustness via Cross-Modality AlignmentXingyu Zhu, Beier Zhu, Shuo Wang, Kesen Zhao 等NeurIPS 2025 · 17 次引用
- Benchmarking and Bridging Emotion Conflicts for Multimodal Emotion ReasoningZhiyuan Han, Beier Zhu, Yanlong Xu, Peipei Song 等ACM MM 2025 · 7 次引用
- Project-Probe-Aggregate: Efficient Fine-Tuning for Group RobustnessBeier Zhu, Jiequan Cui, Hanwang Zhang, Chi ZhangCVPR 2025
- Scalable Multi-Task Low-Rank Model AdaptationZichen Tian, Antoine Ledent, Qianru SunICLR 2026
- Dynamic Multimodal Prototype Learning in Vision-Language ModelsXingyu Zhu, Shuo Wang, Beier Zhu, Miaoge Li 等ICCV 2025
它引用的 Paper17
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Scaling Up Visual and Vision-Language Representation Learning With Noisy Text SupervisionChao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen 等ICML 2021 · 5,401 次引用
- The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath 等ICCV 2021 · 2,294 次引用
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
- Fine-Tuning can Distort Pretrained Features and Underperform Out-of-DistributionAnanya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma 等ICLR 2022 · 911 次引用
相关 Paper
- Robust fine-tuning of zero-shot modelsMitchell Wortsman, Gabriel Ilharco, Jong Wook Kim, Mike Li 等CVPR 2022 · 364 次引用
- Dual Risk Minimization: Towards Next-Level Robustness in Fine-tuning Zero-Shot ModelsKaican Li, Weiyan Xie, Yongxiang Huang, Didan Deng 等NeurIPS 2024 · 5 次引用
- Beyond Sole Strength: Customized Ensembles for Generalized Vision-Language ModelsZhihe Lu, Jiawang Bai, Xin Li, Zeyu Xiao 等ICML 2024 · 21 次引用
- Towards Calibrated Robust Fine-Tuning of Vision-Language ModelsChangdae Oh, Hyesu Lim, Mijoo Kim, Dongyoon Han 等NeurIPS 2024 · 49 次引用
- Models Out of Line: A Fourier Lens on Distribution Shift RobustnessSara Fridovich-Keil, Brian R. Bartoldson, James Diffenderfer, Bhavya Kailkhura 等NeurIPS 2022 · 2 次引用
