File size: 8,177 Bytes
adac86e
7032a1d
 
adac86e
 
0854650
 
 
 
 
 
 
 
 
 
adac86e
 
 
 
 
 
 
 
 
 
 
 
a9d107b
adac86e
cc28e17
adac86e
 
 
 
 
 
 
 
 
 
49e35e6
 
 
adac86e
0854650
 
 
 
 
 
adac86e
 
 
 
 
 
 
0854650
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a9d107b
 
 
 
 
 
80ee557
 
a9d107b
 
adac86e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7032a1d
0854650
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
---
license: mit
pretty_name: ToolSmith training pools
task_categories:
- visual-question-answering
language:
- en
size_categories:
- 1K<n<10K
tags:
- multimodal
- multimodal-search
- tool-generation
- agents
- vqa
configs:
- config_name: FVQA_train
  data_files: FVQA_train.tsv
  sep: "\t"
- config_name: Infoseek_GDM_val
  data_files: Infoseek_GDM_val.tsv
  sep: "\t"
- config_name: EncyclopedicVQA_val
  data_files: EncyclopedicVQA_val.tsv
  sep: "\t"
---

# ToolSmith training pools

**Paper:** [ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents](https://arxiv.org/abs/2611.31198) (Findings of EMNLP 2026)

The question pools that [ToolSmith](https://github.com/uclanlp/OpenVLHarness/tree/main/toolsmith)
([project page](https://threesr.github.io/toolsmith/)) grows its tool catalog from.
ToolSmith runs the baseline agent on these 9,174 questions, mines capability gaps from
the failed trajectories and writes new tools for them. None of these questions is used
for evaluation; the evaluation splits are in
[uclanlp/OpenVLHarness-Evaluation-Datasets](https://huggingface.co/datasets/uclanlp/OpenVLHarness-Evaluation-Datasets).

Each `<split>.tsv` holds the prompts (`question`) and annotations (`answer` plus
metadata); `image_path` is relative to `images/<folder>/` inside `images/<folder>.zip`.
The format is the same as in OpenVLHarness, and you normally don't need to download
anything by hand: `openvlharness-eval --data <split> ...` fetches the TSV and the images
into `$LMUData` on first use.

| Split | Rows | Images | Image archive |
|---|---|---|---|
| FVQA_train | 3,312 | 3,312 | images/FVQA.zip |
| Infoseek_GDM_val | 3,000 | 2,868 | images/Infoseek_GDM.zip |
| EncyclopedicVQA_val | 2,862 | 2,862 | images/EncyclopedicVQA.zip |
| **Total** | **9,174** | | |

`answer` is the reference answer and `alternative_gt_answers` lists other accepted
answers. Three InfoSeek answers are the literal string `None`; read the TSVs with
`pd.read_csv(path, sep="\t", keep_default_na=False)` so pandas does not parse them as
missing values. No image is shared with the corresponding test split in
OpenVLHarness-Evaluation-Datasets.

## Columns

| Column | Meaning |
|---|---|
| `index` | Question ID, unique within a split |
| `question` | The question asked about the image |
| `answer` | Reference answer |
| `alternative_gt_answers` | JSON list of other accepted answers (may be empty) |
| `category` (FVQA) | Always `search_required` (see Sources) |
| `area` (InfoSeek) | OVEN image shard the image comes from |
| `area` (EncyclopedicVQA) | Image source: `inaturalist` or `landmarks` |
| `subfield` (EncyclopedicVQA) | Question type: `templated`, `automatic`, `multi_answer` or `2_hop`; empty for the other splits |
| `image_path` | File name inside `images/<folder>/` |

Example row from `EncyclopedicVQA_val`:

```json
{"index": "evqa_val_0", "question": "How big can this plant become?", "answer": "5 to 15 metres",
 "alternative_gt_answers": "[\"5 to 15 metres\", \"5 to 15 metres\"]", "area": "inaturalist",
 "subfield": "templated", "image_path": "evqa_val_0.jpg"}
```

## Composition

- **FVQA_train:** 3,312 questions; 1,592 list alternative answers.
- **Infoseek_GDM_val:** 3,000 questions on 2,868 images; 1,731 list alternative answers.
- **EncyclopedicVQA_val:** 2,862 questions, 1,600 on iNaturalist images and 1,262 on
  Google Landmarks images; by question type 1,706 `automatic`, 387 `multi_answer`,
  386 `2_hop` and 383 `templated`.

## How ToolSmith uses the pools

ToolSmith runs its baseline agent on all 9,174 questions and judges the answers. The
failed trajectories are labeled by an LLM self-critique; those that need a new tool
become capability gaps, which are clustered (500 clusters) so one representative per
cluster is turned into a tool. Each generated tool must pass two verification gates
before it joins the catalog. See the
[ToolSmith README](https://github.com/uclanlp/OpenVLHarness/tree/main/toolsmith) for the
full pipeline.

## Loading

With OpenVLHarness, `openvlharness-eval --data FVQA_train ...` (or `Infoseek_GDM_val`,
`EncyclopedicVQA_val`) downloads the TSV and the images on first use.

With 🤗 Datasets (questions and answers only):

```python
from datasets import load_dataset

pool = load_dataset("uclanlp/ToolSmith-Datasets", "EncyclopedicVQA_val", split="train",
                    keep_default_na=False)
```

With pandas, plus the images:

```python
import zipfile
import pandas as pd
from huggingface_hub import hf_hub_download

repo = "uclanlp/ToolSmith-Datasets"
tsv = hf_hub_download(repo, "Infoseek_GDM_val.tsv", repo_type="dataset")
df = pd.read_csv(tsv, sep="\t", keep_default_na=False)
zipfile.ZipFile(hf_hub_download(repo, "images/Infoseek_GDM.zip", repo_type="dataset")).extractall(".")
# images are now under ./Infoseek_GDM/<image_path>
```

## Related resources

- Code: [OpenVLHarness](https://github.com/uclanlp/OpenVLHarness) (ToolSmith lives in `toolsmith/`)
- Project page: [ToolSmith](https://threesr.github.io/toolsmith/)
- Evaluation data: [uclanlp/OpenVLHarness-Evaluation-Datasets](https://huggingface.co/datasets/uclanlp/OpenVLHarness-Evaluation-Datasets)
- Earlier work on growing and reusing modules: [GENOME](https://umass-embodied-agi.github.io/genome/) (ICLR 2024)

## License

The packaging in this repo (the TSV format, the subset selection and this card) is
released under the [MIT License](https://github.com/uclanlp/OpenVLHarness/blob/main/LICENSE),
like the ToolSmith code in [OpenVLHarness](https://github.com/uclanlp/OpenVLHarness).
The questions, answers and images come from the datasets below and stay under their
original licenses: the FVQA and InfoSeek annotations are Apache-2.0, EncyclopedicVQA
follows the terms of its release, and the images follow the terms of their sources (OVEN, iNaturalist 2021, Google
Landmarks v2 and the FVQA image sources).

## Sources, licenses and citations

This repo only re-packages existing public benchmarks; all credit goes to the
original authors, and use is subject to the original licenses/terms.

- **FVQA** — Wu et al., *MMSearch-R1: Incentivizing LMMs to Search*, 2025
  ([lmms-lab/FVQA](https://huggingface.co/datasets/lmms-lab/FVQA), Apache-2.0).
  `FVQA_train` holds the 3,312 questions of the train split labeled `search_required`
  (the `category` column); the 1,544 `search_free` questions are left out.
- **InfoSeek** — Chen et al., *Can Pre-trained Vision and Language Models Answer
  Visual Information-Seeking Questions?*, EMNLP 2023
  ([code/data](https://github.com/open-vision-language/infoseek), Apache-2.0).
  Images are from OVEN. `Infoseek_GDM_val` holds 3,000 of the 73,620 validation
  questions (the first 3,000 after `random.Random(42).shuffle`); some questions share an image, so the
  archive has 2,868 images.
- **EncyclopedicVQA** — Mensink et al., *Encyclopedic VQA: Visual questions about
  detailed properties of fine-grained categories*, ICCV 2023
  ([code/data](https://github.com/google-research/google-research/tree/master/encyclopedic_vqa)).
  Images are from iNaturalist 2021 and Google Landmarks v2 and follow their
  licenses. `EncyclopedicVQA_val` holds the 2,862 of the 2,950 validation questions
  whose image is still available.

## Citation

```bibtex
@inproceedings{sun-etal-2026-toolsmith,
    title = "{T}ool{S}mith: An Automatic Tool-Generation Framework for Multimodal Search Agents",
    author = "Sun, Rui  and
      Huang, Junhua  and
      Zancato, Luca  and
      Islam, Md Mofijul  and
      Chang, Kai-Wei",
    booktitle = "Findings of the {A}ssociation for {C}omputational {L}inguistics: {EMNLP} 2026",
    month = oct,
    year = "2026",
    address = "Budapest, Hungary",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.findings-emnlp.1699/",
    doi = "10.18653/2026.findings-emnlp.1699",
    pages = "36305--36324"
}
```

If you are an author of one of these datasets and would like it removed, please
open a discussion on this repo.

Questions about the data can go to the discussions of this repo or the
[OpenVLHarness issues](https://github.com/uclanlp/OpenVLHarness/issues).