Ontology-RAG: Zero-LLM-Index Subject-Document Ontologies and Receiver-Typed VirtualSet Traversal for Multi-Hop Reasoning
Abstract
Ontology-RAG compiles raw repositories into a subject-document ontology to enable zero-offline-LLM multi-hop retrieval with light and heavy VirtualSet modes, improving recall and QA across Wikipedia and news benchmarks.
Multi-hop retrieval-augmented generation confronts a sharp cost-accuracy dilemma: flat retrieval misses cross-document bridges, OpenIE Graph-RAG invokes tens of thousands of indexing LLM calls, parent-boosted containment trees monopolize single documents, and standard cross-encoders demote unstated second-hop passages. We present Ontology-RAG, a generic retrieval architecture built purely on Entitir's executable OntologyWorld and receiver-typed Outline VirtualSet algebra. With zero offline LLM calls, raw repositories compile into a normalized 12-definition subject-document ontology whose sentence-scoped SubjectMention incidences raise complete gold-chain connectivity to 88.1%, 69.1%, and 88.9% on MuSiQue, 2WikiMultiHopQA, and HotpotQA. Over this single ontology, Ontology-RAG exposes two modes: Light Mode evaluates one fixed VirtualSet expression across every corpus with zero query LLM calls via residual-gated bipartite propagation and lazy edge-sentence provenance in VirtualSet.rerank; Heavy Mode performs multi-round receiver-typed VirtualSet traversal with pre-execution Generic Constraints Projection (GCP) self-type (~this) inference and member-guided repair. Across 3,000 Wikipedia queries, Light Mode reaches 86.48% macro Recall@5 (+12.64 pp EM / +13.98 F1 in same-reader QA) and Heavy Mode reaches 94.81% Recall@5 (74.36 F1, 1,000 queries); on 2,255 MultiHop-RAG news queries, Light Mode transfers zero-shot at 78.45% Hits@4 (leading Inference at 83.33%) while ontology-free Entitir Hybrid+Rerank+Div. leads explicit-clause queries at 80.71%.
Get this paper in your agent:
hf papers read 2612.05414 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 1
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper