arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2508.14079cs.LG
收藏

鲁棒泛化指南:架构、预训练与优化策略的影响

A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategy

Université Laval (IID)(拉瓦尔大学);Mila - Québec AI Institute(魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);Canada CIFAR AI Chair - Mila(加拿大CIFAR人工智能主席 - Mila);CortAIx labs, Thales Digital Solutions(CortAIx实验室,Thales数字解决方案)

Maxime Heuillet, Rishika Bhagwatkar, Jonas Ngnawé, Yann Pequignot, Alexandre Larouche, Christian Gagné, Irina Rish, Ola Ahmad, Audrey Durand

AI总结:

针对图像领域深度学习模型易受微小输入扰动影响的问题,本文通过覆盖多数据集、架构、损失与适配协议的实证研究,探究了架构、预训练、优化策略对鲁棒泛化的影响,建立了鲁棒微调基准并发现监督预训练的卷积神经网络表现更优。

摘要:

图像领域的深度学习模型易受微小输入扰动影响。多年来,研究人员通过使用专用损失目标从零开始训练模型(即随机初始化)来追求对此类扰动的鲁棒性。近期,鲁棒微调成为更高效的替代方案:无需从零开始训练,而是适配预训练模型以最大化预测性能和鲁棒性。为进行鲁棒微调,从业者需设计包含模型更新协议(如全更新或部分更新)和专用损失目标的优化策略,此外还需选择架构类型与规模、预训练表示。这些设计选择会影响鲁棒泛化能力——模型在测试时面对新的、未见过的扰动时维持性能的能力。理解这些设计选择如何影响泛化仍是一个具有重要实践意义的开放问题。对此,我们开展了一项覆盖6个数据集、40种预训练架构、2种专用损失、3种适配协议的实证研究,共产生1440种训练配置和针对5种扰动类型的7200次鲁棒性测量。据我们所知,这是迄今为止最具多样性和全面性的鲁棒微调基准。尽管基于注意力的架构和鲁棒预训练表示日益流行,但我们发现,在大型数据集上以监督方式预训练的卷积神经网络往往表现最佳。我们的分析既验证了先前的设计假设,也对其提出了挑战,同时指出了有前景的研究方向并提供了实用指导。

英文摘要:

Deep learning models operating in the image domain are vulnerable to small input perturbations. For years, robustness to such perturbations was pursued by training models from scratch (i.e., with random initializations) using specialized loss objectives. Recently, robust fine-tuning has emerged as a more efficient alternative: instead of training from scratch, pretrained models are adapted to maximize predictive performance and robustness. To conduct robust fine-tuning, practitioners design an optimization strategy that includes the model update protocol (e.g., full or partial) and the specialized loss objective. Additional design choices include the architecture type and size, and the pretrained representation. These design choices affect robust generalization, which is the model's ability to maintain performance when exposed to new and unseen perturbations at test time. Understanding how these design choices influence generalization remains an open question with significant practical implications. In response, we present an empirical study spanning 6 datasets, 40 pretrained architectures, 2 specialized losses, and 3 adaptation protocols, yielding 1,440 training configurations and 7,200 robustness measurements across five perturbation types. To our knowledge, this is the most diverse and comprehensive benchmark of robust fine-tuning to date. While attention-based architectures and robust pretrained representations are increasingly popular, we find that convolutional neural networks pretrained in a supervised manner on large datasets often perform best. Our analysis both confirms and challenges prior design assumptions, highlighting promising research directions and offering practical guidance.

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

↑