Search papers, labs, and topics across Lattice.
The paper introduces DualGraph, a RAG framework that combines semantic retrieval over a textual knowledge graph with symbolic querying over a symbolic knowledge graph for question answering on semi-structured data. This approach addresses the limitations of purely semantic retrieval in scenarios requiring exact filtering or aggregation over structured attributes. Experiments on the new SpecsQA benchmark demonstrate that DualGraph outperforms existing dense retrieval, GraphRAG, symbolic, and table-oriented methods.
Semantic retrieval falters on semi-structured data, but DualGraph's hybrid approach unlocks more accurate question answering by fusing semantic and symbolic knowledge graphs.
Retrieval-Augmented Generation (RAG) systems for question answering typically retrieve evidence by semantic similarity between the query and document chunks. While effective for unstructured text, this approach is less reliable on semi-structured corpora where answering may require exact filtering, aggregation, or exhaustive retrieval over structured attributes across multiple documents. Symbolic approaches support such operations, but they are often brittle on noisy natural-language corpora. We address this gap with DualGraph, a RAG framework that represents documents through two complementary views: a Textual Knowledge Graph for semantic retrieval and a Symbolic Knowledge Graph for symbolic querying over typed subject--predicate--object triples. Building on these two components, we provide multiple strategies for selecting or combining semantic and symbolic evidence.We also introduce SpecsQA, a benchmark from a commercial shopping website with semi-structured product documents and manually curated questions spanning open-ended and specification-oriented retrieval. Experiments show that DualGraph consistently outperforms state-of-the-art dense-retrieval, GraphRAG, symbolic, and table-oriented baselines across question types.Code and data are available at https://github.com/corneliocristina/DualGraphRAG.