Understanding the Role of Reasoning Data in Pretraining

Jianhao Huang, Allan Zhang, Ali Payani, Baharan Mirzasoleiman
11/14/2026
cs.LGcs.AI
transformer-attention

No confident code implementation found for this paper.

Abstract

Reasoning data expose models to multi-step reasoning, but reasoning traces may cover only a subset of the available facts. How should pretraining balance atomic facts with reasoning traces?

Show full abstract

We study this question by constructing a setting in which every fact provides an atomic training signal, while only a subset appears in reasoning supervision, enabling us to measure generalization to transitions observed atomically but never used in training traces. For a linear transformer, we derive the weight assigned to atomic training signals that minimizes held-transition squared error and show that its leading-order optimum increases with reasoning-chain length and decreases with the fraction of facts held out from reasoning traces. These trends persist in a full transformer layer with an MLP, softmax attention, and cross-entropy loss. We further validate the role of reasoning complexity and data coverage in two natural-language settings: controlled multi-hop reasoning and mathematical pretraining. Together, our results provide a principled view of how reasoning-chain structure and data coverage should shape the allocation of training data during pretraining.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2026understanding,
  title  = {Understanding the Role of Reasoning Data in Pretraining},
  author = {Jianhao Huang and Allan Zhang and Ali Payani and Baharan Mirzasoleiman},
  year   = {2026},
  eprint = {2611.19042},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.19042v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.19042.svg)](https://codeofpaper.com/paper/2611.19042)

Discussion