Topo-RAG: Topology-aware retrieval for hybrid text-table documents
Alex Dantart, Marco Kóvacs-Navarro
TL;DR
Topo-RAG challenges the default assumption that everything in enterprise documents can be treated as text by introducing topology-aware routing that splits narrative and structured data into two specialized retrieval paths. Route A uses a dense narrative Bi-Encoder for text, while Route B employs Cell-Aware Late Interaction (CALI) to preserve table topology via per-cell vectors and a MaxSim scoring scheme. On the SEC-25 synthetic corpus, the dual-path approach yields an $18.4\%$ improvement in $nDCG@10$ for hybrid queries and robust performance as table width grows, thanks to per-cell interactions and efficiency techniques like WARP and CRISP. The work has practical industry impact, advocating composite indexes and graph-inspired integrations to bridge the gap between unstructured text and structured data for accurate, scalable enterprise search.
Abstract
In enterprise datasets, documents are rarely pure. They are not just text, nor just numbers; they are a complex amalgam of narrative and structure. Current Retrieval-Augmented Generation (RAG) systems have attempted to address this complexity with a blunt tool: linearization. We convert rich, multidimensional tables into simple Markdown-style text strings, hoping that an embedding model will capture the geometry of a spreadsheet in a single vector. But it has already been shown that this is mathematically insufficient. This work presents Topo-RAG, a framework that challenges the assumption that "everything is text". We propose a dual architecture that respects the topology of the data: we route fluid narrative through traditional dense retrievers, while tabular structures are processed by a Cell-Aware Late Interaction mechanism, preserving their spatial relationships. Evaluated on SEC-25, a synthetic enterprise corpus that mimics real-world complexity, Topo-RAG demonstrates an 18.4% improvement in nDCG@10 on hybrid queries compared to standard linearization approaches. It's not just about searching better; it's about understanding the shape of information.
