基于LLM和目标导向ASP的可靠常识推理社交机器人
A Reliable Common-Sense Reasoning Socialbot Built Using LLMs and Goal-Directed ASP
AI总结:
提出AutoCompanion社交机器人,结合LLM与目标导向ASP(s(CASP))实现常识推理,确保对话正确、连贯且不偏离主题,用于娱乐用户。
摘要:
大型语言模型(LLM)的发展,如GPT,使得构建多个社交机器人(如ChatGPT)成为可能,这些机器人因其模拟人类对话的能力而备受关注。然而,对话不受目标引导且难以控制。此外,由于LLM更依赖模式识别而非演绎推理,它们可能给出令人困惑的答案,并且难以将多个主题整合成连贯的回应。这些局限性常常导致LLM偏离主要话题以保持对话有趣。我们提出AutoCompanion,一种社交机器人,它使用LLM模型将自然语言翻译为谓词(反之亦然),并基于回答集编程(ASP)的常识推理来与人类进行社交对话。特别是,我们依赖s(CASP),一种目标导向的ASP实现作为后端。本文介绍了框架设计以及如何使用LLM解析用户消息并从s(CASP)引擎输出生成响应。为验证我们的提议,我们描述了(真实的)对话,其中聊天机器人的目标是通过谈论电影和书籍来保持用户娱乐,s(CASP)确保(i)答案的正确性,(ii)对话过程中的连贯性(和精确性),它动态调节以实现其特定目的,以及(iii)不偏离主要话题。
英文摘要:
The development of large language models (LLMs), such as GPT, has enabled the construction of several socialbots, like ChatGPT, that are receiving a lot of attention for their ability to simulate a human conversation. However, the conversation is not guided by a goal and is hard to control. In addition, because LLMs rely more on pattern recognition than deductive reasoning, they can give confusing answers and have difficulty integrating multiple topics into a cohesive response. These limitations often lead the LLM to deviate from the main topic to keep the conversation interesting. We propose AutoCompanion, a socialbot that uses an LLM model to translate natural language into predicates (and vice versa) and employs commonsense reasoning based on Answer Set Programming (ASP) to hold a social conversation with a human. In particular, we rely on s(CASP), a goal-directed implementation of ASP as the backend. This paper presents the framework design and how an LLM is used to parse user messages and generate a response from the s(CASP) engine output. To validate our proposal, we describe (real) conversations in which the chatbot's goal is to keep the user entertained by talking about movies and books, and s(CASP) ensures (i) correctness of answers, (ii) coherence (and precision) during the conversation, which it dynamically regulates to achieve its specific purpose, and (iii) no deviation from the main topic.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。