Stochastic p-Bits for Invertible Logic

被引:299
作者
Camsari, Kerem Yunus [1 ]
Faria, Rafatul [1 ]
Sutton, Brian M. [1 ]
Datta, Supriyo [1 ]
机构
[1] Purdue Univ, Sch Elect & Comp Engn, W Lafayette, IN 47907 USA
基金
美国国家科学基金会;
关键词
SPIN-ORBIT TORQUE; MAGNETIZATION REVERSAL; NEURAL-NETWORKS;
D O I
10.1103/PhysRevX.7.031014
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
Conventional semiconductor-based logic and nanomagnet-based memory devices are built out of stable, deterministic units such as standard metal-oxide semiconductor transistors, or nanomagnets with energy barriers in excess of approximate to 40-60 kT. In this paper, we show that unstable, stochastic units, which we call "p-bits," can be interconnected to create robust correlations that implement precise Boolean functions with impressive accuracy, comparable to standard digital circuits. At the same time, they are invertible, a unique property that is absent in standard digital circuits. When operated in the direct mode, the input is clamped, and the network provides the correct output. In the inverted mode, the output is clamped, and the network fluctuates among all possible inputs that are consistent with that output. First, we present a detailed implementation of an invertible gate to bring out the key role of a single three-terminal transistorlike building block to enable the construction of correlated p-bit networks. The results for this specific, CMOS-assisted nanomagnet-based hardware implementation agree well with those from a universal model for p-bits, showing that p-bits need not be magnet based: any three-terminal tunable random bit generator should be suitable. We present a general algorithm for designing a Boltzmann machine (BM) with a symmetric connection matrix [J] (J(ij) = J(ji)) that implements a given truth table with p-bits. The [J] matrices are relatively sparse with a few unique weights for convenient hardware implementation. We then show how BM full adders can be interconnected in a partially directed manner (Jij. Jji) to implement large logic operations such as 32-bit binary addition. Hundreds of stochastic p-bits get precisely correlated such that the correct answer out of 2(33) (approximate to 8 x 10(9)) possibilities can be extracted by looking at the statistical mode or majority vote of a number of time samples. With perfect directivity (J(ji) = 0) a small number of samples is enough, while for less directed connections more samples are needed, but even in the former case logical invertibility is largely preserved. This combination of digital accuracy and logical invertibility is enabled by the hybrid design that uses bidirectional BM units to construct circuits with partially directed interunit connections. We establish this key result with extensive examples including a 4-bit multiplier which in inverted mode functions as a factorizer.
引用
收藏
页数:19
相关论文
共 62 条
[1]  
ACKLEY DH, 1985, COGNITIVE SCI, V9, P147
[2]  
Aiyer S B, 1990, IEEE Trans Neural Netw, V1, P204, DOI 10.1109/72.80232
[3]  
Amit D.J., 1992, Modeling brain function: The world of attractor neural networks
[4]  
[Anonymous], P IEEE INT EL DEV M
[5]  
[Anonymous], 2007, Scholarpedia
[6]  
[Anonymous], 2007, P 24 INT C MACHINE L
[7]  
[Anonymous], 2005, P IFIP INT C VLSI
[8]   A building block for hardware belief networks [J].
Behin-Aein, Behtash ;
Diep, Vinh ;
Datta, Supriyo .
SCIENTIFIC REPORTS, 2016, 6
[9]   Nonperturbative k-body to two-body commuting conversion Hamiltonians and embedding problem instances into Ising spins [J].
Biamonte, J. D. .
PHYSICAL REVIEW A, 2008, 77 (05)
[10]   Switching Distributions for Perpendicular Spin-Torque Devices Within the Macrospin Approximation [J].
Butler, W. H. ;
Mewes, Tim ;
Mewes, Claudia K. A. ;
Visscher, P. B. ;
Rippard, William H. ;
Russek, Stephen E. ;
Heindl, Ranko .
IEEE TRANSACTIONS ON MAGNETICS, 2012, 48 (12) :4684-4700