TL;DR
StrucTab is a novel 1B-parameter vision-language framework that revolutionizes table parsing by replacing black-box end-to-end generation with human-inspired sequential reasoning. By decomposing the task into explicit structural subtasks and optimizing them via a fine-grained reinforcement learning framework (Uni-TabRL), it achieves state-of-the-art performance, even outperforming massive closed-source models like Gemini 2.5 Pro and GPT-5 on complex real-world tables.
What Problem Does This Paper Address?
Table parsing—the process of converting an image of a table into a structured, machine-readable format like HTML or Markdown—is a foundational challenge in document understanding. Tables possess complex spatial layouts and logical dependencies (like merged cells) that require a model to simultaneously understand both structure and text.
While modern Vision-Language Models (VLMs) can parse tables end-to-end, they typically treat the task as a flat, one-dimensional image-to-text problem. This forces the model to implicitly figure out the table's topological logic all at once, frequently leading to structural errors. Furthermore, attempts to fix these errors using Reinforcement Learning (RL) have been bottlenecked by poor reward designs: VLM-based judges often hallucinate or miss fine-grained details, while rule-based metrics like Tree-Edit-Distance-based Similarity (TEDS) penalize harmless stylistic variations (such as equivalent LaTeX formula notations), creating highly unstable optimization signals.
Methods
The authors introduce StrucTab, a framework built on a 1B-parameter VLM backbone that addresses these limitations through two core innovations:
- Human-Inspired Sequential Reasoning & Curriculum Training: Instead of jumping straight to HTML generation, StrucTab breaks the parsing process down into a multi-step cognitive trajectory. It first counts the rows and columns, then identifies all merged cells, and finally reconstructs the full table. This is taught via a two-stage curriculum: the model first learns these atomic skills independently before unifying them into a single-round sequential dialogue.
- Uni-TabRL Framework: To provide stable, fine-grained reinforcement learning signals (built on Group Relative Policy Optimization, or GRPO), the authors decompose the reward function into three distinct components:
- Validity Reward: A binary gating mechanism that checks if the generated output is syntactically valid HTML and matches the structural prerequisites.
- Structure Reward (1D Probe): Instead of a holistic score, this metric linearizes the tables into cell sequences and calculates the ratio of correctly matched cells before the first mismatch, heavily penalizing early structural deviations.
- Content Reward (Anchor-Guided Destylization): To eliminate stylistic noise, both the reference and predicted HTML are rendered into standardized images and re-parsed by a frozen OCR model. Computing TEDS on these "de-stylized" representations ensures the model is rewarded purely for semantic accuracy.
Datasets
- Training Data: The model is pretrained on a mixture of 6M synthetic table samples and public datasets, followed by Supervised Fine-Tuning (SFT) on 130K high-quality samples, and RL optimization on 30K samples.
- Public Benchmarks: Evaluated on the table parsing subsets of OmniDocBench, CC-OCR, and OCRBench v2.
- TableVerse-5K: The authors introduce a new, large-scale benchmark consisting of 5,000 real-world tables. It covers diverse, challenging scenarios including photographed, printed, and handwritten tables in both Chinese and English with complex layouts and varied text styles.
Key Insights and Ideas
- Structural Cues are Powerful Inductive Biases: A training-free preliminary study revealed that simply injecting row-column counts or merged-cell information as text hints into frozen VLMs consistently boosts parsing accuracy. Explicitly training the model to generate these cues itself acts as a powerful structural scaffold.
- Catching the First Error Matters Most: In autoregressive generation, early mistakes causally propagate and amplify downstream errors. By focusing the structural reward on the earliest point of failure (via the 1D Probe), the framework successfully stabilizes long-form decoding.
- Visual Destylization Resolves Semantic Ambiguity: Standard text-matching metrics fail when a model generates code that looks visually identical to the ground truth but uses different syntax (e.g., formula formatting). Standardizing the visual rendering via a frozen OCR "style anchor" isolates semantic content fidelity from superficial text variations.
Key Results
- Outperforming the Giants: Despite its lightweight 1B-parameter backbone, StrucTab achieves state-of-the-art performance across all evaluated benchmarks. Remarkably, its average TEDS score surpasses massive closed-source models, exceeding Gemini 2.5 Pro by 7.13% and GPT-5 by 19.14%.
- RL Optimization Gains: The Uni-TabRL framework drives a significant 2.92% TEDS increase over the supervised baseline model (StrucTab-SFT), validating the effectiveness of the decomposed reward design.
- Curing Infinite Loops: Autoregressive table parsers often suffer from "degenerate repetition behavior" where they fail to generate closing tags and loop infinitely. The 1D Probe structural reward successfully guides autoregressive learning, dropping the repetition rate on TableVerse-5K to just 1.02%.
Limitations and Future Work
Not discussed in the paper.
Summary updated