GAAF: Searching Activation Functions for Binary Neural Networks through Genetic Algorithm

June 05, 2022 ยท Entered Twilight ยท ๐Ÿ› Tsinghua Science and Technology

๐Ÿ’ค TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: LICENSE, data.py, evo.py, main.py, net_01.py, net_02.py, preprocess.py, utils.py

Authors Yanfei Li, Tong Geng, Samuel Stein, Ang Li, Huimin Yu arXiv ID 2206.03291 Category cs.NE: Neural & Evolutionary Cross-listed cs.LG Citations 8 Venue Tsinghua Science and Technology Repository https://github.com/flying-Yan/GAAF โญ 1 Last Checked 6 months ago
Abstract
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. Our method offers a novel approach for designing general and application-specific BNN architecture. Our code is available at http://github.com/flying-Yan/GAAF.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Neural & Evolutionary

๐Ÿ”ฎ ๐Ÿ”ฎ The Ethereal

LSTM: A Search Space Odyssey

Klaus Greff, Rupesh Kumar Srivastava, ... (+3 more)

cs.NE ๐Ÿ› IEEE TNNLS ๐Ÿ“š 6.0K cites 11 years ago