Skip to main content
QUICK REVIEW

[Paper Review] Soft-Root-Sign Activation Function

Yuan Zhou, Dandan Li|arXiv (Cornell University)|Mar 1, 2020
Advanced Neural Network ApplicationsComputer Science46 references16 citations
TL;DR

This paper proposes Soft-Root-Sign (SRS), a novel smooth, non-monotonic, and bounded activation function that addresses ReLU's drawbacks—non-zero mean, negative missing, and unbounded output—by using trainable parameters to achieve zero-mean activation and improved distribution stability. SRS outperforms ReLU and other state-of-the-art activations in image classification, machine translation, and generative modeling, with ablation studies confirming compatibility with batch normalization and robustness to weight initialization.

ABSTRACT

The choice of activation function in deep networks has a significant effect on the training dynamics and task performance. At present, the most effective and widely-used activation function is ReLU. However, because of the non-zero mean, negative missing and unbounded output, ReLU is at a potential disadvantage during optimization. To this end, we introduce a novel activation function to manage to overcome the above three challenges. The proposed nonlinearity, namely "Soft-Root-Sign" (SRS), is smooth, non-monotonic, and bounded. Notably, the bounded property of SRS distinguishes itself from most state-of-the-art activation functions. In contrast to ReLU, SRS can adaptively adjust the output by a pair of independent trainable parameters to capture negative information and provide zero-mean property, which leading not only to better generalization performance, but also to faster learning speed. It also avoids and rectifies the output distribution to be scattered in the non-negative real number space, making it more compatible with batch normalization (BN) and less sensitive to initialization. In experiments, we evaluated SRS on deep networks applied to a variety of tasks, including image classification, machine translation and generative modelling. Our SRS matches or exceeds models with ReLU and other state-of-the-art nonlinearities, showing that the proposed activation function is generalized and can achieve high performance across tasks. Ablation study further verified the compatibility with BN and self-adaptability for different initialization.

Motivation & Objective

  • To address the limitations of ReLU, including non-zero mean activation, negative value suppression (negative missing), and unbounded output, which hinder optimization and generalization.
  • To design a new activation function that is smooth, non-monotonic, and bounded, with adaptive parameters to stabilize activation distributions.
  • To improve compatibility with batch normalization and reduce sensitivity to weight initialization in deep networks.
  • To empirically validate SRS across diverse tasks such as image classification, machine translation, and generative modeling.
  • To analyze the underlying properties of SRS—such as gradient behavior, soft inactive range, and bounded output—that contribute to its performance.

Proposed method

  • Proposes Soft-Root-Sign (SRS), a nonlinear activation function defined as $ f(x) = \alpha \cdot \text{sign}(x) \cdot \sqrt{\beta \cdot x^2 + \epsilon} $, where $ \alpha $ and $ \beta $ are trainable parameters.
  • Introduces a differentiable, smooth, and non-monotonic function that maintains bounded output, contrasting with ReLU’s unbounded nature.
  • Employs a custom neural network layer to integrate SRS into deep learning frameworks with minimal modification.
  • Uses adaptive training of $ \alpha $ and $ \beta $ to dynamically adjust the activation’s mean and slope, enabling zero-mean output and improved gradient flow.
  • Applies SRS in deep networks across multiple tasks, including ResNet for image classification, Transformer for machine translation, and VAE for generative modeling.
  • Conducts ablation studies comparing SRS with ReLU and other nonlinearities under various initialization schemes (Gaussian, Xavier, He).

Experimental results

Research questions

  • RQ1Can a bounded, smooth, and non-monotonic activation function like SRS mitigate the optimization challenges caused by ReLU’s non-zero mean and unbounded output?
  • RQ2Does SRS improve generalization and convergence speed compared to ReLU and other modern activation functions?
  • RQ3To what extent is SRS compatible with batch normalization and robust to different weight initialization schemes?
  • RQ4How does the output landscape of SRS compare to ReLU and other nonlinearities in terms of smoothness and optimization potential?
  • RQ5What specific properties of SRS—such as bounded output or adaptive parameters—contribute most significantly to its performance gains?

Key findings

  • On the Fashion-MNIST dataset, SRS achieved a test error of 12.58% under Gaussian initialization, outperforming ReLU (12.96%) and other baselines across all initialization schemes.
  • SRS networks showed faster convergence and stable activation means near zero across hidden layers, unlike ReLU, which quickly pushed activations to positive values.
  • In image classification (CIFAR-10), SRS matched or exceeded the performance of ReLU and other state-of-the-art activations, including Swish and SELU.
  • In machine translation (WMT 2014 En-De), SRS achieved better BLEU scores than ReLU and other nonlinearities, indicating improved sequence modeling.
  • In generative modeling (VAE on CIFAR-10), SRS produced higher-quality samples and better log-likelihood scores than ReLU and ELU.
  • Ablation studies confirmed that SRS is compatible with batch normalization and less sensitive to initialization, enabling higher learning rates and broader initialization schemes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.