[论文解读] CMOS + stochastic nanomagnets: heterogeneous computers for probabilistic inference and learning
论文展示了一个 CMOS + sMTJ 异构计算机,该计算机使用随机 MTJ p-bit 来驱动 FPGA,从而实现概率推理和 Boltzmann 学习,相比数字 CMOS p-bit 在能耗和面积方面显著降低。
Extending Moore's law by augmenting complementary-metal-oxide semiconductor (CMOS) transistors with emerging nanotechnologies (X) has become increasingly important. One important class of problems involve sampling-based Monte Carlo algorithms used in probabilistic machine learning, optimization, and quantum simulation. Here, we combine stochastic magnetic tunnel junction (sMTJ)-based probabilistic bits (p-bits) with Field Programmable Gate Arrays (FPGA) to create an energy-efficient CMOS + X (X = sMTJ) prototype. This setup shows how asynchronously driven CMOS circuits controlled by sMTJs can perform probabilistic inference and learning by leveraging the algorithmic update-order-invariance of Gibbs sampling. We show how the stochasticity of sMTJs can augment low-quality random number generators (RNG). Detailed transistor-level comparisons reveal that sMTJ-based p-bits can replace up to 10,000 CMOS transistors while dissipating two orders of magnitude less energy. Integrated versions of our approach can advance probabilistic computing involving deep Boltzmann machines and other energy-based learning algorithms with extremely high throughput and energy efficiency.
研究动机与目标
- Motivate CMOS + X architectures to accelerate Monte Carlo-based probabilistic computing.
- Demonstrate integration of sMTJ-based p-bits with an FPGA to inject true randomness.
- Evaluate probabilistic inference and deep Boltzmann learning on a heterogeneous p-computer.
- Benchmark energy and transistor counts against digital CMOS p-bits using a 7-nm CMOS process.
- Show scalability potential for probabilistic computing with asynchronous, true randomness.
提出的方法
- Fabricate and characterize sMTJ-based p-bits with low-barrier nanomagnets and integrate them as asynchronous clocks for an FPGA-based digital p-bit array.
- Design a new p-bit circuit that converts sMTJ fluctuations into voltages to drive digital p-bits via an operational amplifier.
- Implement digital p-bits in FPGA with LUT-based tanh activation, PRNGs, and comparators, where PRNG clocks are driven by sMTJ randomness.
- Evaluate probabilistic inference on a probabilistic full adder by comparing LFSR, sMTJ-clocked LFSR, and Xoshiro RNGs using KL divergence from Boltzmann distribution.
- Train a 32-node Chimera deep Boltzmann machine using the heterogeneous system and compare learning performance against digital RNG baselines.

实验结果
研究问题
- RQ1Can sMTJ-based p-bits provide high-quality randomness to drive FPGA-based digital p-bits for probabilistic inference and learning?
- RQ2How does the quality of randomness from different PRNGs affect sampling accuracy and Boltzmann learning in a heterogeneous CMOS + sMTJ system?
- RQ3What are the energy, area, and throughput advantages of CMOS + sMTJ p-bits over purely digital CMOS p-bits?
- RQ4Is it feasible to train deep Boltzmann machines using an asynchronous, heterogeneous p-computer with scalable performance?
- RQ5What is the impact of device-to-device variations in sMTJs on inference and learning tasks?
主要发现
- sMTJ-based p-bits provide true randomness that enables accurate probabilistic inference and Boltzmann learning despite sMTJ variations.
- Compared to digital CMOS p-bits, sMTJ-based p-bits replace about 10,000 transistors and dissipate two orders of magnitude less energy per random bit (2 fJ) in the benchmarking.
- LFSR-based RNGs underperform for inference and learning; sMTJ-clocked LFSRs and Xoshiro RNGs match Boltzmann distributions more closely in FA sampling and DBM training.
- Asynchronous sMTJ clocks coupled with FPGA p-bits enable high-quality sampling and scalable training of deep Boltzmann machines.
- Energy and transistor-count benchmarking using ASAP7 7-nm PDK reveal substantial hardware efficiency gains for CMOS + sMTJ over fully digital p-bits.
![Fig. 2 : Inference on a probabilistic full adder. (a) Fully-connected full adder network [ 35 ] , where p-bits are clocked by the sMTJs. (b) Truth table of the full adder where Dec. represents the decimal representation of the state of [ $\rm A$ $\rm B$ $\rm C_{\text{in}}$ $\rm S$ $\rm C_{\text{out}](https://ar5iv.labs.arxiv.org/html/2304.05949/assets/x2.png)
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。