测试大模型对长表格的细粒度理解能力,发现现有模型表现远低于预期。
NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tables
- 将表格每个单元格视为'针',要求定位特定位置或查询内容
- 主流模型在简单定位任务上表现差,说明依赖数据捷径而非真实理解
- 用合成数据训练可提升模型在表格任务中的实际能力,适合研究者参考
处理结构化表格数据,尤其是大型长表格,是大语言模型(LLMs)面临的基础但具有挑战性的任务。现有长上下文基准如Needle-in-a-Haystack主要关注非结构化文本,忽视了多样化结构化表格的挑战。以往表格基准多侧重高层推理任务,忽略了模型对单个表格单元格的细粒度感知能力,而这对于实际、稳健的基于大模型的表格应用至关重要。为此,我们提出 extsc{NeedleInATable}(NIAT),一个新长上下文表格基准,将每个表格单元格视为'针',要求模型根据单元格位置或查询问题提取目标单元格。对多种LLMs和多模态LLMs的全面评估显示,主流下游表格任务与简单NIAT任务之间存在显著性能差距,表明其可能依赖数据集特异性相关性或捷径获取较好结果,缺乏真正稳健的长上下文表格理解能力。此外,我们证明使用合成的NIAT训练数据能有效提升模型在NIAT任务及下游表格任务上的表现,验证了具备NIAT能力对大模型实现真实表格理解的重要性。
原文摘要 · Abstract (English)
Processing structured tabular data, particularly large and lengthy tables, constitutes a fundamental yet challenging task for large language models (LLMs). However, existing long-context benchmarks like Needle-in-a-Haystack primarily focus on unstructured text, neglecting the challenge of diverse structured tables. Meanwhile, previous tabular benchmarks mainly consider downstream tasks that require high-level reasoning abilities, and overlook models' underlying fine-grained perception of individual table cells, which is crucial for practical and robust LLM-based table applications. To address this gap, we introduce \textsc{NeedleInATable} (NIAT), a new long-context tabular benchmark that treats each table cell as a ``needle'' and requires models to extract the target cell based on cell locations or lookup questions. Our comprehensive evaluation of various LLMs and multimodal LLMs reveals a substantial performance gap between popular downstream tabular tasks and the simpler NIAT task, suggesting that they may rely on dataset-specific correlations or shortcuts to obtain better benchmark results but lack truly robust long-context understanding towards structured tables. Furthermore, we demonstrate that using synthesized NIAT training data can effectively improve performance on both NIAT task and downstream tabular tasks, which validates the importance of NIAT capability for LLMs' genuine table understanding ability.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。