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

被引:2
作者
Li, Yanfei [1 ]
Geng, Tong [2 ]
Stein, Samuel [2 ]
Li, Ang [2 ]
Yu, Huimin [1 ]
机构
[1] Zhejiang Univ, Dept Informat Sci & Elect Engn, Hangzhou 310027, Peoples R China
[2] Pacific Northwest Natl Lab, Richland, WA 99354 USA
来源
TSINGHUA SCIENCE AND TECHNOLOGY | 2023年 / 28卷 / 01期
关键词
binary neural networks (BNNs); genetic algorithm; activation function;
D O I
10.26599/TST.2021.9010084
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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. Interestingly, periodic functions are identified as a key component for most of the discovered AFs, which rarely exist in human designed AFs. Our method offers a novel approach for designing general and application-specific BNN architecture. GAAF will be released on GitHub.
引用
收藏
页码:207 / 220
页数:14
相关论文
共 50 条
[21]   Activation Functions Effect on Fractal Coding Using Neural Networks [J].
Al-Jawfi, Rashad A. .
INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2023, 36 (01) :957-965
[22]   Searching for Leaders in Complex Networks with a Topological-Signature-Led Genetic Algorithm [J].
Yip, Chun Yin ;
Szeto, Kwok Yip .
2019 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2019, :150-157
[23]   Optimization of Neural Network Input Through Genetic Algorithm [J].
Bataineh, Ahmad ;
Mubaslat, Ameer .
2021 8TH INTERNATIONAL CONFERENCE ON ELECTRICAL AND ELECTRONICS ENGINEERING (ICEEE 2021), 2021, :248-253
[24]   Algorithm Research on Improving Activation Function of Convolutional Neural Networks [J].
Guo, Yanhua ;
Sun, Lei ;
Zhang, Zhihong ;
He, Hong .
PROCEEDINGS OF THE 2019 31ST CHINESE CONTROL AND DECISION CONFERENCE (CCDC 2019), 2019, :3582-3586
[25]   Assessment of electromyograms using genetic algorithm and artificial neural networks [J].
Bakiya Ambikapathy ;
Kamalanand Kirshnamurthy ;
Rajinikanth Venkatesan .
Evolutionary Intelligence, 2021, 14 :261-271
[26]   Improved neural networks based on genetic algorithm for pulse recognition [J].
Chen, Zhihua ;
Huang, An ;
Qiang, Xiaoli .
COMPUTATIONAL BIOLOGY AND CHEMISTRY, 2020, 88
[27]   Artificial neural networks and genetic algorithm for bearing fault detection [J].
B. Samanta ;
K. R. Al-Balushi ;
S. A. Al-Araimi .
Soft Computing, 2006, 10 :264-271
[28]   MODIFICATION AND PARALLELIZATION OF GENETIC ALGORITHM FOR SYNTHESIS OF ARTIFICIAL NEURAL NETWORKS [J].
Leoshchenko, S. D. ;
Oliinyk, A. ;
Subbotin, S. A. ;
Lytvyn, V. A. ;
Shkarupylo, V. V. .
RADIO ELECTRONICS COMPUTER SCIENCE CONTROL, 2019, (04) :68-82
[29]   Artificial neural networks and genetic algorithm for bearing fault detection [J].
Samanta, B ;
Al-Balushi, KR ;
Al-Araimi, SA .
SOFT COMPUTING, 2006, 10 (03) :264-271
[30]   The research of hybrid approach of BP neural networks and genetic algorithm [J].
Hong Liu ;
WenXuan Luo .
IC-BNMT 2007: Proceedings of 2007 International Conference on Broadband Network & Multimedia Technology, 2007, :209-213