Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Chaojie, Deng, Yanchen, Lyu, Zhiyi, Zeng, Liang, He, Jujie, Yan, Shuicheng, An, Bo
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2406.14283
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910536451489792
author Wang, Chaojie
Deng, Yanchen
Lyu, Zhiyi
Zeng, Liang
He, Jujie
Yan, Shuicheng
An, Bo
author_facet Wang, Chaojie
Deng, Yanchen
Lyu, Zhiyi
Zeng, Liang
He, Jujie
Yan, Shuicheng
An, Bo
contents Large Language Models (LLMs) have demonstrated impressive capability in many natural language tasks. However, the auto-regressive generation process makes LLMs prone to produce errors, hallucinations and inconsistent statements when performing multi-step reasoning. In this paper, by casting multi-step reasoning of LLMs as a heuristic search problem, we aim to alleviate the pathology by introducing Q*, a general, versatile and agile framework for guiding LLMs decoding process with deliberative planning. By learning a plug-and-play Q-value model as heuristic function for estimating expected future rewards, our Q* can effectively guide LLMs to select the most promising next reasoning step without fine-tuning LLMs for the current task, which avoids the significant computational overhead and potential risk of performance degeneration on other tasks. Extensive experiments on GSM8K, MATH and MBPP demonstrate the superiority of our method, contributing to improving the reasoning performance of existing open-source LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2406_14283
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planning
Wang, Chaojie
Deng, Yanchen
Lyu, Zhiyi
Zeng, Liang
He, Jujie
Yan, Shuicheng
An, Bo
Artificial Intelligence
Large Language Models (LLMs) have demonstrated impressive capability in many natural language tasks. However, the auto-regressive generation process makes LLMs prone to produce errors, hallucinations and inconsistent statements when performing multi-step reasoning. In this paper, by casting multi-step reasoning of LLMs as a heuristic search problem, we aim to alleviate the pathology by introducing Q*, a general, versatile and agile framework for guiding LLMs decoding process with deliberative planning. By learning a plug-and-play Q-value model as heuristic function for estimating expected future rewards, our Q* can effectively guide LLMs to select the most promising next reasoning step without fine-tuning LLMs for the current task, which avoids the significant computational overhead and potential risk of performance degeneration on other tasks. Extensive experiments on GSM8K, MATH and MBPP demonstrate the superiority of our method, contributing to improving the reasoning performance of existing open-source LLMs.
title Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planning
topic Artificial Intelligence
url https://arxiv.org/abs/2406.14283