SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2608.09519 · 2026

XFeat Revisited: Reproducibility and Evaluation of a Lightweight Image Matcher

Lazar Ðoković, Aimee Lin

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; 1 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-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/2608.09519.json · badge: /api/ran/2608.09519.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
GalaxyGHz/xfeat-revisited canonical (classifier label)
classifier basis: census
4 ran · 3 no recorded run
FunctionStatusWhere it lives
generateRandomHomography Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GalaxyGHz/xfeat-revisited/modules/datasets/augmentation.py
code served (permissive licence) · get_code("b4750e9a1bbe292b")
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 ndarray, ndim 2, dtype family float, shape (3, 3) 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 numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# The function takes a shape parameter (tuple of integers) and an optional GLOBAL_MULTIPLIER
# shape is used to calculate tx, ty based on shape[0] and shape[1] (height, width)
shape = (480, 640)  # height, width - typical image dimensions

GLOBAL_MULTIPLIER = 0.3

ARGS = {
    "shape": shape,
    "GLOBAL_MULTIPLIER": GLOBAL_MULTIPLIER
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) 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_relative_transform Ran
ran, honoured the contract we drafted
GalaxyGHz/xfeat-revisited/modules/datasets/scannet1500.py
code served (permissive licence) · get_code("4fe046a6a18509cd")
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 ndarray, ndim 2, dtype family float, shape (3, 4) 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 numpy as np

# Create two pose matrices (4x4 homogeneous transformation matrices)
# pose0 and pose1 are 4x4 matrices where [:3, :3] is rotation and [:3, 3] is translation
pose0 = np.array([
    [0.9, -0.1, 0.2, 1.0],
    [0.1, 0.95, 0.05, 2.0],
    [-0.2, 0.0, 0.98, 3.0],
    [0.0, 0.0, 0.0, 1.0]
], dtype=np.float32)

pose1 = np.array([
    [0.85, 0.15, -0.1, 0.5],
    [-0.1, 0.9, 0.2, 1.5],
    [0.15, -0.15, 0.95, 2.5],
    [0.0, 0.0, 0.0, 1.0]
], dtype=np.float32)

ARGS = {
    'pose0': pose0,
    'pose1': pose1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 4) — shape (3, 4) 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
warp_corners_and_draw_matches Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
GalaxyGHz/xfeat-revisited/match.py
code served (permissive licence) · get_code("2058137dc84deb37")
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 ndarray, ndim 3, dtype family int, shape (120, 170, 3) 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 numpy as np
import cv2

# Create small test images
img1 = np.ones((100, 80, 3), dtype=np.uint8) * 50
img2 = np.ones((120, 90, 3), dtype=np.uint8) * 100

# Create corresponding point sets for homography estimation
# ref_points: points in img1
ref_points = np.array([
    [10, 10],
    [70, 10],
    [70, 90],
    [10, 90],
    [40, 50]
], dtype=np.float32)

# dst_points: corresponding points in img2 (slightly transformed)
dst_points = np.array([
    [15, 12],
    [75, 15],
    [72, 95],
    [12, 92],
    [45, 52]
], dtype=np.float32)

ARGS = {
    "ref_points": ref_points,
    "dst_points": dst_points,
    "img1": img1,
    "img2": img2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family int, shape (120, 170, 3) — shape (120, 170, 3) 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
warp_kpts Ran
ran; our contract draft was wrong, not the code
GalaxyGHz/xfeat-revisited/modules/datasets/megadepth.py
code served (permissive licence) · get_code("635d3ef20760cc0c")
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 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.

import torch

torch.manual_seed(0)

# Tiny batch size and dimensions for testing
batch_size = 2
num_keypoints = 4
height = 8
width = 8

# kpts0: [N, L, 2] - keypoint coordinates in image 0
kpts0 = torch.rand(batch_size, num_keypoints, 2) * torch.tensor([width - 1, height - 1])

# depth0: [N, H, W] - depth map for image 0
depth0 = torch.rand(batch_size, height, width) * 5.0 + 0.5

# depth1: [N, H, W] - depth map for image 1
depth1 = torch.rand(batch_size, height, width) * 5.0 + 0.5

# T_0to1: [N, 3, 4] - transformation matrix from camera 0 to camera 1
# First 3x3 is rotation, last column is translation
T_0to1 = torch.zeros(batch_size, 3, 4)
T_0to1[:, :3, :3] = torch.eye(3).unsqueeze(0) + torch.randn(batch_size, 3, 3) * 0.1
T_0to1[:, :3, 3] = torch.randn(batch_size, 3) * 0.5

# K0: [N, 3, 3] - intrinsic matrix for camera 0
K0 = torch.zeros(batch_size, 3, 3)
K0[:, 0, 0] = 500.0  # fx
K0[:, 1, 1] = 500.0  # fy
K0[:, 0, 2] = width / 2.0   # cx
K0[:, 1, 2] = height / 2.0  # cy
K0[:, 2, 2] = 1.0

# K1: [N, 3, 3] - intrinsic matrix for camera 1
K1 = torch.zeros(batch_size, 3, 3)
K1[:, 0, 0] = 480.0  # fx (different from K0)
K1[:, 1, 1] = 480.0  # fy (different from K0)
K1[:, 0, 2] = width / 2.0   # cx
K1[:, 1, 2] = height / 2.0  # cy
K1[:, 2, 2] = 1.0

ARGS = {
    "kpts0": kpts0,
    "depth0": depth0,
    "depth1": depth1,
    "T_0to1": T_0to1,
    "K0": K0,
    "K1": K1,
}
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 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
generateRandomTPS Not yet run
unverified (harvested, no recorded run)
GalaxyGHz/xfeat-revisited/modules/datasets/augmentation.py
code served (permissive licence) · get_code("65d69e6d8a570a26")
How it ran

no invocation recorded.

get_correspondences Not yet run
unverified (harvested, no recorded run)
GalaxyGHz/xfeat-revisited/modules/datasets/megadepth.py
code served (permissive licence) · get_code("2003ea03408d0fd7")
How it ran

no invocation recorded.

spvs_coarse Not yet run
unverified (harvested, no recorded run)
GalaxyGHz/xfeat-revisited/modules/datasets/megadepth.py
code served (permissive licence) · get_code("1a8efbddf42f969a")
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

We present a reproducibility study of XFeat, a lightweight local feature extractor and matcher designed to identify corresponding points across images efficiently on resourceconstrained hardware. We re-implement the architecture based on the paper and supplementary material, re-evaluate the authors' released checkpoint alongside our re-implementation, and conduct additional architectural ablations to examine design choices that were not fully justified in the original work. This distinction between re-evaluation and reproduction is important, as the paper, supplement, and public code differ in several implementation details, including the backbone layout, fusion block, and training losses. Empirically, our reproduced models closely match and, in some cases, outperform the re-evaluated original checkpoint on MegaDepth-1500 and ScanNet-1500, supporting the main claim that XFeat provides a strong accuracy-efficiency trade-off for standard image-matching benchmarks. Our ablations provide a more nuanced view of two architectural arguments from the original paper. In particular, the parallel keypoint branch is important for semi-dense matching, but its benefit is less pronounced than originally claimed, while the evidence for the specific placement of the single skip-connection remains inconclusive. Finally, we reproduce the original downstream evaluations and find close agreement for homography estimation, while Aachen visual localization remains below the reported results, even for the released checkpoint, suggesting sensitivity to underspecified evaluation details. We then extend the analysis to zero-shot out-of-distribution and cross-modal matching across retinal, thermalvisible, and multimodal remote-sensing imagery, where XFeat remains effective in some settings but degrades sharply under severe modality shifts.

For agents

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

get_harvested_code_for_paper("2608.09519")
get_code_for_paper("2608.09519")
have("2608.09519")

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

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

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

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

Connect an agent — have() is free.