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] Multistability of Neural Networks with a Class of Activation Functions
    Wang, Lili
    Lu, Wenlian
    Chen, Tianping
    ADVANCES IN NEURAL NETWORKS - ISNN 2009, PT 1, PROCEEDINGS, 2009, 5551 : 323 - 332
  • [32] Construction of Activation Functions for Wavelet Neural Networks
    Stepanov, Andrey B.
    PROCEEDINGS OF 2017 XX IEEE INTERNATIONAL CONFERENCE ON SOFT COMPUTING AND MEASUREMENTS (SCM), 2017, : 397 - 399
  • [33] Comparative analysis of activation functions in neural networks
    Kamalov, Firuz
    Nazir, Amril
    Safaraliev, Murodbek
    Cherukuri, Aswani Kumar
    Zgheib, Rita
    2021 28TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS, AND SYSTEMS (IEEE ICECS 2021), 2021,
  • [34] MEDIAN ACTIVATION FUNCTIONS FOR GRAPH NEURAL NETWORKS
    Ruiz, Luana
    Gama, Fernando
    Marques, Antonio G.
    Ribeiro, Alejandro
    2019 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2019, : 7440 - 7444
  • [35] Models of neural networks with fuzzy activation functions
    Nguyen, A. T.
    Korikov, A. M.
    INTERNATIONAL CONFERENCE ON MECHANICAL ENGINEERING, AUTOMATION AND CONTROL SYSTEMS 2016, 2017, 177
  • [36] Adaptive activation functions in convolutional neural networks
    Qian, Sheng
    Liu, Hua
    Liu, Cheng
    Wu, Si
    Wong, Hau San
    NEUROCOMPUTING, 2018, 272 : 204 - 212
  • [37] Bicomplex Neural Networks with Hypergeometric Activation Functions
    Nelson Vieira
    Advances in Applied Clifford Algebras, 2023, 33
  • [38] LAB: Learnable Activation Binarizer for Binary Neural Networks
    Falkena, Sieger
    Jamali-Rad, Hadi
    van Gemert, Jan
    2023 IEEE/CVF WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2023, : 6414 - 6423
  • [39] Binary output of cellular neural networks with smooth activation
    Andrew, LLH
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-FUNDAMENTAL THEORY AND APPLICATIONS, 1997, 44 (09): : 821 - 824
  • [40] Designed Dithering Sign Activation for Binary Neural Networks
    Monroy, Brayan
    Estupinan, Juan
    Gelvez-Barrera, Tatiana
    Bacca, Jorge
    Arguello, Henry
    IEEE JOURNAL OF SELECTED TOPICS IN SIGNAL PROCESSING, 2024, 18 (06) : 1100 - 1107