Introduction
The Rectified Linear Unit (ReLU) has become the standard activation function in modern deep learning due to its simplicity and ability to mitigate vanishing gradients in positive domains. However, it suffers from the "dying neuron" problem: for negative inputs, the output and gradient are exactly zero. If a neuron's weights are updated such that it always receives negative input, it becomes inactive and ceases to contribute to learning. While variants like Leaky ReLU and Exponential Linear Units (ELU) address this by providing non-zero slopes for negative values, they often introduce issues like gradient saturation or unbounded outputs.
This paper introduces the Parametric Variational Linear Unit (PVLU), a novel activation function designed to eliminate dead neurons by introducing a trainable sinusoidal variation across the entire input domain.
The PVLU Activation Function
The core innovation of the PVLU is the addition of a periodic "wiggle" to the standard ReLU function. The Variational Linear Unit (VLU) is defined as:
$$VLU(x) = \max(0, x) + \alpha \sin(\beta x)$$
In the Parametric VLU (PVLU), the amplitude ($\alpha$) and frequency ($\beta$) are treated as trainable parameters learned channel-wise during backpropagation. Unlike most ReLU variants that only modify the function for $x < 0$, PVLU introduces nonlinearity across the entire real domain.
Because the derivative of PVLU involves a cosine term, the gradient oscillates rather than vanishing. This ensures that even if a neuron falls into a negative input range, it maintains a non-zero gradient, allowing it to "recover" and continue learning. For transfer learning applications, the authors suggest initializing $\alpha$ to zero, allowing the model to start with standard ReLU behavior and gradually optimize the periodic perturbation.
Experimental Evaluation
The researchers evaluated PVLU performance across several standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and Noisy CIFAR-10. Tests were conducted using a variety of architectures, ranging from simple sequential CNNs to deep models like VGG-16, VGG-19, and ResNet variants (R50, R101v2, R152v2).
Key Results
The experimental results demonstrate that PVLU consistently outperforms standard ReLU and its common variants in deep architectures:
- Accuracy Gains: On CIFAR-100, a simple CNN using PVLU achieved a mean accuracy of 56.9%, compared to 48.5% for ReLU and 55.5% for PReLU.
- Transfer Learning: Replacing ReLU with PVLU in pre-trained VGG models led to relative error reductions exceeding 10% on CIFAR-10.
- Convergence Speed: PVLU-equipped models often exhibited faster convergence, likely due to the more informative, non-vanishing gradients provided by the parametric sinusoidal term.
Discussion and Insights
The success of PVLU suggests that non-monotonicity in activation functions can be highly beneficial for deep networks. By acting as a form of "trainable noise," the sinusoidal term helps the network escape local minima and maintain representative features.
Notably, the benefits of PVLU are depth-dependent. While it offers significant advantages for deep architectures like ResNet-152, it provides little to no benefit for shallow networks (e.g., those used for MNIST). Furthermore, PVLU-equipped models showed increased robustness to image degradation, such as Gaussian blur, suggesting that the oscillating gradients help preserve critical features under noisy conditions.
Conclusion
The Parametric Variational Linear Unit (PVLU) offers a robust solution to the dying neuron problem by ensuring non-zero gradients through a trainable periodic component. By providing superior performance in deep convolutional networks and faster convergence during fine-tuning, PVLU represents a powerful alternative to standard rectified activation functions. Future work will explore its applicability in non-vision domains such as Natural Language Processing and Reinforcement Learning.
Summary updated