potentialpaper

Procedural Pretraining: Warming Up Language Models with Abstract Data

Liangze Jiang, Zachary Shinnick, Anton van den Hengel, Hemanth Saratchandran, Damien Teney

ICML 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Pretraining on rich web-scale corpora is the de facto paradigm for building language models. We study an alternative setting where the model is initially exposed to abstract structured data, as a means to ease the subsequent acquisition of semantic knowledge, much like mastering logic and mathematics for humans can support higher reasoning. We specifically focus on procedural data generated by formal languages and other simple algorithms.

Method and findings. We first use small models to identify algorithmic skills that different forms of procedural data can improve, often significantly. For example, on a diagnostic task for context recall (Needle-in-a-haystack), the accuracy jumps from 10 to 98% when pretraining on Dyck sequences (balanced brackets).

Second, we study how these gains transfer from abstract to semantic domains in larger models. We find that procedural pretraining significantly improves performance on natural language, code, and informal mathematics (C4, CodeParrot, and DeepMind-Math datasets), using as little as 0.1% extra procedural data. Notably, procedural pretraining also enables models to reach the same loss value with only 55, 67, 86% of the original data of these datasets.

Third, we explore the mechanisms behind these effects. We find that procedural pretraining instils non-trivial structure in both attention and MLP layers, and that the former is particularly important for code datasets, the latter for language. We also lay a path for combining the benefits of different forms of procedural data.

Implications. Procedural pretraining is a remarkably simple means of improving performance and speeding up training for transformers. It ultimately suggests the possibility of disentangling the acquisition of knowledge from reasoning in LLMs.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
18 Sep 2025ICLR 2026submittedICLR 2026Rejected—[1]
22 Jan 2026ICML 2026submittedICML 2026Accepted · spotlight—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…