为多智能体系统重新构想企业级RAG:一种在检索前进行组织的知识层
Reimagining Enterprise RAG for Multi-Agent Systems: A Knowledge Layer That Organizes Before It Retrieves
AI总结:
该研究针对企业多智能体系统的RAG缺陷,提出在检索前组织的知识层,通过制品级本体实现规则消歧,成功解决生产缺陷并归因发布故障。
摘要:
企业正在将智能体AI部署到整个软件开发生命周期(SDLC)中,它们需要所作用系统的行为逻辑,而非利益相关者文档。一个由7个智能体组成的逆向工程流水线恢复了该逻辑,处理了18个服务中的241个代码仓库,生成了数千个描述范围、流程、规则和验收标准的制品。恢复的逻辑并不具备可用性:offer(报价)、eligibility(资格)、activation(激活)等实体在不同服务中以共享词汇重复出现,名称相关但操作上不同,因此一个端到端流程涉及超过1000条近乎相同的规则,这些规则绝不能混淆。平面向量检索失效,会从错误服务中返回相似度极高的相同规则,且无错误信号。传统的解决方案是内容级本体,但该本体不存在,且关联重复实体的所有出现情况的成本将超过投入,且无法在发布周期后留存。我们将本体置于制品层面:在这个机器生成的语料库中,每个制品都保留其生产者、组件、服务、领域和类型等来源信息,这些信息在读取内容前即可实现消歧。我们提出一种在检索前进行组织的知识层,它包含自描述目录、稀疏元数据注册表,以及基于制品而非提取实体定义的导航超图。查询会解析为制品标识符,用于约束向量搜索,因此来自其他服务的竞争规则会被排除而非被排名靠后,使消歧成为结构性而非统计性的。该层在不到一周内构建完成,可通过约定接纳新服务,为SDLC智能体、开发者、质量工程师和分析师提供服务。它支持了100多个生产缺陷的根本原因分析与解决,经开发者验证,并将35个发布回归故障归因于特定规则和服务。
英文摘要:
Enterprises are deploying agentic AI across the software development lifecycle, and they need the behavioral logic of the systems they act on, not stakeholder documentation. A seven-agent reverse-engineering pipeline recovered this logic, processing 241 repositories across 18 services into thousands of artifacts describing scope, journeys, rules and acceptance criteria. Recovery does not confer usability. Entities like offer, eligibility, and activation recur across services under a shared vocabulary, related in name but operationally distinct, so one end-to-end journey implicates over a thousand near-identical rules that must not be conflated. Flat vector retrieval fails, returning an identical rule from the wrong service at high similarity with no signal of error. Content-level ontology, the traditional remedy, did not exist, and relating every occurrence of recurring entities would have cost more than the engagement and not survived a release cycle. We place the ontology at the artifact level. In this machine-generated corpus, each artifact retains its producer, component, service, domain and type, provenance that disambiguates before content is read. We present a knowledge layer that organizes before retrieving: a self-describing catalog, a sparse metadata registry, and a navigation hypergraph defined over artifacts rather than extracted entities. Queries resolve to artifact identifiers that constrain vector search, so the competing rule from another service is absent rather than outranked, making disambiguation structural, not statistical. Built in under a week and admitting new services by convention, the layer serves SDLC agents, developers, quality engineers and analysts. It supported root-cause analysis and resolution of 100+ production defects with developer verification and attributed 35 release regression failures to specific rules and services.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。