Adaptive Convolutional ReLUs

Hongyang Gao, Lei Cai, Shuiwang Ji

Introduction

The Rectified Linear Unit (ReLU) has become the standard activation function for deep neural networks due to its simplicity and effectiveness in mitigating vanishing gradients. However, it is susceptible to the "dying ReLU" problem, where neurons become permanently inactive during training. This paper discusses Adaptive Convolutional ReLUs (ConvReLUs), a novel approach that introduces trainable thresholds inspired by biological neuron firing potentials. By strategically replacing ReLUs in early network layers, this method addresses neuron inactivity while preserving the sparse representations essential for classification performance.

The Challenge of Vanishing Gradients and "Dying" Neurons

The standard ReLU function, defined as $f(x) = \max(0, x)$, effectively "kills" any neuron that receives a negative input update that persists across the training set. Once a neuron outputs zero, its gradient becomes zero, preventing further weight updates. While variants like LeakyReLU and PReLU attempt to solve this by adding a non-zero slope for negative values, they often fail to replicate the biological reality of threshold potentials. Furthermore, these alternatives can reduce the sparsity of the feature space, which acts as a natural regularizer in deep networks.

Methodology: AdaReLU and ConvReLU

The core of the proposed method is the AdaReLU (Adaptive ReLU). Unlike standard ReLU, which has a fixed threshold at zero, AdaReLU introduces a trainable parameter $\theta_i$: $$f(x_i) = \max(\theta_i, x_i)$$ This allows each neuron to learn its own optimal firing point, mimicking the -50 to -55 mV threshold potentials found in biological brains.

Comparison of common activation functions (ReLU, LeakyReLU, PReLU) versus the proposed AdaReLU with its trainable threshold.

To apply this concept to Convolutional Neural Networks (CNNs) without a prohibitive increase in parameters, the authors developed ConvReLU. This architecture utilizes a parameter sharing scheme where neurons sharing the same outgoing weights also share the same threshold. This approach keeps the additional parameter overhead extremely low, typically increasing the total count by less than 0.3%.

Structural diagram illustrating neuron connectivity and activation flow within the proposed framework.

The Sparsity-Performance Trade-off

A critical insight of this research is the Partial Replacement Strategy. The authors observed that while "waking up" dead neurons is beneficial in early layers to ensure information flow, maintaining sparsity in deeper layers is crucial for final classification accuracy. Consequently, the recommended implementation involves replacing ReLUs with ConvReLUs only in the initial blocks of the network. This hybrid approach ensures that the network learns robust features early on while retaining the regularization benefits of sparse activations in the final stages.

Experimental Evaluation

The effectiveness of ConvReLU was tested across multiple architectures (VGG-16, ResNet-18, DenseNet-40) and datasets spanning image and text classification.

Image Classification

On the CIFAR-100 dataset, ConvReLU achieved an accuracy of 76.41%, outperforming standard ReLU (75.87%) and PReLU (75.78%). Similar gains were observed on CIFAR-10 and Tiny ImageNet.

Text Classification

The method showed significant improvements in natural language processing tasks. On the Movie Review (MR) dataset, ConvReLU reached 80.39% accuracy, compared to 78.51% for standard ReLU.

Efficiency and Robustness

In a DenseNet-40 model, the addition of ConvReLU resulted in only a 0.28% increase in parameters. The success of the partial replacement strategy was also confirmed, showing that replacing only the first block of ReLUs yielded better results than a full network replacement.

Conclusion

Adaptive Convolutional ReLUs offer a biologically inspired, parameter-efficient solution to the dying ReLU problem. By introducing trainable thresholds and employing a strategic partial replacement policy, ConvReLU enhances the learning capacity of deep networks without sacrificing the benefits of sparsity. Future research will investigate the applicability of these adaptive thresholds in non-convolutional architectures such as Transformers and Recurrent Neural Networks.

Summary updated

BibTeX
@inproceedings{gao2020adaptive,
  author = {Hongyang Gao and Lei Cai and Shuiwang Ji},
  title = {{Adaptive Convolutional ReLUs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.5805},
}
Figure