TL;DR
The paper introduces Table-R1, a novel three-stage reinforcement learning (RL) framework designed to drastically improve how Large Vision-Language Models (LVLMs) understand and reason over complex visual tables. By addressing the critical "cold-start" bottleneck of Group Relative Policy Optimization (GRPO), Table-R1 enables a 7B parameter model to outperform larger specialized models and match the performance of closed-source giants like GPT-4o on table-reasoning benchmarks.
What Problem Does This Paper Address?
Interpreting tables embedded in documents or images is a notoriously difficult multimodal task. Tables possess complex, non-linear structures (like merged cells) and require intricate logical or arithmetic reasoning to answer questions about them.
While Supervised Fine-Tuning (SFT) is the standard approach, it often suffers from poor generalization on unseen table layouts. Reinforcement learning methods like GRPO (popularized by DeepSeek-R1) offer a promising alternative by encouraging models to explore reasoning paths. However, the authors identify a major roadblock: GRPO fails when the initial model's accuracy is too low. If a model rarely generates a correct answer, the reward signals become incredibly sparse, the variance of the group advantages drops to zero, and the policy gradient stalls. Furthermore, standard tabular rewards are purely binary (correct/incorrect), providing no granular feedback on whether the model correctly parsed the table's structure.
Methods
To overcome reward sparsity and poor initialization, the authors propose Table-R1, a three-stage training pipeline:
- Stage 1: Warm-up (SFT): The model is initially fine-tuned on both table perception (structure recognition) and reasoning tasks. This pushes the model into a "moderate accuracy" zone, giving GRPO a viable starting point.
- Stage 2: Perception Alignment GRPO (PA-GRPO): Instead of binary rewards, this stage introduces a continuous reward based on Tree-Edit-Distance Similarity (TEDS). The model is tasked with converting a table image into Markdown or HTML. TEDS evaluates how closely the predicted tree structure matches the ground truth, providing fine-grained structural feedback.
- Stage 3: Hint-Completion GRPO (HC-GRPO): To refine multi-step reasoning, long Chain-of-Thought (CoT) solutions are split into Hints (initial steps) and Completions (residual steps). Given the question and a hint, the model learns to complete the reasoning chain. Rewards are given for both final answer accuracy and correct formatting (using
<think>and<answer>tags).
Datasets
The framework was trained and evaluated using subsets of the MMTab dataset, split into two categories:
- Held-in (Training & Evaluation): WTQ (Flat Table QA), HiTab (Hierarchical Table QA), TabMWP (Tabular Numerical Reasoning), and TabFact (Table Fact Verification).
- Held-out (Robustness Evaluation): TAT-QA (Financial Reports) and InfoTabs (Wikipedia Infoboxes).
Key Insights and Ideas
- The GRPO "Goldilocks Zone": The authors mathematically demonstrate that GRPO performance is highly sensitive to initial policy accuracy ($A_{init}$). Assuming rewards follow a Bernoulli distribution, the variance is maximized when $A_{init} \approx 0.5$. If a model is too weak (or too strong), variance approaches zero, leading to negligible policy gradients. A moderate starting accuracy is essential for effective RL exploration.
- The SFT Reasoning Trade-off: Interestingly, the authors found that standard SFT for table structure recognition severely damages a model's reasoning capabilities (dropping TabMWP accuracy from 60.2% to 14.3%). PA-GRPO, by contrast, uses continuous structural rewards to drastically improve table parsing without sacrificing the model's underlying logic.
Key Results
The authors evaluated Table-R1 primarily using Qwen2-VL (2B and 7B variants) as the base models:
- Massive Gains over Baselines: For Qwen2-VL-7B, Table-R1 achieved a 16.38% absolute improvement over standard GRPO on held-in datasets, and an 8.79% improvement on held-out datasets.
- Beating Larger Models: The optimized Qwen2-VL-7B-Table-R1 outperformed the much larger, specialized Table-LLaVA 13B model across the board.
- Matching Closed-Source Performance: On held-in benchmarks, the 7B Table-R1 model achieved an average accuracy of 68.63%, placing it on par with GPT-4o (66.16%) and outperforming Claude-3.5-Sonnet (64.12%).
Limitations and Future Work
Despite its strong performance, the authors note several limitations:
- Definitive Answers Only: The current framework is optimized for short, verifiable answers and does not address open-ended text generation tasks like table summarization.
- Clean, English-Only Data: The benchmarks consist entirely of clear, English images. Real-world challenges like perspective distortion, poor lighting, handwritten tables, and multilingual text remain unaddressed.
- Coarse Reasoning Rewards: While the hint-completion stage provides finer granularity than standard RL, the final evaluation within HC-GRPO still relies on binary correctness rather than step-by-step mathematical verification.
Summary updated