SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2609.14523 · September 2026

Selective Tool Use for Agentic Change Visual Question Answering in Remote Sensing

Yakoub Bazi, Mohamad M. Al Rahhal, Mansour Zuair, Mohamed Al Rahhal, Mohamed Mekhtiche, Yakoub Yakoub Bazi, Mohamed A. Mekhtiche

arXiv · PDF · Open in the Atlas

Code that ran

3 of 3 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, 1 violated it and 0 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/2609.14523.json · badge: /api/ran/2609.14523.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
yakoubbazi/ToolChangeVQA canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
FunctionStatusWhere it lives
has_tool_call Ran
ran, violated the contract we drafted
yakoubbazi/ToolChangeVQA/inference.py
code served (permissive licence) · get_code("c041e271618e086c")
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 bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape 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

_TOOL_CALL_RE = re.compile('<tool_call>\\s*(.*?)\\s*</tool_call>', re.DOTALL)

def has_tool_call(text: str) -> bool:
    return bool(_TOOL_CALL_RE.search(text or ''))

# The function takes a single parameter: text (a string)
# It searches for the pattern <tool_call>...</tool_call> in the text
# We need to provide valid string arguments

ARGS = {
    "text": "Here is a tool call: <tool_call>  some_function()  </tool_call> end"
}
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 bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
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_allowed Ran
ran; our contract draft was wrong, not the code
yakoubbazi/ToolChangeVQA/inference.py
code served (permissive licence) · get_code("6efb82dd4719d83c")
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 set. 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 re
from typing import Set

FALLBACK_OPTIONS = {'0', '0_to_10', '10_to_20', '20_to_30', '30_to_40', '40_to_50', '50_to_60', '60_to_70', '70_to_80', '80_to_90', '90_to_100', 'yes', 'no', 'water', 'buildings', 'NVG_surface', 'low_vegetation', 'trees', 'playgrounds', 'upper_left', 'upper_right', 'lower_left', 'lower_right', 'center'}

_ALLOWED_RE = re.compile('Allowed\\s*(?:answers)?\\s*:\\s*\\[(.*?)\\]', re.IGNORECASE | re.DOTALL)

def parse_allowed(prompt: str) -> Set[str]:
    m = _ALLOWED_RE.search(prompt)
    if m:
        toks = re.findall('\'([^\']+)\'|\\"([^\\"]+)\\"', m.group(1))
        opts = [a or b for a, b in toks if (a or b).strip()]
        if opts:
            return set(dict.fromkeys(opts))
    return set(FALLBACK_OPTIONS)

# Test case 1: prompt with allowed answers
test_prompt_1 = "Allowed answers: ['yes', 'no', 'maybe']"

# Test case 2: prompt with allowed (without 'answers')
test_prompt_2 = 'Allowed: ["option1", "option2"]'

# Test case 3: prompt with no match (should return fallback)
test_prompt_3 = "This is a prompt without allowed options"

ARGS = {
    "prompt": test_prompt_1
}
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 set — a set output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a set 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
strip_tags Ran
ran; our contract draft was wrong, not the code
yakoubbazi/ToolChangeVQA/inference.py
code served (permissive licence) · get_code("337cde3c8aaaaf25")
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.

import re

def strip_tags(text: str) -> str:
    for tag in ('think', 'decision', 'tool_call', 'tool', 'observation'):
        text = re.sub(f'<{tag}>.*?</{tag}>\\s*', '', text, flags=re.DOTALL)
    return text.strip()


# Construct test input
test_text = """
<think>
This is a thinking block
</think>
Some normal text here
<decision>
Make a decision
</decision>
<tool_call>
call_tool()
</tool_call>
More text
<tool>
tool content
</tool>
<observation>
observation data
</observation>
Final text
"""

ARGS = {
    'text': test_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 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

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 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 3 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

Change visual question answering (Change VQA) requires understanding semantic changes across bi-temporal remote sensing images. Although vision language models (VLMs) have shown promising performance on this task, they remain unreliable when answering questions that require explicit transition statistics, area measurements, or spatial information. To address this limitation, we propose a selective tool use framework in which a single VLM either answers directly or invokes a deterministic change analysis tool to obtain question specific evidence. Specifically, the selected tool operates on bi-temporal semantic maps and returns a structured observation, which the same VLM uses to generate its final answer. To support this framework, we construct a tool augmented extension of CDVQA covering eight question families and three tools for transition, spatial, and temporal analysis. Tool use supervision and observations are derived automatically from the original semantic annotations, without additional manual labeling. We then adapt Qwen3.5-4B using Low Rank Adaptation (LoRA) to jointly learn direct answering, tool invocation, and evidence conditioned answering. Experiments on 7,164 test questions show that selective tool use with reference semantic maps improves overall accuracy from 73.77% to 88.79% and average family accuracy from 69.11% to 89.65%. When the semantic maps are predicted automatically, the framework achieves 77.47% overall accuracy and 75.06% average family accuracy. These results demonstrate the benefit of question-specific semantic evidence for Change VQA, while highlighting the influence of semantic prediction quality on the resulting performance. Code and tool-augmented annotations will be made publicly available at https://github.com/yakoubbazi/ToolChangeVQA.

For agents

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

get_harvested_code_for_paper("2609.14523")
get_code_for_paper("2609.14523")
have("2609.14523")

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

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

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

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

Connect an agent — have() is free.