TRivia: Self-supervised Fine-tuning of Vision-Language Models for Table Recognition

Junyuan Zhang, Bin Wang, Qin-Tong Zhang, Fan Wu, Zichen Wen +11 more
1/1/2026
contrastive-ssl

No official code found. Best implementation: opendatalab/TRivia (38 stars, Apache-2.0, last commit 2026-09-02).

Abstract

Table recognition (TR) aims to transform table images into semi-structured representations such as HTML or Markdown.As a core component of document parsing, TR has long relied on supervised learning, with recent efforts dominated by fine-tuning vision-language models (VLMs) using labeled data.While VLMs have brought TR to the next level, pushing performance further demands large-scale labeled data that is costly to obtain.Consequently, although proprietary models have continuously pushed the performance boundary, open-source models, often trained with limited resources and, in practice, the only viable option for many due to privacy regulations, still lag far behind.To bridge this gap, we introduce TRivia, a self-supervised fine-tuning method that enables pretrained VLMs to learn TR directly from unlabeled table images in the wild. Built upon Group Relative Policy Optimization, TRivia automatically identifies unlabeled samples that most effectively facilitate learning and eliminates the need for human annotations through a question-answering-based reward mechanism.

Show full abstract

An attention-guided module generates diverse questions for each table image, and the ability to interpret the recognition results and answer them correctly provides feedback to optimize the TR model.This closed-loop process allows the TR model to autonomously learn to recognize, structure, and reason over tables without labeled data. Leveraging this pipeline, we present TRivia-3B, an open-sourced, compact, and state-of-the-art TR model that surpasses existing systems (e.g., Gemini 2.5 Pro, MinerU2.5) on three popular benchmarks.

Semantic Scholar

Code Implementations(1)

opendatalab/TRiviaCommunity71%
Apache-2.0

(CVPR 2026) TRivia: Self-supervised Fine-tuning of Vision-Language Models for Table Recognition

385Nov 21, 20253 months agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2026trivia,
  title  = {TRivia: Self-supervised Fine-tuning of Vision-Language Models for Table Recognition},
  author = {Junyuan Zhang and Bin Wang and Qin-Tong Zhang and Fan Wu and Zichen Wen and Jia-Lin Lu and Junjie Shan and Zi-Qi Zhao and Shu-Ya Yang and Zi-Ling Wang and Zi-Yang Miao and Hua-Ping Zhong and Yuhang Zang and Xiao-Wen Dong and Ka-Ho Chow and Cong-Hui He},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:c3f9eb819303dcf7c56c5b59a0f9f278582847ca},
  journal = {Computer Vision and Pattern Recognition}
}

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/c3f9eb819303dcf7c56c5b59a0f9f278582847ca.svg)](https://codeofpaper.com/paper/c3f9eb819303dcf7c56c5b59a0f9f278582847ca)

Discussion