学习紧凑布尔网络
Learning Compact Boolean Networks
AI总结:
本文提出三种新方法,用于学习紧凑且准确的布尔网络,通过参数无关策略、紧凑卷积架构和自适应离散化过程,在视觉任务中实现更高的准确率和更低的布尔运算量。
摘要:
浮点神经网络主导现代机器学习,但计算成本高,推动了在资源受限部署中使用布尔网络的兴趣。由于布尔网络仅使用布尔运算,可实现纳秒级推理延迟。然而,学习同时紧凑和准确的布尔网络仍具挑战性,因其结构离散且组合。本文通过三种新贡献解决此问题:(i) 一种参数无关的学习有效连接策略;(ii) 一种新型紧凑卷积布尔架构,利用空间局部性且比现有卷积核更少布尔运算;(iii) 一种自适应离散化过程,减少将连续网络转换为布尔网络时的精度下降。在标准视觉基准上,本文方法在Pareto前沿上优于现有方法,以至多47倍更少的布尔运算实现更高准确率。此外,该方法在其他模态上也具有优势。进一步,在FPGA上,本文在MNIST上达到99.38%的准确率和6.48 ns的延迟,超越了现有最佳方法在准确率和运行时间上的表现,同时生成7倍更小的电路。代码和模型可在https://github.com/eth-sri/CompactLogic获取。
英文摘要:
Floating-point neural networks dominate modern machine learning but incur substantial inference costs, motivating emerging interest in Boolean networks for resource-constrained deployments. Since Boolean networks use only Boolean operations, they can achieve nanosecond-scale inference latency. However, learning Boolean networks that are both compact and accurate remains challenging because of their discrete, combinatorial structure. In this work we address this challenge via three novel, complementary contributions: (i) a new parameter-free strategy for learning effective connections, (ii) a novel compact convolutional Boolean architecture that exploits spatial locality while requiring fewer Boolean operations than existing convolutional kernels, and (iii) an adaptive discretization procedure that reduces the accuracy drop incurred when converting a continuously relaxed network into a discrete Boolean network. Across standard vision benchmarks, our method improves the Pareto frontier over prior state-of-the-art methods, achieving higher accuracy with up to $47\times$ fewer Boolean operations. This advantage also extends to other modalities. Further, on an FPGA, our model on MNIST achieves 99.38\% accuracy with 6.48 ns latency, surpassing the prior state-of-the-art in both accuracy and runtime, while generating a $7\times$ smaller circuit. Code and models are available at https://github.com/eth-sri/CompactLogic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。