Improvement Learning Using a Fully Integrated Neuro-Inspired Memristor Chip

Huaqiang Wu, Bin Gao, Wenbin Zhang, Peng Yao, Qi Liu, Dong Wu, Qingtian Zhang, Minghong Xu, Zhou Ying, Zhenhua Zhu, Yi Cai, Dabin Wu, Jianshi Tang, He Qian, Yu WangResearch 2022

Abstract

Future neuro-inspired computing chips will feature high energy efficiency and extensive learning capabilities. Among these features, improvement learning is of great importance for edge intelligence devices to adapt to different application scenes and owners. However, current technologies for training neural networks greatly rely on large-scale computers, which are based on von Neumann architectures and complex digital circuits. The huge energy costs of moving massive data between computing and memory units and processing high-precision data hinder the implementation of improvement learning on edge devices. Here, we report improvement learning with a low-power full-system-integrated memristor-based neuro-inspired computing chip. We propose a memristor-featured analogue in-memory computing architecture for implementing on-chip learning efficiently and integrate ~160K memristor cells with complete peripheral circuits in a complementary metal-oxide-semiconductor (CMOS)-compatible technology. We demonstrate the on-chip learning of both new samples and new classes across various tasks, including motion control, image classification, and speech recognition. The energy consumption of the memristor chip for learning is three orders of magnitudes lower than that of a central processing unit (CPU)-based system based on hardware system measurements. This study is an important step toward the learning chips with much higher energy efficiency, which will facilitate the development of future smart edge devices that can adapt to all kinds of special scenes.

Introduction: The Challenge of Edge Learning

Training neural networks is traditionally a "heavy" process, typically confined to massive cloud servers. This is largely due to the standard von Neumann architecture, where the physical separation of processor and memory leads to significant energy waste during data transfer.

For edge devices—such as smart cameras or autonomous robots—this energy bottleneck is a critical barrier. These devices must adapt to new environments, such as a new owner's voice or changing lighting conditions, locally and efficiently. This capability is known as improvement learning. Current hardware solutions struggle with this requirement because they rely on high-precision digital circuits and slow, power-hungry "write-verification" steps.

The concept of improvement learning: adapting to new data and classes without forgetting pre-acquired knowledge.

Methods: The STELLAR Architecture

To address these challenges, the researchers developed the STELLAR architecture (Sign- and Threshold-based Learning), a hardware-software co-design implemented on a fully integrated memristor chip.

Key Innovations

  • Sign-based Updates: Instead of calculating exact, high-precision weight changes, the chip determines only the direction (positive or negative) of the update. This simplification drastically reduces circuit complexity.
  • Reconfigurable Thresholding: A built-in threshold filters out minor errors, preventing the network from over-reacting to noise and ensuring stable convergence.
  • Verification-Free Tuning: Unlike traditional memristor systems that require a "write-verify" loop, STELLAR applies identical pulses based on the update direction, skipping the costly read-back step.
  • 2T2R Array Design: A "two-transistor-two-resistor" differential pair configuration allows for direct subtraction in the analog current domain, boosting parallelism and reducing voltage loss.
  • Full Integration: The chip integrates approximately 160,000 memristor cells with all necessary CMOS peripheral circuits—including drivers, ADCs, and control logic—on a single 130-nm process die.
Architecture design of the fully integrated memristor chip and its deployment in edge AI devices.

Evaluation and Results

The chip's performance was evaluated across three distinct domains:

  1. Image Classification (MNIST): The chip achieved a measured accuracy of 95.8% and successfully demonstrated "new class" learning (e.g., learning the digit '1' after initial training on 0 and 2-9).
  2. Speech Recognition (AudioMNIST): The system successfully adapted a model trained on male voices to recognize female voices.
  3. Motion Control (Light-Chasing Car): A robotic car trained to follow a laser in the dark used improvement learning to adapt to a bright, high-interference scene. Its performance score rose from 0.605 to 0.912 without losing its original capabilities.

Energy Efficiency

Hardware measurements revealed that the memristor chip consumed only 1 μJ per learning iteration. In comparison, an Intel i9-10900K CPU consumed 2880 μJ—a reduction of over 1,000x. The chip also outperformed an NVIDIA K80 GPU by a factor of 86.

Discussion: Insights and Future Directions

The success of the STELLAR architecture highlights that high-precision calculations are not always necessary for effective learning. By leveraging the physical properties of memristors and using sign-based gradients, the researchers created a system inherently robust to device non-idealities.

However, challenges remain. Memristors have finite write cycles, making long-term endurance a key area for future research. Additionally, Analog-to-Digital Converters (ADCs) remain a significant power draw, suggesting that further optimization of peripheral circuits is needed. Finally, while 160K cells is a milestone for integrated research chips, scaling to the millions of parameters required for modern large-scale models will require continued architectural innovation.

Summary updated

BibTeX
@inproceedings{wu2022improvement,
  author = {Huaqiang Wu and Bin Gao and Wenbin Zhang and Peng Yao and Qi Liu and Dong Wu and Qingtian Zhang and Minghong Xu and Zhou Ying and Zhenhua Zhu and Yi Cai and Dabin Wu and Jianshi Tang and He Qian and Yu Wang},
  title = {{Improvement Learning Using a Fully Integrated Neuro-Inspired Memristor Chip}},
  booktitle = {Research},
  year = {2022},
  doi = {10.21203/rs.3.rs-1606598/v1},
}
Figure