SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.11930 · 2026

SupScene: Scene-Structured Overlap Supervision for Image Retrieval in Unconstrained SfM

Xin Wang, Qi Chen, Guanbo Wang, Yifan Liao, Xulei Shi, Maoyu Wang, Yuning Peng, Pengjie Tao

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 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; 4 failures of our instrument; 3 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/2601.11930.json · badge: /api/ran/2601.11930.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
Suxilan/SupScene canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
FunctionStatusWhere it lives
build_aggregator Ran
ran; our contract draft was wrong, not the code
Suxilan/SupScene/supscene/encoder.py
code served (permissive licence) · get_code("eebc551941038211")
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 GlobalAvgPool. 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 torch.nn as nn

torch.manual_seed(0)

# Create stub aggregator classes that the factory might reference
class NetVLAD(nn.Module):
    def __init__(self, in_dim: int):
        super().__init__()
        self.output_dim = int(in_dim)

class GeMPool(nn.Module):
    def __init__(self, in_dim: int):
        super().__init__()
        self.output_dim = int(in_dim)

class SCPP(nn.Module):
    def __init__(self, in_dim: int):
        super().__init__()
        self.output_dim = int(in_dim)

# Test with GlobalAvgPool aggregator config
ARGS = {
    'cfg': {
        'name': 'avg',
        'args': {'in_dim': 8}
    }
}
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 GlobalAvgPool — a GlobalAvgPool output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a GlobalAvgPool 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
distill_loss Ran
ran; our contract draft was wrong, not the code
Suxilan/SupScene/supscene/losses/distill_loss.py
code served (permissive licence) · get_code("e43a1e82e4ef4cc4")
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

torch.manual_seed(0)

# Minimal valid tensors for the distill_loss function
B = 2  # batch size
N = 3  # number of nodes
D_s = 4  # student feature dimension
D_t = 5  # teacher feature dimension

# Create student features [B, N, D_s]
s_feats = torch.randn(B, N, D_s)

# Create teacher features [B, N, D_t]
t_feats = torch.randn(B, N, D_t)

# Create pair mask [B, N, N] - boolean mask for valid pairs
pair_mask = torch.randint(0, 2, (B, N, N)).bool()

# Create node mask [B, N] - optional per-node mask
node_mask = torch.randint(0, 2, (B, N)).bool()

ARGS = {
    's_feats': s_feats,
    't_feats': t_feats,
    'pair_mask': pair_mask,
    'node_mask': node_mask,
    'distill_type': 'relation',
    'tau': 4.0,
}
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
make_pad_collate Ran
ran; our contract draft was wrong, not the code
Suxilan/SupScene/supscene/datasets/gl3d_subgraph_dataset.py
code served (permissive licence) · get_code("a189ad1a4ec4c31d")
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 function. 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 numpy as np

torch.manual_seed(0)

# Create sample batch items with the required structure
def create_sample_item(num_nodes, has_images=True, has_teacher=True):
    """Create a single sample dict matching the expected structure."""
    item = {
        'num_nodes': num_nodes,
        'scene_id': f'scene_{num_nodes}',
        'image_paths': [f'path_{i}.jpg' for i in range(num_nodes)],
        'overlap': torch.randn(num_nodes, num_nodes),
        'images': torch.randn(num_nodes, 3, 8, 8) if has_images else None,
        'teacher': torch.randn(num_nodes, 5) if has_teacher else None,
    }
    return item

# Create a batch with varied sizes to test padding
batch = [
    create_sample_item(num_nodes=2, has_images=True, has_teacher=True),
    create_sample_item(num_nodes=4, has_images=True, has_teacher=True),
]

ARGS = {
    'diag_weight': 0.5,
}
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 function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
read_lines Ran
ran; our contract draft was wrong, not the code
Suxilan/SupScene/supscene/datasets/scenegraph.py
code served (permissive licence) · get_code("92deb9e160910a3d")
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 tempfile
import os

# Create a temporary file with some test content
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.txt")

with open(temp_file, 'w', encoding='utf-8') as f:
    f.write("line one\n")
    f.write("  line two with spaces  \n")
    f.write("\n")
    f.write("line three\n")
    f.write("   \n")
    f.write("line four\n")

ARGS = {
    "fp": 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 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
build_backbone Not yet run
unverified (harvested, no recorded run)
Suxilan/SupScene/supscene/encoder.py
code served (permissive licence) · get_code("8b0cb7354017c623")
How it ran

no invocation recorded.

build_deploy_head Not yet run
unverified (harvested, no recorded run)
Suxilan/SupScene/supscene/encoder.py
code served (permissive licence) · get_code("3815a558b0c23b86")
How it ran

no invocation recorded.

resolve_scene_dirs Not yet run
unverified (harvested, no recorded run)
Suxilan/SupScene/supscene/datasets/gl3d_subgraph_dataset.py
code served (permissive licence) · get_code("57f3af6031fd4352")
How it ran

no invocation recorded.

Also present in other papers' code

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

Image retrieval is a critical step for reducing the quadratic cost of image matching in unconstrained Structurefrom-Motion (SfM). Unlike generic image retrieval, however, the relevant goal of SfM is to identify geometrically matchable image pairs rather than merely semantically similar images. Prevailing methods are largely trained under anchorcentric tuple guidance, which organizes the training around isolated tuples and under-utilizes the dense, graded overlap structure naturally established within a SfM scene. In this work, we present SupScene, a scene-structured training framework that samples connected local subgraphs from SfM overlap graphs and jointly supervises all valid within-subgraph pairwise relations. To explicitly align the trained descriptor with geometric co-visibility, we further introduce an overlapordered objective that combines multi-similarity optimization with a continuous relative-overlap ranking term. In addition, the proposed framework is instantiated with a lightweight Structural Context Probe Pooling (SCPP) head that aggregates complementary structural responses into a compact global descriptor. Extensive experimental results on multiple benchmarks demonstrate that our method can significantly improve overall retrieval performance and enhance the completeness of downstream SfM reconstructions. Code and models are available at https://github.com/Suxilan/SupScene.

For agents

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

get_harvested_code_for_paper("2601.11930")
get_code_for_paper("2601.11930")
have("2601.11930")

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

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

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

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

Connect an agent — have() is free.