SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2508.03284 · ICCV · 2025

ToolVQA: A Dataset for Multi-step Reasoning VQA with External Tools

Yang Liu, Shaofeng Yin, Ting Lei

arXiv · PDF · Open in the Atlas

Code that ran

2 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2508.03284.json · badge: /api/ran/2508.03284.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Fugtemypt123/ToolVQA-release canonical (classifier label)
classifier basis: census
2 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_state_dict_to_hf Ran
ran; our contract draft was wrong, not the code
Fugtemypt123/ToolVQA-release/xtuner/convert_xtuner_weights_to_hf.py
code served (permissive licence) · get_code("f8035a195671164a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# The function takes a state_dict (dictionary of tensors/values)
# and a mapping dictionary that maps old key patterns to new key patterns.
# It iterates through state_dict items, skips those ending in '.inv_freq',
# and applies the mapping to rename keys.

state_dict = {
    'layer.0.weight': torch.randn(4, 3),
    'layer.0.bias': torch.randn(4),
    'layer.1.weight': torch.randn(5, 4),
    'layer.1.bias': torch.randn(5),
    'rope.inv_freq': torch.randn(2),  # This will be skipped
    'attention.query.weight': torch.randn(3, 2),
}

mapping = {
    'layer': 'transformer.layer',
    'attention.query': 'attention.q_proj',
}

ARGS = {
    'state_dict': state_dict,
    'mapping': mapping,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
resolve_module Ran
ran; our contract draft was wrong, not the code
Fugtemypt123/ToolVQA-release/agentlego/agentlego/utils/module.py
code served (permissive licence) · get_code("3218b234b3fe6e70")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned module. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import importlib
import sys
from pathlib import Path
import tempfile
import os

# Create a temporary Python module file for testing
temp_dir = tempfile.mkdtemp()
temp_module_path = Path(temp_dir) / "test_module.py"
temp_module_path.write_text("# Test module\nTEST_VALUE = 42\n")

# Test case 1: string name of a built-in module
test_string_name = "sys"

# Test case 2: Path object pointing to a file
test_path = temp_module_path

ARGS = {
    "name_or_path": test_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type module — a module output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a module output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Info Not yet run
unverified (harvested, no recorded run)
Fugtemypt123/ToolVQA-release/agentlego/agentlego/types.py
code served (permissive licence) · get_code("fe448b953fd071e2")
How it ran

no invocation recorded.

search_tool Not yet run
unverified (harvested, no recorded run)
Fugtemypt123/ToolVQA-release/agentlego/agentlego/search.py
code served (permissive licence) · get_code("d0d9fce954eab68d")
How it ran

no invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
convert_state_dict_to_hf 3 other papers
3 dated earlier
2411.14522 (2024-11)
GMAI-VL & GMAI-VL-5.5M: A Large Vision-Language Model and A Comprehensive Multimodal Dataset Towards General Medical AI
2505.14640 (2025-05)
VideoEval-Pro: Robust and Realistic Long Video Understanding Evaluation
2507.06272 (2025-07)
LIRA: Inferring Segmentation in Large Multi-modal Models with Local Interleaved Region Assistance
Info 1 other paper
1 dated earlier
2505.23752 (2025-05)
ThinkGeo: Evaluating Tool-Augmented Agents for Remote Sensing Tasks
resolve_module 1 other paper
1 dated earlier
2505.23752 (2025-05)
ThinkGeo: Evaluating Tool-Augmented Agents for Remote Sensing Tasks
search_tool 1 other paper
1 dated earlier
2505.23752 (2025-05)
ThinkGeo: Evaluating Tool-Augmented Agents for Remote Sensing Tasks

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Integrating external tools into Large Foundation Models (LFMs) has emerged as a promising approach to enhance their problem-solving capabilities. While existing studies have demonstrated strong performance in tool-augmented Visual Question Answering (VQA), recent benchmarks reveal significant gaps in real-world tool-use proficiency, particularly in functionally diverse multimodal settings requiring multi-step reasoning. In this work, we introduce ToolVQA, a large-scale multimodal dataset comprising 23K samples, designed to bridge this gap. Unlike previous datasets that rely on synthetic scenarios and simplified queries, ToolVQA features real-world visual contexts and challenging implicit multi-step reasoning tasks, better aligning with real user interactions. To construct this dataset, we propose ToolEngine, a novel data generation pipeline that employs image-guided Depth-First Search (DFS) with a Longest Common Subsequence (LCS)-based example matching mechanism to simulate human-like tooluse reasoning. ToolVQA encompasses 10 multimodal tools across 7 diverse domains, with an average inference length of 2.78 reasoning steps per sample. The LLaVA-7B model fine-tuned on ToolVQA not only achieves impressive performance on the ToolVQA test set, but also surpasses the large closed-source model GPT-3.5-turbo on five out-ofdistribution (OOD) datasets, showing strong generalizability in real-world tool-use scenarios. Code is available at https://github.com/Fugtemypt123/ToolVQA-release.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2508.03284")
get_code_for_paper("2508.03284")
have("2508.03284")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2508.03284.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2508.03284.svg)](https://syntology.ai/paper/2508.03284)

Connect an agent — have() is free.