FastMCTS: A Simple Sampling Strategy for Data Synthesis

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Li, Peiji, Lv, Kai, Shao, Yunfan, Ma, Yichuan, Li, Linyang, Zheng, Xiaoqing, Qiu, Xipeng, Guo, Qipeng
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916850802098176
author Li, Peiji
Lv, Kai
Shao, Yunfan
Ma, Yichuan
Li, Linyang
Zheng, Xiaoqing
Qiu, Xipeng
Guo, Qipeng
author_facet Li, Peiji
Lv, Kai
Shao, Yunfan
Ma, Yichuan
Li, Linyang
Zheng, Xiaoqing
Qiu, Xipeng
Guo, Qipeng
contents Synthetic high-quality multi-step reasoning data can significantly enhance the performance of large language models on various tasks. However, most existing methods rely on rejection sampling, which generates trajectories independently and suffers from inefficiency and imbalanced sampling across problems of varying difficulty. In this work, we introduce FastMCTS, an innovative data synthesis strategy inspired by Monte Carlo Tree Search. FastMCTS provides a more efficient sampling method for multi-step reasoning data, offering step-level evaluation signals and promoting balanced sampling across problems of different difficulty levels. Experiments on both English and Chinese reasoning datasets demonstrate that FastMCTS generates over 30\% more correct reasoning paths compared to rejection sampling as the number of generated tokens scales up. Furthermore, under comparable synthetic data budgets, models trained on FastMCTS-generated data outperform those trained on rejection sampling data by 3.9\% across multiple benchmarks. As a lightweight sampling strategy, FastMCTS offers a practical and efficient alternative for synthesizing high-quality reasoning data. Our code will be released soon.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11476
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FastMCTS: A Simple Sampling Strategy for Data Synthesis
Li, Peiji
Lv, Kai
Shao, Yunfan
Ma, Yichuan
Li, Linyang
Zheng, Xiaoqing
Qiu, Xipeng
Guo, Qipeng
Computation and Language
Synthetic high-quality multi-step reasoning data can significantly enhance the performance of large language models on various tasks. However, most existing methods rely on rejection sampling, which generates trajectories independently and suffers from inefficiency and imbalanced sampling across problems of varying difficulty. In this work, we introduce FastMCTS, an innovative data synthesis strategy inspired by Monte Carlo Tree Search. FastMCTS provides a more efficient sampling method for multi-step reasoning data, offering step-level evaluation signals and promoting balanced sampling across problems of different difficulty levels. Experiments on both English and Chinese reasoning datasets demonstrate that FastMCTS generates over 30\% more correct reasoning paths compared to rejection sampling as the number of generated tokens scales up. Furthermore, under comparable synthetic data budgets, models trained on FastMCTS-generated data outperform those trained on rejection sampling data by 3.9\% across multiple benchmarks. As a lightweight sampling strategy, FastMCTS offers a practical and efficient alternative for synthesizing high-quality reasoning data. Our code will be released soon.
title FastMCTS: A Simple Sampling Strategy for Data Synthesis
topic Computation and Language
url https://arxiv.org/abs/2502.11476