Model card: rewrite the reranking section as an example (ViDoRe V3)
Browse files
README.md
CHANGED
|
@@ -193,9 +193,11 @@ Shown by the kit but not counted in the 0.3 index: ARC-Easy 98.6, ARC-Challenge
|
|
| 193 |
|
| 194 |
Vision rows are answered in batches, so their time is a per-row average: median 142 ms, mean 135 ms, p80 184 ms.
|
| 195 |
|
| 196 |
-
##
|
| 197 |
|
| 198 |
-
|
|
|
|
|
|
|
| 199 |
|
| 200 |
```python
|
| 201 |
question = {"relevant": {
|
|
@@ -204,22 +206,41 @@ question = {"relevant": {
|
|
| 204 |
"criteria": {"true": "Yes, the page contains the information needed to answer it",
|
| 205 |
"false": "No, the page does not contain that information"}}}
|
| 206 |
p = model.decide("", question, images=[page_image])["answers"]["relevant"]["noul"] # from the image
|
| 207 |
-
p = model.decide(page_markdown, question)["answers"]["relevant"]["noul"] # from
|
| 208 |
```
|
| 209 |
|
| 210 |
-
**
|
| 211 |
-
|
| 212 |
-
|
| 213 |
-
|
| 214 |
-
|
|
| 215 |
-
|
|
| 216 |
-
|
|
| 217 |
-
|
|
| 218 |
-
|
|
| 219 |
-
|
|
| 220 |
-
| mean
|
| 221 |
-
|
| 222 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 223 |
|
| 224 |
## Training
|
| 225 |
|
|
|
|
| 193 |
|
| 194 |
Vision rows are answered in batches, so their time is a per-row average: median 142 ms, mean 135 ms, p80 184 ms.
|
| 195 |
|
| 196 |
+
## Example usage: IVE-4B as a reranker
|
| 197 |
|
| 198 |
+
A decision model makes a natural reranker: for each page a retriever returns, ask whether it answers the query, and sort the pages by the probability of "yes". We evaluate IVE-4B this way on **ViDoRe V3**, a visual document retrieval benchmark: its 8 public domains (computer science, energy, finance in English and French, HR, industrial, pharmaceuticals, physics), with English queries (MTEB `Vidore3*Retrieval`).
|
| 199 |
+
|
| 200 |
+
Every candidate page gets the same `noul` question, from the page image or from its OCR text:
|
| 201 |
|
| 202 |
```python
|
| 203 |
question = {"relevant": {
|
|
|
|
| 206 |
"criteria": {"true": "Yes, the page contains the information needed to answer it",
|
| 207 |
"false": "No, the page does not contain that information"}}}
|
| 208 |
p = model.decide("", question, images=[page_image])["answers"]["relevant"]["noul"] # from the image
|
| 209 |
+
p = model.decide(page_markdown, question)["answers"]["relevant"]["noul"] # from the text
|
| 210 |
```
|
| 211 |
|
| 212 |
+
**Setup.** We rerank the top 50 of seven first-stage retrievers. Four of them retrieve page images (NeoMME-260M, pplx-embed-v2-late-0.6b, topk-embed-v1-small, EVIE-4.5B): we rerank their top 50 twice, from the page image and from the page's OCR markdown (`Vidore3*Retrieval.v2`, same queries and relevance judgments). The other three retrieve the OCR text (BM25, mxbai-edge-colbert-v0-32m, pplx-embed-v1-0.6b), and we rerank their top 50 from the text. We compare IVE-4B with three public decision models, [pplx-decider-flash-v1.3](https://huggingface.co/perplexity-ai/pplx-decider-flash-v1.3), [pplx-decider-flash-v1.2](https://huggingface.co/perplexity-ai/pplx-decider-flash-v1.2) and [d3-mini](https://huggingface.co/vllm-sr/d3-mini), all asked the same question. IVE-4B sees images up to its default 2.1 MP; the others run through their own released inference code at their default resolution. Scores are nDCG@10 × 100, averaged over the 8 domains.
|
| 213 |
+
|
| 214 |
+
**Reranking from the page image**
|
| 215 |
+
|
| 216 |
+
| First-stage retriever | First stage | **IVE-4B** | pplx-decider-flash-v1.3 | pplx-decider-flash-v1.2 | d3-mini |
|
| 217 |
+
|---|---:|---:|---:|---:|---:|
|
| 218 |
+
| NeoMME-260M | 55.9 | **65.1** | 64.6 | 64.4 | 64.5 |
|
| 219 |
+
| pplx-embed-v2-late-0.6b | 64.0 | **67.1** | 66.5 | 66.2 | 66.5 |
|
| 220 |
+
| topk-embed-v1-small | 64.3 | **67.3** | 66.4 | 66.1 | 66.2 |
|
| 221 |
+
| EVIE-4.5B | 66.7 | **67.3** | 66.0 | 65.8 | 65.9 |
|
| 222 |
+
| **mean** | 62.7 | **66.7** | 65.9 | 65.6 | 65.8 |
|
| 223 |
+
|
| 224 |
+
**Reranking from the OCR text**
|
| 225 |
+
|
| 226 |
+
| First-stage retriever | First stage | **IVE-4B** | pplx-decider-flash-v1.3 | pplx-decider-flash-v1.2 | d3-mini |
|
| 227 |
+
|---|---:|---:|---:|---:|---:|
|
| 228 |
+
| NeoMME-260M | 55.9 | **64.8** | 63.8 | 63.6 | 63.6 |
|
| 229 |
+
| pplx-embed-v2-late-0.6b | 64.0 | **66.6** | 65.2 | 65.0 | 65.3 |
|
| 230 |
+
| topk-embed-v1-small | 64.3 | **66.7** | 65.4 | 65.1 | 65.0 |
|
| 231 |
+
| EVIE-4.5B | 66.7 | **67.0** | 65.3 | 65.0 | 64.8 |
|
| 232 |
+
| BM25 | 39.0 | **56.4** | 55.5 | 55.4 | 55.1 |
|
| 233 |
+
| mxbai-edge-colbert-v0-32m | 43.9 | **58.6** | 57.9 | 57.7 | 57.5 |
|
| 234 |
+
| pplx-embed-v1-0.6b | 52.5 | **64.6** | 63.2 | 63.2 | 63.4 |
|
| 235 |
+
| **mean** | 55.2 | **63.5** | 62.4 | 62.1 | 62.1 |
|
| 236 |
+
|
| 237 |
+
**What we see**
|
| 238 |
+
|
| 239 |
+
- **IVE-4B is the best reranker behind every retriever, in both views.** From the image, it lifts the mean from 62.7 to 66.7, 0.8 points more than pplx-decider-flash-v1.3, the strongest baseline.
|
| 240 |
+
- **It still helps the strongest retriever.** Behind EVIE-4.5B, IVE-4B improves on the first stage in both views, while every other model ends up below it.
|
| 241 |
+
- **The lead is significant.** Against pplx-decider-flash-v1.3, IVE-4B gains 0.5 to 1.3 points per retriever from the image (p < 0.05 for 3 of the 4 retrievers) and 0.7 to 1.7 from the text (p < 0.01 for all 7), in paired sign-flip tests over queries.
|
| 242 |
+
- **Text works almost as well as images.** Reranking from the OCR markdown instead of the image costs IVE-4B 0.2 to 0.5 points; the other models lose 0.7 to 1.3. Behind BM25, IVE-4B adds 17 points (39.0 → 56.4).
|
| 243 |
+
- **No home advantage from the wording.** The question is the wording IVE saw in training for page relevance, but rewording it changes IVE-4B's lead over pplx-decider-flash-v1.2 by less than 0.1 point (NeoMME-260M, from the image).
|
| 244 |
|
| 245 |
## Training
|
| 246 |
|