用多智能体构建法规知识图谱,提升合规问答的准确性与可追溯性。
RAGulating Compliance: A Multi-Agent Knowledge Graph for Regulatory QA
- 多智能体自动抽取法规文本中的主谓宾三元组并维护知识图谱
- 融合检索增强生成,实现精准问答且答案可溯源
- 适合法律、金融等需要高可信度问答的合规审计场景
合规性问答需要精确、可验证的信息和领域专业知识,对大语言模型构成挑战。本文提出一种新型多智能体框架,将法规三元组知识图谱与检索增强生成(RAG)结合。首先,智能体从法规文档中提取主-谓-宾(SPO)三元组,通过系统清洗、归一化、去重和更新构建无本体的知识图谱。其次,将三元组及其对应文本段落和元数据统一嵌入并存储于一个丰富向量数据库,支持图推理与高效检索。第三,协同智能体流水线利用三元组级检索进行问答,确保用户问题与图谱中‘谁对谁做了什么’的核心事实高度语义对齐。该混合系统在复杂法规查询中优于传统方法,保证事实正确性,通过统一向量数据库实现可追溯性,并借助子图可视化提升理解,为合规驱动及更广泛的审计应用提供坚实基础。
原文摘要 · Abstract (English)
Regulatory compliance question answering (QA) requires precise, verifiable information, and domain-specific expertise, posing challenges for Large Language Models (LLMs). In this work, we present a novel multi-agent framework that integrates a Knowledge Graph (KG) of Regulatory triplets with Retrieval-Augmented Generation (RAG) to address these demands. First, agents build and maintain an ontology-free KG by extracting subject--predicate--object (SPO) triplets from regulatory documents and systematically cleaning, normalizing, deduplicating, and updating them. Second, these triplets are embedded and stored along with their corresponding textual sections and metadata in a single enriched vector database, allowing for both graph-based reasoning and efficient information retrieval. Third, an orchestrated agent pipeline leverages triplet-level retrieval for question answering, ensuring high semantic alignment between user queries and the factual "who-did-what-to-whom" core captured by the graph. Our hybrid system outperforms conventional methods in complex regulatory queries, ensuring factual correctness with embedded triplets, enabling traceability through a unified vector database, and enhancing understanding through subgraph visualization, providing a robust foundation for compliance-driven and broader audit-focused applications.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。