PSBD:预测偏移不确定性解锁后门检测
PSBD: Prediction Shift Uncertainty Unlocks Backdoor Detection
AI总结:
针对深度神经网络后门攻击中识别可疑训练数据的挑战,本文提出PSBD方法,利用预测偏移不确定性(PSU),仅需少量无标签干净验证数据,通过检测dropout下模型预测偏移识别后门样本,实验证明其效果优于主流方法。
摘要:
深度神经网络易受后门攻击,攻击者通过在训练数据中插入恶意样本操纵模型预测。目前,识别可疑训练数据以揭露潜在后门样本仍面临重大挑战。本文提出一种新方法——预测偏移后门检测(PSBD),利用基于不确定性的方法,仅需少量无标签干净验证数据。PSBD受一种有趣的预测偏移(PS)现象启发:在推理时应用dropout,投毒模型对干净数据的预测往往偏离真实标签,转向特定其他标签,而后门样本的PS程度较低。我们假设PS源于神经元偏差效应,使神经元偏好特定类别的特征。PSBD通过计算预测偏移不确定性(PSU)识别后门训练样本,PSU是推理时开启和关闭dropout层时概率值的方差。我们开展了大量实验验证PSBD的有效性和效率,其在主流检测方法中取得了最先进的结果。代码可在https://github.com/WL-619/PSBD获取。
英文摘要:
Deep neural networks are susceptible to backdoor attacks, where adversaries manipulate model predictions by inserting malicious samples into the training data. Currently, there is still a significant challenge in identifying suspicious training data to unveil potential backdoor samples. In this paper, we propose a novel method, Prediction Shift Backdoor Detection (PSBD), leveraging an uncertainty-based approach requiring minimal unlabeled clean validation data. PSBD is motivated by an intriguing Prediction Shift (PS) phenomenon, where poisoned models' predictions on clean data often shift away from true labels towards certain other labels with dropout applied during inference, while backdoor samples exhibit less PS. We hypothesize PS results from the neuron bias effect, making neurons favor features of certain classes. PSBD identifies backdoor training samples by computing the Prediction Shift Uncertainty (PSU), the variance in probability values when dropout layers are toggled on and off during model inference. Extensive experiments have been conducted to verify the effectiveness and efficiency of PSBD, which achieves state-of-the-art results among mainstream detection methods. The code is available at https://github.com/WL-619/PSBD.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。