SpreadsheetLLM: Encoding Spreadsheets for Large Language Models
Not on the map. Why?
Abstract (arXiv)
Spreadsheets are characterized by their extensive two-dimensional grids, flexible layouts, and varied formatting options, which pose significant challenges for large language models (LLMs). In response, we introduce SpreadsheetLLM, pioneering an efficient encoding method designed to unleash and optimize LLMs' powerful understanding and reasoning capability on spreadsheets. Initially, we propose a vanilla serialization approach that incorporates cell addresses, values, and formats. However, this approach was limited by LLMs' token constraints, making it impractical for most applications. To tackle this challenge, we develop SheetCompressor, an innovative encoding framework that compresses spreadsheets effectively for LLMs. It comprises three modules: structural-anchor-based compression, inverse index translation, and data-format-aware aggregation. It significantly improves performance in the spreadsheet table detection task, outperforming the vanilla approach by 25.6% in GPT4's in-context learning setting. Moreover, fine-tuned LLM with SheetCompressor has an average compression ratio of 25 times, and achieves a state-of-the-art 78.9% F1 score, surpassing the best existing models by 12.3%. Finally, we propose Chain of Spreadsheet for downstream tasks of spreadsheet understanding and validate it in a new and demanding spreadsheet QA task. We methodically leverage the inherent layout and structure of spreadsheets, demonstrating that SpreadsheetLLM is highly effective across a variety of spreadsheet tasks.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 20 of its 43 references that are in the map. First posted on arXiv 12 Jul 2024.
Builds on
20 of 43 references.
References · 20
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 432
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
- 2023StructGPT: A General Framework for Large Language Model to Reason over Structured Datacited by 339
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
- 2022Binding Language Models in Symbolic Languagescited by 224
- 2023TableLlama: Towards Open Large Generalist Models for Tablescited by 136
- 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generationcited by 117
- 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
- 2024TableLLM: Enabling Tabular Data Manipulation by LLMs in Real Office Usage Scenarioscited by 76
- 2019Sherlock: A Deep Learning Approach to Semantic Data Type Detectioncited by 73
- 2023Table-GPT: Table-tuned GPT for Diverse Table Taskscited by 69
8 more
- 2023Unlocking Context Constraints of LLMs: Enhancing Context Efficiency of LLMs with Self-Information-Based Content Filteringcited by 62
- 2022Table Pre-training: A Survey on Model Architectures, Pre-training Objectives, and Downstream Taskscited by 42
- 2021SpreadsheetCoder: Formula Prediction from Semi-structured Contextcited by 41
- 2023Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear Queriescited by 38
- 2021FORTAP: Using Formulas for Numerical-Reasoning-Aware Table Pretrainingcited by 19
- 2023FLAME: A small language model for spreadsheet formulascited by 15
- 2021TableSense: Spreadsheet Table Detection with Convolutional Neural Networkscited by 12
- 2024Auto-Formula: Recommend Formulas in Spreadsheets using Contrastive Learning for Table Representationscited by 12
Built on by
Citing papers per year: 2024: 2; 2025: 7; 2026: 6.
15 papers.
Sort:
By area:
- 2025LLM/Agent-as-Data-Analyst: A Surveycited by 15
- 2025DocR1: Evidence Page-Guided GRPO for Multi-Page Document Understandingcited by 11
- 2025Finch: Benchmarking Finance & Accounting across Spreadsheet-Centric Enterprise Workflowscited by 9
- 2024RACOON: An LLM-based Framework for Retrieval-Augmented Column Type Annotation with a Knowledge Graphcited by 7
- 2026SpreadsheetBench 2: Evaluating Agents on End-to-End Business Spreadsheet Workflowscited by 7
- 2026From Rows to Reasoning: A Retrieval-Augmented Multimodal Framework for Spreadsheet Understandingcited by 5
- 2025Bridging Language Models and Financial Analysiscited by 4
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
- 2025Iterative Resolution of Prompt Ambiguities Using a Progressive Cutting-Search Approachcited by 2
- 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligencecited by 2
- 2024HySem: A context length optimized LLM pipeline for unstructured tabular extractioncited by 1
- 2026TopBench: A Benchmark for Implicit Predictive Reasoning in Tabular Question Answeringcited by 1
3 more
- 2026TabClaw: An Interactive and Self-Evolving Agent for Spreadsheet Manipulation and Table Reasoningcited by 1
- 2026When Language Models Meet NeuroGraphs: Exploring Enhanced Agentic LLM Framework Towards Brain Network Analysiscited by 0
- 2026SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoningcited by 0
- 2026SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoning14 Aug 2026
- 2026When Language Models Meet NeuroGraphs: Exploring Enhanced Agentic LLM Framework Towards Brain Network Analysis24 Jul 2026
- 2026SpreadsheetBench 2: Evaluating Agents on End-to-End Business Spreadsheet Workflows29 Jun 2026
- 2026TabClaw: An Interactive and Self-Evolving Agent for Spreadsheet Manipulation and Table Reasoning9 Jun 2026
- 2026TopBench: A Benchmark for Implicit Predictive Reasoning in Tabular Question Answering30 Apr 2026
- 2026From Rows to Reasoning: A Retrieval-Augmented Multimodal Framework for Spreadsheet Understanding13 Jan 2026
- 2025Finch: Benchmarking Finance & Accounting across Spreadsheet-Centric Enterprise Workflows15 Dec 2025
- 2025LLM/Agent-as-Data-Analyst: A Survey28 Sep 2025
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining8 Sep 2025
- 2025DocR1: Evidence Page-Guided GRPO for Multi-Page Document Understanding10 Aug 2025
- 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligence14 Jul 2025
- 2025Iterative Resolution of Prompt Ambiguities Using a Progressive Cutting-Search Approach5 May 2025
- 2025DocR1: Evidence Page-Guided GRPO for Multi-Page Document Understandingcited by 11
- 2026From Rows to Reasoning: A Retrieval-Augmented Multimodal Framework for Spreadsheet Understandingcited by 5
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
- 2026TopBench: A Benchmark for Implicit Predictive Reasoning in Tabular Question Answeringcited by 1
- 2026TabClaw: An Interactive and Self-Evolving Agent for Spreadsheet Manipulation and Table Reasoningcited by 1
- 2026SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoningcited by 0
- 2026SheetCompass: Hierarchical Relation Graphs for Agentic Spreadsheet Reasoning14 Aug 2026
- 2026TabClaw: An Interactive and Self-Evolving Agent for Spreadsheet Manipulation and Table Reasoning9 Jun 2026
- 2026TopBench: A Benchmark for Implicit Predictive Reasoning in Tabular Question Answering30 Apr 2026
- 2026From Rows to Reasoning: A Retrieval-Augmented Multimodal Framework for Spreadsheet Understanding13 Jan 2026
- 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretraining8 Sep 2025
- 2025DocR1: Evidence Page-Guided GRPO for Multi-Page Document Understanding10 Aug 2025
- 2025LLM/Agent-as-Data-Analyst: A Surveycited by 15
- 2026SpreadsheetBench 2: Evaluating Agents on End-to-End Business Spreadsheet Workflowscited by 7
- 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligencecited by 2
- 2026When Language Models Meet NeuroGraphs: Exploring Enhanced Agentic LLM Framework Towards Brain Network Analysiscited by 0
- 2026When Language Models Meet NeuroGraphs: Exploring Enhanced Agentic LLM Framework Towards Brain Network Analysis24 Jul 2026
- 2026SpreadsheetBench 2: Evaluating Agents on End-to-End Business Spreadsheet Workflows29 Jun 2026
- 2025LLM/Agent-as-Data-Analyst: A Survey28 Sep 2025
- 2025Toward Real-World Table Agents: Capabilities, Workflows, and Design Principles for LLM-based Table Intelligence14 Jul 2025
- 2025Finch: Benchmarking Finance & Accounting across Spreadsheet-Centric Enterprise Workflowscited by 9
- 2025Bridging Language Models and Financial Analysiscited by 4
- 2025Iterative Resolution of Prompt Ambiguities Using a Progressive Cutting-Search Approachcited by 2
- 2024HySem: A context length optimized LLM pipeline for unstructured tabular extractioncited by 1
- 2025Finch: Benchmarking Finance & Accounting across Spreadsheet-Centric Enterprise Workflows15 Dec 2025
- 2025Iterative Resolution of Prompt Ambiguities Using a Progressive Cutting-Search Approach5 May 2025
- 2025Bridging Language Models and Financial Analysis14 Mar 2025
- 2024HySem: A context length optimized LLM pipeline for unstructured tabular extraction18 Aug 2024
Similar, not cited
Close in wording, no citation either way
- 2025Large Language Models for Spreadsheets: Benchmarking Progress and Evaluating Performance with FLARE
- 2024Vision Language Models for Spreadsheet Understanding: Challenges and Opportunities
- 2026Sheet As Token: A Graph-Enhanced Representation for Multi-Sheet Spreadsheet Understanding
- 2024Large Language Model for Table Processing: A Survey
- 2025SheetDesigner: MLLM-Powered Spreadsheet Layout Generation with Rule-Based and Vision-Based Reflection
- 2026SpreadsheetArena: Decomposing Preference in LLM Generation of Spreadsheet Workbooks
- 2026Beyond Rows to Reasoning: Agentic Retrieval for Multimodal Spreadsheet Understanding and Editing
- 2026Q&A on Any Spreadsheet Requires Interpreting Its Grid Structure