MetaLadder: Ascending Mathematical Solution Quality via Analogical-Problem Reasoning Transfer

Honglin Lin, Zhejun Pan, Qizhi Pei, Xin Gao, Li Yu, Mengzhang Cai, Conghui He, Lijun Wu

Abstract

Large Language Models (LLMs) have demonstrated promising capabilities in solving mathematical reasoning tasks, leveraging Chain-of-Thought (CoT) data as a vital component in guiding answer generation. Current paradigms typically generate CoT and answers directly for a given problem, diverging from human problem-solving strategies. Humans often solve problems by recalling analogous cases and leveraging their solutions to reason about the current task. Inspired by this cognitive process, we propose MetaLadder, a novel framework that explicitly prompts LLMs to recall and reflect on meta-problems—structurally or semantically analogical problems—alongside their CoT solutions before addressing the target problem. Additionally, we introduce a problem-restating mechanism to enhance the model's comprehension of the target problem. Extensive experiments demonstrate that MetaLadder significantly boosts problem-solving accuracy, outperforming standard CoT-based methods by up to 10.3%.

Introduction

While LLMs have become proficient at mathematical reasoning using Chain-of-Thought (CoT) prompting, their approach remains fundamentally different from human cognition. Current fine-tuning paradigms typically follow a rigid $Problem \rightarrow CoT \rightarrow Answer$ flow, treating every question as an isolated instance. In contrast, humans solve challenging problems by searching their mental "library" for similar cases they’ve solved before—a process known as analogical reasoning transfer.

Existing LLMs struggle to transfer learned reasoning patterns across structurally similar but semantically different problems. MetaLadder aims to bridge this gap by internalizing the human-like "stand on the shoulders of past experience" strategy directly into the model's training data, transforming the linear CoT process into a multi-step "reasoning ladder."

The MetaLadder Framework

The core of the MetaLadder framework is the transformation of standard mathematical datasets into a complex, reflective sequence. This sequence is designed to teach the model not just the solution, but the underlying strategy and its relationship to similar problems.

Reflective Data Generation

Using a teacher model (e.g., GPT-4o-mini), standard math datasets like GSM8K and MATH are augmented into a sequence comprising:

  1. Target Problem ($Q$): The original question.
  2. Strategy ($S$): An analysis of the problem type and the required solution method.
  3. Analogous Problem ($Q'$): A structurally similar "meta-problem" with different parameters.
  4. Analogy Solution ($C'$): The step-by-step solution to the meta-problem.
  5. Restatement ($Q$): A rephrasing of the original target problem to ensure comprehension after the analogy phase.
  6. Final Solution ($C$): The CoT solution to the target problem.
Comparison of Standard Training vs. MetaLadder Training, illustrating the multi-step reasoning sequence including problem strategy, analogous problems, and restatement.

Analogical Self-evolution and Shortcut Inference

MetaLadder incorporates an Analogical Self-evolution phase where the model generates its own analogous problems, which are filtered and fed back into training. To address computational costs during deployment, the authors propose Shortcut Inference ($Q \rightarrow S \rightarrow Q \rightarrow C$). Interestingly, skipping the explicit generation of the analogy ($Q'C'$) during inference actually improves performance, suggesting the model internalizes the reasoning schema during training.

Results and Analysis

The framework was evaluated on several benchmarks, including GSM8K, MATH, and out-of-distribution (OOD) sets like ASDiv and College Math (CM).

Performance Gains

MetaLadder-trained models show significant accuracy boosts. For instance, on DeepSeekMath-7B, MetaLadder improved average accuracy by 10.3 percentage points (from 47.3% to 57.6%). LLaMA3-8B also saw a 6.7-point average improvement, with a notable 12.4% gain on GSM8K.

Performance comparison between AugCoT and AugCoT-MetaLadder across various mathematical benchmarks, showing consistent accuracy improvements.

Key Insights

  • Internalizing the "Library": Training on the $QSQ'C'QC$ sequence allows the model to learn the relationship between problem types and strategies rather than just memorizing solutions.
  • The Power of Restatement: Forcing a problem restatement acts as a "comprehension check," preventing distraction by the meta-problem's details.
  • Cross-Domain Generalization: MetaLadder-trained models are significantly better at handling "unseen" problem types, solving 9.3% more OOD cases than vanilla CoT models.

Conclusion

MetaLadder demonstrates that explicitly teaching LLMs to use analogical reasoning—resembling human cognitive processes—leads to more robust mathematical problem-solving. By structuring training data as a "reasoning ladder" and utilizing self-evolution, models can better generalize across diverse mathematical domains. Future work will explore self-correction mechanisms to further refine the quality of generated meta-problems.

Summary updated

BibTeX
@misc{lin2025metaladder,
  author = {Honglin Lin and Zhejun Pan and Qizhi Pei and Xin Gao and Li Yu and Mengzhang Cai and Conghui He and Lijun Wu},
  title = {{MetaLadder: Ascending Mathematical Solution Quality via Analogical-Problem Reasoning Transfer}},
  year = {2025},
  eprint = {2503.14891},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.14891},
}
Figure