MEMHD: Memory-Efficient Multi-Centroid Hyperdimensional Computing for Fully-Utilized In-Memory Computing Architectures
Do Yeong Kang, Yeong Hwan Oh, Chanwook Hwang, Jinhee Kim, Kang Eun Jeon, Jong Hwan Ko
TL;DR
MEMHD tackles the challenge of deploying Hyperdimensional Computing on In-Memory Computing platforms by introducing a memory-efficient multi-centroid associative memory with clustering-based initialization and quantization-aware iterative learning. The approach aligns hypervector dimensions with IMC array constraints, enabling full array utilization and one-shot (or few-shot) associative search, while maintaining or improving accuracy relative to larger-dimension baselines. Key contributions include a clustering-driven AM initialization that spreads centroids effectively across columns, 1-bit AM quantization, and an iterative learning process that accounts for quantization, resulting in up to 13.69% accuracy gains at the same memory usage or 13.25× memory efficiency at equal accuracy, and substantial reductions in computation cycles and array usage. Collectively, MEMHD enables efficient, scalable HDC mappings on IMC hardware, with significant energy and performance benefits for resource-constrained deployments.
Abstract
The implementation of Hyperdimensional Computing (HDC) on In-Memory Computing (IMC) architectures faces significant challenges due to the mismatch between highdimensional vectors and IMC array sizes, leading to inefficient memory utilization and increased computation cycles. This paper presents MEMHD, a Memory-Efficient Multi-centroid HDC framework designed to address these challenges. MEMHD introduces a clustering-based initialization method and quantization aware iterative learning for multi-centroid associative memory. Through these approaches and its overall architecture, MEMHD achieves a significant reduction in memory requirements while maintaining or improving classification accuracy. Our approach achieves full utilization of IMC arrays and enables one-shot (or few-shot) associative search. Experimental results demonstrate that MEMHD outperforms state-of-the-art binary HDC models, achieving up to 13.69% higher accuracy with the same memory usage, or 13.25x more memory efficiency at the same accuracy level. Moreover, MEMHD reduces computation cycles by up to 80x and array usage by up to 71x compared to baseline IMC mapping methods when mapped to 128x128 IMC arrays, while significantly improving energy and computation cycle efficiency.
