NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Superposed Inference for Hyperdimensional Computing

Quanling Zhao, Nilesh Prasad Pandey, Ye Tian, Tajana RosingarXiv 2026

TL;DR

SupHDC introduces a new inference paradigm for Hyperdimensional Computing (HDC) that allows multiple independent queries to share a single, expensive high-dimensional encoding operation. By leveraging the inherent redundancy of hypervectors, SupHDC achieves up to a 2.01× wall-clock speedup on edge hardware like the Raspberry Pi 5 with minimal impact on prediction accuracy.

What Problem Does This Paper Address?

Hyperdimensional Computing (HDC) is a bio-inspired machine learning framework that represents data using massive, distributed vectors (hypervectors), often with 10,000 dimensions or more. While HDC is prized for its robustness and efficiency on low-power "TinyML" hardware, it has a hidden bottleneck: encoding.

Before any classification happens, raw input data must be projected into this high-dimensional space. Profiling reveals that this encoding step can account for over 90% of total inference latency (see Figure 1). Conventional systems process every query independently, meaning they pay this massive computational tax for every single input. The authors ask a provocative question: can we use the "extra" space in these high-dimensional vectors to process multiple queries at once?

Figure 1: Motivation for SupHDC. (Left) Conventional HDC independently encodes each query into a high-dimensional distributed representation (hypervector), repeating the dominant encoding operation. SupHDC multiplexes multiple queries and amortizes the encoding cost through one shared encoding while retaining separate predictions. (Right) Profiling at D = 10,000 shows that encoding dominates inference latency across different workloads, motivating SupHDC to amortize this cost.

Methods

The authors propose SupHDC, which multiplexes $K$ queries into a single shared encoding pipeline. The process involves three main stages:

  1. Keyed Query Superposition: Each input query is assigned a lightweight "slot key" (a random signed permutation). These keyed queries are summed together in the original low-dimensional input space before any expensive projection occurs.
  2. Shared Encoding: The combined "mixture" is passed through the high-dimensional encoder exactly once. Even though the encoder is non-linear, the authors show that the resulting hypervector still contains enough distinct "class evidence" for each original query.
  3. Slot-Specific Readout: To recover individual predictions, SupHDC uses separate prototype banks for each slot.

To handle the inevitable interference between superposed queries, the authors introduce two mitigation strategies:

  • Superposition-Aware Adaptation: A fine-tuning step that teaches the slot-specific classifiers to recognize their relevant evidence even in the presence of "noise" from other queries.
  • Margin-Gated Fallback: A safety valve that identifies low-confidence predictions (based on the classification margin) and re-runs only those specific queries through a standard, "clean" inference path.
Figure 2: SupHDC adaptation and selective fallback. (a) Superposition-aware training adapts only the slot-specific prototype banks while keeping the base encoder fixed. (b) Margin-gated fallback selectively re-encodes low-confidence queries through the clean inference path.

Datasets

The framework was evaluated across 10 diverse datasets covering sensing, vision, language, and industrial applications:

  • Sensing/Activity: HAR, ISOLET, SECOM.
  • Vision: CIFAR-10, MNIST, Fashion-MNIST.
  • Text/Language: Airline Sentiment, AG News, IMDB, 20 Newsgroups.

Key Insights and Ideas

  • Redundancy as Capacity: Traditionally, the high dimensionality of HDC is viewed as a source of robustness against noise. SupHDC reframes this redundancy as "computational capacity" that can be traded for throughput.
  • The Kernel View: The authors provide a theoretical "kernel-machine" view of HDC. They argue that exact recovery of each individual hypervector is unnecessary; inference only needs to preserve the relative class scores that determine the final prediction.
  • Complementary Efficiency: SupHDC is orthogonal to other optimization techniques. It can be used alongside quantization (e.g., 4-bit or 8-bit precision) and hardware acceleration to provide even greater savings.

Key Results

  • Analytical Speedup: Across ten datasets, SupHDC achieved a 1.39× speedup with zero average accuracy loss relative to conventional HDC.
  • Aggressive Scaling: At a more aggressive setting ($K=4$), it reached a 2.08× analytical speedup with a modest 2.67 percentage-point drop in mean accuracy.
  • Edge Deployment: On a Raspberry Pi 5, SupHDC delivered a 2.01× measured wall-clock speedup with a 2.26 percentage-point accuracy loss, proving that the theoretical gains translate to real-world hardware.
  • Quantization Synergy: The method maintains its accuracy-compute benefits even when hypervectors are quantized to 4-8 bits.

Limitations and Future Work

  • Workload Sensitivity: Tolerance to superposition varies by dataset. For example, text datasets like 20 Newsgroups were more resilient than vision datasets like Fashion-MNIST. The authors suggest future work could develop diagnostics to automatically select the optimal superposition factor ($K$) for a given task.
  • Random Grouping: Currently, queries are grouped randomly. The authors hypothesize that "interference-aware" scheduling (grouping queries that are less likely to clash) could further improve the accuracy-compute tradeoff.
  • Encoder Scope: The current study focuses on projection-based HDC. Extending this to other HDC/VSA (Vector Symbolic Architecture) encoders remains an open research direction.

Summary updated

BibTeX
@misc{zhao2026superposed,
  author = {Quanling Zhao and Nilesh Prasad Pandey and Ye Tian and Tajana Rosing},
  title = {{Superposed Inference for Hyperdimensional Computing}},
  year = {2026},
  eprint = {2609.32320},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.32320},
}
Figure