SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.10582 · EMNLP · 2025

VisualWebInstruct: Scaling up Multimodal Instruction Data through Web Search

Bo Li, Jiachen Li, Wenhu Chen, Xiang Yue, Ping Nie, Kai Zou, Yiming Jia

arXiv · PDF · Open in the Atlas

Code that ran

9 of 13 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 8 have no contract verdict; 1 failure of our instrument; 4 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2503.10582.json · badge: /api/ran/2503.10582.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
tiger-ai-lab/visualwebinstruct community (classifier label)
classifier basis not recorded on the link
9 ran · 4 no recorded run
FunctionStatusWhere it lives
create_index_map Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/answer_alignment.py
code served (permissive licence) · get_code("0a9f64be9528b7e8")
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
import logging

# Set up logging to suppress info messages during execution
logging.basicConfig(level=logging.WARNING)

# Construct dataset2 as a list of dictionaries
# Each entry should have an 'idx' key as the function uses it
dataset2 = [
    {'idx': 0, 'data': 'entry_zero', 'value': 42},
    {'idx': 1, 'data': 'entry_one', 'value': 100},
    {'idx': 2, 'data': 'entry_two', 'value': 200},
    {'no_idx': 3},  # This entry will be excluded as it lacks 'idx'
    {'idx': 4, 'data': 'entry_four', 'value': 400},
]

ARGS = {
    'dataset2': dataset2,
}
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
extract_content_from_response Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/qa_extraction/qa.py
code served (permissive licence) · get_code("b445363cea20a105")
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 str. 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.

class MockContent:
    def __init__(self):
        self.parts = [MockPart()]

class MockPart:
    def __init__(self):
        self.text = "This is the extracted content from the LLM response."

class MockCandidate:
    def __init__(self):
        self.content = MockContent()

class MockResponse:
    def __init__(self):
        self.candidates = [MockCandidate()]

response = MockResponse()

ARGS = {
    "response": response
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
format_qa_output Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/qa_extraction/qa.py
code served (permissive licence) · get_code("ff37e5c1bf683283")
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 str. 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.

from dataclasses import dataclass
from typing import List

@dataclass
class QAItem:
    """Data class for storing question-answer items with enhanced image support"""
    question: str
    question_images: List[str]
    solution: str
    solution_images: List[str]

# Create test QA items
qa_item_1 = QAItem(
    question="What is the capital of France?",
    question_images=["map_europe.png", "france_flag.jpg"],
    solution="The capital of France is Paris.",
    solution_images=["paris_eiffel.jpg"]
)

qa_item_2 = QAItem(
    question="Solve: 2x + 5 = 15",
    question_images=[],
    solution="x = 5",
    solution_images=["solution_graph.png", "working_steps.jpg"]
)

qa_item_3 = QAItem(
    question="Describe photosynthesis",
    question_images=["plant_diagram.png"],
    solution="Photosynthesis is the process by which plants convert light energy into chemical energy.",
    solution_images=[]
)

ARGS = {
    "qa_items": [qa_item_1, qa_item_2, qa_item_3]
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
grouper Ran
ran; our contract draft was wrong, not the code
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/html_download.py
code served (permissive licence) · get_code("e5faa0db66429c23")
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 zip_longest. 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.

from itertools import zip_longest

torch_seed = 0

ARGS = {
    "iterable": [1, 2, 3, 4, 5, 6, 7, 8, 9],
    "n": 3,
    "fillvalue": None,
}
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 zip_longest — a zip_longest output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a zip_longest 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
load_jsonl Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/answer_alignment.py
code served (permissive licence) · get_code("cd1b2e17d5682457")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 json
import tempfile
import os

# Create a temporary JSONL file for testing
temp_file = tempfile.NamedTemporaryFile(mode='w', suffix='.jsonl', delete=False)
temp_file.write(json.dumps({"id": 1, "text": "hello"}) + '\n')
temp_file.write(json.dumps({"id": 2, "text": "world"}) + '\n')
temp_file.write(json.dumps({"id": 3, "text": "test"}) + '\n')
temp_file.close()

ARGS = {
    "file_path": temp_file.name
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
normalize_url Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/deduplication.py
code served (permissive licence) · get_code("27e7c637bc8bf1a4")
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 str. 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.

from urllib.parse import urlparse, urlunparse

# The function normalize_url takes a single parameter: url (a string)
# Looking at the function body:
# - It calls url.strip().lower() - so url must be a string
# - It passes the result to urlparse() and then urlunparse()
# - No complex objects needed, just a string

ARGS = {
    "url": "https://example.com/path?query=value#fragment"
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
parse_markdown_qa Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/qa_extraction/qa.py
code served (permissive licence) · get_code("8849845b24577ba4")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 re
from dataclasses import dataclass
from typing import List

@dataclass
class QAItem:
    """Data class for storing question-answer items with enhanced image support"""
    question: str
    question_images: List[str]
    solution: str
    solution_images: List[str]

# Create a valid markdown_text input with proper formatting
markdown_text = """**Question 1:** What is the capital of France?
**Images:**
* https://example.com/image1.jpg
* https://example.com/image2.jpg

**Solution:** The capital of France is Paris.
**Images in Solution:**
* https://example.com/solution_image1.jpg

**Question 2:** What is 2+2?
**Images:**
* https://example.com/math_image.jpg

**Solution:** 2+2 equals 4.
**Images in Solution:**
* https://example.com/math_solution.jpg
"""

ARGS = {
    "markdown_text": markdown_text
}
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 list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
process_batch Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/deduplication.py
code served (permissive licence) · get_code("caa6ec9df9fd4678")
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 tuple. 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 json
import tempfile
import os

# Create temporary JSON files with the expected structure
temp_dir = tempfile.mkdtemp()

# Create first test file
file1_path = os.path.join(temp_dir, 'test1.json')
with open(file1_path, 'w', encoding='utf-8') as f:
    json.dump({
        'visual_matches': [
            {'link': 'https://example.com/1'},
            {'link': 'https://example.com/2'},
            {'other_field': 'value'}
        ]
    }, f)

# Create second test file
file2_path = os.path.join(temp_dir, 'test2.json')
with open(file2_path, 'w', encoding='utf-8') as f:
    json.dump({
        'visual_matches': [
            {'link': 'https://example.com/3'}
        ]
    }, f)

# Create third test file with no visual_matches
file3_path = os.path.join(temp_dir, 'test3.json')
with open(file3_path, 'w', encoding='utf-8') as f:
    json.dump({
        'other_data': 'some_value'
    }, f)

ARGS = {
    'file_paths': [file1_path, file2_path, file3_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 tuple — a tuple output has no array shape of its own; none is 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
process_single_file Ran
ran on a synthesized input
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/deduplication.py
code served (permissive licence) · get_code("bbedc76fe0bce10b")
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 tuple. 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 json
import tempfile
import os

# Create a temporary JSON file with the expected structure
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, 'test_data.json')

# Write test data to the temporary file
test_data = {
    'visual_matches': [
        {'link': 'https://example.com/image1'},
        {'link': 'https://example.com/image2'},
        {'other_field': 'value'}  # This one has no 'link' key
    ]
}

with open(temp_file, 'w', encoding='utf-8') as f:
    json.dump(test_data, f)

ARGS = {
    'file_path': temp_file
}
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 tuple — a tuple output has no array shape of its own; none is 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
detect_base_url Not yet run
unverified (harvested, no recorded run)
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/acc_tree.py
code served (permissive licence) · get_code("56076c2e87259345")
How it ran

no invocation recorded.

extract_content Not yet run
unverified (harvested, no recorded run)
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/acc_tree.py
code served (permissive licence) · get_code("2d25b921e96b5b59")
How it ran

no invocation recorded.

load_huggingface_dataset Not yet run
unverified (harvested, no recorded run)
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/answer_alignment.py
code served (permissive licence) · get_code("9db5b97b78099e67")
How it ran

no invocation recorded.

should_keep_element Not yet run
unverified (harvested, no recorded run)
tiger-ai-lab/visualwebinstruct/VisualWebInstruct/acc_tree.py
code served (permissive licence) · get_code("f535e5b470ab1c6b")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 12 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
grouper 4 other papers
4 dated earlier
1904.05146 (2019-04)
DeepSphere: towards an equivariant graph-based spherical CNN
2106.04799 (2021-06)
Pretraining Representations for Data-Efficient Reinforcement Learning
2406.06037 (2024-06)
Investigating Pre-Training Objectives for Generalization in Vision-Based Reinforcement Learning
and 1 more not named here

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

Vision-Language Models have made significant progress on many perception-focused tasks. However, their progress on reasoningfocused tasks remains limited due to the lack of high-quality and diverse training data. In this work, we aim to address the scarcity of reasoning-focused multimodal datasets. We propose VisualWebInstruct, a novel approach that leverages search engines to create a diverse and high-quality dataset spanning multiple disciplines, including mathematics, physics, finance, and chemistry, etc. Starting with a meticulously selected set of 30,000 seed images, we employ Google Image Search to identify websites containing similar images. We collect and process HTML data from over 700K unique URLs. Through a pipeline of content extraction, filtering, and synthesis, we construct a dataset of approximately 900K question-answer (QA) pairs, with 40% consisting of visual QA pairs and the remaining comprising text-based QA pairs. Models finetuned on VisualWebInstruct demonstrate significant performance improvements: (1) finetuning on Llava-OV results in 10-20 absolute points improvement across benchmarks, and (2) fine-tuning from MAmmoTH-VL yields a 5 absolute points gain across benchmarks. Our best model, MAmmoTH-VL2, achieves the best known performance with SFT without RL within the 10B parameter class on MMMU-Pro (40.7), MathVerse (42.6), and DynaMath (55.7). These results highlight the effectiveness of our dataset in enhancing the reasoning capabilities of vision-language models for complex multimodal tasks.

For agents

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

get_harvested_code_for_paper("2503.10582")
get_code_for_paper("2503.10582")
have("2503.10582")

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

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

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

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

Connect an agent — have() is free.