FeBiM:由铁电存内计算赋能的高效紧凑贝叶斯推理引擎
FeBiM: Efficient and Compact Bayesian Inference Engine Empowered with Ferroelectric In-Memory Computing
AI总结:
本文提出FeBiM,利用多位FeFET存内计算将量化对数概率映射到交叉阵列,以无需额外电路实现贝叶斯推理,并显著提升存储密度与能效。
摘要:
在训练数据有限或可解释性至关重要的场景中,传统的基于神经网络的机器学习模型往往面临挑战。相比之下,基于贝叶斯推理的算法擅长在这些场景中提供可解释的预测和可靠的不确定性估计。尽管许多最先进的存内计算(IMC)架构利用新兴非易失性存储器(NVM)技术,为神经网络工作负载提供无与伦比的计算能力和能效,但它们在贝叶斯推理中的应用仍然有限。这是因为贝叶斯推理中的核心运算与神经网络中常见的乘法累加(MAC)运算显著不同,导致它们通常不适合在大多数现有IMC设计中直接实现。本文提出FeBiM,这是一种由基于多位铁电场效应晶体管(FeFET)的IMC驱动的高效且紧凑的贝叶斯推理引擎。FeBiM将贝叶斯推理模型训练后的概率有效编码在紧凑的基于FeFET的交叉阵列中。它将量化的对数概率映射到离散的FeFET状态。因此,交叉阵列的累加输出自然表示后验概率,即在给定一组观测值时贝叶斯推理模型的输出。该方法无需额外计算电路即可实现高效的存内贝叶斯推理。作为首个基于FeFET的存内贝叶斯推理引擎,FeBiM在代表性贝叶斯分类任务中实现了26.32 Mb/mm²的出色存储密度和581.40 TOPS/W的计算效率。结果表明,与最先进的贝叶斯推理硬件实现相比,其紧凑性/效率提升了10.7倍/43.4倍。
英文摘要:
In scenarios with limited training data or where explainability is crucial, conventional neural network-based machine learning models often face challenges. In contrast, Bayesian inference-based algorithms excel in providing interpretable predictions and reliable uncertainty estimation in these scenarios. While many state-of-the-art in-memory computing (IMC) architectures leverage emerging non-volatile memory (NVM) technologies to offer unparalleled computing capacity and energy efficiency for neural network workloads, their application in Bayesian inference is limited. This is because the core operations in Bayesian inference differ significantly from the multiplication-accumulation (MAC) operations common in neural networks, rendering them generally unsuitable for direct implementation in most existing IMC designs. In this paper, we propose FeBiM, an efficient and compact Bayesian inference engine powered by multi-bit ferroelectric field-effect transistor (FeFET)-based IMC. FeBiM effectively encodes the trained probabilities of a Bayesian inference model within a compact FeFET-based crossbar. It maps quantized logarithmic probabilities to discrete FeFET states. As a result, the accumulated outputs of the crossbar naturally represent the posterior probabilities, i.e., the Bayesian inference model's output given a set of observations. This approach enables efficient in-memory Bayesian inference without the need for additional calculation circuitry. As the first FeFET-based in-memory Bayesian inference engine, FeBiM achieves an impressive storage density of 26.32 Mb/mm$^{2}$ and a computing efficiency of 581.40 TOPS/W in a representative Bayesian classification task. These results demonstrate 10.7$\times$/43.4$\times$ improvement in compactness/efficiency compared to the state-of-the-art hardware implementation of Bayesian inference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。