arXiv:2501.07054cs.AI2025-01被引 1

用双控机制提升大模型智能体的推理与代码执行质量

PoAct: Policy and Action Dual-Control Agent for Generalized Applications

论文配图:PoAct: Policy and Action Dual-Control Agent for Generalized Applications
图 1 · 摘自论文原文
  • 通过动态切换推理策略和调整动作空间来优化决策
  • 在LegalAgentBench上比基线提升20%且更省Token
  • 适合需要高精度推理与复杂动作调度的通用场景

基于大语言模型(LLM)的智能体框架在复杂推理任务中表现卓越。ReAct类智能体通过逐步规划和工具调用解决难题,但随着规划能力增强,其工具调用的动作常与复杂规划不匹配,且数据组织困难。代码动作(Code Action)虽能缓解此问题,却带来更复杂的动作空间和组织挑战。为此,本文提出政策与动作双控智能体(PoAct),通过动态切换推理策略并调整动作空间,提升代码动作质量与推理路径准确性。在Agent Benchmark的法律与通用场景实验中,本方法显著优于基线,尤其在LegalAgentBench上性能提升20%,且消耗更少Token。实验基于GPT-4o与GLM-4系列模型,验证了该方法在复杂任务中的潜力与可扩展性。

原文摘要 · Abstract (English)

Based on their superior comprehension and reasoning capabilities, Large Language Model (LLM) driven agent frameworks have achieved significant success in numerous complex reasoning tasks. ReAct-like agents can solve various intricate problems step-by-step through progressive planning and tool calls, iteratively optimizing new steps based on environmental feedback. However, as the planning capabilities of LLMs improve, the actions invoked by tool calls in ReAct-like frameworks often misalign with complex planning and challenging data organization. Code Action addresses these issues while also introducing the challenges of a more complex action space and more difficult action organization. To leverage Code Action and tackle the challenges of its complexity, this paper proposes Policy and Action Dual-Control Agent (PoAct) for generalized applications. The aim is to achieve higher-quality code actions and more accurate reasoning paths by dynamically switching reasoning policies and modifying the action space. Experimental results on the Agent Benchmark for both legal and generic scenarios demonstrate the superior reasoning capabilities and reduced token consumption of our approach in complex tasks. On the LegalAgentBench, our method shows a 20 percent improvement over the baseline while requiring fewer tokens. We conducted experiments and analyses on the GPT-4o and GLM-4 series models, demonstrating the significant potential and scalability of our approach to solve complex problems.

智能体大模型代码生成推理优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。