LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters! logo

LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters!

Free

Structure, not content, drives successful reasoning in LLMs.

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About LLMs Can Easily Learn to Reason from Demonstrations Structure, not content, is what matters!

This paper from February 2025, authored by Dacheng Li and 11 others, demonstrates that large language models (LLMs) can effectively learn long chain-of-thought (Long CoT) reasoning through data-efficient supervised fine-tuning (SFT) and parameter-efficient LoRA. Using only 17k Long CoT training samples, the Qwen2.5-32B-Instruct model achieves dramatic improvements on math and coding benchmarks (e.g., 56.7% on AIME 2024, up 40%; 57.0% on LiveCodeBench, up 8.1%), competitive with the proprietary o1-preview model. The key insight is that the structure of reasoning demonstrations matters far more than the content: perturbations that maintain logical consistency (e.g., training on incorrect answers) have minimal impact, while structural disruptions (e.g., shuffling steps) severely degrade performance. The paper's released model and code (Sky-T1-32B-Preview) are open-sourced.

Key Features

Data-efficient supervised fine-tuning (SFT) with only 17k long CoT training samples
Parameter-efficient low-rank adaptation (LoRA) for fine-tuning
Significant benchmark improvements: 56.7% on AIME 2024, 57.0% on LiveCodeBench
Competitive with proprietary o1-preview model
Open-source model and code (Sky-T1-32B-Preview)
Demonstrates that reasoning step structure is critical, not individual content

Pros & Cons

Pros
  • Achieves strong reasoning performance with very few (17k) training examples
  • Uses efficient LoRA fine-tuning, reducing computational cost
  • Outperforms many larger models and rivals proprietary o1-preview on math and coding tasks
  • Reveals important insight that reasoning structure matters more than content, guiding future training
  • Fully open-source model and code for reproducibility
Cons
  • Limited evaluation to Qwen2.5-32B base model; generalizability to other architectures unknown
  • Requires generation of long chain-of-thought demonstrations, which may be complex to create
  • Performance on non-math/coding reasoning tasks not extensively tested

Best For

Math problem solving (benchmarks: AIME, math)Coding and algorithm challenges (benchmarks: LiveCodeBench)Research on reasoning mechanisms in LLMsTraining more efficient reasoning models with limited data

FAQ

What is the main finding of this paper?
The paper finds that LLMs can learn long chain-of-thought reasoning from only 17k demonstrations, and that the structure (logical order) of reasoning steps is critical, while the content of individual steps has minimal impact.
What model and data are used?
The base model is Qwen2.5-32B-Instruct, fine-tuned with supervised fine-tuning (SFT) and LoRA on 17k long CoT training samples.
How does the model compare to proprietary models?
The fine-tuned model achieves 56.7% on AIME 2024 (vs. o1-preview's 44.6%) and 57.0% on LiveCodeBench (vs. o1-preview's 59.1%), showing competitive performance.
Is the code and model available?
Yes, the code and Sky-T1-32B-Preview model are open-sourced and linked in the paper.