用于人机安全协同设计的概念引导 LLM 智能体
Concept-Guided LLM Agents for Human-AI Safety Codesign
AI总结:
提出一种结合提示工程、启发式推理和检索增强生成的定制 LLM 智能体混合策略,通过级联微决策和图描述化促进人机协同安全分析与设计,并在自动驾驶用例中验证了方法有效性。
摘要:
生成式 AI 在软件工程中日益重要,包括安全工程,其应用旨在确保软件不会对人造成伤害。这也对生成式 AI 提出了高质量要求。因此,仅简单使用大语言模型(LLMs)无法满足这些质量需求。开发更先进、更复杂的方法以有效应对软件系统的复杂性和安全隐患至关重要。最终,人类必须理解并对生成式 AI 提供的建议负责,以确保系统安全。为此,我们提出了一种高效的混合策略,利用 LLMs 进行安全分析和人机协同设计。具体而言,我们开发了一个定制的 LLM 智能体,它结合了提示工程、启发式推理和检索增强生成技术,在与系统模型图交互的过程中,解决与预定义安全概念相关的任务。该推理由一系列级联微决策引导,有助于保留结构化信息。我们进一步提出了一种图描述化方法,作为系统模型的中间表示,以促进 LLM 与图的交互。选取的与安全分析相关的提示-响应对,在简化的自动驾驶系统用例中展示了我们的方法。
英文摘要:
Generative AI is increasingly important in software engineering, including safety engineering, where its use ensures that software does not cause harm to people. This also leads to high quality requirements for generative AI. Therefore, the simplistic use of Large Language Models (LLMs) alone will not meet these quality demands. It is crucial to develop more advanced and sophisticated approaches that can effectively address the complexities and safety concerns of software systems. Ultimately, humans must understand and take responsibility for the suggestions provided by generative AI to ensure system safety. To this end, we present an efficient, hybrid strategy to leverage LLMs for safety analysis and Human-AI codesign. In particular, we develop a customized LLM agent that uses elements of prompt engineering, heuristic reasoning, and retrieval-augmented generation to solve tasks associated with predefined safety concepts, in interaction with a system model graph. The reasoning is guided by a cascade of micro-decisions that help preserve structured information. We further suggest a graph verbalization which acts as an intermediate representation of the system model to facilitate LLM-graph interactions. Selected pairs of prompts and responses relevant for safety analytics illustrate our method for the use case of a simplified automated driving system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。