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

Profile-Then-Reason: 用于工具增强语言代理的有界语义复杂度

Profile-Then-Reason: Bounded Semantic Complexity for Tool-Augmented Language Agents

Escola Politénica University of São Paulo(圣保罗大学理工学院)

Paulo Akira F. Enabe

AI总结:

本文提出Profile-Then-Reason框架,通过预设工作流和验证机制减少语言模型调用次数,提升工具增强推理效率。

摘要:

使用外部工具的大语言模型代理通常通过反应式执行实现,其中每次观察后都重新计算推理,导致延迟增加和误差传播敏感。本文引入Profile-Then-Reason (PTR),一种有界执行框架,语言模型首先合成显式工作流,确定性或受保护的操作符执行该工作流,验证器评估结果轨迹,仅在原始工作流不可靠时才调用修复。开发了数学公式,将完整流程表达为profile、路由、执行、验证、修复和推理操作符的组合;在有界修复下,名义情况下的语言模型调用次数限制为两次,最坏情况为三次。在六个基准和四个语言模型上的实验表明,PTR在16/24配置中实现了成对精确匹配优势。结果表明,PTR在检索中心和分解密集型任务中尤其有效,而反应式执行在依赖实质性在线适应时仍更优。

英文摘要:

Large language model agents that use external tools are often implemented through reactive execution, in which reasoning is repeatedly recomputed after each observation, increasing latency and sensitivity to error propagation. This work introduces Profile--Then--Reason (PTR), a bounded execution framework for structured tool-augmented reasoning, in which a language model first synthesizes an explicit workflow, deterministic or guarded operators execute that workflow, a verifier evaluates the resulting trace, and repair is invoked only when the original workflow is no longer reliable. A mathematical formulation is developed in which the full pipeline is expressed as a composition of profile, routing, execution, verification, repair, and reasoning operators; under bounded repair, the number of language-model calls is restricted to two in the nominal case and three in the worst case. Experiments against a ReAct baseline on six benchmarks and four language models show that PTR achieves the pairwise exact-match advantage in 16 of 24 configurations. The results indicate that PTR is particularly effective on retrieval-centered and decomposition-heavy tasks, whereas reactive execution remains preferable when success depends on substantial online adaptation.

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

↑