mlsanityData to 14 Oct 2026

2D-TPE: Two-Dimensional Positional Encoding Enhances Table Understanding for Large Language Models

arXiv 2409.19700 ↗First posted 29 Sep 2024cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Tables are ubiquitous across various domains for concisely representing structured information. Empowering large language models (LLMs) to reason over tabular data represents an actively explored direction. However, since typical LLMs only support one-dimensional~(1D) inputs, existing methods often flatten the two-dimensional~(2D) table structure into a sequence of tokens, which can severely disrupt the spatial relationships and result in an inevitable loss of vital contextual information. In this paper, we first empirically demonstrate the detrimental impact of such flattening operations on the performance of LLMs in capturing the spatial information of tables through two elaborate proxy tasks. Subsequently, we introduce a simple yet effective positional encoding method, termed ``2D-TPE'' (Two-Dimensional Table Positional Encoding), to address this challenge. 2D-TPE enables each attention head to dynamically select a permutation order of tokens within the context for attending to them, where each permutation represents a distinct traversal mode for the table, such as column-wise or row-wise traversal. 2D-TPE effectively mitigates the risk of losing essential spatial information while preserving computational efficiency, thus better preserving the table structure. Extensive experiments across five benchmarks demonstrate that 2D-TPE outperforms strong baselines, underscoring the importance of preserving the table structure for accurate table comprehension. Comprehensive analysis further reveals the substantially better scalability of 2D-TPE to large tables than baselines.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 40 of its 69 references that are in the map. First posted on arXiv 29 Sep 2024.

Builds on

40 of 69 references.

References · 40

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  7. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  8. 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
  9. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  10. 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 950
  11. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  12. 2015Compositional Semantic Parsing on Semi-Structured Tablescited by 515
28 more
  1. 2020TAPAS: Weakly Supervised Table Parsing via Pre-trainingcited by 434
  2. 2020Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlationcited by 425
  3. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 398
  4. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  5. 2023MedAgents: Large Language Models as Collaborators for Zero-shot Medical Reasoningcited by 316
  6. 2023Unified-IO 2: Scaling Autoregressive Multimodal Models with Vision, Language, Audio, and Actioncited by 302
  7. 2020ToTTo: A Controlled Table-To-Text Generation Datasetcited by 268
  8. 2022Binding Language Models in Symbolic Languagescited by 228
  9. 2024Chain-of-Table: Evolving Tables in the Reasoning Chain for Table Understandingcited by 188
  10. 2023Large Language Models are Versatile Decomposers: Decompose Evidence and Questions for Table-based Reasoningcited by 178
  11. 2021FeTaQA: Free-form Table Question Answeringcited by 175
  12. 2023TableLlama: Towards Open Large Generalist Models for Tablescited by 137
  13. 2021HiTab: A Hierarchical Table Dataset for Question Answering and Natural Language Generationcited by 118
  14. 2022Large Language Models are few(1)-shot Table Reasonerscited by 116
  15. 2023Table Meets LLM: Can Large Language Models Understand Structured Table Data? A Benchmark and Empirical Studycited by 116
  16. 2021TABBIE: Pretrained Representations of Tabular Datacited by 111
  17. 2020TUTA: Tree-based Transformers for Generally Structured Table Pre-trainingcited by 100
  18. 2022TableFormer: Robust Transformer Modeling for Table-Text Encodingcited by 91
  19. 2024FiT: Flexible Vision Transformer for Diffusion Modelcited by 85
  20. 2024TableLLM: Enabling Tabular Data Manipulation by LLMs in Real Office Usage Scenarioscited by 77
  21. 2023ReAcTable: Enhancing ReAct for Table Question Answeringcited by 76
  22. 2023Table-GPT: Table-tuned GPT for Diverse Table Taskscited by 69
  23. 2021MATE: Multi-view Attention for Table Transformer Efficiencycited by 54
  24. 2023HYTREL: Hypergraph-enhanced Tabular Data Representation Learningcited by 36
  25. 2024AMOR: A Recipe for Building Adaptable Modular Knowledge Agents Through Process Feedbackcited by 25
  26. 2022StruBERT: Structure-aware BERT for Table Search and Matchingcited by 24
  27. 2024ProTrix: Building Models for Planning and Reasoning over Tables with Sentence Contextcited by 23
  28. 2024From the Least to the Most: Building a Plug-and-Play Visual Reasoner via Data Synthesiscited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.