CAFE:面向基于FeFET的存算一体技术的鲁棒DNN推理的传导单元感知自适应差分编码
CAFE: Conducting-Cell-Aware Adaptive Differential Encoding for Robust DNN Inference in FeFET-Based Compute-in-Memory
AI总结:
针对FeFET存算一体中器件变异导致的DNN推理精度下降问题,提出CAFE框架,通过传导单元感知的差分编码优化,大幅降低误差并提升精度,同时平衡鲁棒性与成本。
摘要:
基于铁电场效应晶体管(FeFET)的存算一体(CIM)技术有望实现高能效的深度神经网络(DNN)推理,但器件变异会严重降低位切片式CIM的精度。现有研究要么依赖硬件修改,要么将此类变异视为通用噪声,却忽略了FeFET的一个关键不对称性:可忽略的关态漏电流使得误差主要由导通的开态单元主导。这种不对称性会被二进制补码符号扩展放大,符号扩展会将小的负值映射到高有效位切片,并在移位相加重构过程中放大其误差。本文提出了CAFE,一种基于FeFET特定不对称性的传导单元感知自适应差分编码框架。CAFE引入了C²AM,一种位有效权重的传导单元活动度量,用于预测FeFET器件变异下的输出偏差和推理精度下降。在C²AM的引导下,CAFE应用差分权重和激活编码来消除符号扩展导致的传导单元放大。为了平衡鲁棒性与成本,CAFE执行类型级编码枚举、层级NSGA-II搜索以及遗传算法后剪枝,以在鲁棒性-成本权衡有利的位置分配鲁棒编码。在代表性的视觉和语言工作负载上,CAFE将C²AM降低了多达28.6倍;在主要部署研究中,与二进制补码CIM相比,它将精度提高了超过87个百分点,且在归一化成本为1.86-2.78倍时达到了全差分鲁棒性,而均匀全差分编码的归一化成本为3.06倍。
英文摘要:
Ferroelectric field-effect transistor (FeFET)-based compute-in-memory (CIM) promises energy-efficient deep neural network (DNN) inference, but device variation can severely degrade bit-sliced CIM accuracy. Prior works either rely on hardware modifications or treat such variation as generic noise, overlooking a key FeFET asymmetry: negligible off-state leakage makes errors dominated by conducting on-state cells. This asymmetry is amplified by two's-complement sign extension, which maps small negative values to high-significance bit slices and magnifies their errors during shift-and-add reconstruction. In this paper, we propose CAFE, a conducting-cell-aware adaptive differential encoding framework built upon this FeFET-specific asymmetry. CAFE introduces C$^2$AM, a bit-significance-weighted conducting-cell activity metric that predicts output deviation and inference accuracy degradation under FeFET device variation. Guided by C$^2$AM, CAFE applies differential weight and activation encoding to eliminate sign-extension-induced conducting-cell amplification. To balance robustness and cost, CAFE performs type-wise encoding enumeration, layer-wise NSGA-II search, and post-GA pruning to allocate robust encodings where the robustness-cost trade-off is favorable. Across representative vision and language workloads, CAFE reduces C$^2$AM by up to $28.6\times$; in the main deployment study, it improves accuracy over two's-complement CIM by more than 87 percentage points and approaches full-differential robustness at $1.86$-$2.78\times$ normalized cost, compared with $3.06\times$ for uniform full-differential encoding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。