Delve Into Neural Activations: Toward Understanding Dying Neurons
- 9 June 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Artificial Intelligence
- Vol. 4 (4) , 959-971
Abstract
Theoretically, a deep neuron network with non-linear activation is able to approximate any function, while empirically the performance of the model with different activations varies widely. In this work, we investigate the expressivity of the network from an activation perspective. In particular, we introduce a generalized activation region/pattern to describe the functional relationship of the model with an arbitrary activation function and illustrate its fundamental properties. We then propose a metric named pattern similarity to evaluate the practical expressivity of neuron networks regarding datasets based on the neuron level reaction toward the input. We find an undocumented dying neuron issue that the post-activation value of most neurons remain in the same region for data with different labels, implying that the expressivity of the network with certain activations is greatly constrained. For instance, around 80% of post-activation values of a well-trained Sigmoid net or Tanh net are clustered in the same region given any test sample. This means most of the neurons fail to provide any useful information in distinguishing the data with different labels, suggesting that the practical expressivity of those networks are far below the theoretical. By evaluating our metrics and the test accuracy of the model, we show that the seriousness of the dying neuron issue is highly related to the model performance. At last, we also discussed the cause of the dying neuron issue, providing an explanation of the model performance gap caused by choice of activation. Impact Statement– The activation function is a crucial component of deep learning models. Many previous works focus on developing efficient activations to promote model performance. However, how the activation function affects the performance of the model is still an unsolved question. In this work, we document a novel dying neuron issue that affects the model performance. We first introduce a generalized activation pattern to analyze the neuron level response of a model with arbitrary activation. Based on that, we further propose a pattern similarity that illustrates the expressivity of a model on a dataset. We show that the pattern similarity can be used to investigate the severity of the dying neuron issue and explain the performance gap caused by different activations.Keywords
Funding Information
- HUAWEI Technologies Co., LTD (HIRP2019041002010)
- U.K. EPSRC (EP/P009727/1)
- Leverhulme Trust (RF-2019-492)
This publication has 7 references indexed in Scilit:
- Dying ReLU and Initialization: Theory and Numerical ExamplesCommunications in Computational Physics, 2020
- Why Does Deep and Cheap Learning Work So Well?Journal of Statistical Physics, 2017
- ImageNet classification with deep convolutional neural networksCommunications of the ACM, 2017
- Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification2015
- Deep learning in neural networks: An overviewNeural Networks, 2015
- The sample complexity of pattern classification with neural networks: the size of the weights is more important than the size of the networkIEEE Transactions on Information Theory, 1998
- Multilayer feedforward networks are universal approximatorsNeural Networks, 1989