Abstract
Modern healthcare is increasingly shifting toward "near-sensor" processing for wearable and portable diagnostic tools. While Deep Learning (DL) models offer high accuracy, their substantial energy demands and hardware requirements hinder deployment on battery-powered embedded devices. We present HDC-X, a lightweight classification framework based on Hyperdimensional Computing (HDC). By introducing class-wise hyperspace clustering, HDC-X overcomes the accuracy limitations of traditional HDC in handling high intra-class variability. Our evaluation shows that HDC-X achieves 88.18% accuracy on heart sound classification—comparable to state-of-the-art Bayesian ResNets—while being 350x more energy-efficient.
Introduction
The shift toward edge computing in medical diagnostics necessitates models that can operate efficiently on simple hardware without sacrificing diagnostic precision. Deep Neural Networks (DNNs), despite their success, typically require advanced GPUs and significant power. Conversely, traditional Hyperdimensional Computing (HDC)—a brain-inspired paradigm operating on massive bit vectors—is highly efficient but often fails to capture the nuances of complex medical data, such as varying heart sound patterns.
HDC-X bridges this gap by evolving the HDC paradigm. It utilizes a bipolar hyperspace optimized for low-power silicon through simple bitwise operations, making it ideal for deployment on tiny, battery-powered embedded devices.
Methodology
The core innovation of HDC-X is Class-Wise Hyperspace Clustering. Unlike standard HDC, which collapses all training samples of a class into a single "average" prototype, HDC-X identifies multiple sub-prototypes within each class to account for variability.
1. Encoding
Raw medical signals (e.g., heart sounds or sEMG) undergo feature extraction and are mapped into high-dimensional "hypervectors" (HVs). These HVs exist in a bipolar space (typically $D=10,000$ dimensions). The encoding process ensures "continuity," meaning small changes in the input result in predictably small changes in the hyperspace, enhancing noise resilience.
2. Hyperspace Clustering
HDC-X performs iterative clustering within each class. Using Hamming distance and bitwise "bundling" (majority voting), the model learns multiple cluster prototypes per class. This allows the framework to represent diverse manifestations of the same condition (e.g., different types of "abnormal" heart sounds) more effectively.
3. Inference and Hardware Optimization
During inference, an input sample is encoded and compared against all cluster prototypes. The system assigns the label of the closest cluster based on Hamming distance. Because the operations are bitwise (XOR for binding and population counts for distance), they are significantly cheaper to run on silicon than the floating-point multiplications required by neural networks.
Experimental Evaluation
We evaluated HDC-X across three medical benchmarks: the PhysioNet/CinC Challenge 2016 (heart sounds), Wisconsin Breast Cancer, and Cerqueira sEMG Muscle Fatigue datasets.
Key Results
- Competitive Accuracy: HDC-X achieved 88.18% accuracy on the PhysioNet dataset, outperforming standard HDC by over 10% and trailing a heavy-duty Bayesian ResNet by less than 1%.
- Extreme Efficiency: HDC-X demonstrated a 350x improvement in energy efficiency per inference compared to Bayesian ResNet.
- Inherent Robustness: The model is naturally resilient to noise and hardware failure. Accuracy dropped by only 1.39% under 15% input noise. Furthermore, tests showed that flipping 20% of the bits in the model's memory resulted in only a 2.84% drop in accuracy.
- Data Efficiency: The framework remains highly functional even with limited training data, showing only minor performance dips when trained on just 40% of the available dataset.
Conclusion
HDC-X provides a viable path for deploying high-performance AI on the medical edge. By combining the efficiency of bitwise hyperdimensional operations with the representational power of hyperspace clustering, it achieves a balance of accuracy and power consumption previously unattainable. Future work will focus on dedicated ASIC implementations to fully realize the potential of this architecture and exploring its scalability to more complex multi-class medical tasks.
Summary updated