RATIONALYST: Pre-training Process-Supervision for Improving Reasoning

Dongwei Jiang, Guoxuan Wang, Yining Lu, Andrew Wang, Jingyu Zhang, Chuyu Liu, Benjamin Van Durme, Daniel Khashabi · OpenReview

Abstract

Large Language Models (LLMs) often exhibit "logical leaps" because they are trained on human-generated text where underlying rationales are frequently left implicit. We introduce RATIONALYST, a framework that mines these hidden logical connections from vast unlabeled datasets to provide automated process supervision. By extracting 79,000 high-quality rationales from web-scale data (The Pile) and reasoning datasets, and fine-tuning a LLaMA-3-8B model, we achieve a 3.9% average accuracy boost across seven diverse reasoning benchmarks. RATIONALYST demonstrates superior performance compared to significantly larger verifiers like GPT-4, proving that web-scale pre-training for reasoning can effectively generalize across mathematical, commonsense, and scientific tasks.

The Challenge: The "Hidden Logic" of Human Communication

When humans communicate, we rarely articulate every step of a logical chain. We omit "obvious" connections, leaving them implicit. LLMs, trained to mimic this text, inherit these gaps. During Chain-of-Thought (CoT) reasoning, these missing links can lead to brittle logic or hallucinations.

Figure 1: Comparison of implicit rationales in pre-training data versus their application during LLM inference to bridge logical gaps.

While process supervision—verifying each intermediate step—can mitigate this, it typically relies on expensive human annotations. RATIONALYST addresses this by asking: Can we automatically mine these unstated logical steps from existing unlabeled data?

The RATIONALYST Pipeline

The authors developed a three-stage unsupervised pipeline to generate a supervision signal from the web's "hidden logic":

  1. Rationale Extraction: A "teacher" LLM processes unlabeled text from sources like The Pile, inserting potential rationales between sentences to bridge logical gaps.
  2. Perplexity-Based Filtration: To ensure quality, rationales are filtered based on their predictive utility. If an inserted rationale significantly reduces the "perplexity" of the subsequent text (making the future text more predictable), it is deemed a valid logical bridge.
  3. Specialized Training: A LLaMA-3-8B model is fine-tuned on 79,000 of these validated rationales.
Figure 4: The RATIONALYST pipeline for extracting and filtering implicit rationales from diverse unlabeled sources using future text perplexity.

At inference time, RATIONALYST serves as a verifier. When an agent LLM proposes multiple candidate steps, RATIONALYST generates an implicit rationale for the context. The candidate that aligns most closely with this rationale is selected, guiding the model through complex multi-step problems.

Experimental Results

RATIONALYST was evaluated across seven benchmarks covering mathematical (GSM8K, MATH), commonsense (ECQA, HellaSwag), logical (ProofWriter), and scientific (ARC-Challenge, MMLU-Pro) reasoning.

  • Consistent Gains: The model improved reasoning accuracy by an average of 3.9%.
  • High-Difficulty Performance: Significant improvements were noted in challenging benchmarks like MMLU-Pro (+5.7%) and MATH (+4.5%).
  • Efficiency: The framework adds minimal overhead, increasing inference time by less than 5% when using optimized deployment tools like vLLM.
  • Generalization: Despite being an 8B parameter model, RATIONALYST outperformed larger verifiers, including GPT-4, on specific process supervision tasks.

Key Insights

  • Future-Text Perplexity as a Filter: This provides a robust, automated quality control mechanism, ensuring that the mined rationales are logically relevant without requiring human labels.
  • Universal Reasoning Skill: The ability to generalize from web text to scientific and logical tasks suggests that "implicit reasoning" is a foundational skill that can be transferred across domains.
  • Implicit Supervision Advantage: Using rationales as a "soft guide" to select candidates proved more robust than directly prompting the model with the rationale, which can be sensitive to minor imperfections in the generated logic.

Conclusion

RATIONALYST demonstrates that the logic required for robust process supervision is already present in web-scale data, albeit in an unstated form. By articulating and filtering these implicit rationales, we can significantly enhance the reasoning capabilities of LLMs without the need for massive human-annotated datasets. Future work will explore scaling this approach with larger teacher models and incorporating preference tuning to further refine the model's ability to distinguish valid logical paths.

Summary updated

BibTeX
@inproceedings{jiang2025rationalyst,
  author = {Dongwei Jiang and Guoxuan Wang and Yining Lu and Andrew Wang and Jingyu Zhang and Chuyu Liu and Benjamin Van Durme and Daniel Khashabi},
  title = {{RATIONALYST: Pre-training Process-Supervision for Improving Reasoning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=4iqJkCg63w},
}
Figure