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 条
[31]   Animal control by spiking neural networks evolved with a genetic algorithm [J].
Borys Wróbel ;
Ahmed Abdelmotaleb ;
Neil Davey ;
Volker Steuber .
BMC Neuroscience, 16 (Suppl 1)
[32]   Assessment of electromyograms using genetic algorithm and artificial neural networks [J].
Ambikapathy, Bakiya ;
Kirshnamurthy, Kamalanand ;
Venkatesan, Rajinikanth .
EVOLUTIONARY INTELLIGENCE, 2021, 14 (02) :261-271
[33]   Synthesis of Artificial Neural Networks Using a Modified Genetic Algorithm [J].
Leoshchenko, Serhii ;
Oliinyk, Andrii ;
Subbotin, Sergey ;
Gorobii, Nataliia ;
Zaiko, Tetiana .
PROCEEDINGS OF THE 1ST INTERNATIONAL WORKSHOP ON INFORMATICS & DATA- DRIVEN MEDICINE (IDDM 2018), 2018, 2255 :1-13
[34]   Wavefront reduction using graphs, neural networks and genetic algorithm [J].
Kaveh, A ;
Bondarabady, HAR .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2004, 60 (11) :1803-1815
[35]   Simple Electromagnetic Analysis Against Activation Functions of Deep Neural Networks [J].
Takatoi, Go ;
Sugawara, Takeshi ;
Sakiyama, Kazuo ;
Li, Yang .
APPLIED CRYPTOGRAPHY AND NETWORK SECURITY WORKSHOPS, ACNS 2020, 2020, 12418 :181-197
[36]   Heuristic Search for Activation Functions of Neural Networks Based on Gaussian Processes [J].
Shi, Xinxing ;
Chen, Jialin ;
Wang, Lingli .
2021 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2021,
[37]   Phase transition analysis for shallow neural networks with arbitrary activation functions [J].
Citton, Otavio ;
Richert, Frederieke ;
Biehl, Michael .
PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 2025, 660
[38]   PREDICTION OF THERMAL ERRORS IN MACHINE TOOLS THROUGH DECOUPLED SIMULATIONS USING GENETIC ALGORITHM AND ARTIFICIAL NEURAL NETWORKS [J].
Kumar, T. Suresh ;
Glaenzel, J. ;
Bergmann, M. ;
Putz, M. .
MM SCIENCE JOURNAL, 2021, 2021 :4683-4691
[39]   Effects of Imputation Strategy on Genetic Algorithms and Neural Networks on a Binary Classification Problem [J].
Martinez, Esteban Segarra ;
Maldonado, Stephen, V ;
Wu, Annie S. ;
McMahan, Ryan P. ;
Liu, Xinliang ;
Oakley, Blake .
PROCEEDINGS OF THE 2022 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE (GECCO'22), 2022, :1272-1280
[40]   Dynamical control by recurrent neural networks through genetic algorithms [J].
Kumagai, T ;
Wada, M ;
Hashimoto, R ;
Utsugi, A .
INTERNATIONAL JOURNAL OF ADAPTIVE CONTROL AND SIGNAL PROCESSING, 1999, 13 (04) :261-271