“Beatrix”复活:通过Gram矩阵的鲁棒后门检测
The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matrices
摘要:
深度神经网络(DNN)在训练过程中容易受到后门攻击的影响。以这种方式损坏的模型正常工作,但当被输入中的某些模式触发时,会产生预定义的目标标签。现有的防御通常依赖于通用后门设置的假设,其中中毒样本共享相同的统一触发器。然而,最近的高级后门攻击表明,这种假设在触发器因输入而异的动态后门中不再有效,从而击败了现有的防御。在这项工作中,我们提出了一种新的技术,Beatrix(后门检测通过革兰氏矩阵)。Beatrix利用Gram矩阵不仅捕获特征相关性,而且还捕获表示的适当高阶信息。通过从正常样本的激活模式中学习类条件统计,Beatrix可以通过捕获激活模式中的异常来识别中毒样本。为了进一步提高识别目标标签的性能,Beatrix利用基于内核的测试,而不对表示分布进行任何预先假设。我们证明了我们的方法的有效性,通过广泛的评估和比较与国家的最先进的防御技术。实验结果表明,我们的方法在检测动态后门时达到了91.1%的F1分数,而现有技术只能达到36.9%。
英文摘要:
Deep Neural Networks (DNNs) are susceptible to backdoor attacks during training. The model corrupted in this way functions normally, but when triggered by certain patterns in the input, produces a predefined target label. Existing defenses usually rely on the assumption of the universal backdoor setting in which poisoned samples share the same uniform trigger. However, recent advanced backdoor attacks show that this assumption is no longer valid in dynamic backdoors where the triggers vary from input to input, thereby defeating the existing defenses. In this work, we propose a novel technique, Beatrix (backdoor detection via Gram matrix). Beatrix utilizes Gram matrix to capture not only the feature correlations but also the appropriately high-order information of the representations. By learning class-conditional statistics from activation patterns of normal samples, Beatrix can identify poisoned samples by capturing the anomalies in activation patterns. To further improve the performance in identifying target labels, Beatrix leverages kernel-based testing without making any prior assumptions on representation distribution. We demonstrate the effectiveness of our method through extensive evaluation and comparison with state-of-the-art defensive techniques. The experimental results show that our approach achieves an F1 score of 91.1% in detecting dynamic backdoors, while the state of the art can only reach 36.9%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。