Papers › Breaking the Softmax Bottleneck: A High-Rank RNN Language Model

Breaking the Softmax Bottleneck: A High-Rank RNN Language Model

10 Nov 2017ICLR 2018 1arXiv:1711.03953archive 2025-07-28

Zhilin Yang, Zihang Dai, Ruslan Salakhutdinov, William W. Cohen

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1711.03953")

Code

Syntology Ran 1 of 23 code samples harvested from 5 repositories linked to this paper; 22 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 3 samples from 1 repository, 0 ran; community (archive-listed): 20 samples from 4 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zihangdai/mos officialmentioned in papermentioned on GitHubpytorchMIT report
cstorm125/thai2fit mentioned on GitHubpytorch report
nkcr/overlap-ml mentioned on GitHubpytorchBSD-3-Clause report
nunezpaul/MNIST mentioned on GitHubtfMIT report
omerlux/NLP-PTB mentioned on GitHubpytorchMIT report
tdmeeste/SparseSeqModels mentioned on GitHubpytorch report
yfreedomliTHU/mos-pytorch1.1 mentioned on GitHubpytorchMIT report
zhangyaoyuan/GAN-Simplification mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

23 samples harvested; 1 ran; 0 honoured the contract we drafted; 22 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
22unverified

Licence: 0 of the 23 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 5 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

embedded_dropout zihangdai/mos/embed_regularize.py official repository unverified MIT (permissive) · 612788fb8fc53b62 · report
get_batch zihangdai/mos/utils.py official repository unverified MIT (permissive) · 8585e034505891c4 · report
repackage_hidden zihangdai/mos/dynamiceval.py official repository unverified MIT (permissive) · 8bd3cf7e6979e441 · report
batchify yfreedomliTHU/mos-pytorch1.1/utils.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 2943dadcb85e6e3c · report
build_vocab omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling_gen.py community (archive-listed) unverified MIT (permissive) · 62876a934ad2732b · report
cal_bleu omerlux/NLP-PTB/mos-pytorch1.1/bleu.py community (archive-listed) unverified MIT (permissive) · a2f146bb53bb255e · report
data_loader omerlux/NLP-PTB/Language_Modeling_DataRearange/Language_Modeling.py community (archive-listed) unverified MIT (permissive) · c75648e7493bfa87 · report
data_loader omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling.py community (archive-listed) unverified MIT (permissive) · b47a3b26a9d39f5f · report
data_loader omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling_tfds.py community (archive-listed) unverified MIT (permissive) · dd918220a90f8779 · report
embedded_dropout yfreedomliTHU/mos-pytorch1.1/embed_regularize.py community (archive-listed) unverified MIT (permissive) · 61247fd8db2741cf · report
embedded_dropout nkcr/overlap-ml/awd/embed_regularize.py community (archive-listed) unverified BSD-3-Clause (permissive) · 6a3d8df0b754bb01 · report
features_labels omerlux/NLP-PTB/Language_Modeling_DataRearange/Language_Modeling.py community (archive-listed) unverified MIT (permissive) · 73781c047e5bde5a · report
features_labels omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling.py community (archive-listed) unverified MIT (permissive) · 1d654edced8659d4 · report
features_labels omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling_tfds.py community (archive-listed) unverified MIT (permissive) · d78e2f03397f3d7c · report
file_to_word_ids omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling_gen.py community (archive-listed) unverified MIT (permissive) · cbfd3e2359406dd6 · report
get_batch yfreedomliTHU/mos-pytorch1.1/utils.py community (archive-listed) unverified MIT (permissive) · 591c3d72452ed508 · report
import_graph nunezpaul/MNIST/predict.py community (archive-listed) unverified MIT (permissive) · 0180f4ce26db14fe · report
load_data omerlux/NLP-PTB/mos-pytorch1.1/bleu.py community (archive-listed) unverified MIT (permissive) · c98fe0c21eb27db8 · report
model_create omerlux/NLP-PTB/Language_Modeling_DataRearange/Language_Modeling.py community (archive-listed) unverified MIT (permissive) · 7294b626ee6ccf20 · report
model_create omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling.py community (archive-listed) unverified MIT (permissive) · 1720dba9c0088a7c · report
model_create omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling_tfds.py community (archive-listed) unverified MIT (permissive) · 6006a3916540a413 · report
one_hot nkcr/overlap-ml/awd/pointer.py community (archive-listed) unverified BSD-3-Clause (permissive) · 8cfc87c86a68ccf9 · report
read_words omerlux/NLP-PTB/Language_Modeling_Old/Language_Modeling_gen.py community (archive-listed) unverified MIT (permissive) · f5c5c321e38f81cd · report

Tasks

Language ModelingLanguage ModellingVocal Bursts Intensity PredictionWord Embeddings

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Language Modelling Penn Treebank (Word Level) AWD-LSTM-MoS + dynamic eval Params 22M #11 of 43 Archive leaderboard report
Language Modelling Penn Treebank (Word Level) AWD-LSTM-MoS + dynamic eval Test perplexity 47.69 #11 of 43 Archive leaderboard report
Language Modelling Penn Treebank (Word Level) AWD-LSTM-MoS + dynamic eval Validation perplexity 48.33 #11 of 43 Archive leaderboard report
Language Modelling Penn Treebank (Word Level) AWD-LSTM-MoS Params 22M #20 of 43 Archive leaderboard report
Language Modelling Penn Treebank (Word Level) AWD-LSTM-MoS Test perplexity 54.44 #20 of 43 Archive leaderboard report
Language Modelling Penn Treebank (Word Level) AWD-LSTM-MoS Validation perplexity 56.54 #20 of 43 Archive leaderboard report
Language Modelling WikiText-2 AWD-LSTM-MoS + dynamic eval Number of params 35M #16 of 38 Archive leaderboard report
Language Modelling WikiText-2 AWD-LSTM-MoS + dynamic eval Test perplexity 40.68 #16 of 38 Archive leaderboard report
Language Modelling WikiText-2 AWD-LSTM-MoS + dynamic eval Validation perplexity 42.41 #16 of 38 Archive leaderboard report
Language Modelling WikiText-2 AWD-LSTM-MoS Number of params 35M #26 of 38 Archive leaderboard report
Language Modelling WikiText-2 AWD-LSTM-MoS Test perplexity 61.45 #26 of 38 Archive leaderboard report
Language Modelling WikiText-2 AWD-LSTM-MoS Validation perplexity 63.88 #26 of 38 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

AWD-LSTMActivation RegularizationDropConnectDropoutEmbedding DropoutLSTMMixture of SoftmaxesSigmoid ActivationSoftmaxTanh ActivationTemporal Activation RegularizationVariational DropoutWeight Tying

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections