arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.07400cs.LGcs.ETcs.PF
收藏

BitLogic:基于梯度的FPGA原生神经网络训练框架

BitLogic: Training Framework for Gradient-Based FPGA-Native Neural Networks

ETH Zurich(苏黎世联邦理工学院)

Simon Bührer, Andreas Plesner, Aczel Till, Roger Wattenhofer

AI总结:

研究基于梯度的FPGA原生神经网络训练框架选择对精度和硬件成本的影响,提出统一框架BitLogic,将领域分解为五轴设计空间并在共享协议下实例化先前方法,结合各轴获胜者确定新配置,评估后得出该配置在多数据集上表现优且能耗低的结论。

摘要:

基于梯度的查找表(LUT)和逻辑门神经网络(LUTNet、LogicNets、DiffLogic、PolyLUT、NeuraLUT、WARP-LUT、DWN、LILogicNet、LightLUT)用布尔查找取代乘法累加运算。同一训练检查点可作为位打包激活上的按位运算部署到GPU,作为LUT原语部署到FPGA,作为标准单元门部署到ASIC,都来自一个代码路径。但每种方法都有自己的训练管道、编码器、连接规则、扇入和硬件报告约定。当前文献中没有回答对于精度和硬件成本而言,哪些选择真正重要。我们发布了BitLogic,一个统一框架,将该领域分解为五轴设计空间(编码器、连接性、扇入、节点参数化、头部),并在一个共享训练和评估协议下实例化每种先前方法。该框架特意省略了特定方法的程序,所有评估限于两层前馈网络。结合各轴获胜者确定了一个新的最佳空间配置,在MNIST、Fashion-MNIST、CIFAR-10和CIFAR-100上,在每个(数据集,宽度)单元中,在每个比较的先前方法符合共享预算的情况下,都优于每个重新训练的先前方法。我们在所有三个后端评估了最佳空间模型。在MNIST上,得到的两层网络在FPGA上达到约126MSamples/s,是位打包GPU前向路径吞吐量的约15倍,其每64位操作处理64个样本,能量消耗低四到五个数量级。

英文摘要:

Gradient-based LUT- and logic-gate-based neural networks (LUTNet, LogicNets, DiffLogic, PolyLUT, NeuraLUT, WARP-LUT, DWN, LILogicNet, LightLUT) replace multiply-accumulate arithmetic with Boolean lookups. The same trained checkpoint deploys to GPU as bitwise ops on bit-packed activations, to FPGA as LUT primitives, and to ASIC as standard-cell gates, all from one code path. Yet each method ships its own training pipeline, encoder, connectivity rule, fan-in, and hardware-reporting convention. The natural practitioner question, which of these choices actually matter for accuracy and which for hardware cost, therefore has no answer in the current literature. We release \textbf{BitLogic}, a unified framework that factors the field into a five-axis design space (encoder, connectivity, fan-in, node parameterization, head) and instantiates every prior method under one shared training and evaluation protocol. The framework deliberately omits method-specific procedures such as calibration, pruning, and thresholding, and all evaluations are limited to two-layer feed-forward networks. Combining the per-axis winners identifies a new best-of-space configuration that outperforms every retrained prior on every (dataset, width) cell in which every compared prior fits the shared budget, across MNIST, Fashion-MNIST, CIFAR-10, and CIFAR-100. We evaluate the best-of-space model on all three backends. On MNIST, the resulting two-layer network reaches ${\sim}126$\,MSamples/s on FPGA, ${\sim}15\times$ the throughput of a bit-packed GPU forward path that itself processes $64$ samples per $64$-bit operation, at four-to-five orders of magnitude less energy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑