HDMark: Holographic Multi-Bit Model Watermarking for Intellectual Property Protection in Hyperdimensional Computing

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

TL;DR

Hyperdimensional computing (HDC) compresses an entire machine learning classifier into a handful of giant vectors on an edge chip—making them remarkably efficient, yet effortlessly easy to copy and steal. HDMark solves this by hiding an invisible, multi-bit owner signature directly inside the high-dimensional geometry of the trained model, requiring zero retraining and zero extra hardware. Try to scrub this holographic watermark out, and you'll break the model's brain long before the signature fades.

What Problem Does This Paper Address?

Imagine spending months curating proprietary data and designing a lightweight AI model for a smartwatch or sensor, only to have someone read the chip's memory and clone your work verbatim. That is the vulnerability of Hyperdimensional Computing (HDC).

Instead of deep layers of weights, HDC encodes data into "hypervectors"—vectors with ~10,000 dimensions where information is spread holographically across every coordinate. A trained HDC classifier boils down to just an input encoder and one "prototype" hypervector per class. Inference is a simple cosine similarity check.

While encrypting or locking models tries to prevent theft, it doesn't prove ownership after a model leaks. In deep neural networks, owners prove ownership using "trigger sets" (teaching the model secret labels for weird inputs). However, forcing an HDC model to learn out-of-distribution triggers during single-pass training dilutes its prototypes, degrades accuracy, and only yields a yes/no signal rather than a rich owner ID. HDMark asks: can we watermark an HDC model natively using its own high-dimensional algebra?

Methods

HDMark relies on a delightful mathematical quirk of high-dimensional space: two randomly generated 10,000-dimensional vectors are almost guaranteed to be quasi-orthogonal (their cosine similarity hovers right around zero).

Fig. 1. Overview of HDMark. ❶Key generation: the identity I is hashed to the payload b, and the secret key K seeds the carriers Ri and the balanced class signs s. ❷Embedding: the carriers, signed by the payload bits, are bundled into the watermark w and superimposed on the trained prototypes. ❸Verification: the payload is recovered from the suspect prototypes using the key and claimed identity, and tested with a binomial test.

HDMark operates in three post-training phases without needing training data or retraining:

  1. Key Generation: An owner's identity string is hashed into an $L$-bit payload (e.g., 64 bits). A secret key seeds a random generator to create $L$ quasi-orthogonal bipolar "carrier" hypervectors, plus a set of balanced $+1/-1$ signs across the classes (committed to a public timestamped ledger to prevent spoofed claims).
  2. Embedding: Each payload bit flips the sign of its corresponding carrier, and all $L$ carriers are summed ("bundled") into one watermark hypervector. Because the carriers are quasi-orthogonal to the model, superimposing a tiny, norm-scaled fraction of this watermark onto every class prototype barely nudges cosine similarities during normal inference.
  3. Verification: Given a suspect model's prototypes, the owner normalizes and averages them using the secret balanced class signs, projects the result onto each secret carrier to read out the bits, and runs a binomial test to statistically confirm ownership.

To counter an HDC-specific dimension-permutation attack—where a thief shuffles vector coordinates and flips signs on both the encoder and prototypes to preserve predictions while scrambling the watermark—the authors introduce encoder realignment, passing probe inputs through both encoders to correlate and un-shuffle the coordinates before verifying.

Datasets

No new benchmarks were introduced. The authors evaluated HDMark across four standard benchmarks spanning vision, speech, and wearable sensors: MNIST, FashionMNIST, ISOLET (spoken letters), and UCI-HAR (human activity recognition), tested across three standard HDC learning rules (Vanilla HDC, AdaptHD, and OnlineHD).

Key Insights and Ideas

  • Canceling the "background hum" with balanced signs: Class prototypes in HDC share a massive common component (over 90% of vector energy in Vanilla HDC). Adding a watermark with the same sign to every class would drown the signal in host interference. Alternating $+1$ and $-1$ signs across classes makes the shared background cancel out completely during verification, while the watermark adds up coherently.
  • Geometry predicts everything: Because hyperdimensional math is so clean, the authors derived a closed-form equation predicting bit recovery rates from vector dimension and payload length—matching 14,400 empirical trials within 0.4 percentage points (pp). Owners can calculate exact watermark strength mathematically rather than guessing via grid search.
  • Free hardware verification: On an FPGA, checking the watermark requires zero extra circuitry. Projecting prototypes onto secret carriers is mathematically identical to scoring an encoded input, meaning verification simply reuses the chip's existing inference datapath.

Key Results

  • High Fidelity & Reliability: Embedding a 64-bit ID changes task accuracy by at most 0.05 pp, keeps $\ge$99.6% of test predictions identical to the clean model, and verifies ownership in 99.8% of trials ($p < 10^{-3}$). By contrast, black-box trigger sets cost up to 8.3 pp accuracy and drop to 20–60% verification on Vanilla HDC.
  • Attack Resilience: Fine-tuning, noise, pruning, overwriting, and quantization cannot erase the watermark without destroying over 8 pp of model accuracy (with 2-bit Vanilla HDC easily fixed by slightly nudging the embedding strength). Encoder realignment restores verification from 0% back to 100% for OnlineHD (and 79–95% for record-based encoders).
Fig. 2. Accuracy (top) and bit recovery rate (bottom) of the watermarked models under (a) noise, (b) pruning, (c) overwriting, and (d) quantization, pooled over the four datasets. The dotted line is the BRR required for verification at τ = 10−3 (45 of 64 bits).
  • FPGA Efficiency & Fault Tolerance: Implemented on an AMD ZCU104 FPGA, HDMark adds 0% hardware overhead and <0.4% energy difference. Under aggressive undervolting down to 0.652 V, energy drops by 45–46% while every prediction and watermark bit stays bit-exact. Under overclocking timing faults, zero false ownership claims occur.

Limitations and Future Work

  • White-box access required: Unlike query-only trigger sets, HDMark requires reading out the suspect model's prototypes (and accessing its encoder if realignment is needed) during a dispute.
  • Unalignable constant dimensions: Under record-based encoding, roughly half the hypervector dimensions stay constant across inputs. Under a permutation attack, these indistinguishable columns cannot be realigned—slightly lowering verification recovery to 79% (AdaptHD) and 95% (Vanilla HDC) compared to 100% on nonlinear encoders.
  • Narrow-margin sensitivity: Vanilla HDC uses a very small default watermark amplitude, causing dips under extreme 2-bit quantization or severe on-chip FPGA timing errors (though reading prototypes off-chip immediately restores 100% verification). Future directions are not explicitly discussed in the paper.

Summary updated

Abstract

Hyperdimensional computing (HDC) models deployed on edge hardware are valuable intellectual property that is easy to steal, since a trained classifier consolidates its learned knowledge into a compact set of class prototype hypervectors; yet protecting their ownership through watermarking remains largely unexplored. We present HDMark, the first model watermarking framework native to HDC, which encodes ownership in the same hyperdimensional algebra the model computes with. HDMark maps a multi-bit owner identity to secret quasi-orthogonal carriers, superimposes them holographically onto the trained class prototypes, and verifies ownership with a statistical test. Across four datasets and three HDC learning rules, HDMark leaves accuracy essentially unchanged and verifies a 64-bit identity in 99.8% of trials at p < 0.001. We derive closed-form expressions for prediction fidelity and bit recovery that match measurements within 0.4 pp mean absolute error. The watermark survives fine-tuning and low-bit quantization, while attempting to erase it through noise injection, pruning, or overwriting severely degrades model accuracy. We further identify a dimension-permutation attack specific to HDC, which reorders hypervector coordinates to evade verification without altering predictions, and counter it through encoder realignment. Finally, an AMD ZCU104 FPGA implementation confirms that HDMark adds no hardware overhead, remains bit-exact under aggressive undervolting, and stays verifiable under timing faults until the classifier itself fails.
BibTeX
@misc{poursiami2026hdmark,
  author = {Hamed Poursiami and Ahmad Tahmasivand and Farshad Soleiman and Guojing Cong and Thomas Potok and Kai Zeng and Khaled N. Khasawneh and Maryam Parsa},
  title = {{HDMark: Holographic Multi-Bit Model Watermarking for Intellectual Property Protection in Hyperdimensional Computing}},
  year = {2026},
  eprint = {2611.31781},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31781},
}
Figure