摘要
侧信道攻击已成为 AI 系统安全性的新威胁,神经网络模型的结构、权重,甚至输入的图像或文本,都易被侧信道攻击者非法获取.此外一些研究也开始利用侧信道攻击手段对大语言模型(LLMs)用户输入提示词进行恢复,引起人们对神经网络模型应用安全性的广泛思考.本文对目前深度神经网络(DNN)破解中侧信道攻击方法进行了梳理,总结了其攻击场景、攻击模型和攻击目标.根据攻击目的不同将其分为三类:针对 DNN 结构和权重的攻击方法,包括恢复模型具体结构如卷积层数、激活函数、权重等完整参数;针对 DNN 输入的攻击方法,即恢复用户上传至深度学习模型的图像;针对大语言模型用户提示词的时间侧信道攻击方法.并分别给出了上述分类的典型案例,阐述了攻击方法、基本原理、攻击流程和攻击结果.最后,对其结果进行了评估,并讨论了潜在防护措施及未来发展趋势.
Side-channel attacks have emerged as a new threat to the security of AI systems.Archi-tectures,weights,and input images or texts of neural network model are vulnerable to unauthorized extraction by side-channel adversaries.Additionally,some research has leveraged side-channel tech-niques to recover user prompts in large language models(LLMs),raising concerns about the security of AI systems.This study surveys current side-channel attack methods against deep neural models(DNNs),categorizing them by attack scenarios,models,and targets.These attacks are classified into three categories:(1)attacks targeting DNN architectures and weights,including the recovery of layer configurations,activation functions,and full parameters;(2)input reconstruction attacks that extract user-uploaded images from DNNs;and(3)timing-based side-channel attacks against LLMs to recover user prompts.Representative case studies are analyzed,detailing their principles,procedures,and outcomes.Finally,the effectiveness of these attacks are evaluated and potential countermeasures are discussed along with future research directions.