인프라로서의 컨텍스트: 하네스를 갖춘 에이전트 시스템에서 검색을 위한 지식 컴파일
Context as Infrastructure: Knowledge Compilation for Retrieval in Agentic Systems with Harnesses
한국어 초록
검색 증강 생성이 에이전트화되고 있다. 검색 하네스는 질의를 작성하고, 결과를 읽고, 재구성하며, 언제 멈출지 결정한다. 이는 정확도 문제를 대체로 해결한다. BM25/grep만 갖춘 하네스와 MiniMax M3는 컴파일된 인덱스나 벡터 인덱스 없이도 본 실험에서 BrowseComp-Plus의 85%, 다중 홉 FRAMES의 91%에 답한다. 이는 컨텍스트 문제를 드러낸다. 통제되지 않은 루프는 질의를 반복하고, 문서를 다시 읽으며, 사용되지 않는 구절로 윈도우를 채운다. 빠진 계층은 지식 컴파일이다. 이는 LLM이 어떤 단일 청크에도 담겨 있지 않은 컨텍스트로 문서를 보강하는 구성 가능한 수집 파이프라인으로, 주장-증거 리프를 갖는 탐색 계층 구조, 엔티티 그래프, 타임라인, 마인드맵, 온톨로지, 위키, 메모리를 포함한다. 컴파일은 더 나은 검색기가 아니다. 유능한 하네스 하에서 구조적 산출물은 FRAMES에서 검출 가능한 정확도 향상을 주지 못했고, PageIndex 방식의 개요는 규모가 커지자 성능이 저하되었다. 컴파일은 공급 계층이다. 리프가 주장-증거 쌍인 탐색 트리(본 연구가 측정하는 메커니즘)는 증거가 충분할 때 질의 토큰을 91% 줄이고, 충분하지 않을 때는 1.9%를 추가하여 평균 38% 감소를 낳는다. 이는 2%의 손익분기 충분성 비율을 시사하며, 측정된 비율은 43%에 가깝다. 결정 게이트는 지연 시간을 140초에서 30초로 줄이지만, 대체를 통한 토큰 절감은 검색 라운드를 대가로 얻어지며 자체적인 지연 비용을 수반한다. 온톨로지, 그래프, 위키, 타임라인, 마인드맵, 메모리 등 다른 산출물은 정확도 벤치마크가 포착하지 못하는 배포 환경(거버넌스, 통합, 온보딩, 시간적 방향 설정, 연속성)에서 효용을 발휘한다. 본 논문은 루프를 다섯 개의 규율 있는 단계로 바꾸고 모델에 들어가는 컨텍스트를 충분한 최소 집합으로 유지하는 RAGFlow의 파이프라인과 하네스(오픈 소스: https://github.com/infiniflow/ragflow)를 기술하며, 이 둘은 순위가 매겨진 구절 목록 대신 컴파일되고 관리되는 컨텍스트를 에이전트에 건네는 저장소인 에이전트 네이티브 데이터베이스를 이룬다.
원문 초록
Retrieval-augmented generation is becoming agentic. A search harness writes queries, reads results, reformulates, and decides when to stop. This largely solves accuracy: a harness with only BM25/grep and MiniMax M3 answers 85% of BrowseComp-Plus and 91% on multi-hop FRAMES in our runs, without compiled or vector indexes. It exposes a context problem: an undisciplined loop repeats queries, rereads documents, and fills the window with unused passages. The missing layer is knowledge compilation: a configurable ingestion pipeline where LLMs enrich documents with context no chunk contains alone--navigation hierarchies with claim-evidence leaves, entity graphs, timelines, mind maps, ontologies, wikis, and memory. Compilation is not a better retriever: under a competent harness, structural artifacts gave no detectable accuracy gain on FRAMES, and a PageIndex-style outline degraded at scale. It is a supply layer. A navigation tree whose leaves are claim-evidence pairs--the mechanism we measure--cuts query tokens by 91% when evidence suffices and adds 1.9% when it does not, a 38% average reduction; this implies a 2% break-even sufficiency rate and a measured rate near 43%. A decision gate cuts latency from 140 s to 30 s, though substitution's token saving is bought with retrieval rounds and carries its own latency cost. Other artifacts--ontology, graph, wiki, timeline, mind map, memory--pay off in deployment (governance, integration, onboarding, temporal orientation, continuity) where accuracy benchmarks cannot see them. We describe RAGFlow's pipeline and harness (open source at https://github.com/infiniflow/ragflow), which turns the loop into five disciplined stations and keeps the context entering the model the smallest sufficient set; together they form an agent-native database: a store that hands the agent compiled, governed context instead of a ranked list of passages.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2610.41172v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.