SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2201.01293 · 2022

A Transformer-Based Siamese Network for Change Detection

arXiv · PDF · Open in the Atlas

Code that ran

4 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; 4 failures of our instrument; 2 no recorded run), measured 2026-11-21; 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/2201.01293.json · badge: /api/ran/2201.01293.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
wgcban/changeformer canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
FunctionStatusWhere it lives
conv3x3 Ran
ran; our contract draft was wrong, not the code
wgcban/changeformer/models/DTCDSCN.py
pointer only (licence: MIT); the stored copy get_code serves, from amerch/CIFAR100-Training, is pointer only (licence: NONE) · get_code("583f9780bdd00a45")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from amerch/CIFAR100-Training, 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.

conv_diff Ran
ran; our contract draft was wrong, not the code
wgcban/changeformer/models/ChangeFormer.py
pointer only (licence: MIT); the stored copy get_code serves, from qaz670756/mmcd, is pointer only (licence: NONE) · get_code("731f4a0dd9bbfa45")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from qaz670756/mmcd, 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.

equal_lr Ran
ran; our contract draft was wrong, not the code
wgcban/changeformer/models/ChangeFormerBaseNetworks.py
code served (permissive licence) · get_code("5ef2eff36d9c9c0e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned SimpleModule. 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
from math import sqrt

torch.manual_seed(0)

# Create a simple module with a weight parameter
# The function accesses module._parameters[name] and uses getattr/setattr
# It also calls weight.data.size(1) and weight.data[0][0].numel()
# So weight needs to be at least 2D, and weight[0][0] needs to have numel()

class SimpleModule(nn.Module):
    def __init__(self):
        super().__init__()
        # Create a weight parameter with shape (out_features, in_features)
        # For a Conv2d-like weight, it would be (out_channels, in_channels, kernel_h, kernel_w)
        # Let's use a 4D weight to match typical conv layers: (2, 3, 2, 2)
        # This way: size(1) = 3 (in_channels), and [0][0] is a 2x2 tensor with numel() = 4
        self.weight = nn.Parameter(torch.randn(2, 3, 2, 2))
    
    def forward(self, x):
        return x

module = SimpleModule()

ARGS = {
    'module': module,
    'name': 'weight'
}
Setup block drafted by
a language model, Claude Sonnet 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 SimpleModule — a SimpleModule output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModule 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
make_prediction Ran
ran; our contract draft was wrong, not the code
wgcban/changeformer/models/ChangeFormer.py
pointer only (licence: MIT); the stored copy get_code serves, from qaz670756/mmcd, is pointer only (licence: NONE) · get_code("ccea83f2cfdb50eb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from qaz670756/mmcd, 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.

CDNet34 Not yet run
unverified (harvested, no recorded run)
wgcban/changeformer/models/DTCDSCN.py
code served (permissive licence) · get_code("5303daaf9fcd15f2")
How it ran

no invocation recorded.

resize Not yet run
unverified (harvested, no recorded run)
wgcban/changeformer/models/ChangeFormer.py
code served (permissive licence) · get_code("11acef810dc5071c")
How it ran

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, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 5 later) and 1 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
conv3x3 686 other papers
363 dated earlier, 4 the same month, 308 later, 11 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
equal_lr 10 other papers
6 dated earlier, 4 later · 1 only as an assembly brick
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1804.07723 (2018-04)
Image Inpainting for Irregular Holes Using Partial Convolutions
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
and 7 more not named here
resize 4 other papers
2 dated earlier, 2 later
1804.07723 (2018-04)
Image Inpainting for Irregular Holes Using Partial Convolutions
2111.14813 (2021-11)
TransWeather: Transformer-based Restoration of Images Degraded by Adverse Weather Conditions
2310.09276 (2023-10)
Transformer-based Multimodal Change Detection with Multitask Consistency Constraints
and 1 more not named here
conv_diff 1 other paper
1 later
2310.09276 (2023-10)
Transformer-based Multimodal Change Detection with Multitask Consistency Constraints
make_prediction 1 other paper
1 later
2310.09276 (2023-10)
Transformer-based Multimodal Change Detection with Multitask Consistency Constraints

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

Repositories linked to this paper

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

Abstract

This paper presents a transformer-based Siamese network architecture (abbreviated by ChangeFormer) for Change Detection (CD) from a pair of co-registered remote sensing images. Different from recent CD frameworks, which are based on fully convolutional networks (ConvNets), the proposed method unifies hierarchically structured transformer encoder with Multi-Layer Perception (MLP) decoder in a Siamese network architecture to efficiently render multi-scale long-range details required for accurate CD. Experiments on two CD datasets show that the proposed end-to-end trainable ChangeFormer architecture achieves better CD performance than previous counterparts. Our code is available at https://github.com/wgcban/ChangeFormer.

For agents

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

get_harvested_code_for_paper("2201.01293")
get_code_for_paper("2201.01293")
have("2201.01293")

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

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

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

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

Connect an agent — have() is free.