RePro: Training Language Models to Faithfully Recycle the Web for Pretraining
Abstract
Lay Summary
Today's large language models learn from huge amounts of text scraped from the open web, but the supply of high-quality text is running out. Researchers can rewrite low-quality web pages into cleaner training material, but the standard recipe leans on a giant, expensive AI model to do the rewriting, and the rewrites often drift away from what the original page actually said. We built RePro, a small AI rewriter trained with reinforcement learning, where the rewriter receives rewards on its own outputs and gradually improves to produce better ones. Each candidate rewrite is scored on two things: whether it reads as higher quality, and whether it stays faithful to the original in meaning, structure, and length. A rewriter just 1 billion parameters in size, trained this way, turns low-quality web text into clean material that a language model can actually learn from. Despite being roughly 87 times faster than the leading alternative, RePro doubles its accuracy gains across 22 reading, reasoning, and knowledge tests, and even beats baselines that have access to four times more raw web text. Faithful, efficient rewriting can keep stretching the limited supply of human-written text, pointing to a sustainable path for scaling the next generation of frontier models.