arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.11243cs.AIcs.CLcs.LG
收藏

基于智能体的RAG实现安全需求的自动化推导

Towards Automated Safety Requirements Derivation Using Agent-based RAG

University/Institution(大学/机构)

Balahari Vignesh Balu, Florian Geissler, Francesco Carella, Joao-Vitor Zacchi, Josef Jiru, Nuria Mata, Reinhard Stolle

AI总结:

针对自动驾驶安全需求自动化推导中传统LLMs缺领域知识、现有RAG处理复杂查询性能差的问题,提出基于智能体的RAG方法,在汽车标准文档和Apollo案例上验证其检索相关性更优且优于默认RAG方法。

摘要:

我们以自动驾驶车辆用例为研究对象,结合大语言模型(LLMs)与基于智能体的检索增强生成(RAG)技术,探索安全需求的自动化推导方法。传统利用预训练LLMs辅助安全分析的方法通常缺乏领域特定知识;现有RAG方法虽能解决该问题,但在处理复杂查询时性能下降,且更难检索到最相关信息,这对安全相关应用尤为关键。本文提出使用基于智能体的RAG推导安全需求,并证明其检索到的信息与查询更相关。我们基于汽车标准文档池和Apollo案例研究(自动驾驶感知系统的典型实例)实现了一种基于智能体的方法,在从Apollo数据中提取的安全需求问答数据集上进行测试。通过评估选定的RAG指标集,我们展示并讨论了基于智能体的方法相较于默认RAG方法的优势。

英文摘要:

We study the automated derivation of safety requirements in a self-driving vehicle use case, leveraging LLMs in combination with agent-based retrieval-augmented generation. Conventional approaches that utilise pre-trained LLMs to assist in safety analyses typically lack domain-specific knowledge. Existing RAG approaches address this issue, yet their performance deteriorates when handling complex queries and it becomes increasingly harder to retrieve the most relevant information. This is particularly relevant for safety-relevant applications. In this paper, we propose the use of agent-based RAG to derive safety requirements and show that the retrieved information is more relevant to the queries. We implement an agent-based approach on a document pool of automotive standards and the Apollo case study, as a representative example of an automated driving perception system. Our solution is tested on a data set of safety requirement questions and answers, extracted from the Apollo data. Evaluating a set of selected RAG metrics, we present and discuss advantages of a agent-based approach compared to default RAG methods.

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

↑