[Paper Review] Breaking the Softmax Bottleneck: A High-Rank RNN Language Model
The paper reveals a Softmax bottleneck in language models and proposes a Mixture of Softmaxes (MoS) to achieve higher representational rank, improving perplexities on PTB, WT2, and 1B Word datasets.
We formulate language modeling as a matrix factorization problem, and show that the expressiveness of Softmax-based models (including the majority of neural language models) is limited by a Softmax bottleneck. Given that natural language is highly context-dependent, this further implies that in practice Softmax with distributed word embeddings does not have enough capacity to model natural language. We propose a simple and effective method to address this issue, and improve the state-of-the-art perplexities on Penn Treebank and WikiText-2 to 47.69 and 40.68 respectively. The proposed method also excels on the large-scale 1B Word dataset, outperforming the baseline by over 5.6 points in perplexity.
Motivation & Objective
- Identify the limitations of conventional Softmax-based language models in expressing context-dependent distributions.
- Formulate language modeling as a matrix factorization problem to define the Softmax bottleneck.
- Propose MoS to increase expressiveness without exploding parameter count.
- Demonstrate improved perplexities on standard benchmarks and provide empirical rank evidence.
- Discuss the generalization and applicability of MoS beyond standard language modeling.
Proposed method
- Model language modeling as matrix factorization with Hθ and Wθ representing context vectors and word embeddings.
- Define the Softmax bottleneck via the log-probability matrix A and its rank constraints.
- Introduce Mixture of Softmaxes (MoS) where Pθ(x|c)=sum_k πc,k softmax(hc,kᵀ wx) with K components.
- Argue that MoS can approximate higher-rank A by making the MoS log-sum-exp of multiple Softmax components.
- Compare MoS to MoC (mixture in feature space) and show why MoS better breaks the rank bottleneck.
- Provide empirical evidence linking increased rank to improved perplexity.
Experimental results
Research questions
- RQ1Does the standard Softmax with distributed word embeddings have sufficient capacity to model natural language given its high context-dependence?
- RQ2Can introducing discrete latent components (MoS) increase the effective rank of the log-probability matrix and improve perplexity?
- RQ3How does MoS compare to baselines (MoC, Softmax) in expressiveness, generalization, and efficiency on standard benchmarks?
Key findings
- MoS substantially improves perplexity over strong baselines on PTB and WT2, achieving 47.69 and 40.68 respectively.
- On the 1B Word dataset, MoS outperforms Softmax by over 5.6 perplexity points under comparable model sizes.
- Empirical evidence shows MoS induces a much higher log-probability matrix rank than Softmax or MoC, approaching full rank with realistic vocabulary sizes.
- Ablation studies indicate that the gains are due to the MoS structure rather than hyperparameter choices or added layers.
- MoS demonstrates improved context-sensitive next-token predictions and maintains competitive generalization without excessive overfitting.
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.