Lune

ICML2024顶会

CRoFT: Robust Fine-Tuning with Concurrent Optimization for OOD Generalization and Open-Set OOD Detection

Lin Zhu, Yifeng Yang, Qinying Gu, Xinbing Wang, Chenghu Zhou, Nanyang Ye

摘要

Recent vision-language pre-trained models (VL-PTMs) have shown remarkable success in open-vocabulary tasks. However, downstream use cases often involve further fine-tuning of VL-PTMs, which may distort their general knowledge and impair their ability to handle distribution shifts. In real-world scenarios, machine learning systems inevitably encounter both covariate shifts (e.g., changes in image styles) and semantic shifts (e.g., test-time unseen classes). This highlights the importance of enhancing out-of-distribution (OOD) generalization on covariate shifts and simultaneously detecting semantic-shifted unseen classes. Thus a critical but underexplored question arises: How to improve VL-PTMs' generalization ability to closed-set OOD data, while effectively detecting open-set unseen classes during fine-tuning? In this paper, we propose a novel objective function of OOD detection that also serves to improve OOD generalization. We show that minimizing the gradient magnitude of energy scores on training data leads to domain-consistent Hessians of classification loss, a strong indicator for OOD generalization revealed by theoretical analysis. Based on this finding, we have developed a unified fine-tuning framework that allows for concurrent optimization of both tasks. Extensive experiments have demonstrated the superiority of our method. The code is available at https://github.com/LinLLLL/CRoFT.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Detecting Out-of-Distribution Through the Lens of Neural Collapse 引用了 Energy-based Out-of-distribution Detection
  • Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution Detection 引用了 Energy-based Out-of-distribution Detection
  • Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution Detection 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Δ Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization 引用了 Energy-based Out-of-distribution Detection
  • Δ Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • Δ Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Δ Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization 引用了 MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalization
  • MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Models 引用了 BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
  • Exploring Channel-Aware Typical Features for Out-of-Distribution Detection 引用了 Detecting Out-of-Distribution Through the Lens of Neural Collapse
  • Exploring Channel-Aware Typical Features for Out-of-Distribution Detection 引用了 Energy-based Out-of-distribution Detection
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Exploring Channel-Aware Typical Features for Out-of-Distribution DetectionRundong He, Yue Yuan, Zhongyi Han, Fan Wang 等AAAI 2024 · 8 次引用
  2. Δ Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD GeneralizationLin Zhu, Yifeng Yang, Xinbing Wang, Qinying Gu 等NeurIPS 2025 · 2 次引用
  3. Detecting Out-of-Distribution Through the Lens of Neural CollapseLitian Liu, Yao QinCVPR 2025
  4. Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution DetectionXiang Fang, Arvind Easwaran, Blaise GenestICML 2025

它引用的 Paper25

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language ModelsJunnan Li, Dongxu Li, Silvio Savarese, Steven C. H. HoiICML 2023 · 7,873 次引用
  3. MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language ModelsDeyao Zhu, Jun Chen, Xiaoqian Shen, Xiang Li 等ICLR 2024 · 3,079 次引用
  4. The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution GeneralizationDan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath 等ICCV 2021 · 2,294 次引用
  5. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用

相关 Paper

  1. Feed Two Birds with One Scone: Exploiting Wild Data for Both Out-of-Distribution Generalization and DetectionHaoyue Bai, Gregory Canal, Xuefeng Du, Jeongyeol Kwon 等ICML 2023 · 67 次引用
  2. UNI-OOD: Unified Object- and Image-level Out-of-Distribution Detection via Cross-Context Attentive Vision-Language ModelingYuchuan Li, Azadeh Motamedi, Hyock Ju Kwon, Chul B Park 等CVPR 2026
  3. Weak Distribution Detectors Lead to Stronger Generalizability of Vision-Language Prompt TuningKun Ding, Haojian Zhang, Qiang Yu, Ying Wang 等AAAI 2024 · 8 次引用
  4. Respecting Modality Gap in Post-hoc Out-of-distribution Detection with Pre-trained Vision-Language ModelsYuanwei Hu, Bo Peng, Yadan Luo, zhen fang 等ICML 2026
  5. Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain DetectionRheeya Uppaal, Junjie Hu, Yixuan LiACL 2023 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖