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

探究随机平滑的可迁移性

Exploring Transferability for Randomized Smoothing

Microsoft Research Asia(微软亚洲研究院)

Kai Qiu, Huishuai Zhang, Zhirong Wu, Stephen Lin

AI总结:

针对基础模型预训练阶段缺乏鲁棒性优化的问题,提出通过拓宽预训练数据分布的策略,实现单模型可证明鲁棒性的跨任务迁移,降低计算成本且效果媲美甚至优于多模型方法。

摘要:

在大规模数据集上训练基础模型,再针对特定任务进行微调,已成为人工智能领域的主流方法。然而,作为安全性关键维度的模型鲁棒性,往往是针对每个特定任务优化,而非在预训练阶段完成优化。本文提出一种预训练可证明鲁棒模型的方法,这类模型可直接通过微调适配特定任务。该方法的核心挑战在于平衡语义学习与鲁棒性。我们提出一种简单却高效的策略来应对这一挑战,其核心是大幅拓宽预训练数据分布,实验证明该策略能极大提升下游任务的微调效果。通过在干净图像与各类噪声图像的混合数据上预训练,我们发现即便仅用干净图像微调,也能取得出人意料的高认证准确率。此外,该策略仅需单个模型即可应对不同噪声水平,与此前采用多模型的研究相比,大幅降低了计算成本。尽管仅使用单个模型,我们的方法仍能取得与现有多模型方法相当甚至更优的结果。

英文摘要:

Training foundation models on extensive datasets and then finetuning them on specific tasks has emerged as the mainstream approach in artificial intelligence. However, the model robustness, which is a critical aspect for safety, is often optimized for each specific task rather than at the pretraining stage. In this paper, we propose a method for pretraining certifiably robust models that can be readily finetuned for adaptation to a particular task. A key challenge is dealing with the compromise between semantic learning and robustness. We address this with a simple yet highly effective strategy based on significantly broadening the pretraining data distribution, which is shown to greatly benefit finetuning for downstream tasks. Through pretraining on a mixture of clean and various noisy images, we find that surprisingly strong certified accuracy can be achieved even when finetuning on only clean images. Furthermore, this strategy requires just a single model to deal with various noise levels, thus substantially reducing computational costs in relation to previous works that employ multiple models. Despite using just one model, our method can still yield results that are on par with, or even superior to, existing multi-model methods.

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

↑