about
Q*: Improving Multi-Step Reasoning for LLMs with Deliberative Planning (arxiv.org)
34 points by marcelmarais on Jun 21, 2024 | hide | past | pdf | 3 comments on HN

In plain words: A small helper model scores each next reasoning step by the reward it should bring, then steers the main model toward the best one, like planning ahead in a game. This beat step-by-step writing on math and coding problems without retraining the main model.

Abstract · Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planning

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.

Chaojie Wang, Yanchen Deng, Zhiyi Lyu, Liang Zeng, Jujie He, Shuicheng Yan, Bo An
arXiv:2406.14283 · cs.AI · submitted Jun 20, 2024 · updated Jul 22, 2024
abstract · pdf · html

add comment on HN

No this has nothing to do with OpenAI Q*.
Got my hopes up for a second!
Same! I was wondering why it hadn't blown up on front-page haha