TableSeq: Unified Generation of Structure, Content, and Layout

arXiv cs.CV / 4/20/2026

📰 NewsModels & Research

Key Points

  • TableSeq is an image-only, end-to-end framework that unifies table structure recognition, cell content recognition, and cell localization into a single autoregressive sequence-generation task.
  • The model generates an interleaved stream containing HTML tags, cell text, and discretized coordinate tokens, aligning logical structure, content, and geometry without external OCR or multi-stage post-processing.
  • TableSeq uses a lightweight high-resolution FCN-H16 encoder, a minimal structure-prior head, and a compact transformer encoder to keep the architecture simple while maintaining strong performance on difficult layouts.
  • Reported benchmark results show competitive or state-of-the-art accuracy across PubTabNet, FinTabNet, and SciTSR (CAR protocol), while also performing well on PubTables-1M (GriTS).
  • The same unified sequence interface generalizes to index-based table querying and supports faster inference via multi-token prediction for blockwise decoding, with only limited accuracy loss; the project plans to release code publicly on GitHub.

Abstract

We present TableSeq, an image-only, end-to-end framework for joint table structure recognition, content recognition, and cell localization. The model formulates these tasks as a single sequence-generation problem: one decoder produces an interleaved stream of \texttt{HTML} tags, cell text, and discretized coordinate tokens, thereby aligning logical structure, textual content, and cell geometry within a unified autoregressive sequence. This design avoids external OCR, auxiliary decoders, and complex multi-stage post-processing. TableSeq combines a lightweight high-resolution FCN-H16 encoder with a minimal structure-prior head and a single-layer transformer encoder, yielding a compact architecture that remains effective on challenging layouts. Across standard benchmarks, TableSeq achieves competitive or state-of-the-art results while preserving architectural simplicity. It reaches 95.23 TEDS / 96.83 S-TEDS on PubTabNet, 97.45 TEDS / 98.69 S-TEDS on FinTabNet, and 99.79 / 99.54 / 99.66 precision / recall / F1 on SciTSR under the CAR protocol, while remaining competitive on PubTables-1M under GriTS. Beyond TSR/TCR, the same sequence interface generalizes to index-based table querying without task-specific heads, achieving the best IRDR score and competitive ICDR/ICR performance. We also study multi-token prediction for faster blockwise decoding and show that it reduces inference latency with only limited accuracy degradation. Overall, TableSeq provides a practical and reproducible single-stream baseline for unified table recognition, and the source code will be made publicly available at https://github.com/hamdilaziz/TableSeq.