将表格作为整体单元进行检索,提升多表数据理解的准确性和速度。
Sheet As Token: A Graph-Enhanced Representation for Multi-Sheet Spreadsheet Understanding

- 把每张表格视为一个语义单元,用图神经网络融合结构与内容信息
- 在工业数据集上检索准确率提升超46%,推理速度加快283倍
- 适合需要高效处理多表数据的智能分析系统开发者
基于语言模型的数据分析代理对工作簿级电子表格理解的需求日益增长,但因信息分散于多张具有异构模式、布局和隐含关系的表格中而面临挑战。现有基于检索增强的方法通常将表格拆分为行、列或块以提升可扩展性,但此类以块为中心的表示会割裂表格的全局语义。我们提出 Sheet As Token (SAT),一种图增强框架,将每张工作表视为统一的语义单元用于多表检索。SAT 序列化包括表名、形状和列头等稀疏的模式感知特征,并将每张表编码为紧凑的稠密标记。给定查询,SAT 使用 BGE 初始化的表编码器检索候选项,并通过门控关系图神经网络进行精炼。在严格全库评估中,SAT 在 IndustryTab-614 上达到 0.9173 NDCG@5,IndustryTab-1K 上达 0.9222,相比零样本 BGE RAG 分别提升 44.6% 和 46.7%。SAT 同时提升了检索准确率与服务效率:在 IndustryTab-1K 上超越 Qwen3.5-9B RAG 重排序器 12.5%,在线延迟从 2.61 秒降至 9.24 毫秒,约快 283 倍。结果表明,SAT 在固定语料库设置下实现了高精度与低延迟的检索性能。代码与数据见 https://github.com/SHITIANYU-hue/SheetasToken。
原文摘要 · Abstract (English)
Workbook-scale spreadsheet understanding is increasingly important for language-model-based data analysis agents, but remains challenging because relevant information is often distributed across multiple sheets with heterogeneous schemas, layouts, and implicit relationships. Existing retrieval-augmented approaches typically decompose spreadsheets into rows, columns, or blocks to improve scalability; however, such chunk-centric representations can fragment worksheets into isolated text spans and weaken global sheet-level semantics. We propose Sheet As Token (SAT), a graph-enhanced framework that treats each worksheet as a unified semantic unit for multi-sheet spreadsheet retrieval. SAT serializes sparse schema-aware features, including sheet name, shape, and column headers, and encodes each worksheet into a compact dense token. Given a query, SAT retrieves candidates with a BGE-initialized Sheet Encoder and refines them with a gated relational GNN. In strict full-corpus evaluation, SAT reaches 0.9173 NDCG@5 on IndustryTab-614 and 0.9222 on IndustryTab-1K, relative improvements of 44.6% and 46.7% over zero-shot BGE RAG, respectively. SAT therefore improves both retrieval accuracy and serving efficiency: on IndustryTab-1K, it exceeds a Qwen3.5-9B RAG reranker by 12.5% while reducing online latency from 2.61 s to 9.24 ms, approximately 283X faster. These results show that SAT provides accurate and latency-efficient retrieval in the evaluated fixed-corpus setting. Code and data are available at https://github.com/SHITIANYU-hue/SheetasToken .
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。