Probe-Me-Not:保护预训练编码器免受恶意探测
Probe-Me-Not: Protecting Pre-trained Encoders from Malicious Probing
AI总结:
本文提出 EncoderLock 方法,通过领域感知权重选择与自我挑战训练保护预训练编码器免受恶意探测,并提供有监督、无监督和零样本三种变体,在 ViT 上验证了其有效性。
摘要:
将预训练深度学习模型适配到定制任务已成为开发者在有限计算资源和数据量条件下的流行选择。更具体地说,探测——在预训练编码器上训练一个下游头——已在迁移学习中被广泛采用,有助于防止过拟合和灾难性遗忘。然而,预训练编码器的这种泛化能力引发了对其可能被用于恶意探测的担忧,例如歧视性推测和战争应用。在本工作中,我们提出 EncoderLock,一种新颖的适用性授权方法,旨在保护预训练编码器免受恶意探测,即在指定的禁止领域上表现不佳,同时保持在授权领域中的效用。实现这种平衡具有挑战性,因为存在相反的优化目标,并且对手可以自适应地利用多种下游头。为应对这些挑战,EncoderLock 采用两种技术:领域感知的权重选择与更新,以限制在禁止领域/任务上的应用;以及自我挑战训练方案,迭代增强对对手可能应用的任何潜在下游分类器的抵抗力。此外,考虑到实际场景中可能缺乏禁止领域数据,我们引入三种具有不同数据可及性水平的 EncoderLock 变体:有监督(带标签的禁止领域数据)、无监督(不带标签的禁止领域数据)和零样本(没有可用数据或标签)。我们使用来自 Facebook 的真实预训练 Vision Transformer (ViT) 编码器验证了 EncoderLock 的有效性和实用性。这些结果凸显了 EncoderLock 为负责任人工智能发展带来的宝贵贡献。
英文摘要:
Adapting pre-trained deep learning models to customized tasks has become a popular choice for developers to cope with limited computational resources and data volume. More specifically, probing--training a downstream head on a pre-trained encoder--has been widely adopted in transfer learning, which helps to prevent overfitting and catastrophic forgetting. However, such generalizability of pre-trained encoders raises concerns about the potential misuse of probing for harmful intentions, such as discriminatory speculation and warfare applications. In this work, we introduce EncoderLock, a novel applicability authorization method designed to protect pre-trained encoders from malicious probing, i.e., yielding poor performance on specified prohibited domains while maintaining their utility in authorized ones. Achieving this balance is challenging because of the opposite optimization objectives and the variety of downstream heads that adversaries can utilize adaptively. To address these challenges, EncoderLock employs two techniques: domain-aware weight selection and updating to restrict applications on prohibited domains/tasks, and self-challenging training scheme that iteratively strengthens resistance against any potential downstream classifiers that adversaries may apply. Moreover, recognizing the potential lack of data from prohibited domains in practical scenarios, we introduce three EncoderLock variants with different levels of data accessibility: supervised (prohibited domain data with labels), unsupervised (prohibited domain data without labels), and zero-shot (no data or labels available). We verify EncoderLock's effectiveness and practicality with a real-world pre-trained Vision Transformer (ViT) encoder from Facebook. These results underscore the valuable contributions EncoderLock brings to the development of responsible AI.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。