In-Materia Speech Recognition

Mohamadreza Zolfagharinejad, Julian Büchel, Lorenzo Cassola, Sachin Kinge, Syed Ghazi Sarwat, Abu Sebastian, Wilfred G. van der Wiel · OpenReview

TL;DR

This paper introduces a novel "in-materia" (in-material) computing architecture for efficient speech recognition at the edge. By combining a bio-inspired dopant network processing unit (DNPU) for analogue feature extraction with an analogue in-memory computing (AIMC) chip for classification, they achieve near-software accuracy with significantly reduced power consumption and computational cost.

What Problem Does This Paper Address?

The increasing demand for "edge computing" – processing data directly where it's generated, rather than sending it to a central cloud – presents a significant challenge for time-dependent signals like audio. Traditional processors struggle with the power and time constraints of edge devices due to the "von Neumann bottleneck" (data transfer between processor and memory) and the energy-intensive conversions between analogue and digital signals, and time and frequency domains. This paper tackles the problem of building efficient, low-power speech recognition systems that can operate effectively on resource-constrained edge devices.

Methods

The core of this work lies in the combination of two "in-materia" computing paradigms:

  • Dopant Network Processing Unit (DNPU): This is a novel, room-temperature analogue circuit designed to mimic the human cochlea's function. It performs time-domain feature extraction from raw audio signals, leveraging nonlinear transformations and tunable time constants to capture essential acoustic characteristics. This approach bypasses the need for analogue-to-digital conversion and time-to-frequency transformations, which are computationally expensive.
  • Analogue In-Memory Computing (AIMC) Chip: This chip utilizes memristive crossbar arrays to implement a neural network classifier directly within the memory. This "compute-in-memory" approach drastically reduces data movement, a major bottleneck in traditional systems. The AIMC chip is used to classify the features extracted by the DNPU.

The authors also detail the fabrication of the DNPU, its measurement circuitry, and the training and inference process for the AIMC classifier, including hardware-aware training to account for analogue noise.

Datasets

The proposed system was evaluated on two standard speech recognition datasets:

  • TI-46-Word: A dataset of spoken digits.
  • Google Speech Commands (GSC): A dataset for keyword spotting.

The authors used subsets of these datasets for their experiments, focusing on reducing measurement time.

Key Insights and Ideas

  • Bio-inspiration for Efficiency: Mimicking the human ear's efficient analogue processing (cochlea) provides a powerful blueprint for low-power edge computing.
  • Bypassing Digital Conversions: Performing feature extraction directly in the analogue domain with the DNPU eliminates costly analogue-to-digital and time-to-frequency conversions, a major source of inefficiency.
  • Compute-in-Memory Revolution: Integrating computation directly into memory (AIMC) with memristive devices fundamentally changes the computing paradigm, drastically reducing energy consumption and latency.
  • Hardware-Aware Training: Training neural networks with awareness of analogue hardware imperfections (noise, non-idealities) is crucial for achieving high accuracy in in-materia systems.
  • Compactness and Efficiency: The combined DNPU and AIMC approach offers a path towards highly compact and energy-efficient edge devices for tasks like speech recognition.

Key Results

  • TI-46-Word: Achieved a near-software accuracy of 96.2 ± 0.8% with the combined DNPU + AIMC system.
  • Google Speech Commands (GSC): Achieved a near-software accuracy of 89.3% with the combined DNPU + AIMC system.
  • Power Efficiency: DNPU feature extraction consumes approximately 300 nW, which is over 30x lower than digital implementations. The AIMC classifier has the potential for less than 10 fJ per multiply-accumulate operation.
  • Reduced Operations: DNPU preprocessing allows for achieving higher accuracies with classifiers requiring over twice fewer multiply-accumulate operations.
  • Latency: The AIMC classifier achieves sub-millisecond latency (348 µs).

Limitations and Future Work

  • Current Separation: The DNPU and AIMC layers are currently physically separated. Future work will focus on integrating them onto the same chip through backend-of-the-line and heterogeneous integration.
  • DNPU Uniqueness: Each DNPU is unique, requiring subsequent classifier training for each system. The authors suggest that for real-life applications, this training could be performed online in an adaptive fashion. This uniqueness, however, could be an asset for applications where safety and privacy are critical.
  • Scaling Up: The authors aim to scale up DNPU circuits in mainstream CMOS technology and utilize parallel multi-channel feature extraction to further exploit the platform's potential.
  • Generalizability: While benchmarked for speech recognition, the authors believe this approach is generally applicable to other temporal signal processing tasks at the edge, such as video or EEG/ECG data classification.

Summary updated

Abstract

With the rise of decentralized computing, as in the Internet of Things, autonomous driving, and personalized healthcare, it is increasingly important to process time-dependent signals at the edge efficiently: right at the place where the temporal data are collected, avoiding time-consuming, insecure, and costly communication with a centralized computing facility (or cloud). However, modern-day processors often cannot meet the restrained power and time budgets of edge systems because of intrinsic limitations imposed by their architecture (von Neumann bottleneck) or domain conversions (analogue-to-digital and time-to-frequency). Here, we propose an edge temporal-signal processor based on two in-materia computing systems for both feature extraction and classification, reaching a software-level accuracy of 96.2% for the TI-46-Word speech-recognition task. First, a nonlinear, room-temperature dopant-network-processing-unit (DNPU) layer realizes analogue, time-domain feature extraction from the raw audio signals, similar to the human cochlea. Second, an analogue in-memory computing (AIMC) chip, consisting of memristive crossbar arrays, implements a compact neural network trained on the extracted features for classification. With the DNPU feature extraction consuming 100s nW and AIMC-based classification having the potential for less than 10 fJ per multiply-accumulate operation, our findings offer a promising avenue for advancing the compactness, efficiency, and performance of heterogeneous smart edge processors through in-materia computing hardware.
BibTeX
@misc{zolfagharinejad2024materia,
  author = {Mohamadreza Zolfagharinejad and Julian Büchel and Lorenzo Cassola and Sachin Kinge and Syed Ghazi Sarwat and Abu Sebastian and Wilfred G. van der Wiel},
  title = {{In-Materia Speech Recognition}},
  year = {2024},
  eprint = {2410.10434},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.10434},
}
Figure