Skip to main content
QUICK REVIEW

[Paper Review] Revise Saturated Activation Functions

Bing Xu, Ruitong Huang|arXiv (Cornell University)|Feb 18, 2016
Model Reduction and Neural NetworksPhysics and Astronomy8 references45 citations
TL;DR

This paper proposes a scaled logistic sigmoid and a penalized tanh activation function to improve training stability in deep networks. By rescaling the sigmoid to have zero mean and steeper slope near zero, and by penalizing the negative part of tanh, the authors achieve performance comparable to ReLU and leaky ReLU, challenging the assumption that saturation inherently causes vanishing gradients.

ABSTRACT

In this paper, we revise two commonly used saturated functions, the logistic sigmoid and the hyperbolic tangent (tanh). We point out that, besides the well-known non-zero centered property, slope of the activation function near the origin is another possible reason making training deep networks with the logistic function difficult to train. We demonstrate that, with proper rescaling, the logistic sigmoid achieves comparable results with tanh. Then following the same argument, we improve tahn by penalizing in the negative part. We show that "penalized tanh" is comparable and even outperforms the state-of-the-art non-saturated functions including ReLU and leaky ReLU on deep convolution neural networks. Our results contradict to the conclusion of previous works that the saturation property causes the slow convergence. It suggests further investigation is necessary to better understand activation functions in deep architectures.

Motivation & Objective

  • To address the difficulty of training deep neural networks with the logistic sigmoid by identifying underappreciated causes beyond non-zero centering.
  • To investigate why tanh performs better than sigmoid despite both being saturated, focusing on gradient behavior near the origin.
  • To propose improved saturated activation functions that maintain training stability and performance comparable to non-saturated ReLU variants.
  • To challenge the prevailing belief that saturation inherently causes vanishing gradients in deep networks.

Proposed method

  • Propose a scaled sigmoid function: f(x) = 4 * sigmoid(4x) - 2, which rescales the standard sigmoid to have zero mean and steeper initial slope.
  • Derive theoretical conditions for variance preservation in deep networks using Xavier initialization principles, identifying slope and offset near zero as key factors.
  • Introduce a penalized tanh function: f(x) = tanh(x) for x > 0, and f(x) = a * tanh(x) for x ≤ 0, with a ∈ (0,1), to penalize the negative activation region.
  • Use the same initialization (Xavier) and training setup (MXNet) across all experiments to ensure fair comparison.
  • Train a 33-layer Inception network on CIFAR-100 without batch normalization to evaluate generalization and convergence speed.
  • Compare activation functions based on training/test accuracy and convergence speed across multiple runs.

Experimental results

Research questions

  • RQ1Why does the standard logistic sigmoid fail to train deep networks effectively, despite being similar to tanh in saturation?
  • RQ2What role does the slope and offset of an activation function near zero play in gradient flow and training stability?
  • RQ3Can a saturated activation function with a penalized negative region outperform non-saturated ReLU variants?
  • RQ4Does the shape of the activation function near zero—specifically f(0) and f’(0)—determine network performance more than saturation properties?

Key findings

  • The scaled sigmoid (4 * sigmoid(4x) - 2) achieves 89.39% training and 59.11% test accuracy on CIFAR-100, showing it is trainable and comparable to tanh.
  • The penalized tanh with a = 0.25 achieves 99.75% training and 70.43% test accuracy, outperforming standard tanh (96.94% and 61.99%) and approaching leaky ReLU performance.
  • Penalized tanh converges more than twice as fast as standard tanh, indicating improved gradient flow in deep networks.
  • The performance of different activation functions correlates strongly with their behavior near zero, particularly f(0) and f’(0), rather than saturation per se.
  • The results contradict the common belief that saturation causes vanishing gradients, suggesting that activation function design must consider local slope and offset more carefully.
  • The penalized tanh function, despite being saturated, performs nearly identically to leaky ReLU (70.64% test accuracy), indicating that saturation is not inherently detrimental if the negative region is properly penalized.

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.