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] ANEFFICIENT LEARNING ALGORITHM FOR BINARY FEEDFORWARD NEURAL NETWORKS
    Zhou, Jianxin
    Zeng, Xiaoqin
    Chan, Patrick P. K.
    PROCEEDINGS OF 2015 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOL. 2, 2015, : 609 - 615
  • [42] An efficient learning algorithm for binary feedforward neural networks
    Zeng X.
    Zhou J.
    Zheng X.
    Zhong S.
    Zhou, Jianxin (zhoujx0219@163.com), 2016, Harbin Institute of Technology (48): : 148 - 154
  • [43] Constructive algorithm for binary neural networks: the oil-spot algorithm
    Frattale Mascioli, F.M.
    Martinelli, G.
    IEEE, Piscataway, NJ, United States (06):
  • [44] A CONSTRUCTIVE ALGORITHM FOR BINARY NEURAL NETWORKS - THE OIL-SPOT ALGORITHM
    MASCIOLI, FMF
    MARTINELLI, G
    IEEE TRANSACTIONS ON NEURAL NETWORKS, 1995, 6 (03): : 794 - 797
  • [45] Using genetic engineering to find modular structures and activation functions for architectures of artificial neural networks
    Friedrich, CM
    Moraga, C
    COMPUTATIONAL INTELLIGENCE: THEORY AND APPLICATIONS, 1997, 1226 : 150 - 161
  • [46] THE APPLICATION OF A GENETIC APPROACH AS AN ALGORITHM FOR NEURAL NETWORKS
    HEISTERMANN, J
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 496 : 297 - 301
  • [47] Committee neural networks with fuzzy genetic algorithm
    Jafari, S. A.
    Mashohor, S.
    Varnamkhasti, M. Jalali
    JOURNAL OF PETROLEUM SCIENCE AND ENGINEERING, 2011, 76 (3-4) : 217 - 223
  • [48] A Genetic Algorithm for Constructing Wavelet Neural Networks
    Xu, Jinhua
    INTELLIGENT COMPUTING, PART I: INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING, ICIC 2006, PART I, 2006, 4113 : 286 - 291
  • [49] A neural networks for real coded genetic algorithm
    Gong, DX
    Ruan, XG
    2003 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS, INTELLIGENT SYSTEMS AND SIGNAL PROCESSING, VOLS 1 AND 2, PROCEEDINGS, 2003, : 874 - 879
  • [50] Gold price, neural networks and genetic algorithm
    Mirmirani S.
    Li H.C.
    Computational Economics, 2004, 23 (2) : 193 - 200