Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Attacks on Brain-Inspired Hyperdimensional Computing-Based Classifiers

Fangfang Yang, Shaolei Ren|arXiv (Cornell University)|Jun 10, 2020
Ferroelectric and Negative Capacitance DevicesEngineering49 references13 citations
TL;DR

This paper presents the first systematic study of adversarial attacks on brain-inspired hyperdimensional computing (HDC) classifiers, demonstrating their vulnerability to minimally perturbed inputs. Using a modified genetic algorithm in a grey-box setting, the authors generate adversarial examples that mislead HDC classifiers with 78% success under fixed majority rule, highlighting security risks in energy-efficient on-device AI systems.

ABSTRACT

Being an emerging class of in-memory computing architecture, brain-inspired hyperdimensional computing (HDC) mimics brain cognition and leverages random hypervectors (i.e., vectors with a dimensionality of thousands or even more) to represent features and to perform classification tasks. The unique hypervector representation enables HDC classifiers to exhibit high energy efficiency, low inference latency and strong robustness against hardware-induced bit errors. Consequently, they have been increasingly recognized as an appealing alternative to or even replacement of traditional deep neural networks (DNNs) for local on device classification, especially on low-power Internet of Things devices. Nonetheless, unlike their DNN counterparts, state-of-the-art designs for HDC classifiers are mostly security-oblivious, casting doubt on their safety and immunity to adversarial inputs. In this paper, we study for the first time adversarial attacks on HDC classifiers and highlight that HDC classifiers can be vulnerable to even minimally-perturbed adversarial samples. Concretely, using handwritten digit classification as an example, we construct a HDC classifier and formulate a grey-box attack problem, where an attacker's goal is to mislead the target HDC classifier to produce erroneous prediction labels while keeping the amount of added perturbation noise as little as possible. Then, we propose a modified genetic algorithm to generate adversarial samples within a reasonably small number of queries. Our results show that adversarial images generated by our algorithm can successfully mislead the HDC classifier to produce wrong prediction labels with a high probability (i.e., 78% when the HDC classifier uses a fixed majority rule for decision). Finally, we also present two defense strategies -- adversarial training and retraining-- to strengthen the security of HDC classifiers.

Motivation & Objective

  • To investigate the security vulnerabilities of HDC classifiers, which are increasingly used in low-power IoT devices due to their efficiency and robustness.
  • To analyze whether HDC classifiers, despite their resilience to hardware noise, are susceptible to adversarial examples similar to deep neural networks.
  • To develop an effective, query-efficient attack method targeting HDC classifiers under a grey-box threat model.
  • To propose and evaluate defense mechanisms—adversarial training and retraining—to enhance the robustness of HDC classifiers.

Proposed method

  • Formulates a grey-box adversarial attack problem where the attacker has partial knowledge of the HDC classifier’s decision mechanism.
  • Designs a modified genetic algorithm to generate adversarial samples with minimal perturbation while minimizing the number of queries to the target model.
  • Employs hypervector-based classification using fixed majority rule for decision-making, enabling systematic evaluation of attack success.
  • Applies adversarial training and retraining strategies to harden HDC classifiers against generated adversarial examples.
  • Uses MNIST handwritten digit classification as a benchmark to evaluate attack and defense performance.
  • Evaluates attack success rate and perturbation magnitude to quantify the threat surface of HDC classifiers.

Experimental results

Research questions

  • RQ1Can adversarial attacks successfully mislead HDC classifiers designed for low-power, on-device inference?
  • RQ2How effective is a query-efficient, genetic-algorithm-based attack in generating adversarial examples for HDC classifiers under a grey-box assumption?
  • RQ3What is the success rate of adversarial examples in causing misclassification across different HDC classifier configurations?
  • RQ4Can adversarial training and retraining significantly improve the robustness of HDC classifiers against such attacks?
  • RQ5How does the perturbation magnitude of adversarial samples compare to the inherent noise tolerance of HDC systems?

Key findings

  • The proposed attack achieves a 78% success rate in misclassifying handwritten digits when the HDC classifier uses a fixed majority rule for decision-making.
  • Adversarial examples can be generated with minimal perturbation, indicating that HDC classifiers are vulnerable to subtle, imperceptible input modifications.
  • The modified genetic algorithm effectively explores the input space with a limited number of queries, making the attack practical in real-world scenarios.
  • Adversarial training and retraining significantly reduce the success rate of subsequent attacks, demonstrating their effectiveness as defense mechanisms.
  • Despite HDC’s inherent robustness to hardware-induced bit errors, it remains vulnerable to targeted, input-level adversarial perturbations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.