de-Rodrigo commited on
Commit
65bddda
1 Parent(s): 54ced44

Update README

Browse files
Files changed (3) hide show
  1. README.md +48 -0
  2. figs/demo-samples.gif +3 -0
  3. figs/merit-dataset.png +3 -0
README.md CHANGED
@@ -115,3 +115,51 @@ configs:
115
  tags:
116
  - synthetic
117
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  tags:
116
  - synthetic
117
  ---
118
+
119
+
120
+ <p align="center" style="margin-top: 50px; margin-bottom: 50px;">
121
+ <img src="figs/merit-dataset.png" alt="Visual Abstract" width="1000" />
122
+ </p>
123
+
124
+ # The MERIT Dataset :school_satchel::page_with_curl::trophy:
125
+
126
+ The MERIT Dataset is a multimodal dataset (image + text + layout) designed for training and benchmarking Large Language Models (LLMs) on Visually Rich Document Understanding (VrDU) tasks. It is a fully labeled synthetic dataset and you can access the generation pipeline on [GitHub](https://github.com/nachoDRT/MERIT-Dataset).
127
+
128
+ ## Introduction :information_source:
129
+ AI faces some dynamic and technical issues that push end-users to create and gather their own data. In addition, multimodal LLMs are gaining more and more attention, but datasets to train them might be improved to be more complex, more flexible, and easier to gather/generate.
130
+
131
+ In this research project, we identify school transcripts of records as a suitable niche to generate a synthetic challenging multimodal dataset (image + text + layout) for Token Classification or Sequence Generation.
132
+
133
+ <p align="center" style="margin-top: 50px; margin-bottom: 50px;">
134
+ <img src="figs/demo-samples.gif" alt="demo" width="200" />
135
+ </p>
136
+
137
+
138
+ ## Hardware :gear:
139
+ We ran the dataset generator on an MSI Meg Infinite X 10SF-666EU with an Intel Core i9-10900KF and an Nvidia RTX 2080 GPU, running on Ubuntu 20.04. Energy values in the table refer to 1k samples, and time values refer to one sample.
140
+
141
+ | Task | Energy (kWh) | Time (s) |
142
+ |------------------------------|--------------|----------|
143
+ | Generate digital samples | 0.016 | 2 |
144
+ | Modify samples in Blender | 0.366 | 34 |
145
+
146
+
147
+ ## Benchmark :muscle:
148
+
149
+ We train the LayoutLM family models on Token Classification to demonstrate the suitability of our dataset. The MERIT Dataset poses a challenging scenario with more than 400 labels.
150
+
151
+ We benchmark on three scenarios with an increasing presence of Blender-modified samples.
152
+
153
+ + Scenario 1: We train and test on digital samples.
154
+ + Scenario 2: We train with digital samples and test with Blender-modified samples.
155
+ + Scenario 3: We train and test with Blender-modified samples.
156
+
157
+
158
+
159
+ | | **Scenario 1** | **Scenario 2** | **Scenario 3** | **FUNSD/** | **Lang.** | **(Tr./Val./Test)** |
160
+ |------------------|----------------|----------------|----------------|------------|-----------|----------------------|
161
+ | | Dig./Dig. | Dig./Mod. | Mod./Mod | XFUND | | |
162
+ | | F1 | F1 | F1 | F1 | | |
163
+ | **LayoutLMv2** | 0.5536 | 0.3764 | 0.4984 | 0.8276 | Eng. | 7324 / 1831 / 4349 |
164
+ | **LayoutLMv3** | 0.3452 | 0.2681 | 0.6370 | 0.9029 | Eng. | 7324 / 1831 / 4349 |
165
+ | **LayoutXLM** | 0.5977 | 0.3295 | 0.4489 | 0.7550 | Spa. | 8115 / 2028 / 4426 |
figs/demo-samples.gif ADDED

Git LFS Details

  • SHA256: 398431edff9a4c57af24050b53ff00cfb9eb9cd1c2a6ab5f53a77760fed80067
  • Pointer size: 134 Bytes
  • Size of remote file: 166 MB
figs/merit-dataset.png ADDED

Git LFS Details

  • SHA256: c1a639e12359059606e9f9798f48a8563715ba99847e091632a6892de7645cad
  • Pointer size: 131 Bytes
  • Size of remote file: 486 kB