Testing and Enhancing Adversarial Robustness of Hyperdimensional Computing

被引:0
|
作者
Ma, Dongning [1 ]
Rosing, Tajana Simunic [2 ]
Jiao, Xun [1 ]
机构
[1] Villanova Univ, Dept Elect & Comp Engn, Villanova, PA 19085 USA
[2] Univ Calif San Diego, Dept Comp Sci & Engn, La Jolla, CA 92093 USA
关键词
Robustness; Brain modeling; Testing; Fuzzing; Computational modeling; Perturbation methods; Data models; Adversarial attack; differential fuzz testing; hyperdimensional computing (HDC); robust computing;
D O I
10.1109/TCAD.2023.3263120
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Brain-inspired hyperdimensional computing (HDC), also known as vector symbolic architecture (VSA), is an emerging "non-von Neumann" computing scheme that imitates human brain functions to process information or perform learning tasks using abstract and high-dimensional patterns. Compared with deep neural networks (DNNs), HDC shows advantages, such as compact model size, energy efficiency, and few-shot learning. Despite of those advantages, one under-investigated area of HDC is the adversarial robustness; existing works have shown that HDC is vulnerable to adversarial attacks where attackers can add minor perturbations onto the original inputs to "fool" HDC models, producing wrong predictions. In this article, we systematically study the adversarial robustness of HDC by developing a systematic approach to test and enhance the robustness of HDC against adversarial attacks with two main components: 1) TestHD, which is a highly automated testing tool that can generate high-quality adversarial data for a given HDC model and 2) GuardHD, which utilizes the adversarial data generated by TestHD to enhance the adversarial robustness of HDC models. The core idea of TestHD is built on top of fuzz testing method. We customize the fuzzing approach by proposing a similarity-based coverage metric to guide TestHD to continuously mutate original inputs to generate new inputs that can trigger incorrect behaviors of HDC model. Thanks to the use of differential testing, TestHD does not require knowing the labels of the samples beforehand. For enhancing the adversarial robustness, we design, implement, and evaluate GuardHD to defend HDC models against adversarial data. The core idea of GuardHD is an adversarial detector which can be trained by TestHD-generated adversarial samples. During inference, once an adversarial sample is detected, GuardHD will override the prediction result with an "invalid" signal. We evaluate the proposed methods on four datasets and five adversarial attack scenarios with six adversarial generation strategies and two defense mechanisms, and compare the performance correspondingly. GuardHD is able to differentiate between benign and adversarial inputs with over 90% accuracy, which is up to 55% higher than adversarial training-based baselines. To the best of our knowledge, this article presents the first comprehensive effort in systematically testing and enhancing the robustness against adversarial data of this emerging brain-inspired computational model.
引用
收藏
页码:4052 / 4064
页数:13
相关论文
共 50 条
  • [41] Symbolic Representation and Learning With Hyperdimensional Computing
    Mitrokhin, Anton
    Sutor, Peter
    Summers-Stay, Douglas
    Fermueller, Cornelia
    Aloimonos, Yiannis
    [J]. FRONTIERS IN ROBOTICS AND AI, 2020, 7
  • [42] Robust Clustering Using Hyperdimensional Computing
    Ge, Lulu
    Parhi, Keshab K.
    [J]. IEEE OPEN JOURNAL OF CIRCUITS AND SYSTEMS, 2024, 5 : 102 - 116
  • [43] Enhancing EEG Signal Classifier Robustness Against Adversarial Attacks Using a Generative Adversarial Network Approach
    Aissa, Nour El Houda Sayah Ben
    Kerrache, Chaker Abdelaziz
    Korichi, Ahmed
    Lakas, Abderrahmane
    Belkacem, Abdelkader Nasreddine
    [J]. IEEE Internet of Things Magazine, 2024, 7 (03): : 44 - 49
  • [44] Binary Hyperdimensional Computing for Image Encoding
    Li, Jinghan
    Chen, Jin
    Liang, Jiahui
    Li, Sen
    Han, Baozhu
    Wu, Hanlin
    [J]. Lecture Notes in Electrical Engineering, 2023, 871 LNEE : 44 - 50
  • [45] A Binary Learning Framework for Hyperdimensional Computing
    Imani, Mohsen
    Messerly, John
    Wu, Fan
    Pi, Wang
    Rosing, Tajana
    [J]. 2019 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION (DATE), 2019, : 126 - 131
  • [46] Hyperdimensional computing with holographic and adaptive encoder
    Hernandez-Cano, Alejandro
    Ni, Yang
    Zou, Zhuowen
    Zakeri, Ali
    Imani, Mohsen
    [J]. FRONTIERS IN ARTIFICIAL INTELLIGENCE, 2024, 7
  • [47] SWIPE: Enhancing Robustness of ReRAM Crossbars for In-memory Computing
    Gonugondla, Sujan K.
    Patil, Ameya D.
    Shanbhag, Naresh R.
    [J]. 2020 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED-DESIGN (ICCAD), 2020,
  • [48] Enhancing the Noise Robustness of the Optimal Computing Budget Allocation Approach
    Choi, Seon Han
    Kim, Tag Gon
    [J]. IEEE ACCESS, 2020, 8 (08): : 25749 - 25763
  • [49] Applicability of Hyperdimensional Computing to Seizure Detection
    Ge, Lulu
    Parhi, Keshab K.
    [J]. IEEE OPEN JOURNAL OF CIRCUITS AND SYSTEMS, 2022, 3 : 59 - 71
  • [50] Classification Using Hyperdimensional Computing: A Review
    Ge, Lulu
    Parhi, Keshab K.
    [J]. IEEE CIRCUITS AND SYSTEMS MAGAZINE, 2020, 20 (02) : 30 - 47