SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.18988 · ICLR · 2024

Markovian Transformers for Informative Language Modeling

Clark Barrett, Peter Chatain, Scott Viteri, Max Lamparth

arXiv · PDF · Open in the Atlas

Code that ran

15 of 16 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, 3 violated it and 0 have no contract verdict; 10 failures of our instrument; 1 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, measured 2026-11-24; 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/2404.18988.json · badge: /api/ran/2404.18988.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
scottviteri/MarkovianTraining canonical (classifier label)
classifier basis: census
14 ran · 1 no recorded run
scottviteri/markoviantraining canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
is_wiki_task Ran
ran, violated the contract we drafted
scottviteri/markoviantraining/src/evaluation.py
pointer only (licence: NONE) · get_code("9fec8df5c30712a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/markoviantraining 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_loss_balance_score Ran
ran, violated the contract we drafted
scottviteri/MarkovianTraining/src/plot_training_metrics.py
pointer only (licence: NONE) · get_code("589ec7d1d7e858cb")
How it ran

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

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/MarkovianTraining 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_best_run_for_task Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/perturbation_analysis.py
pointer only (licence: NONE) · get_code("0208a40593703fe6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/MarkovianTraining 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_crossing_point Ran
ran, violated the contract we drafted
scottviteri/MarkovianTraining/src/analyze_base_logprobs.py
pointer only (licence: NONE) · get_code("942512f0aa580026")
How it ran

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

format_hyperparameters_text Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/plot_training_metrics.py
pointer only (licence: NONE) · get_code("3d3a57146f3f5235")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/MarkovianTraining 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_nested_value Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/create_gp_smoothed_plot.py
pointer only (licence: NONE) · get_code("928bfd50df4e893a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/MarkovianTraining 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_nested_value Ran
ran, honoured the contract we drafted
scottviteri/MarkovianTraining/src/plot_training_metrics.py
pointer only (licence: NONE) · get_code("138168d2f06c61b3")
How it ran

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

gp_smooth_with_confidence Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/create_gp_smoothed_plot.py
pointer only (licence: NONE) · get_code("11bf31b09d63e7bc")
How it ran

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

import_log_file Ran
ran, honoured the contract we drafted
scottviteri/MarkovianTraining/src/plot_cot_answer_accuracy.py
pointer only (licence: NONE) · get_code("938a4c0257fde174")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/MarkovianTraining 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_eval_data Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/plot_alignment_scatter.py
pointer only (licence: NONE) · get_code("360a656c320a63f7")
How it ran

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

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

perturb_CoT Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/perturbation_analysis.py
pointer only (licence: NONE) · get_code("314a37061a9a7a21")
How it ran

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

save_evaluation_results Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/evaluate_cross_model.py
pointer only (licence: NONE) · get_code("5c41114c9559ce55")
How it ran

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

smooth_curve Ran
ran; our contract draft was wrong, not the code
scottviteri/MarkovianTraining/src/analyze_base_logprobs.py
pointer only (licence: NONE) · get_code("097f57d1b35cac5c")
How it ran

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

calculate_token_logprobs_with_context Not yet run
unverified (harvested, no recorded run)
scottviteri/MarkovianTraining/src/analyze_base_logprobs.py
pointer only (licence: NONE) · get_code("0068a24e80b41d46")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, scottviteri/MarkovianTraining 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 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 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 16 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-24.

Repositories linked to this paper

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

Abstract

Chain-of-Thought (CoT) reasoning often fails to faithfully reflect a language model's underlying decision process. We address this by introducing a Markovian language model framework with an autoencoder-style reasoning bottleneck: all information flowing from question to answer must pass through a boundedlength CoT, creating a bandwidth bottleneck analogous to the latent layer of an autoencoder. In practice, the KL penalty toward the pretrained distribution and the inductive biases of gradient descent discourage steganographic encoding, so the model learns to express its reasoning in natural-language steps from which the answer can be derived. We train this system with a GRPO-style policy gradient algorithm using parallel sampling, a frozen baseline CoT ′ , within-batch standardized advantages, and actor-reward (chain-rule) gradients. On QA tasks, Markovian training recovers most of the gains of a Non-Markovian GRPO variant while forcing the model to answer from the CoT alone (e.g., GSM8K: 19.6% → 57.1%; ARC-Challenge: 36.1% → 79.9%; on average within ≈3-4 pp of a Non-Markovian variant). Perturbation analyses across types and severities show that Markovian models incur systematically larger log-probability drops under CoT corruption than matched Non-Markovian baselines, indicating stronger causal reliance on the CoT. Cross-model evaluation confirms that learned CoTs generalize across architectures, suggesting they encode transferable reasoning steps rather than model-specific artifacts.

For agents

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

get_harvested_code_for_paper("2404.18988")
get_code_for_paper("2404.18988")
have("2404.18988")

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

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

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

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

Connect an agent — have() is free.