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] Searching for Leaders in Complex Networks with a Topological-Signature-Led Genetic Algorithm
    Yip, Chun Yin
    Szeto, Kwok Yip
    2019 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2019, : 150 - 157
  • [22] Optimization of Neural Network Input Through Genetic Algorithm
    Bataineh, Ahmad
    Mubaslat, Ameer
    2021 8TH INTERNATIONAL CONFERENCE ON ELECTRICAL AND ELECTRONICS ENGINEERING (ICEEE 2021), 2021, : 248 - 253
  • [23] Algorithm Research on Improving Activation Function of Convolutional Neural Networks
    Guo, Yanhua
    Sun, Lei
    Zhang, Zhihong
    He, Hong
    PROCEEDINGS OF THE 2019 31ST CHINESE CONTROL AND DECISION CONFERENCE (CCDC 2019), 2019, : 3582 - 3586
  • [24] Improved neural networks based on genetic algorithm for pulse recognition
    Chen, Zhihua
    Huang, An
    Qiang, Xiaoli
    COMPUTATIONAL BIOLOGY AND CHEMISTRY, 2020, 88
  • [25] Artificial neural networks and genetic algorithm for bearing fault detection
    B. Samanta
    K. R. Al-Balushi
    S. A. Al-Araimi
    Soft Computing, 2006, 10 : 264 - 271
  • [26] Assessment of electromyograms using genetic algorithm and artificial neural networks
    Bakiya Ambikapathy
    Kamalanand Kirshnamurthy
    Rajinikanth Venkatesan
    Evolutionary Intelligence, 2021, 14 : 261 - 271
  • [27] Animal control by spiking neural networks evolved with a genetic algorithm
    Borys Wróbel
    Ahmed Abdelmotaleb
    Neil Davey
    Volker Steuber
    BMC Neuroscience, 16 (Suppl 1)
  • [28] Assessment of electromyograms using genetic algorithm and artificial neural networks
    Ambikapathy, Bakiya
    Kirshnamurthy, Kamalanand
    Venkatesan, Rajinikanth
    EVOLUTIONARY INTELLIGENCE, 2021, 14 (02) : 261 - 271
  • [29] MODIFICATION AND PARALLELIZATION OF GENETIC ALGORITHM FOR SYNTHESIS OF ARTIFICIAL NEURAL NETWORKS
    Leoshchenko, S. D.
    Oliinyk, A.
    Subbotin, S. A.
    Lytvyn, V. A.
    Shkarupylo, V. V.
    RADIO ELECTRONICS COMPUTER SCIENCE CONTROL, 2019, (04) : 68 - 82
  • [30] Artificial neural networks and genetic algorithm for bearing fault detection
    Samanta, B
    Al-Balushi, KR
    Al-Araimi, SA
    SOFT COMPUTING, 2006, 10 (03) : 264 - 271