SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.06440 · NeurIPS · 2023

No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Models

Matt Kusner, Pasquale Minervini, Jean Kaddour, Oscar Key, Piotr Nawrot

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 0 honoured the contract we drafted, 4 violated it and 0 have no contract verdict; 6 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2307.06440.json · badge: /api/ran/2307.06440.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
JeanKaddour/NoTrainNoGain canonical (classifier label)
classifier basis: census
9 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
check_deadline Ran
ran, violated the contract we drafted
JeanKaddour/NoTrainNoGain/bert/pretrain_bert_rho_loss.py
pointer only (licence: NONE) · get_code("a7137af5385dbe09")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

check_early_termination Ran
ran, violated the contract we drafted
JeanKaddour/NoTrainNoGain/bert/pretrain_bert_rho_loss.py
pointer only (licence: NONE) · get_code("5bf52ae7f2f2317a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

exists Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from ThomasMrY/VCT
pointer only; the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_example_ids_from_batch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JeanKaddour/NoTrainNoGain/bert/efficient_training/extract_il_losses.py
pointer only (licence: NONE) · get_code("2840d349f4c8b0c1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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_layer_fn Ran
ran; our contract draft was wrong, not the code
JeanKaddour/NoTrainNoGain/bert/cramming/architectures/fused_layers.py
pointer only (licence: NONE) · get_code("4681043cc92ad4c3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

layer_structure Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JeanKaddour/NoTrainNoGain/bert/cramming/architectures/fused_layers.py
pointer only (licence: NONE) · get_code("98dec28a22e6c58a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

load_chunks Ran
ran; our contract draft was wrong, not the code
JeanKaddour/NoTrainNoGain/bert/pretrain_bert_rho_loss.py
pointer only (licence: NONE) · get_code("f048db3c79eb5ee8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

sample_active_layers Ran
ran; our contract draft was wrong, not the code
JeanKaddour/NoTrainNoGain/bert/efficient_training/layer_drop.py
pointer only (licence: NONE) · get_code("276a79af4663120e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

scaled_layer_training Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JeanKaddour/NoTrainNoGain/bert/cramming/architectures/fused_layers.py
pointer only (licence: NONE) · get_code("79efd868ef38d1ad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

within_budget Ran
ran, violated the contract we drafted
JeanKaddour/NoTrainNoGain/bert/pretrain_bert.py
pointer only (licence: NONE) · get_code("d782f0fce6dc8a6b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

find_pretrained_checkpoint Not yet run
unverified (harvested, no recorded run)
JeanKaddour/NoTrainNoGain/bert/cramming/utils.py
pointer only (licence: NONE) · get_code("a054d17634dd4dfd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

save_summary Not yet run
unverified (harvested, no recorded run)
JeanKaddour/NoTrainNoGain/bert/cramming/utils.py
pointer only (licence: NONE) · get_code("02ca444386b6a0b5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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.

system_startup Not yet run
unverified (harvested, no recorded run)
JeanKaddour/NoTrainNoGain/bert/cramming/utils.py
pointer only (licence: NONE) · get_code("871963e556958789")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JeanKaddour/NoTrainNoGain 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 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 1 later) and 10 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
exists 486 other papers
197 dated earlier, 8 the same month, 275 later, 4 same year, order not determinable, 2 undated · 78 only as an assembly brick
1603.08155 (2016-03)
Perceptual Losses for Real-Time Style Transfer and Super-Resolution
1611.07004 (2016-11)
Image-to-Image Translation with Conditional Adversarial Networks
1804.04637 (2018-04)
EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models
and 483 more not named here
check_deadline 1 other paper
1 dated earlier
2212.14034 (2022-12)
Cramming: Training a Language Model on a Single GPU in One Day
check_early_termination 1 other paper
1 dated earlier
2212.14034 (2022-12)
Cramming: Training a Language Model on a Single GPU in One Day

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-23.

Repositories linked to this paper

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

Abstract

The computation necessary for training Transformer-based language models has skyrocketed in recent years. This trend has motivated research on efficient training algorithms designed to improve training, validation, and downstream performance faster than standard training. In this work, we revisit three categories of such algorithms: dynamic architectures (layer stacking, layer dropping), batch selection (selective backprop, RHO loss), and efficient optimizers (Lion, Sophia). When pre-training BERT and T5 with a fixed computation budget using such methods, we find that their training, validation, and downstream gains vanish compared to a baseline with a fully-decayed learning rate. We define an evaluation protocol that enables computation to be done on arbitrary machines by mapping all computation time to a reference machine, which we call reference system time. We discuss the limitations of our proposed protocol and release our code to encourage rigorous research in efficient training procedures: https://github.com/JeanKaddour/NoTrainNoGain.

For agents

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

get_harvested_code_for_paper("2307.06440")
get_code_for_paper("2307.06440")
have("2307.06440")

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

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

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

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

Connect an agent — have() is free.