SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.18293 · 2026

An Existence Proof for Neural Language Models That Can Explain Garden-Path Effects via Surprisal

Tatsuki Kuribayashi, Yohei Oseki, Ryo Yoshida, Taiga Someya, Shinnosuke Isono, ♡ Ninjal, ♢ Nii, Llmc Mbzuai

arXiv · PDF · Open in the Atlas

Code that ran

17 of 21 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; 4 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2604.18293.json · badge: /api/ran/2604.18293.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
osekilab/RE-GPE canonical (classifier label)
classifier basis: census
17 ran · 4 no recorded run
FunctionStatusWhere it lives
blimp_stats Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
osekilab/RE-GPE/src/reverse_engineering/generate_appendix_table.py
pointer only (licence: NONE) · get_code("7717d79ee33c28b6")
How it ran

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

compute_perplexity Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/evaluate_perplexity.py
pointer only (licence: NONE) · get_code("4ad76a6cbd937093")
How it ran

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

create_fold_config Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/train_all_valid_folds_rc.py
pointer only (licence: NONE) · get_code("2e9400ddf1ec993c")
How it ran

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

extract_accuracies Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/aggregate_blimp.py
pointer only (licence: NONE) · get_code("d7b260b224a45810")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_fold_models Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/evaluate_all_folds.py
pointer only (licence: NONE) · get_code("4703812d5773c6ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_fold_models Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/evaluate_all_folds_rc.py
pointer only (licence: NONE) · get_code("a26f4b26c3caf66d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_result_json Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/aggregate_blimp.py
pointer only (licence: NONE) · get_code("24262e7406e647c5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_valid_folds Ran
ran, honoured the contract we drafted
osekilab/RE-GPE/src/reverse_engineering/evaluate_baseline.py
pointer only (licence: NONE) · get_code("114cdeafdc690f30")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_valid_folds Ran
ran, honoured the contract we drafted
osekilab/RE-GPE/src/reverse_engineering/evaluate_baseline_rc.py
pointer only (licence: NONE) · get_code("6ec88b90f57eb621")
How it ran

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

fmt_pre_ppl Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/generate_appendix_table.py
pointer only (licence: NONE) · get_code("b3063cb248ef84eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_available_folds Ran
ran, honoured the contract we drafted
osekilab/RE-GPE/src/reverse_engineering/train_all_valid_folds.py
pointer only (licence: NONE) · get_code("681548dac6c5cff7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_available_folds Ran
ran, honoured the contract we drafted
osekilab/RE-GPE/src/reverse_engineering/train_all_valid_folds_rc.py
pointer only (licence: NONE) · get_code("535c51c2486286c7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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_and_tokenize_corpus Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/evaluate_perplexity.py
pointer only (licence: NONE) · get_code("6d943b567d0b2e83")
How it ran

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

ppl_stats Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
osekilab/RE-GPE/src/reverse_engineering/generate_appendix_table.py
pointer only (licence: NONE) · get_code("cf9666aeff02a8a6")
How it ran

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

run_training Ran
ran, violated the contract we drafted
osekilab/RE-GPE/src/reverse_engineering/train_all_valid_folds.py
pointer only (licence: NONE) · get_code("3f9386d693a17e4e")
How it ran

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

run_training Ran
ran, violated the contract we drafted
osekilab/RE-GPE/src/reverse_engineering/train_all_valid_folds_rc.py
pointer only (licence: NONE) · get_code("25776e2afd2a6335")
How it ran

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

summarize Ran
ran; our contract draft was wrong, not the code
osekilab/RE-GPE/src/reverse_engineering/aggregate_blimp.py
pointer only (licence: NONE) · get_code("f9a7217d1b729cae")
How it ran

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

create_fold_config Not yet run
unverified (harvested, no recorded run)
osekilab/RE-GPE/src/reverse_engineering/train_all_valid_folds.py
pointer only (licence: NONE) · get_code("b6e4fe8da666b2e6")
How it ran

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

evaluate_fold Not yet run
unverified (harvested, no recorded run)
osekilab/RE-GPE/src/reverse_engineering/evaluate_all_folds.py
pointer only (licence: NONE) · get_code("2fc988b9b1b07647")
How it ran

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

evaluate_fold Not yet run
unverified (harvested, no recorded run)
osekilab/RE-GPE/src/reverse_engineering/evaluate_all_folds_rc.py
pointer only (licence: NONE) · get_code("e215c22dc050e5c0")
How it ran

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

evaluate_model_on_corpora Not yet run
unverified (harvested, no recorded run)
osekilab/RE-GPE/src/reverse_engineering/evaluate_perplexity.py
pointer only (licence: NONE) · get_code("3d845b22eb1d4397")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, osekilab/RE-GPE 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 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 21 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.

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

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

Abstract

Surprisal theory hypothesizes that the difficulty of human sentence processing increases linearly with surprisal, the negative logprobability of a word given its context. Computational psycholinguistics has tested this hypothesis using language models (LMs) as proxies for human prediction. While surprisal derived from recent neural LMs generally captures human processing difficulty on naturalistic corpora that predominantly consist of simple sentences, it severely underestimates processing difficulty on sentences that require syntactic disambiguation (garden-path effects). This leads to the claim that the processing difficulty of such sentences cannot be reduced to surprisal, although it remains possible that neural LMs simply differ from humans in nextword prediction. In this paper, we investigate whether it is truly impossible to construct a neural LM that can explain garden-path effects via surprisal. Specifically, instead of evaluating offthe-shelf neural LMs, we fine-tune these LMs on garden-path sentences so as to better align surprisal-based reading-time estimates with actual human reading times. Our results show that fine-tuned LMs do not overfit and successfully capture human reading slowdowns on held-out garden-path items; they even improve predictive power for human reading times on naturalistic corpora and preserve their general LM capabilities. These results provide an existence proof for a neural LM that can explain both garden-path effects and naturalistic reading times via surprisal, but also raise a theoretical question: what kind of evidence can truly falsify surprisal theory?

For agents

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

get_harvested_code_for_paper("2604.18293")
get_code_for_paper("2604.18293")
have("2604.18293")

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

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

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

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

Connect an agent — have() is free.