Lune

OOPSLA2023Top-tier venue

Hardware-Aware Static Optimization of Hyperdimensional Computations

Pu (Luke) Yi, Sara Achour

Abstract

Binary spatter code (BSC)-based hyperdimensional computing (HDC) is a highly error-resilient approximate computational paradigm suited for error-prone, emerging hardware platforms. In BSC HDC, the basic datatype is a hypervector, a typically large binary vector, where the size of the hypervector has a significant impact on the fidelity and resource usage of the computation. Typically, the hypervector size is dynamically tuned to deliver the desired accuracy; this process is time-consuming and often produces hypervector sizes that lack accuracy guarantees and produce poor results when reused for very similar workloads. We present Heim, a hardware-aware static analysis and optimization framework for BSC HD computations. Heim analytically derives the minimum hypervector size that minimizes resource usage and meets the target accuracy requirement. Heim guarantees the optimized computation converges to the user-provided accuracy target on expectation, even in the presence of hardware error. Heim deploys a novel static analysis procedure that unifies theoretical results from the neuroscience community to systematically optimize HD computations.

We evaluate Heim against dynamic tuning-based optimization on 25 benchmark data structures. Given a 99% accuracy requirement, Heim-optimized computations achieve a 99.2%-100.0% median accuracy, up to 49.5% higher than dynamic tuning-based optimization, while achieving 1.15x-7.14x reductions in hypervector size compared to HD computations that achieve comparable query accuracy and finding parametrizations 30.0x-100167.4x faster than dynamic tuning-based approaches. We also use Heim to systematically evaluate the performance benefits of using analog CAMs and multiple-bit-per-cell ReRAM over conventional hardware, while maintaining iso-accuracy -for both emerging technologies, we find usages where the emerging hardware imparts significant benefits.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Early Termination for Hyperdimensional Computing Using Inferential Statistics cites Hyperdimensional hashing: a robust and efficient dynamic hash table
  • Early Termination for Hyperdimensional Computing Using Inferential Statistics cites Understanding Hyperdimensional Computing for Parallel Single-Pass Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Early Termination for Hyperdimensional Computing Using Inferential StatisticsPu (Luke) Yi, Yifan Yang, Chae Young Lee, Sara AchourASPLOS 2025 · 5 citations

Builds on4

  1. Understanding Hyperdimensional Computing for Parallel Single-Pass LearningTao Yu, Yichi Zhang, Zhiru Zhang, Christopher De SaNeurIPS 2022 · 56 citations
  2. StocHD: Stochastic Hyperdimensional System for Efficient and Robust Learning from Raw DataPrathyush Poduval, Zhuowen Zou, M. Hassan Najafi, Houman Homayoun et al.DAC 2021 · 34 citations
  3. ApproxTuner: a compiler and runtime system for adaptive approximationsHashim Sharif, Yifan Zhao, Maria Kotsifakou, Akash Kothari et al.PPoPP 2021 · 22 citations
  4. Hyperdimensional hashing: a robust and efficient dynamic hash tableMike Heddes, Igor Nunes, Tony Givargis, Alexandru Nicolau et al.DAC 2022 · 12 citations

Related papers

  1. FATE: Boosting the Performance of Hyper-Dimensional Computing Intelligence with Flexible Numerical DAta TypEHaomin Li, Fangxin Liu, Yichi Chen, Zongwu Wang et al.ISCA 2025 · 4 citations
  2. HPVM-HDC: A Heterogeneous Programming System for Accelerating Hyperdimensional ComputingRussel Arbore, Xavier Routh, Abdul Rafae Noor, Akash Kothari et al.ISCA 2025 · 2 citations
  3. LeHDC: learning-based hyperdimensional computing classifierShijin Duan, Yejia Liu, Shaolei Ren, Xiaolin XuDAC 2022 · 38 citations
  4. Neural computation for robust and holographic face detectionMohsen Imani, Ali Zakeri, Hanning Chen, Taehyun Kim et al.DAC 2022 · 26 citations
  5. GENERIC: highly efficient learning engine on edge using hyperdimensional computingBehnam Khaleghi, Jaeyoung Kang, Hanyang Xu, Justin Morris et al.DAC 2022 · 26 citations
Dusk over the sea between two cliffs drawn in fine vertical lines