Efficient emotion recognition using hyperdimensional computing with combinatorial channel encoding and cellular automata

Alisha Menon, Anirudh Natarajan, Reva Agashe, Daniel Sun, Melvin Aristio, Harrison Liew, Yakun Sophia Shao, Jan M. Rabaey

Abstract

In this paper, a hardware-optimized approach to emotion recognition based on the efficient brain-inspired hyperdimensional computing (HDC) paradigm is proposed. Emotion recognition provides valuable information for human–computer interactions; however, the large number of input channels (> 200) and modalities (> 3) involved in emotion recognition are significantly expensive from a memory perspective. To address this, methods for memory reduction and optimization are proposed, including a novel approach that takes advantage of the combinatorial nature of the encoding process, and an elementary cellular automaton. HDC with early sensor fusion is implemented alongside the proposed techniques achieving two-class multi-modal classification accuracies of > 76% for valence and > 73% for arousal on the multi-modal AMIGOS and DEAP data sets, almost always better than state of the art. The required vector storage is seamlessly reduced by 98% and the frequency of vector requests by at least 1/5. The results demonstrate the potential of efficient hyperdimensional computing for low-power, multi-channeled emotion recognition tasks.

The Challenge of Wearable Emotion Recognition

Emotion recognition is a cornerstone for the future of Human-Computer Interaction (HCI), enabling devices to adapt to a user’s internal state. However, accurately detecting emotion requires high-density physiological data—often exceeding 200 channels across multiple modalities such as electroencephalography (EEG), electrocardiography (ECG), and galvanic skin response (GSR).

Traditional machine learning models, including Support Vector Machines (SVMs) and Deep Learning, are computationally intensive and memory-heavy, posing significant barriers for deployment on low-power wearable devices. In brain-inspired Hyperdimensional Computing (HDC) systems, the primary bottleneck is the Item Memory (iM), which stores unique, high-dimensional vectors for every data channel. For multi-channel systems, these "codebooks" can consume up to 50% of the total processor power.

Proposed Methodology: Hyperdimensional Computing

The researchers utilize Hyperdimensional Computing (HDC), a paradigm that processes information as large patterns of neural activity rather than scalar numbers. Information is encoded into "hypervectors"—long bitstrings (e.g., 10,000 bits) that are pseudo-orthogonal to one another.

High-level block diagram of the proposed HDC system featuring early sensor fusion across GSR, ECG, and EEG modalities.

The paper introduces several architectural innovations to optimize this process for hardware:

  1. Early Sensor Fusion: Unlike traditional models that fuse modalities at the final stage (late fusion), this model fuses data immediately after initial spatial encoding. This simplifies the hardware pipeline and, surprisingly, improves accuracy by capturing complex multi-modal relationships more effectively.
  2. Combinatorial Channel Encoding: To avoid storing a unique vector for every channel, the system uses a small bank of vectors and XORs them in unique pairs to generate channel-specific identifiers on the fly.
  3. Cellular Automata (Rule 90): To further eliminate storage, the researchers used an elementary cellular automaton to generate pseudo-random hypervectors from a single seed vector, replacing static memory with minimal, high-speed computation.
Detailed architecture of the HDC system, illustrating the mapping into hyperdimensional space, spatial encoding, fusion, and temporal encoding stages.

Experimental Evaluation

The study evaluated the model on two gold-standard multi-modal emotion datasets:

  • AMIGOS: EEG, GSR, and ECG data from 33 subjects watching emotional videos.
  • DEAP: EEG, EMG, GSR, BVP, EOG, and respiration signals from 32 subjects.

Key Results and Insights

  • Superior Accuracy: The system achieved 87.1% for valence (pleasure) and 80.5% for arousal on the AMIGOS dataset, outperforming traditional methods like SVM and XGBoost.
  • Massive Memory Reduction: Vector storage was reduced by 98.9% (from 642 vectors down to just 7 for AMIGOS) without sacrificing performance.
  • Energy Efficiency: The frequency of memory requests was reduced by at least 1/5. A related ASIC implementation study demonstrated a 93% reduction in energy per prediction compared to previous HDC architectures.
  • Robustness of Randomness: Interestingly, memory-optimized versions sometimes performed better than unoptimized ones. The inherent robustness of HDC means that the "noise" from pseudo-random generation can actually improve model generalization.
  • Dimensionality Flexibility: Hypervector dimensions could be reduced by 70–80% (down to 2,000–3,000 bits) with less than a 2% drop in accuracy, allowing for further hardware tailoring.

Conclusion

This work demonstrates that it is significantly more energy-efficient to compute vectors using cellular automata than to fetch them from memory. While arousal classification remains more challenging than valence, the proposed HDC framework provides a robust, low-power path for real-time emotion recognition in wearables. Future work will focus on automated feature selection within the HDC framework to further minimize input channels and power consumption.

Summary updated

BibTeX
@inproceedings{menon2022efficient,
  author = {Alisha Menon and Anirudh Natarajan and Reva Agashe and Daniel Sun and Melvin Aristio and Harrison Liew and Yakun Sophia Shao and Jan M. Rabaey},
  title = {{Efficient emotion recognition using hyperdimensional computing with combinatorial channel encoding and cellular automata}},
  booktitle = {Brain Informatics},
  year = {2022},
  url = {https://openreview.net/forum?id=xgcWfvGWT4},
}
Figure