arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.02814cs.LGcs.CR
收藏

预训练编码器推断:揭示下游机器学习服务中的上游编码器

Pre-trained Encoder Inference: Revealing Upstream Encoders In Downstream Machine Learning Services

King Abdullah University of Science and Technology(卡塔尔国王 Abdullah 科学与技术大学);HitoX;University of Science and Technology of China(中国科学技术大学);Zhejiang University(浙江大学)

Shaopeng Fu, Xuexue Sun, Ke Qing, Tianhang Zheng, Di Wang

AI总结:

提出预训练编码器推断(PEI)攻击,通过API访问从下游ML服务中推断隐藏的编码器,并验证其能促进模型窃取和对抗攻击,揭示新的安全隐私风险。

摘要:

在线可用的预训练编码器已被广泛用于构建下游机器学习(ML)服务,但针对这些编码器的各种攻击也对这种下游ML服务范式构成了安全和隐私威胁。我们揭示了一个新的漏洞:预训练编码器推断(PEI)攻击,该攻击能够从目标下游ML服务中提取敏感的编码器信息,这些信息随后可用于促进针对目标服务的其他ML攻击。通过仅提供对目标下游服务和一组候选编码器的API访问,PEI攻击能够成功推断目标服务基于候选编码器秘密使用的是哪一个编码器。与主要针对上游侧编码器的现有编码器攻击相比,PEI攻击即使在编码器已被部署并隐藏在下游ML服务中之后也能对其进行破坏,这使得它成为一种更现实的威胁。我们在视觉编码器上实证验证了PEI攻击的有效性。我们首先对两个下游服务(即图像分类和多模态生成)进行PEI攻击,然后展示PEI攻击如何促进其他ML攻击(即针对图像分类模型的模型窃取攻击和针对多模态生成模型的对抗攻击)。我们的结果呼吁在将编码器部署到下游服务时考虑新的安全和隐私问题。代码可在 https://github.com/fshp971/encoder-inference 获取。

英文摘要:

Pre-trained encoders available online have been widely adopted to build downstream machine learning (ML) services, but various attacks against these encoders also post security and privacy threats toward such a downstream ML service paradigm. We unveil a new vulnerability: the Pre-trained Encoder Inference (PEI) attack, which can extract sensitive encoder information from a targeted downstream ML service that can then be used to promote other ML attacks against the targeted service. By only providing API accesses to a targeted downstream service and a set of candidate encoders, the PEI attack can successfully infer which encoder is secretly used by the targeted service based on candidate ones. Compared with existing encoder attacks, which mainly target encoders on the upstream side, the PEI attack can compromise encoders even after they have been deployed and hidden in downstream ML services, which makes it a more realistic threat. We empirically verify the effectiveness of the PEI attack on vision encoders. we first conduct PEI attacks against two downstream services (i.e., image classification and multimodal generation), and then show how PEI attacks can facilitate other ML attacks (i.e., model stealing attacks vs. image classification models and adversarial attacks vs. multimodal generative models). Our results call for new security and privacy considerations when deploying encoders in downstream services. The code is available at https://github.com/fshp971/encoder-inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑