LTEM: LLM-Friendly Table-Enhanced Markdown for Table Understanding and Generation
Abstract
Tables in real-world documents, including scientific papers, financial reports, and statistical summaries, frequently use merged cells, multi-level headers, and sectioned layouts. Yet the lightweight formats LLMs handle best (Markdown, CSV) cannot express these structures, while expressive formats (HTML, LaTeX) impose excessive token cost and parsing complexity. To enable systematic analysis of this trade-off, we introduce a taxonomy decomposing table structure into six atomic features (F1-F6) and corresponding complexity levels (L1-L6), and construct STB (Synthetic Table Benchmark), a controlled benchmark with 1,089 tables systematically distributed across complexity levels. Using this framework, we propose LTEM (LLM-friendly Table-Enhanced Markdown), a formally specified, minimal extension of Markdown that explicitly encodes spans and hierarchical headers. Experiments across five state-of-the-art LLMs show that LTEM achieves accuracy comparable to HTML, offers a favorable accuracy-token trade-off relative to HTML and LaTeX, and produces substantially fewer invalid responses than LaTeX; for table generation, LTEM is comparable to MultiMarkdown though HTML is best. We release our taxonomy, benchmark, and format specification to support future research on LLM-table interaction.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- Accepted to the EMNLP 2026 Main Conference
Related papers
A Diagnostic Study of Faithfulness in Diffusion Language Models for Table-to-Text Generation
Shared title terminologycs.CLZaynab Merimi, Noussayba El Marrakchi, Arthur Satouf
Why is AI-generated language so hard to understand?
Shared title terminologycs.CLThomas Hikaru Clark, Matias B. Martin, Kyle Mahowald
Tablassert: Declarative Extraction of Knowledge Graphs from Biomedical Tables
Shared title terminologycs.CLSkye L. Goetz, Jared C. Roach, Gwênlyn Glusman
ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents
Shared title terminologycs.CLRui Sun, Junhua Huang, Luca Zancato et al.
When Does Continual Pre-Training Help? An Empirical Study of Decoupled Knowledge and Generation Trajectories in Clinical LLMs
Shared title terminologycs.CLNiclas Doll, Jasper Schulze Buschhoff, Shalaka Satheesh et al.
Retrieval-Augmented Generation in the Agentic Era: Tradition, Present, and Prospect
Shared title terminologycs.CLChenming Tang, Haolin Li, Yiran Li et al.