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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Sinha, Rohan, Elhafsi, Amine, Agia, Christopher, Foutter, Matthew, Schmerling, Edward, Pavone, Marco
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913427270664192
author Sinha, Rohan
Elhafsi, Amine
Agia, Christopher
Foutter, Matthew
Schmerling, Edward
Pavone, Marco
author_facet Sinha, Rohan
Elhafsi, Amine
Agia, Christopher
Foutter, Matthew
Schmerling, Edward
Pavone, Marco
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_08735
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Real-Time Anomaly Detection and Reactive Planning with Large Language Models
Sinha, Rohan
Elhafsi, Amine
Agia, Christopher
Foutter, Matthew
Schmerling, Edward
Pavone, Marco
Robotics
Artificial Intelligence
Systems and Control
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.
title Real-Time Anomaly Detection and Reactive Planning with Large Language Models
topic Robotics
Artificial Intelligence
Systems and Control
url https://arxiv.org/abs/2407.08735