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

只有 LLM 能进行推理吗?:小型语言模型在任务规划中的潜力

Can only LLMs do Reasoning?: Potential of Small Language Models in Task Planning

Graduate School of Artificial Intelligence, Ulsan National Institute of Science and Technology(蔚山科学技术院人工智能研究生院)

Gawon Choi, Hyemin Ahn

AI总结:

该研究构建 COST 数据集并微调小型 GPT2,证明在单一机器人任务领域内,小型语言模型也能通过 CoT 实现接近 GPT3.5 的任务规划能力。

摘要:

在机器人领域,大型语言模型(LLM)的使用正变得日益普遍,尤其是用于理解人类指令。具体而言,LLM 被用作与领域无关的任务规划器,以处理高级人类指令。LLM 具备思维链(Chain-of-Thought,CoT)推理能力,这使其能够充当任务规划器。然而,我们需要考虑到,现代机器人在执行复杂动作方面仍然存在困难,而且在实践中机器人可部署的领域有限。这促使我们提出一个问题:如果可以训练小型 LM 在单一领域内进行链式推理,那么即使是小型 LM,是否也能成为适用于机器人的优秀任务规划器?为了训练更小的 LM 进行链式推理,我们借助 LLM 构建了由高级命令及相应可执行低级步骤组成的“COmmand-STeps datasets”(COST)。我们不仅发布了数据集,还发布了用于生成这些数据集的提示模板,使任何人都可以为其所在领域构建数据集。我们在桌面和厨房环境中,针对任务领域比较了 GPT3.5、GPT4 与经过微调的 GPT2;结果表明,在特定领域的任务规划方面,GPT2-medium 与 GPT3.5 表现相当。我们的数据集、代码以及更多输出示例可在 https://github.com/Gawon-Choi/small-LMs-Task-Planning 获取。

英文摘要:

In robotics, the use of Large Language Models (LLMs) is becoming prevalent, especially for understanding human commands. In particular, LLMs are utilized as domain-agnostic task planners for high-level human commands. LLMs are capable of Chain-of-Thought (CoT) reasoning, and this allows LLMs to be task planners. However, we need to consider that modern robots still struggle to perform complex actions, and the domains where robots can be deployed are limited in practice. This leads us to pose a question: If small LMs can be trained to reason in chains within a single domain, would even small LMs be good task planners for the robots? To train smaller LMs to reason in chains, we build `COmmand-STeps datasets' (COST) consisting of high-level commands along with corresponding actionable low-level steps, via LLMs. We release not only our datasets but also the prompt templates used to generate them, to allow anyone to build datasets for their domain. We compare GPT3.5 and GPT4 with the finetuned GPT2 for task domains, in tabletop and kitchen environments, and the result shows that GPT2-medium is comparable to GPT3.5 for task planning in a specific domain. Our dataset, code, and more output samples can be found in https://github.com/Gawon-Choi/small-LMs-Task-Planning

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

↑