SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2510.10681 · ICML · 2025

RePro: Training Language Models to Faithfully Recycle the Web for Pretraining

Chenyan Xiong, Zichun Yu

arXiv · PDF · Open in the Atlas

Code that ran

15 of 17 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, 3 violated it and 0 have no contract verdict; 12 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2510.10681.json · badge: /api/ran/2510.10681.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
cxcscmu/RePro canonical (classifier label)
classifier basis: census
15 ran · 2 no recorded run
FunctionStatusWhere it lives
do_once Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/mappers/core_utils.py
pointer only (licence: NONE) · get_code("f81781e970831f36")
How it ran

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

factory_function Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/core/factory_utils.py
pointer only (licence: NONE) · get_code("63466964df9945fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_aggregated_results Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/eval/aggregated_metrics.py
pointer only (licence: NONE) · get_code("8f658ea2014771b8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_aggregator Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/core/factories.py
pointer only (licence: NONE) · get_code("5a857aa173b66cad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_transform Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/core/factories.py
pointer only (licence: NONE) · get_code("c22f387135336fa2")
How it ran

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

histogram Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/aggregators.py
pointer only (licence: NONE) · get_code("830a150f8d23852f")
How it ran

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

initialize_mapper Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/core/factory_utils.py
pointer only (licence: NONE) · get_code("c259a6af6d26a457")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_compressed Ran
ran, violated the contract we drafted
cxcscmu/RePro/pretrain/baselines/core/file_utils.py
pointer only (licence: NONE) · get_code("9e0723c9952cbf52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_factory Ran
ran, violated the contract we drafted
cxcscmu/RePro/pretrain/baselines/core/factory_utils.py
pointer only (licence: NONE) · get_code("e378c50a1a63c85f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_s3 Ran
ran, violated the contract we drafted
cxcscmu/RePro/pretrain/baselines/core/file_utils.py
pointer only (licence: NONE) · get_code("eabedfcf5a503e17")
How it ran

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

percentiles Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/aggregators.py
pointer only (licence: NONE) · get_code("77cf05a2c9609525")
How it ran

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

set_args_for_val Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/eval/eval_openlm_ckpt.py
pointer only (licence: NONE) · get_code("e67c82963b22e823")
How it ran

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

split_paragraphs Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/mappers/core_utils.py
pointer only (licence: NONE) · get_code("ef65c4b7a32dccc8")
How it ran

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

split_train_val Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/train_fasttext_classifier.py
pointer only (licence: NONE) · get_code("7aecd73638e7fe41")
How it ran

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

threshold_transform Ran
ran; our contract draft was wrong, not the code
cxcscmu/RePro/pretrain/baselines/aggregators.py
pointer only (licence: NONE) · get_code("97cc94f573da6893")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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_mapper Not yet run
unverified (harvested, no recorded run)
cxcscmu/RePro/pretrain/baselines/core/factories.py
pointer only (licence: NONE) · get_code("ca51ecf816ab03c9")
How it ran

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

split_sentences Not yet run
unverified (harvested, no recorded run)
cxcscmu/RePro/pretrain/baselines/mappers/core_utils.py
pointer only (licence: NONE) · get_code("c547a9e449d2b01b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, cxcscmu/RePro 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 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 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.

FunctionAlso present inEarliest-datedOthers named
set_args_for_val 1 other paper
1 dated earlier
2409.02060 (2024-09)
OLMoE: Open Mixture-of-Experts Language Models

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

High-quality pretraining data is the fossil fuel of large language models (LLMs), yet its reserves are running low for frontier models. In this paper, we introduce REPRO, a novel web recycling method that trains a relatively small LM with reinforcement learning to generate effective and faithful rephrasings of pretraining data. Specifically, we design one quality reward and three faithfulness rewards, optimizing the LM rephraser to convert organic data into high-quality rephrasings while maintaining its core semantics and structure. In our experiment, we train a 4B rephraser to recycle 72B tokens sampled from DCLM-RefinedWeb. Pretraining results on 400M and 1.4B models demonstrate that REPRO delivers 4.7%-14.0% relative accuracy gains over organic-only baseline on 22 downstream tasks. REPRO also outperforms ReWire, the state-of-the-art web recycling method that prompts a 70B rephraser, as well as the organic baseline with a 4× larger data pool. Experiments with different amounts of recycled data highlight that REPRO improves organic data efficiency by 2-3×. Individual and distributional analyses validate that REPRO preserves more critical information and faithfully reflects the characteristics of organic data compared to prompting-based methods. Together, these results show that REPRO provides an efficient and controllable path to effectively harness the "fossil fuel" of LLM pretraining. We open-source our code, rephraser, and recycled data at https://github.com/cxcscmu/RePro.

For agents

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

get_harvested_code_for_paper("2510.10681")
get_code_for_paper("2510.10681")
have("2510.10681")

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

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

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

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

Connect an agent — have() is free.