审视威胁格局:基础模型与模型窃取
Examining the Threat Landscape: Foundation Models and Model Stealing
AI总结:
该研究指出计算机视觉基础模型(FMs)的鲁棒表示能力使其微调模型更易遭模型窃取攻击,实证显示其比ResNets等传统架构更脆弱,首次论证其在商业API部署中的安全风险并呼吁加强保护措施。
摘要:
计算机视觉领域的基础模型(FMs)能学习丰富且鲁棒的表示,使其无需或仅需少量微调即可适配特定任务/领域的部署。然而,我们认为正是这一优势会让基于FMs的应用易受模型窃取攻击。通过实证分析,我们发现与ResNets等传统视觉架构相比,基于FMs微调的模型比ResNets等传统视觉架构更易遭受模型窃取。我们假设这种行为是由于FMs在预训练期间学习到的视觉模式和特征的全面编码,攻击者和受害者都可访问这些编码。我们报告,当使用ViT-L/16作为窃取模型时,攻击者对在CIFAR-10数据集上训练的基于Vision Transformer的受害者模型(ViT-L/16)能获得94.28%的预测一致性,而对ResNet-18受害者仅为73.20%。我们首次论证,由于易受模型窃取,将FMs用于下游任务可能并非商业API部署的最佳选择,由此提醒模型所有者注意相关安全风险,并强调需采取 robust安全措施保护此类模型免遭窃取。代码可在https://github.com/rajankita/foundation_model_stealing获取。
英文摘要:
Foundation models (FMs) for computer vision learn rich and robust representations, enabling their adaptation to task/domain-specific deployments with little to no fine-tuning. However, we posit that the very same strength can make applications based on FMs vulnerable to model stealing attacks. Through empirical analysis, we reveal that models fine-tuned from FMs harbor heightened susceptibility to model stealing, compared to conventional vision architectures like ResNets. We hypothesize that this behavior is due to the comprehensive encoding of visual patterns and features learned by FMs during pre-training, which are accessible to both the attacker and the victim. We report that an attacker is able to obtain 94.28% agreement (matched predictions with victim) for a Vision Transformer based victim model (ViT-L/16) trained on CIFAR-10 dataset, compared to only 73.20% agreement for a ResNet-18 victim, when using ViT-L/16 as the thief model. We arguably show, for the first time, that utilizing FMs for downstream tasks may not be the best choice for deployment in commercial APIs due to their susceptibility to model theft. We thereby alert model owners towards the associated security risks, and highlight the need for robust security measures to safeguard such models against theft. Code is available at https://github.com/rajankita/foundation_model_stealing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。