CPL: Critical Plan Step Learning Boosts LLM Generalization in Reasoning Tasks

Tianlong Wang, Junzhe Chen, Xueting Han, Jing Bai · DOI

Introduction

While Large Language Models (LLMs) have achieved remarkable success in specific reasoning tasks like mathematics and coding, their ability to generalize across diverse domains remains a significant challenge. Often, a model fine-tuned heavily on mathematical problems excels in that specific area but fails to apply similar logical structures to scientific reasoning or programming challenges. Researchers from Microsoft, Peking University, and Tsinghua University have introduced Critical Plan Step Learning (CPL) to address this gap. CPL shifts the focus of reinforcement learning from task-specific solutions to high-level abstract plans, effectively teaching models how to think rather than just what to say.

The Challenge of Generalization

The authors identify two primary hurdles in current LLM reasoning:

  1. Task-Specific Action Spaces: Most reinforcement learning (RL) methods optimize "solution steps" (e.g., specific formulas or code snippets). These are inherently brittle and do not transfer well across different problem domains.
  2. Infinite Search Spaces: Unlike games with finite moves, LLMs operate in an infinite action space. Identifying "critical" reasoning steps—those that determine the success or failure of a solution—is computationally difficult.

Methods: Critical Plan Step Learning (CPL)

The CPL framework introduces two core innovations designed to foster generalization:

1. Plan-based Monte Carlo Tree Search (MCTS)

Instead of generating a solution directly, the model is prompted to create a high-level, step-by-step plan. For example, a plan might start with "Identify the chemical reaction type" before performing any calculations. CPL uses Monte Carlo Tree Search (MCTS) to explore this plan space, building a "plan tree" where nodes represent planning steps. Each step is assigned a value ($V$) based on its likelihood of leading to a correct final answer, allowing the model to evaluate diverse strategies.

The CPL framework: High-level abstract plans vs. task-specific solutions and the plan-based search process.

2. Step-level Advantage Preference Optimization (Step-APO)

Standard Direct Preference Optimization (DPO) typically compares entire responses. CPL introduces Step-APO, a more granular approach that integrates advantage estimates derived from MCTS. Rather than a simple binary "right vs. wrong" label, Step-APO weights the learning process by the relative advantage of one step over its alternatives. This enables the model to pinpoint "critical steps"—the pivotal moments in a reasoning chain that most significantly impact the final outcome.

Experimental Setup

To test the framework's generalization capabilities, the model (based on DeepSeekMath-7B) was trained exclusively on math-heavy datasets: GSM8K (grade school math) and MATH (competition-level problems). Evaluation was then conducted on several out-of-domain benchmarks:

  • HumanEval: Python coding tasks.
  • GPQA: Expert-level science questions.
  • ARC-C: School-level science challenges.
  • MMLU-STEM: STEM-focused multiple-choice questions.
  • BBH (Big-Bench Hard): Diverse and difficult reasoning tasks.

Key Results and Insights

The results demonstrate that training on high-level plans significantly enhances cross-domain performance. Despite being trained only on math, the CPL-enhanced model showed substantial gains across all benchmarks.

In-domain and Out-of-domain performance comparison between the DeepSeekMath-7B base model and the CPL-enhanced version.
  • In-Domain Success: The model achieved improvements of +10.5% on GSM8K and +6.5% on MATH.
  • Out-of-Domain Generalization: The most striking results were in non-math domains, with a +12.2% boost in HumanEval (coding) and an +8.6% increase in GPQA (science).

These findings suggest that while mathematical formulas are domain-specific, the meta-skill of planning—breaking down problems and identifying constraints—is task-agnostic and highly transferable.

Conclusion and Future Directions

CPL proves that focusing on critical planning steps rather than rote solution steps is a powerful strategy for building general-purpose reasoners. While the current implementation uses a fixed "Plan then Solve" format, future work may explore dynamic self-correction and more abstract "thought" structures. Additionally, reducing the computational overhead of test-time search remains an important goal for making these advanced reasoning capabilities more efficient for real-world applications.

Summary updated

BibTeX
@misc{wang2024cpl,
  author = {Tianlong Wang and Junzhe Chen and Xueting Han and Jing Bai},
  title = {{CPL: Critical Plan Step Learning Boosts LLM Generalization in Reasoning Tasks}},
  year = {2024},
  eprint = {2409.08642},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.08642},
}
Figure