TableSeq: Unified Generation of Structure, Content, and Layout

Laziz Hamdi, Amine Tamasna, Pascal Boisson, Thierry Paquet
4/17/2026
cs.CV

Official code: hamdilaziz/TableSeq (14 stars, Python, Apache-2.0, last commit 2026-07-26).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This repository contain the implementation of Tableseq: unified generation of structure, content, and layout

140PythonApr 17, 20264 months agoApache-2.0
end-to-end-pipelinegenerative-modeltable-recognition

Similar Papers

Cite this paper

@article{hamdi2026tableseq,
  title  = {TableSeq: Unified Generation of Structure, Content, and Layout},
  author = {Laziz Hamdi and Amine Tamasna and Pascal Boisson and Thierry Paquet},
  year   = {2026},
  eprint = {2604.16070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.16070v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.16070.svg)](https://codeofpaper.com/paper/2604.16070)

Discussion