SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.14674 · NeurIPS · 2025

Recognition through Reasoning: Reinforcing Image Geo-localization with Large Vision-Language Models

Jiaheng Wei, Ling Li, Yuxuan Liang, Fugee Tsung, Yao Zhou

arXiv · PDF · Open in the Atlas

Code that ran

3 of 6 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; 3 failures of our instrument; 3 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/2506.14674.json · badge: /api/ran/2506.14674.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
lingli1996/GLOBE canonical (classifier label)
classifier basis: plan_row
3 ran · 3 no recorded run
FunctionStatusWhere it lives
ce_loss_func Ran
ran; our contract draft was wrong, not the code
lingli1996/GLOBE/swift/plugin/loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from byyx666/DC-SFT, is pointer only (licence: NONE) · get_code("b40d46077f78e7de")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from byyx666/DC-SFT, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

lora_state_dict Ran
ran; our contract draft was wrong, not the code
lingli1996/GLOBE/swift/tuners/lora_layers.py
code served (permissive licence) · get_code("974f5e5ea25a6532")
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)

# Construct a state_dict with LoRA parameters and bias terms
state_dict = {
    'linear1.lora_default.weight': torch.randn(4, 3),
    'linear1.lora_default.bias': torch.randn(4),
    'linear2.lora_default.weight': torch.randn(5, 4),
    'linear2.bias': torch.randn(5),
    'linear3.weight': torch.randn(6, 5),
}

ARGS = {
    'state_dict': state_dict,
    'adapter_name': 'default',
    'bias': 'lora_only',
}
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
loss_scale_func Ran
ran; our contract draft was wrong, not the code
lingli1996/GLOBE/swift/plugin/loss.py
code served (permissive licence) · get_code("4b35155697e70ad7")
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 Tensor, 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 torch
import torch.nn as nn
from torch.nn import CrossEntropyLoss

torch.manual_seed(0)

# Create a mock outputs object with logits attribute
class MockOutputs:
    def __init__(self, logits):
        self.logits = logits

# Create mock outputs with shape (batch_size=2, seq_len=5, vocab_size=10)
batch_size = 2
seq_len = 5
vocab_size = 10

logits = torch.randn(batch_size, seq_len, vocab_size)
outputs = MockOutputs(logits)

# Create labels tensor with shape (batch_size=2, seq_len=5)
# Include some -100 tokens (which will be masked out)
labels = torch.randint(0, vocab_size, (batch_size, seq_len))
labels[0, 2] = -100  # Add a masked token
labels[1, 4] = -100  # Add another masked token

# Create loss_scale tensor matching labels shape
loss_scale = torch.rand(batch_size, seq_len)

# num_items_in_batch represents count of non-masked tokens
# We have 5 tokens per sample, minus 1 masked per sample = 8 total
num_items_in_batch = 8

ARGS = {
    'outputs': outputs,
    'labels': labels,
    'loss_scale': loss_scale,
    'num_items_in_batch': num_items_in_batch
}
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 Tensor, 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
get_model_arch Not yet run
unverified (harvested, no recorded run)
lingli1996/GLOBE/swift/llm/model/model_arch.py
code served (permissive licence) · get_code("91b83749f4c26936")
How it ran

no invocation recorded.

patch_output_clone Not yet run
unverified (harvested, no recorded run)
lingli1996/GLOBE/swift/llm/model/patcher.py
code served (permissive licence) · get_code("50fa7d453426dfd7")
How it ran

no invocation recorded.

register_loss_func Not yet run
unverified (harvested, no recorded run)
lingli1996/GLOBE/swift/plugin/loss.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from byyx666/DC-SFT, is pointer only (licence: NONE) · get_code("5a3ac54293be7e23")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from byyx666/DC-SFT, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 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
lora_state_dict 7 other papers
2 dated earlier, 5 later
2409.13191 (2024-09)
Diabetica: Adapting Large Language Model to Enhance Multiple Medical Tasks in Diabetes Care and Management
2411.18145 (2024-11)
CHOICE: Benchmarking the Remote Sensing Capabilities of Large Vision-Language Models
2509.17589 (2025-09)
Table2LaTeX-RL: High-Fidelity LaTeX Code Generation from Table Images via Reinforced Multimodal Language Models
and 4 more not named here
ce_loss_func 4 other papers
1 dated earlier, 3 later
2411.18145 (2024-11)
CHOICE: Benchmarking the Remote Sensing Capabilities of Large Vision-Language Models
2509.17589 (2025-09)
Table2LaTeX-RL: High-Fidelity LaTeX Code Generation from Table Images via Reinforced Multimodal Language Models
2602.10815 (2026-02)
Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
and 1 more not named here
get_model_arch 3 other papers
1 dated earlier, 2 later
2408.05517 (2024-08)
SWIFT:A Scalable lightWeight Infrastructure for Fine-Tuning
2604.00493 (2026-04)
A Reasoning-Enabled Vision-Language Foundation Model for Chest X-ray Interpretation
2608.06310 (2026-08)
RRC: Unlocking Generative Reward Models in LLM Reinforcement Learning via Ranking-Based Reward Construction
loss_scale_func 3 other papers
3 later
2509.17589 (2025-09)
Table2LaTeX-RL: High-Fidelity LaTeX Code Generation from Table Images via Reinforced Multimodal Language Models
2602.10815 (2026-02)
Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
2602.11909 (2026-02)
Echo: Towards Advanced Audio Comprehension via Audio-Interleaved Reasoning
register_loss_func 3 other papers
3 later
2509.17589 (2025-09)
Table2LaTeX-RL: High-Fidelity LaTeX Code Generation from Table Images via Reinforced Multimodal Language Models
2602.10815 (2026-02)
Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training
2602.11909 (2026-02)
Echo: Towards Advanced Audio Comprehension via Audio-Interleaved Reasoning
patch_output_clone 1 other paper
1 later
2604.00493 (2026-04)
A Reasoning-Enabled Vision-Language Foundation Model for Chest X-ray Interpretation

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

Previous methods for image geo-localization have typically treated the task as either classification or retrieval, often relying on black-box decisions that lack interpretability. The rise of large vision-language models (LVLMs) has enabled a rethinking of geo-localization as a reasoning-driven task grounded in visual cues. However, two major challenges persist. On the data side, existing reasoningfocused datasets are primarily based on street-view imagery, offering limited scene diversity and constrained viewpoints. On the modeling side, current approaches predominantly rely on supervised fine-tuning, which yields only marginal improvements in reasoning capabilities. To address these challenges, we propose a novel pipeline that constructs a reasoning-oriented geo-localization dataset, MP16-Reason, using diverse social media images. We introduce GLOBE, Group-relative policy optimization for Localizability assessment and Optimized visual-cue reasoning, yielding Bi-objective geo-Enhancement for the VLM in recognition and reasoning. GLOBE incorporates task-specific rewards that jointly enhance localizability assessment, visual-cue reasoning, and geolocation accuracy. Both qualitative and quantitative results demonstrate that GLOBE outperforms state-of-the-art opensource LVLMs on geo-localization tasks, particularly in diverse visual scenes, while also generating more insightful and interpretable reasoning trajectories. The data and code are available at https://github.com/lingli1996/GLOBE.

For agents

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

get_harvested_code_for_paper("2506.14674")
get_code_for_paper("2506.14674")
have("2506.14674")

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

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

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

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

Connect an agent — have() is free.