暗黑蒸馏:在无法访问原始数据的情况下对蒸馏数据集植入后门
Dark Distillation: Backdooring Distilled Datasets without Accessing Raw Data
AI总结:
本文首次研究在无法访问原始数据的情况下对蒸馏数据集植入后门,通过从已训练模型重建各类别概念原型并沿良性优化轨迹注入后门,证明蒸馏数据集普遍易受此类攻击且攻击高效。
摘要:
数据集蒸馏(Dataset Distillation, DD)通过将大规模数据集压缩为更小的合成数据集,提升了训练效率并降低了带宽消耗。它使模型能够取得与在原始完整数据集上训练时相当的性能,并已成为一种被广泛采用的数据共享方法。然而,DD 中的安全问题仍未得到充分研究。现有研究通常假设恶意行为源自数据集所有者在初始蒸馏过程中将后门注入原始数据集。相比之下,本工作首次针对一个更现实且更令人担忧的威胁:攻击者可能截获数据集分发过程,将后门注入蒸馏数据集,并将其重新分发给用户。尽管蒸馏数据集此前被认为对后门攻击具有抵抗力,但我们证明它们仍然容易受到此类攻击。此外,我们表明攻击者甚至不需要访问任何原始数据即可成功注入后门。具体而言,我们的方法从在蒸馏数据集上训练的模型中为每个类别重建概念原型(conceptual archetypes)。随后将后门注入这些原型以更新蒸馏数据集。此外,我们确保更新后的数据集不仅保留后门,还保持原始优化轨迹,从而保留原始数据集的知识。为实现这一目标,我们设计了一种混合损失函数,沿良性优化轨迹整合后门信息,确保先前学习到的信息不会被遗忘。大量实验表明,蒸馏数据集极易受到后门攻击,风险普遍存在于各种原始数据集、蒸馏方法和下游训练策略中。此外,我们的攻击方法十分高效,在某些情况下能够在一分钟内合成一个恶意蒸馏数据集。
英文摘要:
Dataset distillation (DD) enhances training efficiency and reduces bandwidth by condensing large datasets into smaller synthetic ones. It enables models to achieve performance comparable to those trained on the raw full dataset and has become a widely adopted method for data sharing. However, security concerns in DD remain underexplored. Existing studies typically assume that malicious behavior originates from dataset owners during the initial distillation process, where backdoors are injected into raw datasets. In contrast, this work is the first to address a more realistic and concerning threat: attackers may intercept the dataset distribution process, inject backdoors into the distilled datasets, and redistribute them to users. While distilled datasets were previously considered resistant to backdoor attacks, we demonstrate that they remain vulnerable to such attacks. Furthermore, we show that attackers do not even require access to any raw data to inject the backdoors successfully. Specifically, our approach reconstructs conceptual archetypes for each class from the model trained on the distilled dataset. Backdoors are then injected into these archetypes to update the distilled dataset. Moreover, we ensure the updated dataset not only retains the backdoor but also preserves the original optimization trajectory, thus maintaining the knowledge of the raw dataset. To achieve this, a hybrid loss is designed to integrate backdoor information along the benign optimization trajectory, ensuring that previously learned information is not forgotten. Extensive experiments demonstrate that distilled datasets are highly vulnerable to backdoor attacks, with risks pervasive across various raw datasets, distillation methods, and downstream training strategies. Moreover, our attack method is efficient, capable of synthesizing a malicious distilled dataset in under one minute in certain cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。