技巧

本地智能体AI框架生成边缘案例场景

A Local Agentic AI Framework to Generate Edge Case Scenarios for Safety Assurance

精选理由

这个本地AI框架能自动生成边缘案例场景,比传统方法更灵活,还能提供安全保证的可追溯证据。

研究人员提出了一种基于笔记本电脑的本地智能体AI框架,用于自适应生成边缘案例场景。该框架使用轻量级JSON编码的"思考-行动-观察-更新-继续"循环,确保数据隐私和安全。系统使用两个独立语言模型:一个生成场景,另一个使用领域特定标准评估场景,通过模拟运行收集评估指标。后聚类分析识别功能差距及其触发条件,为安全保证提供可追溯证据。

原文 · arXiv cs.AI

A Local Agentic AI Framework to Generate Edge Case Scenarios for Safety Assurance

Generating edge case scenarios is crucial for training, testing and safety assuring autonomous systems. This identifies hazardous failures to increase system reliability and robustness, ensures the system can still function safely on the boundaries of its operational design domain and learns the expected system behaviour for these edge cases. The rapid advancement in the generation and analysis capabilities of language models (LMs) has expanded their applicability and recent work has investigated LM scenario generation. However, many recent approaches rely on human-in-the-loop or rule-based strategies. This restricts the LM's ability to generate diverse and edge case scenarios; the long tail of the distribution. Our work uses local LMs in a laptop-based agentic AI framework for adaptive scenario generation. This is cheap, fully-controlled, ensures data privacy and security. It uses think, act, observe, update, and continue loops with lightweight JSON encoding to generate scenarios. We use the system requirements, system description and environment description as knowledge bases in contextual prompts for an LM to ensure scenario realism. A second, independent LM critiques each scenario using domain specific criteria so it can be refined. The refined scenarios are run in simulation and evaluation metrics collected. These metric scores are analysed and similar scenarios are created for edge cases (exploitation) or novel scenarios are generated to explore the scenario space. Post-hoc clustering using metric scores and thematic-type analysis of the rich-text scenario descriptions produced by the LM pinpoints functional gaps and their triggering conditions. This creates traceable evidence for the safety assurance case. Our work highlights the potential of a flexible and adaptive local agentic AI framework for automating edge case generation and producing traceable safety assurance evidence.