Manuscript Offprint

arXiv:2610.34942

Intellectual Property Protection of Hyperdimensional Computing Classifiers: Black-Box Ownership Verification via Model Watermarking

Hamed Poursiami, Farshad Soleiman, Ahmad Tahmasivand, Guojing Cong, Thomas Potok, Khaled N. Khasawneh, Kai Zeng, Maryam Parsa

Abstract

Hyperdimensional computing (HDC) offers efficient learning and inference for resource-constrained systems, yet ownership verification of its models remains underexplored. We present the first systematic investigation of model watermarking in HDC by adapting backdoor-based embedding to three classifiers with different prototype-learning mechanisms. Across four benchmarks, with conventional neural networks as references, we examine whether watermarks can be learned without compromising task accuracy and whether they survive subsequent model modification and replication. The error-driven classifiers, AdaptHD and OnlineHD, support verification at a nominal trigger exposure of 1% with at most 0.58 percentage points of mean accuracy loss, whereas single-pass Vanilla HDC requires greater exposure and can incur substantial accuracy costs. The error-driven models retain verification under native continued training, but extraction produces surrogates that reproduce much of the task behavior without verifiable watermarks. Watermark overwriting readily embeds attacker watermarks into HDC prototypes and erodes the owner's watermark more strongly than in the neural network references, although the strongest erosion coincides with large accuracy losses. We further deploy watermarked AdaptHD on an FPGA and stress its execution through undervolting and overclocking. Verification survives substantial computation errors, whereas more severe stress either causes verification failure together with accuracy collapse or results in inference timeouts. These findings establish the feasibility of watermarking in HDC while identifying limitations in retention under extraction and sensitivity to overwriting.

1. Introduction

Hyperdimensional Computing (HDC) has emerged as a compelling brain-inspired approach to efficient machine learning, with applications ranging from image and biosignal classification to robotic mapping and efficient decision making [8, 23, 28, 31, 36]. By representing information in high-dimensional vectors and processing it through lightweight vector operations, HDC supports rapid training, energy-efficient computation, and robustness to noise. Its computational efficiency and suitability for hardware acceleration on FPGAs and in-memory computing platforms make it particularly attractive for resource-constrained edge devices [17, 34]. However, deployment outside the developer's trusted infrastructure can expose stored model representations to unauthorized access. In prototype-based HDC classifiers, these representations include class hypervectors that consolidate task-specific knowledge acquired from training data. Access to these prototypes and the corresponding encoder can enable replication of the classifier without repeating the investment in data acquisition, representation design, training, and optimization. Protecting the intellectual property (IP) embodied in these models is therefore an important requirement for their deployment.

Despite this need, IP protection for HDC models remains underexplored. StealHD [22] investigates data-free extraction through prediction access, highlighting the threat of unauthorized model replication. Existing protection approaches address different aspects of model confidentiality: HDLock [4] uses privileged encoding to impede reverse engineering, while EP-HDC [25] protects class hypervectors through homomorphic encryption while enabling client-side inference. These mechanisms restrict access to model internals but do not themselves provide evidence linking a suspect copy to its original developer. Model watermarking addresses this complementary ownership-verification ob-jective by embedding a secret signature that can later be tested in a suspect model [1, 37, 39]. Although extensively studied in deep neural networks [21, 41, 42] and investigated in spiking neural networks [27], its applicability to HDC classifiers remains an open research question.

HDC's distinctive representation and learning mechanisms raise fundamental questions about how watermarks can be embedded and retained. In conventional HDC classifiers, training combines the hypervector representations of samples from each class into a shared prototype through superposition [16]. This associative structure provides a natural starting point for investigating whether a secret watermark can be incorporated alongside the information required for the primary task. However, the watermark and task-related information share the same prototypes, creating the potential for interference during embedding and changes to the watermark during subsequent learning. The central question is therefore how these learning mechanisms affect the ability to embed a verifiable watermark while preserving classification accuracy, and whether the resulting ownership evidence remains reliable after model modification or extraction.

To address these questions, we adapt the backdoor-based watermarking framework of Adi et al. [1] to HDC and evaluate three representative classifiers: Vanilla HDC, AdaptHD, and OnlineHD. This approach provides a common basis for examining how these classifiers learn secret trigger-label associations and retain them after deployment. Our evaluation combines statistical verification, exposure-accuracy analysis, and tests of model adaptation, extraction, and competing watermark insertion, with conventional neural networks as references. We further deploy watermarked AdaptHD models on an FPGA to examine verification under hardware execution faults. Together, these experiments assess both embedding feasibility and the survival of ownership evidence under post-deployment threats and hardware faults. Our contributions are:

• A systematic investigation of watermarking in HDC. To the best of our knowledge, we present the first study of model watermarking in HDC, adapting backdoor-based embedding to three prototype-learning mechanisms and assessing verification through a binomial test with empirical null calibration.

• Characterization of embedding feasibility and post-deployment limits. At 1% trigger exposure, AdaptHD and OnlineHD verify across all benchmarks with at most 0.58 pp mean accuracy loss, whereas Vanilla HDC suffers from superposition dilution. We show that embedded watermarks survive white-box adaptation and cannot be overwritten by competing triggers without either leaving the owner's signature verifiable or collapsing task accuracy (10.37 – 42.21 pp drop), whereas black-box extraction removes OOD watermarks across all model families.

• FPGA validation under hardware faults. We deploy watermarked AdaptHD inference on a ZCU104 FPGA and evaluate its response to undervolting and overclocking. Verification survives operating conditions that reduce classification accuracy by up to 22.00 pp, while more severe stress causes verification failure or inference timeouts.

References (43)

  • Turning your weakness into a strength: Watermarking deep neural networks by backdooring
  • A public domain dataset for human activity recognition using smartphones
  • Hypergraphx: Graph transductive learning with hyperdimensional computing and message passing
  • HDLock: Exploiting privileged encoding to protect hyperdimensional computing models against IP stealing
  • Spoken letter recognition
  • A theory of sequence indexing and working memory in recurrent neural networks
  • Computing on functions using randomized vector representations (in brief)
  • Classification using hyperdimensional computing: A review
  • How to time-stamp a digital document
  • Torchhd: An open source python library to support research on hyperdimensional computing and vector symbolic architectures
  • OnlineHD: Robust, efficient, and single-pass online learning using hyperdimensional system
  • VoiceHD: Hyperdimensional computing for efficient speech recognition
  • A framework for collaborative learning in secure high-dimensional space
  • AdaptHD: Adaptive efficient training for brain-inspired hyperdimensional computing
  • Language geometry using random indexing
  • In-memory hyperdimensional computing
  • A survey on hyperdimensional computing aka vector symbolic architectures, part I: Models and algebraic transformations
  • FPGAhammer: Remote voltage fault attacks on shared FPGAs
  • Gradient-based learning applied to document recognition
  • SoK: How robust is image classification deep neural network watermarking? In IEEE Symposium on Security and Privacy (SP), pages 787–804
  • Stealing black-box hyperdimensional computing models without data
  • Learning sensorimotor control with neuromorphic sensors: Toward hyperdimensional active perception
  • Faults that fortify: Cnn adversarial robustness via gpu undervolting (opens arXiv in a new tab)
  • EP-HDC: Hyperdimensional computing with encrypted parameters for high-throughput privacy-preserving inference (opens arXiv in a new tab)
  • Graphd: Graph-based hyperdimensional memorization for brain-like cognitive learning
  • Watermarking neuromorphic brains: Intellectual property protection in spiking neural networks
  • A scalable reinforcement learning framework inspired by hippocampal memory mechanisms for efficient contextual and sequential decision making
  • Vs-graph: Scalable and efficient graph classification using hyperdimensional computing
  • Random features for large-scale kernel machines
  • Hyperdimensional biosignal processing: A case study for EMG-based hand gesture recognition
  • A robust and energy-efficient classifier using brain-inspired hyperdimensional computing
  • Neuromorphic visual scene understanding with resonator networks
  • F5-HD: Fast flexible FPGA-based framework for refreshing hyperdimensional computing
  • On the robustness of backdoor-based watermarking in deep neural networks
  • Brain inspired probabilistic occupancy grid mapping with vector symbolic architectures
  • Randomized ris signal watermarking in futureg millimeter-wave wireless communications
  • Stealing machine learning models via prediction APIs
  • Embedding watermarks into deep neural networks
  • Fashion-MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms
  • Intellectual property protection for deep learning models: Taxonomy, methods, attacks, and evaluations
  • Stoecklin, Heqing Huang, and Ian Molloy
  • Energy-efficient brain-inspired hyperdimensional computing using voltage scaling
  • EventHD: Robust and efficient hyperdimensional learning with neuromorphic sensor