atlas

Research map / Large language models / Language, safety and interpretability

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

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces NeedleInATable, a long-context benchmark treating each table cell as a needle (cell-locating and cell-lookup queries), evaluates LLMs/MLLMs, and shows that fine-tuning on GPT-4o-synthesized CoT NIAT data improves downstream table tasks.

Problem

Existing long-context benchmarks focus on unstructured text and tabular benchmarks emphasize high-level reasoning, leaving LLMs' fine-grained cell-level perception in long structured tables under-evaluated.

Approach

Treat every table cell as a needle and test models on locating a cell by row/column index or retrieving it via a lookup question, across flat, horizontal and hierarchical tables in Markdown, HTML and image formats; then use GPT-4o-generated chain-of-thought NIAT training data (strong2weak synthesis) to fine-tune weaker models, which also improves downstream table tasks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune Qwen2.5-7B-Instruct on synthesized NIAT dataQwen2.5-7B-Instruct · Four downstream benchmarks, average accuracyaverage accuracy: 51.96 -> 64.06Helped
Fine-tune Llama3.1-8B-Instruct on synthesized NIAT dataLlama3.1-8B-Instruct · Four downstream benchmarks, average accuracyaverage accuracy: 48.40 -> 65.39Helped
Fine-tune Qwen2.5-7B-Instruct on synthesized NIAT dataQwen2.5-7B-Instruct · TabFactexact match accuracy: 70.00 -> 61.28Hurt
Fine-tune Llama3.1-8B-Instruct on synthesized NIAT dataLlama3.1-8B-Instruct · Four downstream benchmarksexact match accuracy: 49.90 -> 67.43 WTQ; 62.80 -> 78.57 TabFact; 26.10 -> 49.41 HiTab; 54.78 -> 66.15 TABMWPHelped
Add cell-lookup training alongside cell-locating training (ablation)Llama3.1-8B-Instruct fine-tuned on cell-locating data · TabFactexact match accuracy: 67.45 -> 78.57Helped
Add cell-lookup training alongside cell-locating training (ablation)Llama3.1-8B-Instruct fine-tuned on cell-locating data · HiTabexact match accuracy: 33.44 -> 49.41Helped
Add cell-lookup training alongside cell-locating training (ablation)Llama3.1-8B-Instruct fine-tuned on cell-locating data · TABMWPexact match accuracy: 70.50 -> 66.15Mixed
Add cell-locating training alongside cell-lookup training (ablation)Llama3.1-8B-Instruct fine-tuned on cell-lookup data · TabFactexact match accuracy: 53.50 -> 78.57Helped
Add cell-locating training alongside cell-lookup training (ablation)Llama3.1-8B-Instruct fine-tuned on cell-lookup data · HiTabexact match accuracy: 35.00 -> 49.41Helped
Add cell-locating training alongside cell-lookup training (ablation)Llama3.1-8B-Instruct fine-tuned on cell-lookup data · TABMWPexact match accuracy: 69.44 -> 66.15Hurt
Use synthesized NIAT training rather than fine-tuning on four downstream datasets (ablation)Llama3.1-8B-Instruct · WTQ, TabFact, HiTab, and TABMWPexact match accuracy: 64.78 -> 67.43 WTQ; 78.13 -> 78.57 TabFact; 48.22 -> 49.41 HiTab; 81.79 -> 66.15 TABMWPMixed
Increase cropped table sizeLLMs and MLLMs on NIAT cell-locating · Cropped tables from 8×8 to 32×32accuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: WTQ HiTab AIT-QA TabFact TABMWP

Benchmarks: NeedleInATable WTQ TabFact HiTab TABMWP

Metrics: exact match accuracy

Baselines: Mistral-7B-Instruct-v0.3 Llama3.1-8B-Instruct Qwen2.5-7B-Instruct StructLLM TableGPT2 TableLLM GPT-4o DeepSeek-R1 QwQ-32B

Builds on: Needle-in-a-Haystack RULER LongBench-v2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy