SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.07311 · ICLR · 2024

Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMs

Kyunghyun Cho, Matthew Leavitt, Naomi Saphra, Nyu, Ravid Shwartz-Ziv, Angelica Chen, Cifar Lmb, Datologyai

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 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, 2 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 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/2309.07311.json · badge: /api/ran/2309.07311.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
angie-chen55/sudden-drops-in-the-loss canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
attn_head_predictor Ran
ran; our contract draft was wrong, not the code
angie-chen55/sudden-drops-in-the-loss/attention_depparse_probe_scores.py
pointer only (licence: NONE) · get_code("dc3ba29544646377")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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.

attn_head_predictor Ran
ran; our contract draft was wrong, not the code
angie-chen55/sudden-drops-in-the-loss/attention_depparse_probe.py
pointer only (licence: NONE) · get_code("620963cb34e2187d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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.

convert_to_unicode Ran
ran; our contract draft was wrong, not the code
angie-chen55/sudden-drops-in-the-loss/extract_attention_pt.py
pointer only (licence: NONE); the stored copy get_code serves, from huawei-noah/Pretrained-Language-Model, is pointer only (licence: NONE) · get_code("1923fc05163d207d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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_predictor Ran
ran; our contract draft was wrong, not the code
angie-chen55/sudden-drops-in-the-loss/attention_depparse_probe_scores.py
pointer only (licence: NONE) · get_code("81f8073a512b59ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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_predictor Ran
ran; our contract draft was wrong, not the code
angie-chen55/sudden-drops-in-the-loss/attention_depparse_probe.py
pointer only (licence: NONE) · get_code("ae67ceac0bdb8588")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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.

is_control Ran
ran, violated the contract we drafted
angie-chen55/sudden-drops-in-the-loss/extract_attention_pt.py
pointer only (licence: NONE) · get_code("faf4130935bdd92d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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.

is_punctuation Ran
ran, violated the contract we drafted
angie-chen55/sudden-drops-in-the-loss/extract_attention_pt.py
pointer only (licence: NONE) · get_code("d708758556911a30")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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_pickle Ran
ran; our contract draft was wrong, not the code
angie-chen55/sudden-drops-in-the-loss/attention_depparse_probe_scores.py
pointer only (licence: NONE) · get_code("70f4d7f0b484bff1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, angie-chen55/sudden-drops-in-the-loss 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.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 1 later) and 4 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
convert_to_unicode 36 other papers
28 dated earlier, 8 later
1609.08144 (2016-09)
Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1901.04085 (2019-01)
Passage Re-ranking with BERT
and 33 more not named here
is_control 1 other paper
1 dated earlier
2203.02135 (2022-03)
Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation
is_punctuation 1 other paper
1 dated earlier
2203.02135 (2022-03)
Continual Few-shot Relation Learning via Embedding Space Regularization and Data Augmentation
load_pickle 1 other paper
1 dated earlier
2210.14473 (2022-10)
Benchmarking Language Models for Code Syntax Understanding

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

Most interpretability research in NLP focuses on understanding the behavior and features of a fully trained model. However, certain insights into model behavior may only be accessible by observing the trajectory of the training process. We present a case study of syntax acquisition in masked language models (MLMs) that demonstrates how analyzing the evolution of interpretable artifacts throughout training deepens our understanding of emergent behavior. In particular, we study Syntactic Attention Structure (SAS), a naturally emerging property of MLMs wherein specific Transformer heads tend to focus on specific syntactic relations. We identify a brief window in pretraining when models abruptly acquire SAS, concurrent with a steep drop in loss. This breakthrough precipitates the subsequent acquisition of linguistic capabilities. We then examine the causal role of SAS by manipulating SAS during training, and demonstrate that SAS is necessary for the development of grammatical capabilities. We further find that SAS competes with other beneficial traits during training, and that briefly suppressing SAS improves model quality. These findings offer an interpretation of a real-world example of both simplicity bias and breakthrough training dynamics.

For agents

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

get_harvested_code_for_paper("2309.07311")
get_code_for_paper("2309.07311")
have("2309.07311")

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

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

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

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

Connect an agent — have() is free.