arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.07081cs.CLcs.AI
收藏

自引导语言模型

Self-Steering Language Models

Massachusetts Institute of Technology(麻省理工学院);Yale University(耶鲁大学)

Gabriel Grand, Joshua B. Tenenbaum, Vikash K. Mansinghka, Alexander K. Lew, Jacob Andreas

AI总结:

本文提出 DisCIPL 自引导方法,由 Planner 模型生成推理程序交由 Follower 模型执行,使小模型在受限生成任务上匹配甚至超越 GPT-4o 等大模型,实现高效且可验证的推理。

摘要:

尽管测试时推理使语言模型(LMs)能够处理复杂任务,但在自然语言中进行搜索或规划可能缓慢、昂贵且容易出错。然而,即使 LMs 难以模拟解决问题所需的精确推理步骤,它们通常也擅长描述其抽象结构——包括如何验证解以及如何搜索解。本文提出了 DisCIPL,一种“自引导” LMs 的方法,其中 Planner 模型生成特定任务的推理程序,由一组 Follower 模型执行。我们的方法赋予 LMs 编写递归搜索程序的能力,以引导 LM 推理,从而实现新形式的可验证且高效的推理。当使用小型 Follower(例如 Llama-3.2-1B 或 Qwen3-1.7B)实例化时,DisCIPL 在具有挑战性的受限生成任务上匹配(有时甚至优于)包括 GPT-4o 和 o1 在内的更大模型。我们的工作开辟了高度并行化的 Monte Carlo 推理策略的设计空间,这些策略优于标准的 best-of-N 采样,无需微调,并且可由现有的 LMs 自动实现。

英文摘要:

While test-time reasoning enables language models (LMs) to tackle complex tasks, searching or planning in natural language can be slow, costly, and error-prone. But even when LMs struggle to emulate the precise reasoning steps needed to solve a problem, they often excel at describing its abstract structure--both how to verify solutions and how to search for them. This paper introduces DisCIPL, a method for "self-steering" LMs where a Planner model generates a task-specific inference program that is executed by a population of Follower models. Our approach equips LMs with the ability to write recursive search procedures that guide LM inference, enabling new forms of verifiable and efficient reasoning. When instantiated with a small Follower (e.g., Llama-3.2-1B or Qwen3-1.7B), DisCIPL matches (and sometimes outperforms) much larger models, including GPT-4o and o1, on challenging constrained generation tasks. Our work opens up a design space of highly-parallelized Monte Carlo inference strategies that outperform standard best-of-N sampling, require no finetuning, and can be implemented automatically by existing LMs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑