HyperMetric: Efficient Hyperdimensional Computing With Metric Learning for Robust Edge Intelligence
- 12 June 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 45 (1) , 134-147
Abstract
Hyperdimensional computing (HDC) is emerging as an efficient and robust computing paradigm that has strong resilience to various types of errors. The error robustness nature of HDC makes it a good match for error-prone memory systems. However, the mechanisms behind HDCs robustness are not fully understood. In this work, we propose HyperMetric, a framework to train highly robust and hardware-friendly HDC models. We found that HDC’s error resilience is driven by Hamming distance margin between hypervectors. Based on this, we propose HyperMetric training that is based on metric learning in order to optimize for high robustness. The experiments show that HyperMetric trained HDC models deliver up to 17W larger Hamming distance margin and up to 14.3 We accelerate HyperMetric trained models using ReRAM. As compared to state-of-the-art HDC algorithms OnlineHD and HyDREA, HyperMetric ReRAM accelerator is > 20% more accurate for computing-in-memory (CIM) errors and > 10% more accurate for bit errors even in the face of variations. Furthermore, HyperMetric hardware is 35% more accurate in comparison with existing tinyHD and GENERIC accelerators in the face of 3× ReRAM resistance variance, and 20% more accurate with BER of up to 20% due to voltage scaling while keeping a good balance between area, power, and processing latenKeywords
Funding Information
- PRISM and CoCoSys, centers in JUMP 2.0, an SRC Program sponsored by DARPA
- SRC Global Research Collaboration (GRC) grant
- National Science Foundation (1826967)
- National Science Foundation (1911095)
- National Science Foundation (2052809)
- National Science Foundation (2112665)
- National Science Foundation (2112167)
This publication has 46 references indexed in Scilit:
- FSL-HDnn: A 5.7 TOPS/W End-to-end Few-shot Learning Classifier Accelerator with Feature Extraction and Hyperdimensional Computing2024
- A compute-in-memory chip based on resistive random-access memoryNature, 2022
- Fault-free: A Fault-resilient Deep Neural Network Accelerator based on Realistic ReRAM Devices2021
- CIM-SECDED: A 40nm 64Kb Compute In-Memory RRAM Macro with ECC Enabling Reliable Operation2021
- A Review on the Role of Machine Learning in Enabling IoT Based Healthcare ApplicationsIEEE Access, 2021
- In-memory hyperdimensional computingNature Electronics, 2020
- CosFace: Large Margin Cosine Loss for Deep Face Recognition2018
- Hyperdimensional Computing: An Introduction to Computing in Distributed Representation with High-Dimensional Random VectorsCognitive Computation, 2009
- Pruning Training Sets for Learning of Object Categories2005
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998