动态构建紧凑动作空间,提升大模型复杂问题推理效率
DynaAct: Large Language Model Reasoning with Dynamic Action Spaces
- 用大模型从多样化问题中提取通用动作草图,自动生成动作空间
- 在6个基准上显著提升性能,推理延迟几乎无增加
- 适合需要高效决策的复杂任务场景,如智能规划与自动推理
在现代序列决策系统中,构建最优候选动作空间对高效推理至关重要。然而,现有方法要么依赖人工定义的动作空间,缺乏可扩展性;要么使用无结构空间,导致穷举搜索计算成本过高。本文提出名为 extsc{DynaAct} 的新框架,通过大语言模型从涵盖多样复杂推理问题的语料库中提取通用动作草图,自动构建紧凑的动作空间,以增强复杂问题求解中的序列推理能力。我们设计了一个联合评估候选动作的子模函数,综合考量其对当前状态的效用与多样性,并采用贪心算法选出最优候选集。在六个不同标准基准上的大量实验表明,该方法显著提升了整体性能,同时保持高效推理且未引入显著延迟。代码已开源:https://github.com/zhaoxlpku/DynaAct。
原文摘要 · Abstract (English)
In modern sequential decision-making systems, the construction of an optimal candidate action space is critical to efficient inference. However, existing approaches either rely on manually defined action spaces that lack scalability or utilize unstructured spaces that render exhaustive search computationally prohibitive. In this paper, we propose a novel framework named \textsc{DynaAct} for automatically constructing a compact action space to enhance sequential reasoning in complex problem-solving scenarios. Our method first estimates a proxy for the complete action space by extracting general sketches observed in a corpus covering diverse complex reasoning problems using large language models. We then formulate a submodular function that jointly evaluates candidate actions based on their utility to the current state and their diversity, and employ a greedy algorithm to select an optimal candidate set. Extensive experiments on six diverse standard benchmarks demonstrate that our approach significantly improves overall performance, while maintaining efficient inference without introducing substantial latency. The implementation is available at https://github.com/zhaoxlpku/DynaAct.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。