arXiv:2504.09207cs.DBcs.IR2025-04被引 40

用大模型让自然语言问数据表更准更快

Pneuma: Leveraging LLMs for Tabular Data Representation and Retrieval in an End-to-End System

  • 用大模型理解表结构和内容,实现精准表示
  • 结合向量搜索与全文检索,提升查找准确率
  • 适合非技术用户在企业/科研场景快速找表

在数据库、数据湖和存储库中寻找相关表格是挖掘数据价值的第一步。这一任务仍具挑战性,因为表格的相关性不仅取决于内容,还依赖于上下文,而这类上下文往往是团队内部的隐性知识。现有工具如数据目录和学术数据发现系统多依赖关键词搜索或复杂界面,限制了非技术用户的使用。大语言模型(LLMs)为用户提供自然语言提问的能力,使数据发现更直观高效。本文提出Pneuma,一个端到端的检索增强生成(RAG)系统,用于高效准确地发现表格数据。Pneuma利用大模型进行表格表示与检索:在表示阶段保留模式和行级信息以实现全面理解;在检索阶段融合传统信息检索技术(如全文搜索与向量搜索),发挥两者优势。我们在六个真实世界数据集(涵盖企业数据、科学数据库、仓储数据及开放数据)上构建了综合性基准,评估表格发现工作负载。结果表明,Pneuma在准确率和资源效率上均优于广泛使用的表格搜索系统(如全文搜索和最先进的RAG系统)。

原文摘要 · Abstract (English)

Finding relevant tables among databases, lakes, and repositories is the first step in extracting value from data. Such a task remains difficult because assessing whether a table is relevant to a problem does not always depend only on its content but also on the context, which is usually tribal knowledge known to the individual or team. While tools like data catalogs and academic data discovery systems target this problem, they rely on keyword search or more complex interfaces, limiting non-technical users' ability to find relevant data. The advent of large language models (LLMs) offers a unique opportunity for users to ask questions directly in natural language, making dataset discovery more intuitive, accessible, and efficient. In this paper, we introduce Pneuma, a retrieval-augmented generation (RAG) system designed to efficiently and effectively discover tabular data. Pneuma leverages large language models (LLMs) for both table representation and table retrieval. For table representation, Pneuma preserves schema and row-level information to ensure comprehensive data understanding. For table retrieval, Pneuma augments LLMs with traditional information retrieval techniques, such as full-text and vector search, harnessing the strengths of both to improve retrieval performance. To evaluate Pneuma, we generate comprehensive benchmarks that simulate table discovery workload on six real-world datasets including enterprise data, scientific databases, warehousing data, and open data. Our results demonstrate that Pneuma outperforms widely used table search systems (such as full-text search and state-of-the-art RAG systems) in accuracy and resource efficiency.

大模型表格检索RAG数据发现

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。