An Investigation on Deep Learning with Beta Stabilizer

Qi Liu, Tian Tan, Kai Yu

TL;DR

This paper investigates the "beta stabilizer," a learnable scalar parameter that reduces a neural network's sensitivity to its initial learning rate. By extending this technique from simple Sigmoid-based networks to modern ReLU DNNs and LSTMs, the authors demonstrate that beta stabilizers provide a robust "safety net," allowing models to converge successfully even when the initial learning rate is poorly tuned or extremely small.

What Problem Does This Paper Address?

Training artificial neural networks (ANNs) is notoriously sensitive to the initial learning rate. If you set it too high, the model diverges; too low, and it crawls toward a sub-optimal solution or fails to learn entirely. Finding the "sweet spot" usually requires tedious manual tuning, grid searches, or complex self-adjustment heuristics.

While adaptive optimizers like AdaGrad or Adam help, the authors explore a different approach: the beta stabilizer. Previously, this method was only tested on Deep Neural Networks (DNNs) using Sigmoid activation functions. This paper addresses the gap by investigating whether beta stabilizers can benefit more modern and complex architectures, specifically those using Rectified Linear Units (ReLU) and Long Short-Term Memory (LSTM) cells, which are the workhorses of modern speech and handwriting recognition.

Methods

The core idea of a beta stabilizer is to introduce a learnable scalar, $\beta$, for every linear transformation in a network layer.

Standard layer: $y = Wx + b$ With beta stabilizer: $y = e^\beta Wx + b$

By using $e^\beta$, the scaling factor is guaranteed to be positive. During backpropagation, $\beta$ is updated alongside the weights and biases. The update rule for $\beta$ is derived as the inner product of the layer input $x$ and its gradient $\frac{\partial L}{\partial x}$. Essentially, $\beta$ automatically adjusts the scale of the weights based on the relationship between the input and the loss gradient.

Extending to LSTM

LSTMs are more complex, containing multiple gates (input, forget, output) and a cell state update. The authors experimented with different ways to apply the stabilizer:

  1. Layer shared: One $\beta$ for the whole LSTM layer.
  2. Gate shared: One $\beta$ per gate.
  3. Independent: A unique $\beta$ for every linear transformation within the cell.

After analyzing the $L2$-norms of trained LSTM matrices, they found that different components operate at significantly different scales. Consequently, they settled on independent beta stabilizers for every linear operation to allow the model to adjust each component's scale appropriately.

Datasets

The researchers evaluated their approach on two significant speech recognition tasks:

  • Local Chinese Dataset: A 15-hour corpus used to train a DNN with 6 hidden layers (1024 nodes) and an LSTM with 3 hidden layers (600 nodes).
  • Switchboard English Dataset: A larger 50-hour corpus [23] used to train a DNN with 6 hidden layers (2048 nodes) and an LSTM with 3 hidden layers (1024 nodes).

Key Insights and Ideas

  • The Robustness "Safety Net": The most striking finding is how much the beta stabilizer flattens the performance curve across different learning rates. In Sigmoid DNNs, a standard model's Word Error Rate (WER) might jump from 31% to 46% if the learning rate is slightly off. With a beta stabilizer, the WER remains stable at around 30% across a wide range of initial values.
  • Architecture Sensitivity: Beta stabilizers are most effective for Sigmoid DNNs. While they still help ReLU DNNs and LSTMs, these architectures are inherently more robust to learning rate variations, so the relative improvement is less dramatic.
  • Convergence at the Extremes: For LSTMs, the stabilizer is a lifesaver at extremely low learning rates. The authors noted that at an initial learning rate of 0.0001, a standard LSTM fails to converge, while an LSTM with beta stabilizers still produces reasonable results.
  • Initialization Matters: All $\beta$ values are initialized to 0, meaning $e^\beta = 1$. This ensures the training starts exactly like a standard model, only deviating as the stabilizer learns the optimal scaling.

Key Results

The experimental results, summarized in Figure 1, clearly show that beta stabilizers reduce sensitivity to the initial learning rate across all tested architectures.

![Fig.

  1. Experimental results of different ANN architectures. Chn stands for local Chinese dataset and Swbd stands for Switchboard English dataset.](/figures/art_6f7ef62423d24d819d39778d290f099f)
  2. Sigmoid DNN (Fig 1a): The "Chn w/o beta" (blue) line spikes sharply as the learning rate decreases, while the "Chn with beta" (green) line stays nearly flat.
  3. ReLU DNN & LSTM (Fig 1b, 1c): While the standard models (blue/red) show some resilience, the stabilized models (green/cyan) consistently show lower error rates when the initial learning rate becomes very small (e.g., 0.0016 for ReLU or 0.0006 for LSTM).
  4. Quantitative Stability: In the Chinese dataset (Table I), a Sigmoid DNN without the stabilizer saw WER increase by nearly 15% absolute when the learning rate dropped from 0.8 to 0.1. With the stabilizer, the WER actually improved slightly or stayed within 1%.

Limitations and Future Work

While promising, the authors acknowledge several areas for further exploration:

  • Large-Scale Data: The current study uses 15-hour and 50-hour datasets; testing on thousands of hours of data is a necessary next step.
  • Optimizer Synergy: The study focused on Stochastic Gradient Descent (SGD). Future work should investigate how beta stabilizers interact with other popular optimizers like AdaGrad or Adam.
  • Complex Architectures: The authors suggest applying beta stabilizers to even more complex "hybrid" networks, such as Convolutional-LSTM-Deep Neural Networks (CLDNNs) or multi-task learning frameworks.

Summary updated

Abstract

Artificial neural networks (ANN) have been used in many applications such like handwriting recognition and speech recognition. It is well-known that learning rate is a crucial value in the training procedure for artificial neural networks. It is shown that the initial value of learning rate can confoundedly affect the final result and this value is always set manually in practice. A new parameter called beta stabilizer has been introduced to reduce the sensitivity of the initial learning rate. But this method has only been proposed for deep neural network (DNN) with sigmoid activation function. In this paper we extended beta stabilizer to long short-term memory (LSTM) and investigated the effects of beta stabilizer parameters on different models, including LSTM and DNN with relu activation function. It is concluded that beta stabilizer parameters can reduce the sensitivity of learning rate with almost the same performance on DNN with relu activation function and LSTM. However, it is shown that the effects of beta stabilizer on DNN with relu activation function and LSTM are fewer than the effects on DNN with sigmoid activation function.
BibTeX
@misc{liu2020investigation,
  author = {Qi Liu and Tian Tan and Kai Yu},
  title = {{An Investigation on Deep Learning with Beta Stabilizer}},
  year = {2020},
  eprint = {2008.01173},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.01173},
}
Figure