LLMs作为评判者:迈向符合GSN的保证案例的自动审查
LLMs as Judges: Toward The Automatic Review of GSN-compliant Assurance Cases
AI总结:
本文提出利用LLM-as-a-judge范式和基于谓词的规则形式化审查标准,实现符合GSN的保证案例自动审查,实验表明DeepSeek-R1表现最佳但仍需人工完善。
摘要:
保证案例允许验证任务关键型系统某些非功能性需求的正确实现,包括其安全性、安全性和可靠性。它们可用于自动驾驶、航空电子设备、空中交通管制及类似系统的规范中。它们旨在降低各类危害风险,包括人员死亡、环境破坏和财务损失。然而,保证案例往往被组织成跨越数百页的庞大文档,使其创建、审查和维护容易出错、耗时且乏味。因此,越来越需要利用(半)自动化技术(例如由生成式AI和大型语言模型(LLMs)驱动的技术)来提高整个保证案例生命周期的效率、一致性和准确性。在本文中,我们重点关注保证案例审查,这是一项确保保证案例质量从而促进监管机构接受它们的关键任务。我们提出了一种利用LLM-as-a-judge范式来自动化审查过程的新方法。具体而言,我们提出了新的基于谓词的规则,将成熟的保证案例审查标准形式化,使我们能够针对审查任务定制LLM提示。我们在几个最先进的LLMs(GPT-4o、GPT-4.1、DeepSeek-R1和Gemini 2.0 Flash)上的实验表明,虽然大多数LLMs产生相对较好的审查能力,但DeepSeek-R1和GPT-4.1表现出更优的性能,其中DeepSeek-R1最终胜过GPT-4.1。然而,我们的实验结果也表明,仍然需要人工审查员来完善LLMs产生的审查结果。
英文摘要:
Assurance cases allow verifying the correct implementation of certain non-functional requirements of mission-critical systems, including their safety, security, and reliability. They can be used in the specification of autonomous driving, avionics, air traffic control, and similar systems. They aim to reduce risks of harm of all kinds including human mortality, environmental damage, and financial loss. However, assurance cases often tend to be organized as extensive documents spanning hundreds of pages, making their creation, review, and maintenance error-prone, time-consuming, and tedious. Therefore, there is a growing need to leverage (semi-)automated techniques, such as those powered by generative AI and large language models (LLMs), to enhance efficiency, consistency, and accuracy across the entire assurance-case lifecycle. In this paper, we focus on assurance case review, a critical task that ensures the quality of assurance cases and therefore fosters their acceptance by regulatory authorities. We propose a novel approach that leverages the \textit{LLM-as-a-judge} paradigm to automate the review process. Specifically, we propose new predicate-based rules that formalize well-established assurance case review criteria, allowing us to craft LLM prompts tailored to the review task. Our experiments on several state-of-the-art LLMs (GPT-4o, GPT-4.1, DeepSeek-R1, and Gemini 2.0 Flash) show that, while most LLMs yield relatively good review capabilities, DeepSeek-R1 and GPT-4.1 demonstrate superior performance, with DeepSeek-R1 ultimately outperforming GPT-4.1. However, our experimental results also suggest that human reviewers are still needed to refine the reviews LLMs yield.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。