arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2206.03291cs.NEcs.LG
收藏

GAAF:基于遗传算法的二元神经网络激活函数搜索

GAAF: Searching Activation Functions for Binary Neural Networks through Genetic Algorithm

Zhejiang University(浙江大学);Pacific Northwest National Laboratory(太平洋西北国家实验室)

Yanfei Li, Tong Geng, Samuel Stein, Ang Li, Huimin Yu

摘要:

二进制神经网络(BNN)在边缘设备和移动系统等成本和功耗受限的领域显示出良好的应用前景。这是因为它的计算和存储需求显著减少,但代价是性能下降。为了缩小精度差距,在本文中,我们提出了一个补充激活函数(AF)之前的符号为基础的二值化,并依靠遗传算法(GA)自动搜索理想的AF。这些AF可以帮助在前向传递中从输入数据提取额外信息,同时允许在后向传递中改进梯度近似。通过我们基于遗传算法的搜索识别出了15个新的AF,而在不同的数据集和网络模型上测试时,其中大多数AF的性能都有所提高(在ImageNet上高达2.54%)。我们的方法提供了一种新的方法来设计通用和特定应用的BNN架构。我们的代码可在http://github.com/flying-Yan/GAAF上获得。

英文摘要:

Binary neural networks (BNNs) show promising utilization in cost and power-restricted domains such as edge devices and mobile systems. This is due to its significantly less computation and storage demand, but at the cost of degraded performance. To close the accuracy gap, in this paper we propose to add a complementary activation function (AF) ahead of the sign based binarization, and rely on the genetic algorithm (GA) to automatically search for the ideal AFs. These AFs can help extract extra information from the input data in the forward pass, while allowing improved gradient approximation in the backward pass. Fifteen novel AFs are identified through our GA-based search, while most of them show improved performance (up to 2.54% on ImageNet) when testing on different datasets and network models. Our method offers a novel approach for designing general and application-specific BNN architecture. Our code is available at http://github.com/flying-Yan/GAAF.

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

↑