NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tables

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Lanrui, Zheng, Mingyu, Tang, Hongyin, Lin, Zheng, Cao, Yanan, Wang, Jingang, Cai, Xunliang, Wang, Weiping
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911235743678464
author Wang, Lanrui
Zheng, Mingyu
Tang, Hongyin
Lin, Zheng
Cao, Yanan
Wang, Jingang
Cai, Xunliang
Wang, Weiping
author_facet Wang, Lanrui
Zheng, Mingyu
Tang, Hongyin
Lin, Zheng
Cao, Yanan
Wang, Jingang
Cai, Xunliang
Wang, Weiping
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_06560
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tables
Wang, Lanrui
Zheng, Mingyu
Tang, Hongyin
Lin, Zheng
Cao, Yanan
Wang, Jingang
Cai, Xunliang
Wang, Weiping
Computation and Language
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.
title NeedleInATable: Exploring Long-Context Capability of Large Language Models towards Long-Structured Tables
topic Computation and Language
url https://arxiv.org/abs/2504.06560