RIVA: 利用LLM代理进行可靠的配置漂移检测
RIVA: Leveraging LLM Agents for Reliable Configuration Drift Detection
AI总结:
RIVA通过多代理系统和交叉验证技术,提高在工具响应错误时的IaC验证可靠性。
摘要:
基础设施即代码(IaC)工具通过自动化云环境配置来简化部署,但验证实际部署系统是否与IaC规范保持一致仍具挑战性。配置漂移的发生原因包括IaC规范中的错误、人工修改或系统更新。基于大语言模型(LLM)的代理式人工智能系统能够自动分析大量遥测数据,使其适合用于配置漂移检测。然而,现有代理系统隐含假设所调用的工具总是返回正确输出,这使它们在工具响应错误时容易失效。由于代理无法区分异常工具输出是反映真实基础设施问题还是工具本身损坏,此类错误可能导致漏检或误报,这正是最需要可靠性的时刻。我们引入RIVA(通过验证代理实现的可靠基础设施),一种新的多代理系统,即使在工具输出错误或误导性时也能进行稳健的IaC验证。RIVA采用两个专门的代理,验证代理和工具生成代理,通过迭代交叉验证、多视角验证和工具调用历史追踪进行协作。在AIOpsLab基准测试中,评估显示,当存在错误工具响应时,RIVA在使用基线ReAct代理时任务准确率从27.3%提升至平均50.0%。RIVA在无错误工具响应时也使任务准确率提高28%至43.8%。我们的结果表明,对多样工具调用的交叉验证能够更可靠地实现生产云环境中的自主基础设施验证。
英文摘要:
Infrastructure as code (IaC) tools automate cloud provisioning but verifying that deployed systems remain consistent with the IaC specifications remains challenging. Such configuration drift occurs because of bugs in the IaC specification, manual changes, or system updates. Large language model (LLM)-based agentic AI systems can automate the analysis of large volumes of telemetry data, making them suitable for the detection of configuration drift. However, existing agentic systems implicitly assume that the tools they invoke always return correct outputs, making them vulnerable to erroneous tool responses. Since agents cannot distinguish whether an anomalous tool output reflects a real infrastructure problem or a broken tool, such errors may cause missed drift or false alarms, reducing reliability precisely when it is most needed. We introduce RIVA (Robust Infrastructure by Verification Agents), a novel multi-agent system that performs robust IaC verification even when tools produce incorrect or misleading outputs. RIVA employs two specialized agents, a verifier agent and a tool generation agent, that collaborate through iterative cross-validation, multi-perspective verification, and tool call history tracking. Evaluation on the AIOpsLab benchmark demonstrates that RIVA, in the presence of erroneous tool responses, recovers task accuracy from 27.3% when using a baseline ReAct agent to 50.0% on average. RIVA also improves task accuracy 28% to 43.8% without erroneous tool responses. Our results show that cross-validation of diverse tool calls enables more reliable autonomous infrastructure verification in production cloud environments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。