CPS-LLM: Large Language Model based Safe Usage Plan Generator for Human-in-the-Loop Human-in-the-Plant Cyber-Physical System

We explore the usage of large language models (LLM) in human-in-the-loop human-in-the-plant cyber-physical systems (CPS) to translate a high-level prompt into a personalized plan of actions, and subsequently convert that plan into a grounded inference of sequential decision-making automated by a rea...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Banerjee, Ayan, Maity, Aranyak, Kamboj, Payal, Gupta, Sandeep K. S
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page
container_issue
container_start_page
container_title
container_volume
creator Banerjee, Ayan
Maity, Aranyak
Kamboj, Payal
Gupta, Sandeep K. S
description We explore the usage of large language models (LLM) in human-in-the-loop human-in-the-plant cyber-physical systems (CPS) to translate a high-level prompt into a personalized plan of actions, and subsequently convert that plan into a grounded inference of sequential decision-making automated by a real-world CPS controller to achieve a control goal. We show that it is relatively straightforward to contextualize an LLM so it can generate domain-specific plans. However, these plans may be infeasible for the physical system to execute or the plan may be unsafe for human users. To address this, we propose CPS-LLM, an LLM retrained using an instruction tuning framework, which ensures that generated plans not only align with the physical system dynamics of the CPS but are also safe for human users. The CPS-LLM consists of two innovative components: a) a liquid time constant neural network-based physical dynamics coefficient estimator that can derive coefficients of dynamical models with some unmeasured state variables; b) the model coefficients are then used to train an LLM with prompts embodied with traces from the dynamical system and the corresponding model coefficients. We show that when the CPS-LLM is integrated with a contextualized chatbot such as BARD it can generate feasible and safe plans to manage external events such as meals for automated insulin delivery systems used by Type 1 Diabetes subjects.
doi_str_mv 10.48550/arxiv.2405.11458
format Article
fullrecord <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2405_11458</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2405_11458</sourcerecordid><originalsourceid>FETCH-LOGICAL-a678-c468643dcb53e2142f951561618fc90af8fb86f031460e7f387ebbf144217b563</originalsourceid><addsrcrecordid>eNpVkM1Kw0AUhbNxIdUHcOW8wMRM5idTdxK0FaYYSF2HO8mdNpCfMknFgA9v0rpxce45fHAv3BMEDywKhZYyegL_XX-FsYhkyJiQ-jb4SbOcGrN7Jgb8AefZHc4wh11fYUMsDFiRHBySz2HBWQMd2WCHHsbeEzdre26ho3VHxyNS0_en_2TZGEk6WfQ0O05DXUJD8mkYsb0Lbhw0A97_-SrYv73u0y01H5v39MVQUImmpVBaCV6VVnKMmYjdWjKpmGLalesInHZWKxdxJlSEieM6QWsdEyJmiZWKr4LH69nL-8XJ1y34qVhqKC418F9QvVa7</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>CPS-LLM: Large Language Model based Safe Usage Plan Generator for Human-in-the-Loop Human-in-the-Plant Cyber-Physical System</title><source>arXiv.org</source><creator>Banerjee, Ayan ; Maity, Aranyak ; Kamboj, Payal ; Gupta, Sandeep K. S</creator><creatorcontrib>Banerjee, Ayan ; Maity, Aranyak ; Kamboj, Payal ; Gupta, Sandeep K. S</creatorcontrib><description>We explore the usage of large language models (LLM) in human-in-the-loop human-in-the-plant cyber-physical systems (CPS) to translate a high-level prompt into a personalized plan of actions, and subsequently convert that plan into a grounded inference of sequential decision-making automated by a real-world CPS controller to achieve a control goal. We show that it is relatively straightforward to contextualize an LLM so it can generate domain-specific plans. However, these plans may be infeasible for the physical system to execute or the plan may be unsafe for human users. To address this, we propose CPS-LLM, an LLM retrained using an instruction tuning framework, which ensures that generated plans not only align with the physical system dynamics of the CPS but are also safe for human users. The CPS-LLM consists of two innovative components: a) a liquid time constant neural network-based physical dynamics coefficient estimator that can derive coefficients of dynamical models with some unmeasured state variables; b) the model coefficients are then used to train an LLM with prompts embodied with traces from the dynamical system and the corresponding model coefficients. We show that when the CPS-LLM is integrated with a contextualized chatbot such as BARD it can generate feasible and safe plans to manage external events such as meals for automated insulin delivery systems used by Type 1 Diabetes subjects.</description><identifier>DOI: 10.48550/arxiv.2405.11458</identifier><language>eng</language><subject>Computer Science - Artificial Intelligence ; Computer Science - Systems and Control</subject><creationdate>2024-05</creationdate><rights>http://creativecommons.org/licenses/by-nc-nd/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2405.11458$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2405.11458$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Banerjee, Ayan</creatorcontrib><creatorcontrib>Maity, Aranyak</creatorcontrib><creatorcontrib>Kamboj, Payal</creatorcontrib><creatorcontrib>Gupta, Sandeep K. S</creatorcontrib><title>CPS-LLM: Large Language Model based Safe Usage Plan Generator for Human-in-the-Loop Human-in-the-Plant Cyber-Physical System</title><description>We explore the usage of large language models (LLM) in human-in-the-loop human-in-the-plant cyber-physical systems (CPS) to translate a high-level prompt into a personalized plan of actions, and subsequently convert that plan into a grounded inference of sequential decision-making automated by a real-world CPS controller to achieve a control goal. We show that it is relatively straightforward to contextualize an LLM so it can generate domain-specific plans. However, these plans may be infeasible for the physical system to execute or the plan may be unsafe for human users. To address this, we propose CPS-LLM, an LLM retrained using an instruction tuning framework, which ensures that generated plans not only align with the physical system dynamics of the CPS but are also safe for human users. The CPS-LLM consists of two innovative components: a) a liquid time constant neural network-based physical dynamics coefficient estimator that can derive coefficients of dynamical models with some unmeasured state variables; b) the model coefficients are then used to train an LLM with prompts embodied with traces from the dynamical system and the corresponding model coefficients. We show that when the CPS-LLM is integrated with a contextualized chatbot such as BARD it can generate feasible and safe plans to manage external events such as meals for automated insulin delivery systems used by Type 1 Diabetes subjects.</description><subject>Computer Science - Artificial Intelligence</subject><subject>Computer Science - Systems and Control</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNpVkM1Kw0AUhbNxIdUHcOW8wMRM5idTdxK0FaYYSF2HO8mdNpCfMknFgA9v0rpxce45fHAv3BMEDywKhZYyegL_XX-FsYhkyJiQ-jb4SbOcGrN7Jgb8AefZHc4wh11fYUMsDFiRHBySz2HBWQMd2WCHHsbeEzdre26ho3VHxyNS0_en_2TZGEk6WfQ0O05DXUJD8mkYsb0Lbhw0A97_-SrYv73u0y01H5v39MVQUImmpVBaCV6VVnKMmYjdWjKpmGLalesInHZWKxdxJlSEieM6QWsdEyJmiZWKr4LH69nL-8XJ1y34qVhqKC418F9QvVa7</recordid><startdate>20240519</startdate><enddate>20240519</enddate><creator>Banerjee, Ayan</creator><creator>Maity, Aranyak</creator><creator>Kamboj, Payal</creator><creator>Gupta, Sandeep K. S</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240519</creationdate><title>CPS-LLM: Large Language Model based Safe Usage Plan Generator for Human-in-the-Loop Human-in-the-Plant Cyber-Physical System</title><author>Banerjee, Ayan ; Maity, Aranyak ; Kamboj, Payal ; Gupta, Sandeep K. S</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a678-c468643dcb53e2142f951561618fc90af8fb86f031460e7f387ebbf144217b563</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Artificial Intelligence</topic><topic>Computer Science - Systems and Control</topic><toplevel>online_resources</toplevel><creatorcontrib>Banerjee, Ayan</creatorcontrib><creatorcontrib>Maity, Aranyak</creatorcontrib><creatorcontrib>Kamboj, Payal</creatorcontrib><creatorcontrib>Gupta, Sandeep K. S</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Banerjee, Ayan</au><au>Maity, Aranyak</au><au>Kamboj, Payal</au><au>Gupta, Sandeep K. S</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>CPS-LLM: Large Language Model based Safe Usage Plan Generator for Human-in-the-Loop Human-in-the-Plant Cyber-Physical System</atitle><date>2024-05-19</date><risdate>2024</risdate><abstract>We explore the usage of large language models (LLM) in human-in-the-loop human-in-the-plant cyber-physical systems (CPS) to translate a high-level prompt into a personalized plan of actions, and subsequently convert that plan into a grounded inference of sequential decision-making automated by a real-world CPS controller to achieve a control goal. We show that it is relatively straightforward to contextualize an LLM so it can generate domain-specific plans. However, these plans may be infeasible for the physical system to execute or the plan may be unsafe for human users. To address this, we propose CPS-LLM, an LLM retrained using an instruction tuning framework, which ensures that generated plans not only align with the physical system dynamics of the CPS but are also safe for human users. The CPS-LLM consists of two innovative components: a) a liquid time constant neural network-based physical dynamics coefficient estimator that can derive coefficients of dynamical models with some unmeasured state variables; b) the model coefficients are then used to train an LLM with prompts embodied with traces from the dynamical system and the corresponding model coefficients. We show that when the CPS-LLM is integrated with a contextualized chatbot such as BARD it can generate feasible and safe plans to manage external events such as meals for automated insulin delivery systems used by Type 1 Diabetes subjects.</abstract><doi>10.48550/arxiv.2405.11458</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext_linktorsrc
identifier DOI: 10.48550/arxiv.2405.11458
ispartof
issn
language eng
recordid cdi_arxiv_primary_2405_11458
source arXiv.org
subjects Computer Science - Artificial Intelligence
Computer Science - Systems and Control
title CPS-LLM: Large Language Model based Safe Usage Plan Generator for Human-in-the-Loop Human-in-the-Plant Cyber-Physical System
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-27T18%3A39%3A40IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=CPS-LLM:%20Large%20Language%20Model%20based%20Safe%20Usage%20Plan%20Generator%20for%20Human-in-the-Loop%20Human-in-the-Plant%20Cyber-Physical%20System&rft.au=Banerjee,%20Ayan&rft.date=2024-05-19&rft_id=info:doi/10.48550/arxiv.2405.11458&rft_dat=%3Carxiv_GOX%3E2405_11458%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true