arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.24140cs.AI
收藏

HyperGuide: 用于大型语言模型高效多步推理的双曲引导

HyperGuide: Hyperbolic Guidance for Efficient Multi-Step Reasoning in Large Language Models

Department of Computer Science(计算机科学系);Stony Brook University(石英布鲁克大学);Department of Applied Mathematics and Statistics(应用数学与统计学系);Yale University(耶鲁大学);Department of Data Science(数据科学系);New Jersey Institute of Technology(新泽西理工学院);Department of Biomedical Informatics(生物医学信息学系)

Yuyu Liu, Haotian Xu, Yanan He, Sarang Rajendra Patil, Mengjia Xu, Tengfei Ma

AI总结:

针对多步推理中单次生成效率高但精度低、树搜索计算量大的问题,提出通过将推理进度蒸馏为双曲几何信号来引导逐步生成,利用双曲空间的距离和角度特性编码解接近度与分支区分,训练轻量头投影隐状态并微调适配器,在多个基准上取得一致提升。

摘要:

多步推理仍然是大型语言模型的一个核心挑战:单次生成效率高但缺乏准确性;树搜索方法探索多条路径但计算量大。我们通过将推理进度蒸馏为双曲几何信号来弥补这一差距,该信号引导逐步生成。我们的方法基于一个结构性观察:在组合推理树中,包含解的状态很少,而死胡同则呈指数级多。双曲空间匹配这种不对称性,原点附近体积紧凑,向边界指数扩展,因此到原点的距离自然地编码解的接近度,而角度分离则区分需要不同下一步操作的分支。我们训练一个轻量头将LLM的隐状态投影到该空间,然后在其自身的推理尝试上交互式地微调一个低秩适配器,以对注入的信号做出反应。在多个基准上,该几何信号带来一致的提升,在更深推理链上改进更大。我们的代码公开在 https://github.com/yuyuliu11037/HyperGuide。

英文摘要:

Searching over alternative continuations lets large language models (LLMs) compare the downstream consequences of a reasoning step before committing to it, but expanding and evaluating many branches makes inference expensive. Training value models to score intermediate steps does not avoid this cost, as they still rank candidates at inference time. We introduce HyperGuide, a framework that treats reasoning as movement through a tree of states embedded in hyperbolic space. HyperGuide first trains a state encoder on the Poincar'e ball, then trains a guidance head to predict the direction of a minimum-cost transition from the current state. The predicted direction is inserted into the decoder as a virtual token after each reasoning step, so inference follows a single autoregressive trajectory without expanding or reranking candidates. Because the supervision is ordinal rather than binary, it favors continuations that are both reliable and short, which steers generation toward successful, concise solutions. Experiments on competition mathematics and code generation show that HyperGuide matches or exceeds the accuracy of search- and verifier-based baselines while generating substantially fewer tokens than these baselines and about as many as few-shot prompting.

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

↑