精炼、判别与对齐:通过逐样本原型和多关系提取窃取编码器
Refine, Discriminate and Align: Stealing Encoders via Sample-Wise Prototypes and Multi-Relational Extraction
AI总结:
针对预训练编码器窃取中优化目标有偏、查询成本高的问题,提出RDA方法,通过逐样本原型构建无偏目标、多关系损失训练替代编码器,以低查询量实现下游任务SOTA且对常见防御鲁棒。
摘要:
本文提出了RDA(精炼-判别-对齐)这一开创性方法,旨在解决以往预训练编码器窃取研究中普遍存在的两个主要缺陷:(1)由有偏优化目标导致的性能欠佳,(2)端到端范式因每个epoch都需查询目标编码器而产生的高昂查询成本。具体而言,我们首先对每个训练样本的目标编码器表示进行精炼,从而在窃取训练阶段前建立偏差更小的优化目标。这一过程通过逐样本原型实现,该原型整合了目标编码器针对给定样本不同视角的表示。与端到端方法相比,原型所需的查询量呈指数级减少,可被实例化以指导后续无需查询的训练。为进一步提升效果,我们设计了多关系提取损失,用于训练替代编码器,使其能够判别不匹配的嵌入-原型对,同时在幅度和角度两个层面上对齐匹配的嵌入-原型对。通过这种方式,训练得到的替代编码器在有限查询条件下,于各类下游数据集上全面取得了当前最优结果。此外,实验表明RDA对多种广泛使用的防御手段具有鲁棒性。
英文摘要:
This paper introduces RDA, a pioneering approach designed to address two primary deficiencies prevalent in previous endeavors aiming at stealing pre-trained encoders: (1) suboptimal performances attributed to biased optimization objectives, and (2) elevated query costs stemming from the end-to-end paradigm that necessitates querying the target encoder every epoch. Specifically, we initially Refine the representations of the target encoder for each training sample, thereby establishing a less biased optimization objective before the steal-training phase. This is accomplished via a sample-wise prototype, which consolidates the target encoder's representations for a given sample's various perspectives. Demanding exponentially fewer queries compared to the end-to-end approach, prototypes can be instantiated to guide subsequent query-free training. For more potent efficacy, we develop a multi-relational extraction loss that trains the surrogate encoder to Discriminate mismatched embedding-prototype pairs while Aligning those matched ones in terms of both amplitude and angle. In this way, the trained surrogate encoder achieves state-of-the-art results across the board in various downstream datasets with limited queries. Moreover, RDA is shown to be robust to multiple widely-used defenses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。