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

December 04, 2023 ยท Entered Twilight ยท ๐Ÿ› IEEE International Joint Conference on Neural Network

๐Ÿ’ค TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: .gitignore, GAE_cifar.py, GAE_mnist.py, README.md, argument_parser_v1.py, attack, configs, defense, gbd_mocc_audio.py, gbd_mocc_cifar.py, gbd_mocc_mnist.py, gbd_mtcc.py, gbd_mtcc_audio.py, gbd_mtcc_cifar.py, gbd_mtcc_nlp.py, gbd_mtcc_resnet.py, gbd_socc.py, gbd_socc_audio.py, gbd_socc_cifar.py, gbd_stcc.py, gen_benign.py, gen_malicious.py, main_ocsvm.py, main_svdd_audio.py, main_svdd_cifar.py, main_svdd_cifar_old.py, main_svdd_mnist.py, main_svdd_nlp.py, main_svdd_resnet18.py, metric.py, model_building.py, model_lib, model_sub_v1.py, model_v1.py, models, requirements.txt, settings.py, test.py, test_audio.py, test_audio_occ.py, test_cifar10.py, test_linear.py, test_nlp.py, test_resnet18.py, train_basic_benign.py, train_basic_jumbo.py, train_basic_jumbo_nlp.py, train_basic_jumbo_resnet.py, train_basic_trojaned.py, train_eval_test_v1.py, utils, utils_1.py, utils_2

Authors Haoyu Jiang, Haiyang Yu, Nan Li, Ping Yi arXiv ID 2312.01585 Category cs.LG: Machine Learning Cross-listed cs.AI, cs.CR Citations 0 Venue IEEE International Joint Conference on Neural Network Repository https://github.com/jhy549/OCGEC โญ 4 Last Checked 1 month ago
Abstract
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.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Machine Learning