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

开源文本分类模型与微调链的对抗鲁棒性

Adversarial Robustness of Open-source Text Classification Models and Fine-Tuning Chains

Hao Qin, Mingyang Li, Junjie Wang, Qing Wang

AI总结:

本文针对Hugging Face开源文本分类模型及其微调链开展实证研究,评估对抗攻击风险,发现模型普遍脆弱且微调会提高攻击成功率,并分析相关影响因素与传递性。

摘要:

背景:随着人工智能(AI)技术与应用的发展,大量AI模型被开发出来,促成了Hugging Face(HF)等开源模型托管平台的出现。借助这些平台,人们可以直接下载和使用模型,也可以对其进行微调,以构建更具领域针对性的模型。然而,正如传统软件供应链面临安全风险一样,AI模型及微调链也遭遇了对抗攻击等新的安全风险。因此,这些模型的对抗鲁棒性受到关注,并可能影响人们对开源模型的选择。目标:本文旨在探究开源AI模型及其通过微调形成的上下游关系链的对抗鲁棒性,从而为潜在对抗风险提供洞见。方法:我们收集HF上的文本分类模型并构建微调链。随后,从模型及其微调链两个方面,对现有对抗攻击下的模型复用及相关鲁棒性风险开展实证分析。结果:尽管这些模型被广泛下载和复用,但它们普遍容易受到对抗攻击风险影响,平均攻击成功率为52.70%。此外,微调通常会加剧这一风险,使攻击成功率平均上升12.60%。我们还深入分析了攻击技术、数据集和模型架构等因素对成功率的影响,以及其沿模型链的传递性。

英文摘要:

Context:With the advancement of artificial intelligence (AI) technology and applications, numerous AI models have been developed, leading to the emergence of open-source model hosting platforms like Hugging Face (HF). Thanks to these platforms, individuals can directly download and use models, as well as fine-tune them to construct more domain-specific models. However, just like traditional software supply chains face security risks, AI models and fine-tuning chains also encounter new security risks, such as adversarial attacks. Therefore, the adversarial robustness of these models has garnered attention, potentially influencing people's choices regarding open-source models. Objective:This paper aims to explore the adversarial robustness of open-source AI models and their chains formed by the upstream-downstream relationships via fine-tuning to provide insights into the potential adversarial risks. Method:We collect text classification models on HF and construct the fine-tuning chains.Then, we conduct an empirical analysis of model reuse and associated robustness risks under existing adversarial attacks from two aspects, i.e., models and their fine-tuning chains. Results:Despite the models' widespread downloading and reuse, they are generally susceptible to adversarial attack risks, with an average of 52.70% attack success rate. Moreover, fine-tuning typically exacerbates this risk, resulting in an average 12.60% increase in attack success rates. We also delve into the influence of factors such as attack techniques, datasets, and model architectures on the success rate, as well as the transitivity along the model chains.

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

↑