Toolken+:通过重排序和拒绝选项改进LLM工具使用
Toolken+: Improving LLM Tool Usage with Reranking and a Reject Option
AI总结:
Toolken+通过重排序前$k$个工具并引入“Reject”选项,解决了ToolkenGPT无法利用工具文档及误用工具的问题,在多步数值推理和工具选择任务上验证了有效性。
摘要:
最近提出的ToolkenGPT工具学习范式展现出良好的性能,但存在两个主要问题:首先,它无法从工具文档中获益;其次,它经常在是否使用工具上犯错。我们引入了Toolken+,通过重排序ToolkenGPT选出的前$k$个工具来缓解第一个问题,并通过特殊的“Reject”选项解决第二个问题,使得当“Reject”排名第一时,模型将生成词汇token。我们在多步数值推理和工具选择任务上证明了Toolken+的有效性。
英文摘要:
The recently proposed ToolkenGPT tool learning paradigm demonstrates promising performance but suffers from two major issues: first, it cannot benefit from tool documentation, and second, it often makes mistakes in whether to use a tool at all. We introduce Toolken+ that mitigates the first problem by reranking top $k$ tools selected by ToolkenGPT and the second problem with a special "Reject" option such that the model will generate a vocabulary token if "Reject" is ranked first. We demonstrate the effectiveness of Toolken+ on multistep numerical reasoning and tool selection tasks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。