Interpretable Contrastive Monte Carlo Tree Search Reasoning

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Gao, Zitian, Niu, Boye, He, Xuzheng, Xu, Haotian, Liu, Hongzhang, Liu, Aiwei, Hu, Xuming, Wen, Lijie
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915080120041472
author Gao, Zitian
Niu, Boye
He, Xuzheng
Xu, Haotian
Liu, Hongzhang
Liu, Aiwei
Hu, Xuming
Wen, Lijie
author_facet Gao, Zitian
Niu, Boye
He, Xuzheng
Xu, Haotian
Liu, Hongzhang
Liu, Aiwei
Hu, Xuming
Wen, Lijie
contents We propose SC-MCTS*: a novel Monte Carlo Tree Search (MCTS) reasoning algorithm for Large Language Models (LLMs), significantly improves both reasoning accuracy and speed. Our motivation comes from: 1. Previous MCTS LLM reasoning works often overlooked its biggest drawback--slower speed compared to CoT; 2. Previous research mainly used MCTS as a tool for LLM reasoning on various tasks with limited quantitative analysis or ablation studies of its components from reasoning interpretability perspective. 3. The reward model is the most crucial component in MCTS, however previous work has rarely conducted in-depth study or improvement of MCTS's reward models. Thus, we conducted extensive ablation studies and quantitative analysis on components of MCTS, revealing the impact of each component on the MCTS reasoning performance of LLMs. Building on this, (i) we designed a highly interpretable reward model based on the principle of contrastive decoding and (ii) achieved an average speed improvement of 51.9% per node using speculative decoding. Additionally, (iii) we improved UCT node selection strategy and backpropagation used in previous works, resulting in significant performance improvement. We outperformed o1-mini by an average of 17.4% on the Blocksworld multi-step reasoning dataset using Llama-3.1-70B with SC-MCTS*. Our code is available at https://github.com/zitian-gao/SC-MCTS.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01707
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Interpretable Contrastive Monte Carlo Tree Search Reasoning
Gao, Zitian
Niu, Boye
He, Xuzheng
Xu, Haotian
Liu, Hongzhang
Liu, Aiwei
Hu, Xuming
Wen, Lijie
Computation and Language
Artificial Intelligence
We propose SC-MCTS*: a novel Monte Carlo Tree Search (MCTS) reasoning algorithm for Large Language Models (LLMs), significantly improves both reasoning accuracy and speed. Our motivation comes from: 1. Previous MCTS LLM reasoning works often overlooked its biggest drawback--slower speed compared to CoT; 2. Previous research mainly used MCTS as a tool for LLM reasoning on various tasks with limited quantitative analysis or ablation studies of its components from reasoning interpretability perspective. 3. The reward model is the most crucial component in MCTS, however previous work has rarely conducted in-depth study or improvement of MCTS's reward models. Thus, we conducted extensive ablation studies and quantitative analysis on components of MCTS, revealing the impact of each component on the MCTS reasoning performance of LLMs. Building on this, (i) we designed a highly interpretable reward model based on the principle of contrastive decoding and (ii) achieved an average speed improvement of 51.9% per node using speculative decoding. Additionally, (iii) we improved UCT node selection strategy and backpropagation used in previous works, resulting in significant performance improvement. We outperformed o1-mini by an average of 17.4% on the Blocksworld multi-step reasoning dataset using Llama-3.1-70B with SC-MCTS*. Our code is available at https://github.com/zitian-gao/SC-MCTS.
title Interpretable Contrastive Monte Carlo Tree Search Reasoning
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.01707