连接OLAP与RAG:一种多维方法用于语料库划分设计
Bridging OLAP and RAG: A Multidimensional Approach to the Design of Corpus Partitioning
AI总结:
本文提出维度事实模型(DFM)以指导RAG语料库的多维划分设计,结合语义聚类和多维划分策略,提升检索的可控性和确定性。
摘要:
检索增强生成(RAG)系统正越来越多地部署在大规模文档集合上,通常包含数百万份文档和数千万个文本片段。在工业级检索平台中,可扩展性通常通过水平分片以及近邻搜索、混合索引和优化元数据过滤的结合来实现。虽然从效率角度看是有效的,但这些机制依赖于自下而上的相似性驱动组织,缺乏对语料库划分的理论依据。在本文中,我们主张大规模RAG系统的设计可能受益于两种正交策略的结合:语义聚类,它优化嵌入空间的局部性,以及多维划分,它根据时间、组织上下文等概念维度来决定检索的位置。尽管这些维度已经在当前系统中隐含存在,但它们被使用在随意且结构不佳的方式中。我们提出维度事实模型(DFM)作为概念框架,指导RAG语料库的多维划分设计。DFM提供了一种原则性的方法来思考事实、维度、层次和粒度在检索导向设置中的推理。该框架自然支持层次路由和受控回退策略,确保即使在元数据不完整的情况下,检索仍然保持稳健,同时将搜索过程从“黑箱”相似性匹配转变为可控且确定性的流程。本文旨在作为立场论文;其目标是弥合OLAP风格多维建模与现代RAG架构之间的差距,并激发进一步研究基于原则性、可解释性和可控性的大规模检索策略。
英文摘要:
Retrieval-Augmented Generation (RAG) systems are increasingly deployed on large-scale document collections, often comprising millions of documents and tens of millions of text chunks. In industrial-scale retrieval platforms, scalability is typically addressed through horizontal sharding and a combination of Approximate Nearest-Neighbor search, hybrid indexing, and optimized metadata filtering. Although effective from an efficiency perspective, these mechanisms rely on bottom-up, similarity-driven organization and lack a conceptual rationale for corpus partitioning. In this paper, we claim that the design of large-scale RAG systems may benefit from the combination of two orthogonal strategies: semantic clustering, which optimizes locality in embedding space, and multidimensional partitioning, which governs where retrieval should occur based on conceptual dimensions such as time and organizational context. Although such dimensions are already implicitly present in current systems, they are used in an ad hoc and poorly structured manner. We propose the Dimensional Fact Model (DFM) as a conceptual framework to guide the design of multidimensional partitions for RAG corpora. The DFM provides a principled way to reason about facts, dimensions, hierarchies, and granularity in retrieval-oriented settings. This framework naturally supports hierarchical routing and controlled fallback strategies, ensuring that retrieval remains robust even in the presence of incomplete metadata, while transforming the search process from a 'black-box' similarity matching into a governable and deterministic workflow. This work is intended as a position paper; its goal is to bridge the gap between OLAP-style multidimensional modeling and modern RAG architectures, and to stimulate further research on principled, explainable, and governable retrieval strategies at scale.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。