BPP-Search: Enhancing Tree of Thought Reasoning for Mathematical Modeling Problem Solving
Teng Wang, Wing-Yin Yu, Zhenqi He, Zehua Liu, Hailei Gong, Han Wu, Xiongwei Han, Wei Shi, Ruifeng She, Fangzhou Zhu, Tao Zhong
TL;DR
This work tackles the gap in open-source operations research datasets by introducing StructuredOR, a dataset that provides not only objective values but full annotations of the modeling process to enable reinforcement learning-based reasoning. It then presents BPP-Search, a novel algorithm that combines Beam Search, a Process Reward Model (PRM), and a Pairwise Preference model to efficiently navigate Tree-of-Thought reasoning for mathematical modeling tasks. Across StructuredOR, NL4OPT, and MAMO-ComplexLP, BPP-Search demonstrates higher accuracy with fewer reasoning steps than state-of-the-art baselines, addressing both correctness and computational efficiency. The approach advances RL-enabled mathematical modeling in OR and offers a scalable framework for robust final-candidate selection in ToT, with practical implications for automated problem solving in logistics, scheduling, and networks. The work also discusses trade-offs in tree structure and the gap between LLM capability and OR problem scale, guided by a standardized data format and extensive ablations.
Abstract
LLMs exhibit advanced reasoning capabilities, offering the potential to transform natural language questions into mathematical models. However, existing open-source datasets in operations research domain lack detailed annotations of the modeling process, such as variable definitions, focusing solely on objective values, which hinders reinforcement learning applications. To address this, we release the StructuredOR dataset, annotated with comprehensive labels that capture the complete mathematical modeling process. We further propose BPP-Search, an algorithm that integrates reinforcement learning into a tree-of-thought structure using Beam search, a Process reward model, and a pairwise Preference algorithm. This approach enables efficient exploration of tree structures, avoiding exhaustive search while improving accuracy. Extensive experiments on StructuredOR, NL4OPT, and MAMO-ComplexLP datasets show that BPP-Search significantly outperforms state-of-the-art methods. In tree-based reasoning, BPP-Search excels in accuracy and efficiency, enabling faster retrieval of correct solutions. The StructuredOR dataset is available on Huggingface https://huggingface.co/datasets/LLM4OR/StructuredOR and GitHub https://github.com/LLM4OR/StructuredOR.
