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 条
[41]   A hybrid method for grade estimation using genetic algorithm and neural networks [J].
Hamid Mahmoudabadi ;
Mohammad Izadi ;
Mohammad Bagher Menhaj .
Computational Geosciences, 2009, 13 :91-101
[42]   Bearing fault detection using artificial neural networks and genetic algorithm [J].
Samanta, B ;
Al-Balushi, KR ;
Al-Araimi, SA .
EURASIP JOURNAL ON APPLIED SIGNAL PROCESSING, 2004, 2004 (03) :366-377
[43]   Development of a decision support system based on neural networks and a genetic algorithm [J].
Bukharov, Oleg E. ;
Bogolyubov, Dmitry P. .
EXPERT SYSTEMS WITH APPLICATIONS, 2015, 42 (15-16) :6177-6183
[44]   Application of Genetic Algorithm Optimizing Neural Networks in Machining a Group of holes [J].
Wang Wu ;
Zhang Yuan-min .
2009 INTERNATIONAL CONFERENCE ON INTELLIGENT HUMAN-MACHINE SYSTEMS AND CYBERNETICS, VOL 1, PROCEEDINGS, 2009, :218-220
[45]   Neural Networks Adaptive Control of Aircraft Engine Based on Genetic Algorithm [J].
Zhang, Hongmei ;
Dong, Ziyun ;
Xu, Guangyan .
26TH CHINESE CONTROL AND DECISION CONFERENCE (2014 CCDC), 2014, :3518-3522
[46]   A Novel Training Algorithm of Genetic Neural Networks and Its Application to Classification [J].
Xiao Jianhua School of Mechanics Huazhong University of Science Technology Wuhan P R China Institute of Intelligence Technology Systems Wuyi University Jiangmen P R China Wu Jinpei Institute of Intelligence Technology Systems .
Journal of Systems Engineering and Electronics, 2001, (03) :76-84
[47]   A New Method for Evolving Artificial Neural Networks Using Genetic Algorithm [J].
Yan Wu Wei Wan Department of Computer Science and Engineering Tongji University Shanghai China .
南昌工程学院学报, 2006, (02) :79-82
[48]   Optimum design of structures by an improved genetic algorithm using neural networks [J].
Salajegheh, E ;
Gholizadeh, S .
ADVANCES IN ENGINEERING SOFTWARE, 2005, 36 (11-12) :757-767
[49]   Optimization of Mixed Pooling Using Genetic Algorithm for Convolutional Neural Networks [J].
Gurkahraman, Kali ;
Karakis, Rukiye .
32ND IEEE SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE, SIU 2024, 2024,
[50]   AUTOMATIC MUSIC COMPOSITION USING GENETIC ALGORITHM AND ARTIFICIAL NEURAL NETWORKS [J].
Abu Doush, Iyad ;
Sawalha, Ayah .
MALAYSIAN JOURNAL OF COMPUTER SCIENCE, 2020, 33 (01) :35-51