眼见并不总是为实:针对预训练模型的隐形碰撞攻击与防御
Seeing Is Not Always Believing: Invisible Collision Attack and Defence on Pre-Trained Models
AI总结:
针对预训练模型供应链风险,本文提出基于 MD5 选择前缀碰撞生成同校验和、同大小良性与投毒模型的隐形攻击框架,并给出可识别该碰撞的防御方法及理论与实验验证。
摘要:
诸如 BERT 和 GPT 之类的大规模预训练模型(PTM)已在多个领域取得巨大成功。其典型范式是:先在大规模数据集上预训练一个大型深度学习模型,然后在面向特定任务的小型数据集上对该模型进行微调,以完成下游任务。尽管 PTM 发展迅速并得到广泛的现实应用,但它们也带来了遭受潜在攻击的重大风险。现有后门攻击或数据投毒方法通常建立在攻击者侵入受害者计算机或访问目标数据的假设之上,而这在现实场景中颇具挑战。本文提出一种利用增强型 MD5 碰撞对 PTM 实施隐形攻击的新型框架。其核心思想是借助 MD5 选择前缀碰撞,生成两个具有相同 MD5 校验和且大小相等的模型。随后,这两个“相同”的模型会被部署到公共网站上,诱使受害者下载被投毒的模型。与传统针对深度学习模型的攻击不同,这种新型攻击具有灵活性、隐蔽性和模型无关性。此外,我们提出一种用于识别 MD5 选择前缀碰撞的简单防御策略,并对其可行性给出理论论证。我们在不同模型和数据集上广泛验证了所提攻击与防御方法的有效性和隐蔽性。
英文摘要:
Large-scale pre-trained models (PTMs) such as BERT and GPT have achieved great success in diverse fields. The typical paradigm is to pre-train a big deep learning model on large-scale data sets, and then fine-tune the model on small task-specific data sets for downstream tasks. Although PTMs have rapidly progressed with wide real-world applications, they also pose significant risks of potential attacks. Existing backdoor attacks or data poisoning methods often build up the assumption that the attacker invades the computers of victims or accesses the target data, which is challenging in real-world scenarios. In this paper, we propose a novel framework for an invisible attack on PTMs with enhanced MD5 collision. The key idea is to generate two equal-size models with the same MD5 checksum by leveraging the MD5 chosen-prefix collision. Afterwards, the two ``same" models will be deployed on public websites to induce victims to download the poisoned model. Unlike conventional attacks on deep learning models, this new attack is flexible, covert, and model-independent. Additionally, we propose a simple defensive strategy for recognizing the MD5 chosen-prefix collision and provide a theoretical justification for its feasibility. We extensively validate the effectiveness and stealthiness of our proposed attack and defensive method on different models and data sets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。