In Situ Training of Feed-Forward and Recurrent Convolutional Memristor Networks
Zhongrui Wang,Can Li,Peng Lin,Mingyi Rao,Yongyang Nie,Wenhao Song,Qinru Qiu,Yunning Li,Peng Yan,John Paul Strachan,Ning Ge,Nathan McDonald,Qing Wu,Miao Hu,Huaqiang Wu,R. Stanley Williams,Qiangfei Xia,J. Joshua Yang
DOI: https://doi.org/10.1038/s42256-019-0089-1
IF: 23.8
2019-01-01
Nature Machine Intelligence
Abstract:The explosive growth of machine learning is largely due to the recent advancements in hardware and architecture. The engineering of network structures, taking advantage of the spatial or temporal translational isometry of patterns, naturally leads to bio-inspired, shared-weight structures such as convolutional neural networks, which have markedly reduced the number of free parameters. State-of-the-art microarchitectures commonly rely on weight-sharing techniques, but still suffer from the von Neumann bottleneck of transistor-based platforms. Here, we experimentally demonstrate the in situ training of a five-level convolutional neural network that self-adapts to non-idealities of the one-transistor one-memristor array to classify the MNIST dataset, achieving similar accuracy to the memristor-based multilayer perceptron with a reduction in trainable parameters of ~75% owing to the shared weights. In addition, the memristors encoded both spatial and temporal translational invariance simultaneously in a convolutional long short-term memory network—a memristor-based neural network with intrinsic 3D input processing—which was trained in situ to classify a synthetic MNIST sequence dataset using just 850 weights. These proof-of-principle demonstrations combine the architectural advantages of weight sharing and the area/energy efficiency boost of the memristors, paving the way to future edge artificial intelligence.