arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.08735cs.ROcs.AIcs.SYeess.SY
收藏

基于大语言模型的实时异常检测与反应式规划

Real-Time Anomaly Detection and Reactive Planning with Large Language Models

Stanford University(斯坦福大学);NVIDIA(英伟达公司)

Rohan Sinha, Amine Elhafsi, Christopher Agia, Matthew Foutter, Edward Schmerling, Marco Pavone

AI总结:

针对大语言模型应用于机器人系统异常检测时的计算成本高与安全控制整合难问题,提出两阶段推理框架,结合快速嵌入空间分类与慢速生成式推理,通过模型预测控制保障安全,在小模型下也优于GPT自回归推理,提升动态机器人系统可信度。

摘要:

在互联网规模数据上训练的基础模型(例如大语言模型,即LLM)具备零样本泛化能力,使其成为检测并缓解机器人系统分布外故障模式的一项极具前景的技术。然而,要充分实现这一潜力面临两大挑战:(i)降低这类模型的高昂计算成本以支持在线应用;(ii)将其对潜在异常的判断整合到安全控制框架中。本研究提出一种两阶段推理框架:第一阶段是快速二分类异常分类器,在LLM嵌入空间中分析观测数据,若检测到异常则触发第二阶段的慢速备选方案选择阶段,该阶段利用生成式LLM的推理能力。这两个阶段对应模型预测控制策略中的分支点,该策略会维持多种备选方案的联合可行性,以在检测到异常时立即应对慢速推理器的延迟,从而保障安全性。实验表明,我们的快速异常分类器性能优于采用最先进GPT模型的自回归推理,即便使用规模相对较小的语言模型实例化也是如此。这使得我们的运行时监控器能够在资源和时间约束下,提升四旋翼无人机或自动驾驶汽车等动态机器人系统的可信度。展示该方法在仿真和真实世界实验中效果的视频可在项目页面查看:https://sites.google.com/view/aesop-llm。

英文摘要:

Foundation models, e.g., large language models (LLMs), trained on internet-scale data possess zero-shot generalization capabilities that make them a promising technology towards detecting and mitigating out-of-distribution failure modes of robotic systems. Fully realizing this promise, however, poses two challenges: (i) mitigating the considerable computational expense of these models such that they may be applied online, and (ii) incorporating their judgement regarding potential anomalies into a safe control framework. In this work, we present a two-stage reasoning framework: First is a fast binary anomaly classifier that analyzes observations in an LLM embedding space, which may then trigger a slower fallback selection stage that utilizes the reasoning capabilities of generative LLMs. These stages correspond to branch points in a model predictive control strategy that maintains the joint feasibility of continuing along various fallback plans to account for the slow reasoner's latency as soon as an anomaly is detected, thus ensuring safety. We show that our fast anomaly classifier outperforms autoregressive reasoning with state-of-the-art GPT models, even when instantiated with relatively small language models. This enables our runtime monitor to improve the trustworthiness of dynamic robotic systems, such as quadrotors or autonomous vehicles, under resource and time constraints. Videos illustrating our approach in both simulation and real-world experiments are available on this project page: https://sites.google.com/view/aesop-llm.

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

↑