Understanding Reasoning from Pretraining to Post-Training

Jingyan Shen, Ang Li, Salman Rahman, Yifan Sun, Micah Goldblum, Matus Telgarsky, Pavel Izmailov

arXiv:2607.16097 · 2026-07-20 공개 · arXiv · PDF

reinforcement-learning language-models supervised-fine-tuning scaling-laws reasoning pretraining rl-post-training model-size

Abstract

Reinforcement learning (RL) has become central to improving large language models (LLMs) on complex reasoning tasks, yet RL post-training is largely studied in isolation from the pretraining that precedes it. As a result, two basic questions remain open: (1) how do pretraining choices (model size, data) shape the returns to RL compute, and (2) what does RL actually do to the model? These questions are difficult to study in the standard LLM setting: pretraining corpora are vast and uncontrolled, making it hard to attribute behaviors to pretraining versus RL, and systematic compute sweeps across both stages are prohibitively expensive. To address these challenges, we use chess as a controlled testbed for studying reasoning across the full pretraining-to-post-training pipeline. We follow the standard LLM training pipeline by pretraining language models from 5M to 1B parameters on human chess games, supervised fine-tuning on synthetic reasoning traces, and running RL on chess puzzles with verifiable rewards. Using this framework, we find that the post-RL performance at given RL compute level is well-predicted from the pretraining loss, and slope of the RL reward curves improves approximately linearly with the pretraining tokens. Beyond scaling, we find that RL does not simply sharpen the SFT policy: on easy puzzles it amplifies correct moves the SFT policy already preferred, while on hard puzzles it surfaces correct moves that were nearly absent under SFT. We further test whether our findings transfer beyond chess by training a 1B language model on math-domain text, where the same predictive pattern emerges: longer-pretrained checkpoints reach higher post-RL performance and improve faster under RL. In sum, we provide a quantitative account of the pretraining-to-RL interface and a controlled testbed for studying the science of reasoning across the full pretraining-to-post-training pipeline.

한국어 요약

한 줄 요약

체스를 사용한 제어된 실험 환경에서 사전학습과 강화학습의 상호작용을 정량적으로 분석하여, 사전학습 데이터량과 모델 규모가 강화학습 성능에 미치는 영향을 규명했다.

핵심 기여도

핵심 아이디어

기존 연구에서는 사전학습과 강화학습을 독립적으로 연구하는 경향이 있었으나, 이 연구는 두 단계가 어떻게 상호작용하는지를 체스라는 제어된 환경에서 분석했다. 체스는 행동 공간이 명확하고, 각 수의 품질을 엔진으로 정확히 평가할 수 있어, 사전학습과 강화학습의 영향을 분리해 분석하기에 적합하다. 연구팀은 5M에서 1B 파라미터 규모의 모델을 인간 체스 게임 데이터로 사전학습한 후, 합성 추론 추적(synthetic reasoning traces)으로 지도 학습(SFT)을 수행하고, 체스 퍼즐에서 강화학습을 진행했다. 이를 통해 사전학습 데이터량과 모델 규모가 강화학습 성능에 미치는 영향을 정량적으로 규명했다.

기술적 접근법

주요 결과

의의 및 한계

이 연구는 사전학습과 강화학습의 상호작용을 체계적으로 분석한 최초의 연구로, 두 단계 간의 최적 계산 배분을 위한 정량적 기반을 제공한다. 특히, 강화학습이 단순히 기존 정책을 날카롭게만 만들지 않고, 어려운 문제에서는 새로운 정답을 발견할 수 있음을 보여주어, 강화학습의 역할에 대한 새로운 통찰을 제시한다. 그러나 실험은 체스와 수학 도메인에 제한되었으며, 자연어 추론 등 다른 도메인으로의 일반화 가능성은 추가 연구가 필요하다. 또한, 강화학습이 잘못된 정답을 강화하는 경향이 있어, 이에 대한 제어 방법 연구가 필요하다.

실용적 활용

이 연구는 대규모 언어 모델의 학습 전략 설계에 실용적 가치를 제공한다. 예를 들어, 사전학습 토큰 수와 모델 규모를 늘리는 데 투자할지, 또는 강화학습에 더 많은 계산 자원을 할당할지 결정하는 데 도움을 줄 수 있다. 또한, 체스와 수학 도메인에서의 실험 환경은 다른 추론 도메인에서도 유사한 연구를 수행하는 데 활용될 수 있다.