Papers
Topics
Authors
Recent
Search
2000 character limit reached

OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sources

Published 28 May 2026 in cs.CL, cs.AI, cs.IR, and cs.LG | (2605.29250v1)

Abstract: Real-world information needs require access to structurally diverse knowledge sources, from unstructured text and relational tables to knowledge graphs and property graphs. Existing retrievers, however, operate over one source at a time under a fixed query language, leaving the broader landscape of available knowledge fragmented behind incompatible interfaces. A natural attempt at unification would collapse these sources into a shared space, but this erases the structural affordances (such as schemas, ontologies, compositional operators) that give each source its expressive power. Effective retrieval over diverse knowledge, therefore, requires not homogenization but an overarching layer that meets each source on its own terms. To achieve this, we present OmniRetrieval, a framework that takes any natural-language query, identifies appropriate knowledge sources, and dispatches source-native queries to their native execution engines. Across an extensive benchmark spanning 13 datasets and 309 distinct knowledge bases over text, relational, and graph-structured sources, OmniRetrieval exceeds single-source baselines, demonstrating that it can serve as a general-purpose interface to the heterogeneous sources while preserving the structural distinctions that make each source valuable.

Summary

  • The paper introduces a unified retrieval framework that retains native query languages for heterogeneous data sources.
  • It uses LLMs for source selection and native query synthesis, achieving improved selection (65.71%) and retrieval (44.34%) accuracy.
  • Experimental results demonstrate robust evidence consolidation and semantic alignment across 309 knowledge bases from 13 datasets.

Unified Retrieval over Heterogeneous Knowledge Sources with OmniRetrieval

Motivation and Framework Design

The paper "OmniRetrieval: Unified Retrieval across Heterogeneous Knowledge Sources" (2605.29250) addresses a central problem in information retrieval: real-world questions may require evidence from structurally diverse knowledge sources including unstructured corpora, relational databases, RDF knowledge graphs, and labeled property graphs. Most existing retrievers operate over a single modality and interface, which leads to fragmentation and limited expressive power. Attempts to unify retrieval with shared representations (e.g., embedding spaces, text linearization) incur modality gaps and loss of source-native structural affordances, impacting retrieval relevance and compositional reasoning.

The OmniRetrieval framework advocates retaining per-source distinctions, building a unifying layer that operates via three key stages: (1) source selection, (2) source-native query formulation, and (3) cross-source evidence consolidation. This paradigm enables direct engagement with each knowledge base's affordances and query languages, facilitating expressive query synthesis and scalable knowledge augmentation. Figure 1

Figure 1: Distinct knowledge sources offer tailored structure and query languages; OmniRetrieval interacts with each via source selection, native query formulation, and cross-source condensation.

Methodology

Problem Formulation

Given a question qq and a pool of knowledge sources B\mathcal{B}, each b∈Bb \in \mathcal{B} exposes a structural context cbc_b (schema, ontology, corpus descriptor) and a native query language (SQL, SPARQL, Cypher, free-text). The goal is to select sources S⊆B\mathcal{S} \subseteq \mathcal{B}, formulate native executable queries q^b\hat{q}_b for each, and consolidate the returned evidence.

Source Selection

The challenge is to route questions over heterogeneous source descriptors. Standard embedding-based ranking is insufficient due to modality gaps and loss of semantic structure. OmniRetrieval utilizes long-context LLMs that ingest raw descriptors and the query, ranking sources for engagement. The candidate list size kk is parameterized, allowing broad exploration and deferred commitment.

Native Query Formulation

For each candidate source, the framework instantiates per-source prompt templates for LLM-guided native query generation, grounded in the structural context cbc_b. The approach supports multiple query languages with explicit schema linkage, entity recognition, and operation composition. This enables expressive queries such as joins, graph traversals, and aggregate computations in their respective modalities.

Cross-Source Evidence Selection

Executor outputs across sources—heterogeneous in format and size—are consolidated by an LLM-based evidence selector. Output is verbalized and filtered for relevance, enabling semantic alignment even when the correct source is not initially selected. Deferred commitment via evidence selection is shown to be critical for performance, particularly in ambiguous or multi-source scenarios.

Experimental Results

OmniRetrieval was evaluated on 309 knowledge bases across 13 datasets spanning unstructured, relational, RDF, and property graph sources. Metrics include source selection accuracy, retrieval accuracy (NDCG@10, execution match), and LLM-judge-based semantic assessment.

Key results:

  • Source selection accuracy averaged 65.71%65.71\% across backbones, outperforming single-paradigm baselines and KB Routing.
  • Retrieval accuracy averaged 44.34%44.34\%, with consistent improvements over baselines.
  • LLM-as-a-Judge accuracy reached B\mathcal{B}0, closing much of the gap to oracle selection (74.55\%).

OmniRetrieval robustly recovers evidence from alternative sources when initial selection fails, highlighting the benefit of broad candidate inclusion. Figure 2

Figure 2

Figure 2: Increasing candidate list size B\mathcal{B}1 in source selection improves retrieval, but selector accuracy drops as B\mathcal{B}2 grows, emphasizing evidence selection's leverage.

Figure 3

Figure 3

Figure 3: As backbone scale increases, candidate diversity and performance improve; evidence selection remains the pipeline's most impactful stage.

Figure 4

Figure 4

Figure 4: Source-selection success across single-/multi-candidate regimes and evidence-selection accuracy substantially exceed random baselines; Document Search paradigm exhibits broad cross-paradigm coverage.

Unified-representation methods, evaluated in a constrained pool, exhibited significantly lower performance, unable to capture native query compositionality and operator expressivity.

OmniRetrieval situates itself at the intersection of retrieval over heterogeneous sources and LLM-based agentic tool use. Prior works collapse knowledge into unified spaces (e.g., UniK, UDT, DiFaR), sacrificing structural operators. Classical schema-grounded generation (Text-to-SQL, Text-to-SPARQL, Text-to-Cypher) is limited to a single backend. OmniRetrieval uniquely synthesizes queries for each backend natively and consolidates heterogeneous outputs, positioning itself as a scalable, modality-agnostic retrieval layer.

Implications and Outlook

Practically, OmniRetrieval provides a universal interface for enterprise, scientific, and open-domain QA tasks, where knowledge boundaries are porous and native affordances are required. Theoretically, this work demonstrates that upholding structural distinctions rather than flattening representations enables robust cross-modality semantic retrieval and extensibility. As LLMs advance in context capacity and tool use, further gains can be expected from supervised evidence selection, operator specialization, and reinforcement learning for downstream task alignment.

Future developments in AI will likely see OmniRetrieval-like frameworks serving as middleware between multi-agent systems and heterogeneous data lakes, catalyzing agentic orchestration, federated QA, and knowledge-driven reasoning workflows.

Conclusion

OmniRetrieval establishes a principled approach for unified retrieval over heterogeneous knowledge sources, leveraging long-context LLMs for adaptive source selection, native query synthesis, and evidence consolidation. Empirical results demonstrate superior retrieval and semantic equivalence performance over baselines, validating the framework's design. This positions OmniRetrieval as a scalable foundation for universal, structure-aware knowledge integration in retrieval and agentic systems.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 5 tweets with 27 likes about this paper.