# rStar-Math: Self-evolved MCTS for mathematical reasoning

> rStar-Math co-evolves a 7B policy and process reward model over four rounds. MCTS generates stepwise trajectories and step preferences train the verifier, reaching 58.8% on MATH without GPT-4 distillation.

- URL: https://dmxsf.com/en/blog/rstar-math/
- [DMXSF](https://dmxsf.com/en/about/)
- Published: 2025-01-18
- Updated: 2026-11-13
- Paper notes
- Paper: [rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking](https://arxiv.org/abs/2501.04519) (Xinyu Guan, Li Lyna Zhang, Yifei Liu, et al. · arXiv, 2025)

rStar-Math combines a 7B model, Monte Carlo Tree Search and a process reward model for mathematical reasoning. Rather than distilling final answers from a stronger model, it improves policy and verifier through repeated self-evolution.

## How it works

MCTS expands reasoning steps as tree nodes and estimates continuation value through rollouts. Pairwise step preferences train the process reward model, which guides search and trajectory selection. Four rounds progressively improve difficult-problem coverage and trajectory quality.

## What the evidence shows

The reported 7B model reaches 58.8% on MATH and 26.7% average on AIME 2024 with maj@8. These figures combine synthetic training and test-time search, so they are not single greedy-decoding measurements.

## A reproducible check

This snippet checks a public formula or configuration; it does not reproduce full training.

```python
candidates = [0.2, 0.5, 0.8, 0.4]
visits = [10, 20, 30, 40]
total = sum(visits)
weights = [v / total for v in visits]
print("normalized visit policy =", weights)
print("selected step =", max(range(4), key=lambda i: weights[i]) + 1)
print("MATH reported =", 58.8)
```

```text
normalized visit policy = [0.1, 0.2, 0.3, 0.4]
selected step = 4
MATH reported = 58.8
```

The arithmetic is reproducible, but model quality still depends on the full experiments in the paper.

## Limitations and common misreadings

MCTS and repeated sampling add inference cost. Verifiable mathematics supplies terminal rewards more easily than open-ended tasks, while self-evolution can reinforce shared errors and step preferences are not formal proof verification.

## The key takeaway

The advance is a closed loop among policy, process verifier, search and data iteration, not a claim that small parameters alone create the improvement.

## Further reading

- [rStar-Math: Small LLMs Can Master Math Reasoning with Self-Evolved Deep Thinking](https://arxiv.org/abs/2501.04519)
- [Process reward models](https://dmxsf.com/en/blog/lets-verify-step-by-step/)
- [Test-time compute](https://dmxsf.com/en/blog/scaling-llm-test-time-compute-optimally-can-be-more-effective-than-scaling-model-parameters/)

## FAQ

### What does MCTS do in rStar-Math?

It searches stepwise reasoning trajectories and uses the process reward model to select steps and training data.

### Does it distill GPT-4?

The paper emphasizes self-evolution rather than GPT-4 distillation.

### Is 58.8% a single-response score?

No such interpretation should be assumed; the method includes synthetic training and test-time search.
