mlsanityData to 14 Oct 2026

Mining Hidden Thoughts from Texts: Evaluating Continual Pretraining with Synthetic Data for LLM Reasoning

arXiv 2505.10182 ↗First posted 15 May 2025cs.CL cs.LGcited by 6

On the map: LLM reasoning → Reasoning benchmarks and evaluation

also in 1 more
Abstract (arXiv)

Large Language Models (LLMs) have demonstrated significant improvements in reasoning capabilities through supervised fine-tuning and reinforcement learning. However, when training reasoning models, these approaches are primarily applicable to specific domains such as mathematics and programming, which imposes fundamental constraints on the breadth and scalability of training data. In contrast, continual pretraining (CPT) offers the advantage of not requiring task-specific signals. Nevertheless, how to effectively synthesize training data for reasoning and how such data affect a wide range of domains remain largely unexplored. This study provides a detailed evaluation of Reasoning CPT, a form of CPT that uses synthetic data to reconstruct the hidden thought processes underlying texts, based on the premise that texts are the result of the author's thinking process. Specifically, we apply Reasoning CPT to Gemma2-9B using synthetic data with hidden thoughts derived from STEM and Law corpora, and compare it to standard CPT on the MMLU benchmark. Our analysis reveals that Reasoning CPT consistently improves performance across all evaluated domains. Notably, reasoning skills acquired in one domain transfer effectively to others; the performance gap with conventional methods widens as problem difficulty increases, with gains of up to 8 points on the most challenging problems. Furthermore, models trained with hidden thoughts learn to adjust the depth of their reasoning according to problem difficulty.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 16 of its 37 references that are in the map. First posted on arXiv 15 May 2025.

Builds on

16 of 37 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Mutual Reasoning Makes Smaller LLMs Stronger Problem-Solvers12 Aug
  2. 2024Quiet-STaR: Language Models Can Teach Themselves to Think Before Speaking14 Mar

Other references · 14

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  5. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  6. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  7. 2025s1: Simple test-time scalingcited by 1,341
  8. 2024OpenAI o1 System Cardcited by 1,244
  9. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  10. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 991
  11. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
  12. 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 464
2 more
  1. 2025Optimizing Language Models for Inference Time Objectives using Reinforcement Learningcited by 53
  2. 2025Reasoning to Learn from Latent Thoughtscited by 45

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 5.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Procedural Knowledge in Pretraining Drives Reasoning in Large Language Models
  2. 2024Training Large Language Models to Reason in a Continuous Latent Space
  3. 2025Beyond Chains of Thought: Benchmarking Latent-Space Reasoning Abilities in Large Language Models
  4. 2025Advancing Reasoning in Large Language Models: Promising Methods and Approaches
  5. 2025Advancing Mathematical Reasoning in Language Models: The Impact of Problem-Solving Data, Data Synthesis Methods, and Training Stages
  6. 2025Reasoning Scaffolding: Distilling the Flow of Thought from LLMs
  7. 2025Shape of Thought: When Distribution Matters More than Correctness in Reasoning Tasks
  8. 2024On the Role of Model Prior in Real-World Inductive Reasoning