通过搜索元推理骨架来指导大语言模型推理
Searching Meta Reasoning Skeleton to Guide LLM Reasoning
AI总结:
本文提出AutoMR框架,通过图表示搜索查询感知的元推理骨架,提升大语言模型推理性能。
摘要:
元推理行为作为骨架指导大型语言模型(LLM)推理,从而帮助提高推理性能。然而,先前研究使用手动设计的结构实现元推理骨架,限制了其适应查询特定需求和捕捉推理步骤间复杂逻辑依赖的能力。为解决这些挑战,我们用有向无环图(DAG)表示元推理骨架,统一了先前工作中的骨架并建模复杂逻辑依赖。然后我们提出AutoMR框架,通过受自动化机器学习(AutoML)启发自动搜索查询感知的元推理骨架。具体来说,我们基于骨架的DAG表示构建搜索空间,然后制定搜索问题。我们设计了一种动态骨架采样算法,在推理时扩展元推理骨架以适应推理上下文。该算法可以高效地推导搜索空间中的任何元推理骨架,并使骨架适应演化的基础推理上下文,从而实现高效的查询感知骨架搜索。我们在广泛的基准数据集上进行了实验。实验结果表明,AutoMR在广泛范围内优于先前的工作。
英文摘要:
Meta reasoning behaviors work as a skeleton to guide large language model (LLM) reasoning, thus help to improve reasoning performance. However, prior researches implement meta reasoning skeleton with manually designed structure, limiting ability to adapt to query-specific requirement and capture intricate logical dependency among reasoning steps. To deal with the challenges, we represent meta reasoning skeleton with directed acyclic graph (DAG) to unify skeletons proposed in prior works and model intricate logical dependency. Then we propose AutoMR, a framework that searches for query-aware meta reasoning skeleton automatically inspired by automated machine learning (AutoML). Specifically, we construct search space based on DAG representation of skeleton and then formulate the search problem. We design a dynamic skeleton sampling algorithm by expanding meta reasoning skeleton along with reasoning context at inference time. This algorithm can derive any meta reasoning skeleton in search space efficiently and adapt skeleton to evolving base reasoning context, thus enable efficient query-aware skeleton search. We conduct experiments on extensive benchmark datasets. Experimental results show that AutoMR achieves better reasoning performance than previous works broadly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。