arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.10220cs.LGcs.CV
收藏

AutoFT:学习一个用于鲁棒微调的目标函数

AutoFT: Learning an Objective for Robust Fine-Tuning

Stanford University(斯坦福大学);Carnegie Mellon University(卡内基梅隆大学)

Caroline Choi, Yoonho Lee, Annie Chen, Allan Zhou, Aditi Raghunathan, Chelsea Finn

AI总结:

AutoFT提出一种数据驱动的鲁棒微调方法,通过双层优化搜索目标函数和超参数以增强分布外泛化,在九个自然偏移上超越现有方法,并在WILDS iWildCam和FMoW基准上取得新最先进结果。

摘要:

基础模型编码了丰富的表示,可以通过微调适应下游任务。然而,在一个数据分布上微调模型往往会降低在分布偏移下的性能。当前的鲁棒微调方法使用手工设计的正则化技术来约束微调过程,使其接近预训练模型。然而,很难指定如何在微调过程中适应基础模型的相关特征,因为这取决于预训练、微调和测试数据分布之间的相互关系。我们提出了AutoFT,一种数据驱动的鲁棒微调方法。给定一个任务,AutoFT搜索一种微调程序,以增强分布外(OOD)泛化能力。具体来说,AutoFT使用双层优化来搜索一个目标函数和超参数,以最大化在小型OOD验证集上的适应后性能。我们在九个自然分布偏移上评估了AutoFT。我们的实验表明,AutoFT显著提高了对OOD输入的泛化能力,优于现有的鲁棒微调方法。值得注意的是,AutoFT在WILDS iWildCam和FMoW基准上取得了新的最先进结果,分别比之前的最佳方法高出6.0%和1.5%。

英文摘要:

Foundation models encode rich representations that can be adapted to downstream tasks by fine-tuning. However, fine-tuning a model on one data distribution often degrades performance under distribution shifts. Current approaches to robust fine-tuning use hand-crafted regularization techniques to constrain the fine-tuning process towards the pretrained model. Yet, it is hard to specify how to adapt relevant characteristics of the foundation model during fine-tuning, as this depends on how the pre-training, fine-tuning, and test data distributions relate to each other. We propose AutoFT, a data-driven approach for robust fine-tuning. Given a task, AutoFT searches for a fine-tuning procedure that enhances out-of-distribution (OOD) generalization. Specifically, AutoFT uses bi-level optimization to search for an objective function and hyperparameters that maximize post-adaptation performance on a small OOD validation set. We evaluate AutoFT on nine natural distribution shifts. Our experiments show that AutoFT significantly improves generalization to OOD inputs, outperforming existing robust fine-tuning methods. Notably, AutoFT achieves a new state-of-the-art on the WILDS iWildCam and FMoW benchmarks, outperforming the previous best methods by $6.0\%$ and $1.5\%$, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑