SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1708.02182 · 2017

Regularizing and Optimizing LSTM Language Models

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/1708.02182.json · badge: /api/ran/1708.02182.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ahmetumutdurmus/awd-lstm reimplementation (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
vganesh46/awd-lstm-pytorch-implementation reimplementation (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
Asteur/RERITES-AvgWeightDescentLSTM-PoetryGeneration reimplementation (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
vganesh46/awd-lstm-pytorch-implementation/model/net.py
pointer only (licence: NONE) · get_code("9e004b5978b51581")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vganesh46/awd-lstm-pytorch-implementation when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

batchify Ran
ran; our contract draft was wrong, not the code
ahmetumutdurmus/awd-lstm/finetune.py
pointer only (licence: NONE) · get_code("5edffb2dfb36c8c4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ahmetumutdurmus/awd-lstm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate Ran
ran; our contract draft was wrong, not the code
vganesh46/awd-lstm-pytorch-implementation/evaluate.py
pointer only (licence: NONE) · get_code("785b28e30c24782a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vganesh46/awd-lstm-pytorch-implementation when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_seq_len Ran
ran, honoured the contract we drafted
ahmetumutdurmus/awd-lstm/finetune.py
pointer only (licence: NONE) · get_code("3976786dc1c29943")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ahmetumutdurmus/awd-lstm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

minibatch Ran
ran; our contract draft was wrong, not the code
ahmetumutdurmus/awd-lstm/finetune.py
pointer only (licence: NONE) · get_code("b34f2200862bbeed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ahmetumutdurmus/awd-lstm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

one_hot Ran
ran, honoured the contract we drafted
Asteur/RERITES-AvgWeightDescentLSTM-PoetryGeneration/pointer.py
pointer only (licence: NONE) · get_code("d38f82da04a3f93e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Asteur/RERITES-AvgWeightDescentLSTM-PoetryGeneration when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

loss_fn Not yet run
unverified (harvested, no recorded run)
vganesh46/awd-lstm-pytorch-implementation/model/net.py
pointer only (licence: NONE) · get_code("f7bb4492f97bc8b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, vganesh46/awd-lstm-pytorch-implementation when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
one_hot 4 other papers
4 later
1803.08240 (2018-03)
An Analysis of Neural Language Modeling at Multiple Scales
1805.04623 (2018-05)
Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Context
1905.11881 (2019-05)
Why gradient clipping accelerates training: A theoretical justification for adaptivity
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

More are linked than shown here.

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Recurrent neural networks (RNNs), such as long short-term memory networks (LSTMs), serve as a fundamental building block for many sequence learning tasks, including machine translation, language modeling, and question answering. In this paper, we consider the specific problem of word-level language modeling and investigate strategies for regularizing and optimizing LSTM-based models. We propose the weight-dropped LSTM which uses DropConnect on hidden-to-hidden weights as a form of recurrent regularization. Further, we introduce NT-ASGD, a variant of the averaged stochastic gradient method, wherein the averaging trigger is determined using a non-monotonic condition as opposed to being tuned by the user. Using these and other regularization strategies, we achieve state-of-the-art word level perplexities on two data sets: 57.3 on Penn Treebank and 65.8 on WikiText-2. In exploring the effectiveness of a neural cache in conjunction with our proposed model, we achieve an even lower state-of-the-art perplexity of 52.8 on Penn Treebank and 52.0 on WikiText-2.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("1708.02182")
get_code_for_paper("1708.02182")
have("1708.02182")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/1708.02182.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/1708.02182.svg)](https://syntology.ai/paper/1708.02182)

Connect an agent — have() is free.