arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.01585cs.LGcs.AIcs.CR
收藏

OCGEC:用于DNN后门检测的单类图嵌入分类

OCGEC: One-class Graph Embedding Classification for DNN Backdoor Detection

School of Cyber Science and Engineering, Shanghai Jiao Tong University(上海交通大学网络科学与工程学院)

Haoyu Jiang, Haiyang Yu, Nan Li, Ping Yi

AI总结:

本文提出OCGEC框架,利用图神经网络和单类分类,仅用少量干净数据即可实现DNN模型级后门检测,在多项任务上AUC超过98%,显著优于现有方法。

摘要:

深度神经网络(DNNs)已被发现容易受到后门攻击,这引发了对其在关键任务应用中部署的安全担忧。目前存在多种检测后门攻击的方法,但它们都对要检测的目标攻击做出一定假设,并且需要等量且大量的干净样本和后门样本用于训练,这使得这些检测方法在现实场景中相当受限。本研究提出了一种新颖的单类分类框架,称为单类图嵌入分类(OCGEC),该框架利用图神经网络(GNNs)进行模型级后门检测,且仅需少量干净数据。首先,我们从少量干净数据集中训练数千个微型模型作为原始数据集。随后,我们设计了一种巧妙的模型到图的方法,将模型的结构细节和权重特征转换为图数据。然后,我们预训练一个生成式自监督图自编码器(GAE),以更好地学习良性模型的特征,从而在不知道攻击策略的情况下检测后门模型。之后,我们动态结合GAE和单类分类器的优化目标,形成区分后门模型与良性模型的分类边界。我们的OCGEC将图神经网络强大的表示能力与单类分类技术在异常检测领域的实用性相结合。与其他基线方法相比,它在多项任务上取得了超过98%的AUC分数,即使现有检测方法依赖大量正负样本,其性能也远不及我们的方法。我们开创性地将图场景应用于通用后门检测,可以为改进其他后门防御任务提供新的见解。代码可在https://github.com/jhy549/OCGEC获取。

英文摘要:

Deep neural networks (DNNs) have been found vulnerable to backdoor attacks, raising security concerns about their deployment in mission-critical applications. There are various approaches to detect backdoor attacks, however they all make certain assumptions about the target attack to be detected and require equal and huge numbers of clean and backdoor samples for training, which renders these detection methods quite limiting in real-world circumstances. This study proposes a novel one-class classification framework called One-class Graph Embedding Classification (OCGEC) that uses GNNs for model-level backdoor detection with only a little amount of clean data. First, we train thousands of tiny models as raw datasets from a small number of clean datasets. Following that, we design a ingenious model-to-graph method for converting the model's structural details and weight features into graph data. We then pre-train a generative self-supervised graph autoencoder (GAE) to better learn the features of benign models in order to detect backdoor models without knowing the attack strategy. After that, we dynamically combine the GAE and one-class classifier optimization goals to form classification boundaries that distinguish backdoor models from benign models. Our OCGEC combines the powerful representation capabilities of graph neural networks with the utility of one-class classification techniques in the field of anomaly detection. In comparison to other baselines, it achieves AUC scores of more than 98% on a number of tasks, which far exceeds existing methods for detection even when they rely on a huge number of positive and negative samples. Our pioneering application of graphic scenarios for generic backdoor detection can provide new insights that can be used to improve other backdoor defense tasks. Code is available at https://github.com/jhy549/OCGEC.

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

↑