[Paper Review] Sigsoftmax: Reanalysis of the Softmax Bottleneck
This paper proposes sigsoftmax, a novel output activation function that breaks the softmax bottleneck by combining exponential and sigmoid functions, enabling higher representational capacity without additional parameters. Experiments show sigsoftmax outperforms softmax and mixture of softmax in language modeling, achieving lower perplexity and greater linear independence in output vectors.
Softmax is an output activation function for modeling categorical probability distributions in many applications of deep learning. However, a recent study revealed that softmax can be a bottleneck of representational capacity of neural networks in language modeling (the softmax bottleneck). In this paper, we propose an output activation function for breaking the softmax bottleneck without additional parameters. We re-analyze the softmax bottleneck from the perspective of the output set of log-softmax and identify the cause of the softmax bottleneck. On the basis of this analysis, we propose sigsoftmax, which is composed of a multiplication of an exponential function and sigmoid function. Sigsoftmax can break the softmax bottleneck. The experiments on language modeling demonstrate that sigsoftmax and mixture of sigsoftmax outperform softmax and mixture of softmax, respectively.
Motivation & Objective
- To identify the root cause of the softmax bottleneck in neural network representational capacity.
- To develop an output activation function that breaks the softmax bottleneck without adding parameters.
- To improve language modeling performance by enhancing the representational power of the output layer.
- To provide a numerically stable alternative to softmax with better generalization in low-dimensional hidden spaces.
Proposed method
- Re-analyzing the softmax bottleneck from the perspective of the output set (range) of log-softmax, identifying that the bottleneck arises from restricted nonlinearity and dimensionality constraints.
- Proposing sigsoftmax as a composition of an exponential function and a sigmoid function: $ f_{\text{sig}}(z) = \exp(z) \cdot \sigma(z) $, which expands the output range beyond softmax.
- Demonstrating that sigsoftmax's output range is not constrained by the hidden layer dimension, unlike softmax, thus enabling higher linear independence of output vectors.
- Introducing mixture of sigsoftmax (MoSS) as an enhanced variant, which further improves performance by combining multiple sigsoftmax outputs.
- Using negative log-likelihood with stochastic gradient descent for training, ensuring numerical stability similar to softmax.
- Evaluating representational capacity via the rank of the matrix formed by log-output vectors across test sequences.
Experimental results
Research questions
- RQ1Why does softmax act as a bottleneck in representational capacity, especially in language modeling?
- RQ2What structural or functional properties of softmax limit its ability to model complex probability distributions?
- RQ3Can a new output activation function be designed to break the softmax bottleneck without introducing additional parameters?
- RQ4Does sigsoftmax provide greater linear independence in output vectors compared to softmax?
- RQ5Can sigsoftmax and its mixture variant outperform both standard softmax and mixture of softmax in language modeling tasks?
Key findings
- Sigsoftmax achieved a validation perplexity of 48.3 on the PTB dataset, outperforming softmax (51.2) and MoS (48.6).
- On the WT2 dataset, sigsoftmax achieved a test perplexity of 42.9, lower than softmax (43.3) and MoS (40.8).
- The number of linearly independent output vectors for sigsoftmax was 5,465 on WT2, significantly exceeding softmax’s 402, confirming its ability to break the bottleneck.
- Mixture of sigsoftmax (MoSS) achieved a test perplexity of 40.3 on WT2, outperforming MoS (40.8), indicating higher representational power.
- The rank of the log-output matrix for sigsoftmax was 5,465 on WT2, demonstrating that its output space is not constrained by the hidden layer dimension, unlike softmax.
- ReLU-based and sigmoid-based functions showed higher rank than softmax but were numerically unstable, preventing effective training, unlike sigsoftmax.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.