Model card: blog post link, banner, highlights and Decision Index 0.4.1 leaderboard results
Browse files- .gitattributes +1 -0
- README.md +134 -93
- assets/banner.png +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/banner.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -14,11 +14,135 @@ tags:
|
|
| 14 |
|
| 15 |
# IVE-4B
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
A **typed decision model**. It takes a `state` (text or JSON, optionally with images) and one or more `questions`, each a multiple-choice `choice` with named options or a yes/no `noul`. For every question it returns a calibrated probability for every option, read in a single forward pass with no text generation. The request and answer format is the `/v1/systemone` protocol used by the [Decision Index](https://github.com/apolinario/decision-index).
|
| 18 |
|
| 19 |
Fine-tuned from [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) (revision `851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a`). A smaller model distilled from this one is released as [Ivonnet-0.8B](https://huggingface.co/illuin/Ivonnet-0.8B).
|
| 20 |
Developed by Illuin Technology (corresponding author quentin.mace@illuin.tech).
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
| | |
|
| 23 |
|---|---|
|
| 24 |
| Parameters | 4.54 B (language model and vision encoder) |
|
|
@@ -26,15 +150,11 @@ Developed by Illuin Technology (corresponding author quentin.mace@illuin.tech).
|
|
| 26 |
| Inputs | text or JSON state, up to 4 images per request in evaluation; up to 32,768 tokens per question row |
|
| 27 |
| Questions | `choice` (2 to 255 options) and `noul` (yes/no). `score` (ordered levels) is supported by the code but not evaluated. |
|
| 28 |
| Output | one probability per option, at a fitted calibration temperature (1.5329) |
|
| 29 |
-
| Decision Index 0.3 | public text index **58.51**, public vision index **71.90** (complete public runs, [below](#evaluation)) |
|
| 30 |
-
|
| 31 |
-
## Intended use and limitations
|
| 32 |
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
- **Language:** evaluated mainly on English benchmarks.
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
Each question becomes one row in the model's chat template, with thinking off:
|
| 40 |
|
|
@@ -59,7 +179,7 @@ The final hidden state at the generation position goes through a linear readout
|
|
| 59 |
|
| 60 |
The 8 full-attention layers run **non-causally**: every token sees the whole row, padding excepted. The Gated DeltaNet layers keep their causal recurrence. Standard causal inference therefore does not reproduce this model: use the code in `source/`, which checks at load time that the attention that runs is the right one.
|
| 61 |
|
| 62 |
-
|
| 63 |
|
| 64 |
| File | Contents |
|
| 65 |
|---|---|
|
|
@@ -71,44 +191,9 @@ The 8 full-attention layers run **non-causally**: every token sees the whole row
|
|
| 71 |
| `evaluation/export-verification.json`, `release-manifest.json` | export checks; size and sha256 of every file |
|
| 72 |
| `LICENSE`, `NOTICE` | Apache License 2.0; attribution and the changes made to the base model |
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
```bash
|
| 77 |
-
pip install torch --index-url https://download.pytorch.org/whl/cu128
|
| 78 |
-
hf download illuin/IVE-4B --local-dir IVE-4B
|
| 79 |
-
pip install -e "IVE-4B/source[fast,server]"
|
| 80 |
-
```
|
| 81 |
-
|
| 82 |
-
```python
|
| 83 |
-
from decision_model import DecisionModel
|
| 84 |
-
|
| 85 |
-
model = DecisionModel.from_pretrained("IVE-4B", device="cuda")
|
| 86 |
-
model.decide(
|
| 87 |
-
"My integration keeps failing with a 401.",
|
| 88 |
-
{"team": {"type": "choice", "instructions": "Which team should handle this request?",
|
| 89 |
-
"criteria": {"billing": "Charges and refunds",
|
| 90 |
-
"support": "Technical integration errors",
|
| 91 |
-
"sales": "Questions about buying a product"}},
|
| 92 |
-
"blocked": {"type": "noul", "instructions": "Is the customer blocked?"}})
|
| 93 |
-
# {"model": ..., "answers": {"team": {"type": "choice", "choice": "support",
|
| 94 |
-
# "probabilities": {...}}, "blocked": {"type": "noul", "noul": 0.9...}}, "usage": {...}}
|
| 95 |
-
```
|
| 96 |
-
|
| 97 |
-
Images go in `decide(state, questions, images=[...])` as paths, bytes, PIL images or `data:` URLs.
|
| 98 |
-
|
| 99 |
-
Serving, with the model loaded and warmed up once:
|
| 100 |
-
|
| 101 |
-
```bash
|
| 102 |
-
python -m decision_model.server --model IVE-4B --port 8000
|
| 103 |
-
```
|
| 104 |
-
|
| 105 |
-
This exposes `POST /v1/systemone` (the Decision Index text protocol) and `POST /v1/decisions` (its vision protocol).
|
| 106 |
-
|
| 107 |
-
Evaluating it with the Decision Index kit (`decision_model.engine:DecisionModelEngine` and `DecisionModelVisionEngine`) is covered step by step in `source/RUNNING.md`.
|
| 108 |
-
|
| 109 |
-
**Requirements:** Python ≥ 3.10, PyTorch with CUDA, `transformers>=5.7,<6` (tested 5.7.0, 5.13.1 and 5.22.1), and `flash-linear-attention` 0.5.2. Without the last, the Gated DeltaNet layers run on a much slower PyTorch fallback. bf16 weights take about 9 GB of GPU memory; the longest inputs (~27k tokens) need more.
|
| 110 |
|
| 111 |
-
##
|
| 112 |
|
| 113 |
[Decision Index](https://github.com/apolinario/decision-index) edition 0.3, **complete public suites**: every text request (140,620, HLE included) and every vision row (12,210, Winoground included) answered, none unsupported. Run with the code in `source/` and the kit's in-process engines on one NVIDIA RTX PRO 6000 (torch 2.11.0, transformers 5.22.1, flash-linear-attention 0.5.2). Scores are chance-corrected skill: 0 is random guessing, 100 is perfect. [Ivonnet-0.8B](https://huggingface.co/illuin/Ivonnet-0.8B), distilled from this model, is shown for reference.
|
| 114 |
|
|
@@ -193,54 +278,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 |
-
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": {
|
| 204 |
-
"type": "noul",
|
| 205 |
-
"instructions": f"Can the following question be answered from this page?\nQuestion: {query}",
|
| 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 |
-
- **
|
| 240 |
-
- **
|
| 241 |
-
- **
|
| 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 |
|
|
@@ -248,7 +290,6 @@ p = model.decide(page_markdown, question)["answers"]["relevant"]["noul"]
|
|
| 248 |
- **Attention:** trained with non-causal full attention, one question per row.
|
| 249 |
- **Model merging:** the released weights are merges from several training runs.
|
| 250 |
|
| 251 |
-
|
| 252 |
## Acknowledgements
|
| 253 |
|
| 254 |
- **tasksource** (Damien Sileo), for [tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions), typed decisions built from hundreds of curated [tasksource](https://github.com/sileod/tasksource) tasks, a core part of the training data. If you use it, please cite:
|
|
|
|
| 14 |
|
| 15 |
# IVE-4B
|
| 16 |
|
| 17 |
+
**Read the release blog post: [Meet IVE, the handyman of your document pipeline](https://huggingface.co/blog/QuentinJG/ive-release)**
|
| 18 |
+
|
| 19 |
+

|
| 20 |
+
|
| 21 |
A **typed decision model**. It takes a `state` (text or JSON, optionally with images) and one or more `questions`, each a multiple-choice `choice` with named options or a yes/no `noul`. For every question it returns a calibrated probability for every option, read in a single forward pass with no text generation. The request and answer format is the `/v1/systemone` protocol used by the [Decision Index](https://github.com/apolinario/decision-index).
|
| 22 |
|
| 23 |
Fine-tuned from [Qwen/Qwen3.5-4B](https://huggingface.co/Qwen/Qwen3.5-4B) (revision `851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a`). A smaller model distilled from this one is released as [Ivonnet-0.8B](https://huggingface.co/illuin/Ivonnet-0.8B).
|
| 24 |
Developed by Illuin Technology (corresponding author quentin.mace@illuin.tech).
|
| 25 |
|
| 26 |
+
**Links:** [blog post](https://huggingface.co/blog/QuentinJG/ive-release) | [Ivonnet-0.8B](https://huggingface.co/illuin/Ivonnet-0.8B) | [Decision Index leaderboard](https://huggingface.co/spaces/multimodalart/jev-decision-index) | [full public results](https://huggingface.co/datasets/illuin/IVE-4B-decision-index)
|
| 27 |
+
|
| 28 |
+
## Highlights
|
| 29 |
+
|
| 30 |
+
- **Generalises:** first of 166 models up to 5B on the [Decision Index](https://huggingface.co/spaces/multimodalart/jev-decision-index)'s private tasks from new domains, the ones nobody can train on.
|
| 31 |
+
- **Reads documents from the pixels:** pages, charts, screenshots and photos, with no OCR step. Vision index 65.5, within 2 points of the best 4B model.
|
| 32 |
+
- **Best decision model for reranking** among those we compared on ViDoRe V3, behind every first-stage retriever ([below](#example-usage-ive-4b-as-a-reranker)).
|
| 33 |
+
- **Probabilities you can use:** 1.6% expected calibration error, the 3rd lowest of 166 models up to 5B.
|
| 34 |
+
- **Fast:** one forward pass per question, about 50 ms per text question on one GPU.
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
pip install torch --index-url https://download.pytorch.org/whl/cu128
|
| 40 |
+
hf download illuin/IVE-4B --local-dir IVE-4B
|
| 41 |
+
pip install -e "IVE-4B/source[fast,server]"
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
```python
|
| 45 |
+
from decision_model import DecisionModel
|
| 46 |
+
|
| 47 |
+
model = DecisionModel.from_pretrained("IVE-4B", device="cuda")
|
| 48 |
+
model.decide(
|
| 49 |
+
"My integration keeps failing with a 401.",
|
| 50 |
+
{"team": {"type": "choice", "instructions": "Which team should handle this request?",
|
| 51 |
+
"criteria": {"billing": "Charges and refunds",
|
| 52 |
+
"support": "Technical integration errors",
|
| 53 |
+
"sales": "Questions about buying a product"}},
|
| 54 |
+
"blocked": {"type": "noul", "instructions": "Is the customer blocked?"}})
|
| 55 |
+
# {"model": ..., "answers": {"team": {"type": "choice", "choice": "support",
|
| 56 |
+
# "probabilities": {...}}, "blocked": {"type": "noul", "noul": 0.9...}}, "usage": {...}}
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
Images go in `decide(state, questions, images=[...])` as paths, bytes, PIL images or `data:` URLs.
|
| 60 |
+
|
| 61 |
+
Serving, with the model loaded and warmed up once:
|
| 62 |
+
|
| 63 |
+
```bash
|
| 64 |
+
python -m decision_model.server --model IVE-4B --port 8000
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
This exposes `POST /v1/systemone` (the Decision Index text protocol) and `POST /v1/decisions` (its vision protocol).
|
| 68 |
+
|
| 69 |
+
Evaluating it with the Decision Index kit (`decision_model.engine:DecisionModelEngine` and `DecisionModelVisionEngine`) is covered step by step in `source/RUNNING.md`.
|
| 70 |
+
|
| 71 |
+
**Requirements:** Python ≥ 3.10, PyTorch with CUDA, `transformers>=5.7,<6` (tested 5.7.0, 5.13.1 and 5.22.1), and `flash-linear-attention` 0.5.2. Without the last, the Gated DeltaNet layers run on a much slower PyTorch fallback. bf16 weights take about 9 GB of GPU memory; the longest inputs (~27k tokens) need more.
|
| 72 |
+
|
| 73 |
+
## Results on the Decision Index leaderboard
|
| 74 |
+
|
| 75 |
+
Both models are on the public [Jev Decision Index](https://huggingface.co/spaces/multimodalart/jev-decision-index) (edition 0.4.1). Its maintainers score every model on the public benchmarks, then run private tasks themselves: tasks that test the same skills, and tasks from new domains nobody trains on. The index only counts the private tasks.
|
| 76 |
+
|
| 77 |
+
| Decision Index 0.4.1 | **IVE-4B** | pplx-decider-flash-v1.3 | pplx-decider-flash-v1.2 | d3-mini |
|
| 78 |
+
|---|---:|---:|---:|---:|
|
| 79 |
+
| Text, public benchmarks | 58.5 | **63.4** | 60.1 | 54.9 |
|
| 80 |
+
| Text, private, same skills | 53.5 | **59.2** | 56.2 | 51.9 |
|
| 81 |
+
| Text, private, new domains | **40.3** | 38.0 | 40.0 | 36.5 |
|
| 82 |
+
| **Text index** | 52.8 | **55.1** | 54.3 | 50.0 |
|
| 83 |
+
| Vision, public benchmarks | 72.1 | 71.5 | **72.6** | 67.7 |
|
| 84 |
+
| Vision, private benchmarks | 59.0 | 58.9 | **59.5** | 58.7 |
|
| 85 |
+
| **Vision index** | 65.5 | 65.2 | **66.0** | 63.2 |
|
| 86 |
+
| Calibration error (ECE) | **1.6%** | 7.2% | 5.2% | 5.6% |
|
| 87 |
+
|
| 88 |
+
Among the 166 models up to 5B, IVE-4B ranks **#1 on private tasks from new domains**, #31 on public benchmarks, #24 on private same-skills tasks and #12 on the text index. Its calibration error is the 3rd lowest. On vision it ranks #6 of 35. Images are capped at 1.6 MP for every model. Data of 21 Nov 2026.
|
| 89 |
+
|
| 90 |
+
## Example usage: IVE-4B as a reranker
|
| 91 |
+
|
| 92 |
+
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`).
|
| 93 |
+
|
| 94 |
+
Every candidate page gets the same `noul` question, from the page image or from its OCR text:
|
| 95 |
+
|
| 96 |
+
```python
|
| 97 |
+
question = {"relevant": {
|
| 98 |
+
"type": "noul",
|
| 99 |
+
"instructions": f"Can the following question be answered from this page?\nQuestion: {query}",
|
| 100 |
+
"criteria": {"true": "Yes, the page contains the information needed to answer it",
|
| 101 |
+
"false": "No, the page does not contain that information"}}}
|
| 102 |
+
p = model.decide("", question, images=[page_image])["answers"]["relevant"]["noul"] # from the image
|
| 103 |
+
p = model.decide(page_markdown, question)["answers"]["relevant"]["noul"] # from the text
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
**Reranking from the page image**
|
| 107 |
+
|
| 108 |
+
| First-stage retriever | First stage | **IVE-4B** | pplx-decider-flash-v1.3 | pplx-decider-flash-v1.2 | d3-mini |
|
| 109 |
+
|---|---:|---:|---:|---:|---:|
|
| 110 |
+
| NeoMME-260M | 55.9 | **65.1** | 64.6 | 64.4 | 64.5 |
|
| 111 |
+
| pplx-embed-v2-late-0.6b | 64.0 | **67.1** | 66.5 | 66.2 | 66.5 |
|
| 112 |
+
| topk-embed-v1-small | 64.3 | **67.3** | 66.4 | 66.1 | 66.2 |
|
| 113 |
+
| EVIE-4.5B | 66.7 | **67.3** | 66.0 | 65.8 | 65.9 |
|
| 114 |
+
| **mean** | 62.7 | **66.7** | 65.9 | 65.6 | 65.8 |
|
| 115 |
+
|
| 116 |
+
<details>
|
| 117 |
+
<summary>Setup, and reranking from the OCR text</summary>
|
| 118 |
+
|
| 119 |
+
**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.
|
| 120 |
+
|
| 121 |
+
**Reranking from the OCR text**
|
| 122 |
+
|
| 123 |
+
| First-stage retriever | First stage | **IVE-4B** | pplx-decider-flash-v1.3 | pplx-decider-flash-v1.2 | d3-mini |
|
| 124 |
+
|---|---:|---:|---:|---:|---:|
|
| 125 |
+
| NeoMME-260M | 55.9 | **64.8** | 63.8 | 63.6 | 63.6 |
|
| 126 |
+
| pplx-embed-v2-late-0.6b | 64.0 | **66.6** | 65.2 | 65.0 | 65.3 |
|
| 127 |
+
| topk-embed-v1-small | 64.3 | **66.7** | 65.4 | 65.1 | 65.0 |
|
| 128 |
+
| EVIE-4.5B | 66.7 | **67.0** | 65.3 | 65.0 | 64.8 |
|
| 129 |
+
| BM25 | 39.0 | **56.4** | 55.5 | 55.4 | 55.1 |
|
| 130 |
+
| mxbai-edge-colbert-v0-32m | 43.9 | **58.6** | 57.9 | 57.7 | 57.5 |
|
| 131 |
+
| pplx-embed-v1-0.6b | 52.5 | **64.6** | 63.2 | 63.2 | 63.4 |
|
| 132 |
+
| **mean** | 55.2 | **63.5** | 62.4 | 62.1 | 62.1 |
|
| 133 |
+
|
| 134 |
+
</details>
|
| 135 |
+
|
| 136 |
+
**What we see**
|
| 137 |
+
|
| 138 |
+
- **IVE-4B is the best of these decision models 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.
|
| 139 |
+
- **It still helps the strongest retriever.** Behind EVIE-4.5B, IVE-4B improves on the first stage in both views, while the other decision models end up below it.
|
| 140 |
+
- **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.
|
| 141 |
+
- **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).
|
| 142 |
+
- **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).
|
| 143 |
+
|
| 144 |
+
## Model details
|
| 145 |
+
|
| 146 |
| | |
|
| 147 |
|---|---|
|
| 148 |
| Parameters | 4.54 B (language model and vision encoder) |
|
|
|
|
| 150 |
| Inputs | text or JSON state, up to 4 images per request in evaluation; up to 32,768 tokens per question row |
|
| 151 |
| Questions | `choice` (2 to 255 options) and `noul` (yes/no). `score` (ordered levels) is supported by the code but not evaluated. |
|
| 152 |
| Output | one probability per option, at a fitted calibration temperature (1.5329) |
|
|
|
|
|
|
|
|
|
|
| 153 |
|
| 154 |
+
<details>
|
| 155 |
+
<summary>How it works, and the files in this repository</summary>
|
|
|
|
| 156 |
|
| 157 |
+
**How it works**
|
| 158 |
|
| 159 |
Each question becomes one row in the model's chat template, with thinking off:
|
| 160 |
|
|
|
|
| 179 |
|
| 180 |
The 8 full-attention layers run **non-causally**: every token sees the whole row, padding excepted. The Gated DeltaNet layers keep their causal recurrence. Standard causal inference therefore does not reproduce this model: use the code in `source/`, which checks at load time that the attention that runs is the right one.
|
| 181 |
|
| 182 |
+
**Files**
|
| 183 |
|
| 184 |
| File | Contents |
|
| 185 |
|---|---|
|
|
|
|
| 191 |
| `evaluation/export-verification.json`, `release-manifest.json` | export checks; size and sha256 of every file |
|
| 192 |
| `LICENSE`, `NOTICE` | Apache License 2.0; attribution and the changes made to the base model |
|
| 193 |
|
| 194 |
+
</details>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
|
| 196 |
+
## Detailed evaluation: Decision Index 0.3, complete public suites
|
| 197 |
|
| 198 |
[Decision Index](https://github.com/apolinario/decision-index) edition 0.3, **complete public suites**: every text request (140,620, HLE included) and every vision row (12,210, Winoground included) answered, none unsupported. Run with the code in `source/` and the kit's in-process engines on one NVIDIA RTX PRO 6000 (torch 2.11.0, transformers 5.22.1, flash-linear-attention 0.5.2). Scores are chance-corrected skill: 0 is random guessing, 100 is perfect. [Ivonnet-0.8B](https://huggingface.co/illuin/Ivonnet-0.8B), distilled from this model, is shown for reference.
|
| 199 |
|
|
|
|
| 278 |
|
| 279 |
Vision rows are answered in batches, so their time is a per-row average: median 142 ms, mean 135 ms, p80 184 ms.
|
| 280 |
|
| 281 |
+
## Intended use and limitations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 282 |
|
| 283 |
+
- **Focus:** strong visual performance from a model small enough for low-resource environments.
|
| 284 |
+
- **Limits:** a question row longer than 32,768 tokens, or with more than 255 options, is refused, never truncated. Training rows were at most 16,384 tokens, so longer inputs are outside the training distribution. Images are kept at native resolution up to a pixel cap: 1.6 MP for the Decision Index, about 2.1 MP during training.
|
| 285 |
+
- **Language:** evaluated mainly on English benchmarks.
|
|
|
|
|
|
|
| 286 |
|
| 287 |
## Training
|
| 288 |
|
|
|
|
| 290 |
- **Attention:** trained with non-causal full attention, one question per row.
|
| 291 |
- **Model merging:** the released weights are merges from several training runs.
|
| 292 |
|
|
|
|
| 293 |
## Acknowledgements
|
| 294 |
|
| 295 |
- **tasksource** (Damien Sileo), for [tasksource-jev-typed-decisions](https://huggingface.co/datasets/tasksource/tasksource-jev-typed-decisions), typed decisions built from hundreds of curated [tasksource](https://github.com/sileod/tasksource) tasks, a core part of the training data. If you use it, please cite:
|
assets/banner.png
ADDED
|
Git LFS Details
|