Update README.md
Browse files
README.md
CHANGED
|
@@ -26,3 +26,105 @@ configs:
|
|
| 26 |
- split: test
|
| 27 |
path: data/test-*
|
| 28 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
- split: test
|
| 27 |
path: data/test-*
|
| 28 |
---
|
| 29 |
+
|
| 30 |
+
# TabComp π
|
| 31 |
+
**A Benchmark for OCR-Free Visual Table Reading Comprehension**
|
| 32 |
+
|
| 33 |
+
This dataset accompanies the paper [TabComp: A Dataset for Visual Table Reading Comprehension](https://aclanthology.org/2025.findings-naacl.320.pdf)
|
| 34 |
+
|
| 35 |
+
TabComp evaluates **Vision-Language Models (VLMs)** on their ability to **read, understand, and reason over table images** without relying on OCR, using **generative question answering**.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## π Why TabComp?
|
| 40 |
+
|
| 41 |
+
Modern VLMs perform well on general VQA but struggle with **tables**, which require:
|
| 42 |
+
|
| 43 |
+
- Structured reasoning across rows/columns
|
| 44 |
+
- Understanding layout + text jointly
|
| 45 |
+
- Multi-step inference over semi-structured data
|
| 46 |
+
|
| 47 |
+
π TabComp isolates this challenge and provides a **focused benchmark for table understanding**.
|
| 48 |
+
|
| 49 |
+
---
|
| 50 |
+
|
| 51 |
+
## π Dataset Overview
|
| 52 |
+
|
| 53 |
+
- **Images:** 3,318 table images
|
| 54 |
+
- **QA pairs:** 19,610
|
| 55 |
+
- **Answer type:** Generative (natural language)
|
| 56 |
+
- **Domain:** Industrial documents
|
| 57 |
+
- **Text types:** Printed + handwritten
|
| 58 |
+
|
| 59 |
+
### Task Definition
|
| 60 |
+
|
| 61 |
+
Given:
|
| 62 |
+
- A **table image**
|
| 63 |
+
- A **question**
|
| 64 |
+
|
| 65 |
+
Generate:
|
| 66 |
+
- A **natural language answer** requiring table comprehension
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## π§ What Makes It Challenging?
|
| 71 |
+
|
| 72 |
+
- β No OCR signals
|
| 73 |
+
- β
Dense textual + structural information
|
| 74 |
+
- β
Long-range dependencies across table cells
|
| 75 |
+
- β
Generative answers (not extractive spans)
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## π Data Format
|
| 80 |
+
|
| 81 |
+
Each example:
|
| 82 |
+
|
| 83 |
+
```json
|
| 84 |
+
{
|
| 85 |
+
"id": "tabcomp-001",
|
| 86 |
+
"image": "documents/image1.png",
|
| 87 |
+
"question": "Who is the investigator at the University of California?",
|
| 88 |
+
"answer": "The investigator at the University of California is Dr. William W. Parmley."
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
from datasets import load_dataset
|
| 92 |
+
|
| 93 |
+
ds = load_dataset("DIALab/TabComp")
|
| 94 |
+
|
| 95 |
+
print(ds)
|
| 96 |
+
|
| 97 |
+
# sample
|
| 98 |
+
ex = ds["test"][0]
|
| 99 |
+
print(ex["question"])
|
| 100 |
+
print(ex["answer"])
|
| 101 |
+
|
| 102 |
+
π Leaderboard (Baseline Results)
|
| 103 |
+
|
| 104 |
+
Performance on TabComp (generative metrics):
|
| 105 |
+
| Model | Setting | B-4 β | ROUGE-L β | BERTScore β | METEOR β |
|
| 106 |
+
| ----------- | ---------- | --------- | --------- | ----------- | --------- |
|
| 107 |
+
| Donut-base | Fine-tuned | **42.69** | 37.29 | 83.38 | **60.14** |
|
| 108 |
+
| Donut-base | End-to-end | 28.59 | 32.24 | 85.06 | 47.19 |
|
| 109 |
+
| Donut-proto | Fine-tuned | 6.49 | 17.84 | 73.26 | 19.80 |
|
| 110 |
+
| Donut-proto | End-to-end | 34.87 | 37.02 | 87.74 | 56.49 |
|
| 111 |
+
| UReader | Zero-shot | 28.14 | **37.64** | **88.04** | 20.71 |
|
| 112 |
+
|
| 113 |
+
Full metrics (BLEU-1/2/3/4, CIDEr) available in the paper.
|
| 114 |
+
|
| 115 |
+
@inproceedings{gautam2025tabcomp,
|
| 116 |
+
title={TabComp: A Dataset for Visual Table Reading Comprehension},
|
| 117 |
+
author={Gautam, Somraj and Bhandari, Abhishek and Harit, Gaurav},
|
| 118 |
+
booktitle={Findings of NAACL 2025},
|
| 119 |
+
year={2025}
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
We welcome:
|
| 123 |
+
|
| 124 |
+
New model evaluations
|
| 125 |
+
Error analysis
|
| 126 |
+
Extensions to multilingual / multi-table settings
|
| 127 |
+
|
| 128 |
+
## Contact
|
| 129 |
+
|
| 130 |
+
For collaboration, email **Somraj Gautam** gautam.8@iitj.ac.in
|