SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.14135 · 2023

V*: Guided Visual Search as a Core Mechanism in Multimodal LLMs

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 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; 2 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2312.14135.json · badge: /api/ran/2312.14135.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
penghao-wu/vstar canonical (classifier label)
classifier basis: classifier_2025
5 ran · 0 no recorded run
FunctionStatusWhere it lives
expand2square Ran
ran; our contract draft was wrong, not the code
penghao-wu/vstar/vstar_bench_eval.py
code served (permissive licence) · get_code("e02a1c976f061bb2")
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) 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.

from PIL import Image

# Create a test image that is not square (width > height case)
pil_img = Image.new('RGB', (100, 60), color='red')

# Define background color for padding
background_color = (255, 255, 255)

ARGS = {
    'pil_img': pil_img,
    'background_color': background_color,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL — 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
get_noun_chunks Ran
ran, honoured the contract we drafted
penghao-wu/vstar/visual_search.py
code served (permissive licence) · get_code("61570aff4b47e421")
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) and returned tuple, ndim 1, dtype family int; 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.

class MockToken:
    def __init__(self, i, dep_="", children=None):
        self.i = i
        self.dep_ = dep_
        self.children = children if children is not None else []

# Create a simple token tree structure
# Root token at position 2 with children
left_child_1 = MockToken(i=0, dep_="amod", children=[])
left_child_2 = MockToken(i=1, dep_="compound", children=[])
root_token = MockToken(i=2, dep_="NOUN", children=[left_child_1, left_child_2])
right_child_1 = MockToken(i=3, dep_="relcl", children=[])
right_child_2 = MockToken(i=4, dep_="prep", children=[])
root_token.children.extend([right_child_1, right_child_2])

ARGS = {
    "token": root_token
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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, ndim 1, dtype family int — a tuple 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_bbox Ran
ran, violated the contract we drafted
penghao-wu/vstar/vstar_bench_eval.py
code served (permissive licence) · get_code("e900944d5f5029a3")
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) 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 numpy as np

# The function takes a bounding box and normalizes it by image dimensions
# bbox is expected to be a list/array with [x, y, width, height]
# image_width and image_height are numeric values

bbox = [100, 50, 200, 150]  # [x, y, width, height]
image_width = 640
image_height = 480

ARGS = {
    "bbox": bbox,
    "image_width": image_width,
    "image_height": image_height
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
parse_args Ran
ran; our contract draft was wrong, not the code
penghao-wu/vstar/visual_search.py
code served (permissive licence) · get_code("1d5675afd2baa87d")
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 Namespace. 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 argparse
import torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    'version': 'craigwu/seal_vsm_7b',
    'benchmark_folder': 'vstar_bench',
    'visualization': False,
    'output_path': '',
    'confidence_low': 0.3,
    'confidence_high': 0.5,
    'target_cue_threshold': 6.0,
    'target_cue_threshold_decay': 0.7,
    'target_cue_threshold_minimum': 3.0,
    'minimum_size_scale': 4.0,
    'minimum_size': 224,
    'model_max_length': 512,
    'vision_tower': 'openai/clip-vit-large-patch14',
    'use_mm_start_end': True,
    'conv_type': 'llava_v1',
}

args_list = [
    '--version', ARGS['version'],
    '--benchmark-folder', ARGS['benchmark_folder'],
    '--output_path', ARGS['output_path'],
    '--confidence_low', str(ARGS['confidence_low']),
    '--confidence_high', str(ARGS['confidence_high']),
    '--target_cue_threshold', str(ARGS['target_cue_threshold']),
    '--target_cue_threshold_decay', str(ARGS['target_cue_threshold_decay']),
    '--target_cue_threshold_minimum', str(ARGS['target_cue_threshold_minimum']),
    '--minimum_size_scale', str(ARGS['minimum_size_scale']),
    '--minimum_size', str(ARGS['minimum_size']),
    '--model_max_length', str(ARGS['model_max_length']),
    '--vision-tower', ARGS['vision_tower'],
    '--use_mm_start_end',
    '--conv_type', ARGS['conv_type'],
]

ARGS = {
    'args': args_list,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Namespace — a Namespace output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Namespace 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
tranverse Ran
ran, honoured the contract we drafted
penghao-wu/vstar/visual_search.py
code served (permissive licence) · get_code("78645100c4766e1f")
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) and returned tuple, ndim 1, dtype family int; 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 torch

class Token:
    def __init__(self, i, children=None):
        self.i = i
        self.children = children if children is not None else []

# Build a simple tree structure
# Root token with index 0, has two children with indices 1 and 2
# Child at index 1 has a child at index 3
child_leaf_1 = Token(i=3, children=[])
child_1 = Token(i=1, children=[child_leaf_1])
child_2 = Token(i=2, children=[])
root_token = Token(i=0, children=[child_1, child_2])

ARGS = {
    "token": root_token
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple 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

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 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.

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-23.

Repositories linked to this paper

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

Abstract

When we look around and perform complex tasks, how we see and selectively process what we see is crucial. However, the lack of this visual search mechanism in current multimodal LLMs (MLLMs) hinders their ability to focus on important visual details, especially when handling high-resolution and visually crowded images. To address this, we introduce V*, an LLM-guided visual search mechanism that employs the world knowledge in LLMs for efficient visual querying. When combined with an MLLM, this mechanism enhances collaborative reasoning, contextual understanding, and precise targeting of specific visual elements. This integration results in a new MLLM meta-architecture, named Show, sEArch, and TelL (SEAL). We further create V*Bench, a benchmark specifically designed to evaluate MLLMs in their ability to process high-resolution images and focus on visual details. Our study highlights the necessity of incorporating visual search capabilities into multimodal systems. The code is available https://github.com/penghao-wu/vstar.

For agents

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

get_harvested_code_for_paper("2312.14135")
get_code_for_paper("2312.14135")
have("2312.14135")

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

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

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

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

Connect an agent — have() is free.