arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2309.15074cs.CLcs.AIcs.HCcs.NI
收藏

基于自然语言的上下文建模与推理:面向普适计算的大语言模型教程

Natural Language based Context Modeling and Reasoning for Ubiquitous Computing with Large Language Models: A Tutorial

Big Data Lab, Baidu, Inc.(百度大数据实验室);Beijing University of Posts and Telecommunications(北京邮电大学);Baidu, Inc.(百度公司);Shanghai Jiaotong University(上海交通大学);Télécom SudParis, Institut Polytechnique de Paris(巴黎综合理工学院电信南巴黎)

Haoyi Xiong, Jiang Bian, Sijia Yang, Xiaofei Zhang, Linghe Kong, Daqing Zhang

AI总结:

本教程提出LLM驱动的上下文感知计算(LCaC)范式,利用自然语言、提示和AutoAgents实现无需微调的上下文建模与推理,并通过辅助生活和旅行规划示例验证其可行性。

摘要:

大语言模型(LLMs)自2018年以来——即上下文感知被引入计算系统二十年后——呈现出惊人的增长态势。通过考虑普适设备、用户和社会的场景,上下文感知计算已经催生了广泛的创新应用,如辅助生活、基于位置的社会网络服务等。为了识别上下文并据此做出行动决策,各种人工智能技术,如本体论和OWL,已被用作上下文建模和推理的表示方法。近年来,随着LLMs的兴起及其自然语言理解和推理能力的提升,使用自然语言建模上下文并通过与ChatGPT和GPT-4等LLMs交互进行上下文推理已成为可能。在本教程中,我们演示了使用文本、提示和自主代理(AutoAgents)使LLMs无需微调模型即可执行上下文建模和推理的方法。我们组织并介绍了相关领域的工作,并将这种计算范式命名为LLM驱动的上下文感知计算(LCaC)。在LCaC范式中,用户的请求、传感器读取的数据以及致动器的命令均被表示为文本。给定用户请求和传感器数据的文本,AutoAgent通过提示建模上下文,并将其发送给LLM进行上下文推理。LLM生成行动计划并响应AutoAgent,后者随后遵循行动计划以促进上下文感知。为验证概念,我们使用了两个示例——(1)在公寓中操作移动z臂以辅助生活,(2)以上下文感知和个性化的方式规划旅行并安排行程。

英文摘要:

Large language models (LLMs) have become phenomenally surging, since 2018--two decades after introducing context-awareness into computing systems. Through taking into account the situations of ubiquitous devices, users and the societies, context-aware computing has enabled a wide spectrum of innovative applications, such as assisted living, location-based social network services and so on. To recognize contexts and make decisions for actions accordingly, various artificial intelligence technologies, such as Ontology and OWL, have been adopted as representations for context modeling and reasoning. Recently, with the rise of LLMs and their improved natural language understanding and reasoning capabilities, it has become feasible to model contexts using natural language and perform context reasoning by interacting with LLMs such as ChatGPT and GPT-4. In this tutorial, we demonstrate the use of texts, prompts, and autonomous agents (AutoAgents) that enable LLMs to perform context modeling and reasoning without requiring fine-tuning of the model. We organize and introduce works in the related field, and name this computing paradigm as the LLM-driven Context-aware Computing (LCaC). In the LCaC paradigm, users' requests, sensors reading data, and the command to actuators are supposed to be represented as texts. Given the text of users' request and sensor data, the AutoAgent models the context by prompting and sends to the LLM for context reasoning. LLM generates a plan of actions and responds to the AutoAgent, which later follows the action plan to foster context-awareness. To prove the concepts, we use two showcases--(1) operating a mobile z-arm in an apartment for assisted living, and (2) planning a trip and scheduling the itinerary in a context-aware and personalized manner.

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

↑