SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1804.05526 · 2018

LoST? Appearance-Invariant Place Recognition for Opposite Viewpoints using Visual Semantics

arXiv · PDF · Open in the Atlas

Code that ran

7 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 7 have no contract verdict; 0 failures of our instrument; 0 no recorded run), measured 2026-11-23; 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/1804.05526.json · badge: /api/ran/1804.05526.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
oravus/lostX canonical (classifier label)
classifier basis: census
7 ran · 0 no recorded run
FunctionStatusWhere it lives
filter_kp_semantically Ran
ran on a synthesized input
oravus/lostX/lost_kc/match_lost_kc.py
code served (permissive licence) · get_code("ca87b58f6b293f90")
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, ndim 2, dtype family int; 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 numpy as np

# Create small semantic label arrays
# semLabels1 and semLabels2 map keypoint indices to semantic class labels
semLabels1 = np.array([0, 1, 2, 1, 0, 2])  # 6 keypoints with semantic labels
semLabels2 = np.array([1, 0, 2, 1, 2, 0])  # 6 keypoints with semantic labels

# Create keypoint index arrays
# These are indices into the semLabels arrays
kpInds1 = np.array([0, 1, 2, 3])  # Select 4 keypoints from semLabels1
kpInds2 = np.array([1, 2, 3, 4])  # Select 4 keypoints from semLabels2

ARGS = {
    "kpInds1": kpInds1,
    "kpInds2": kpInds2,
    "semLabels1": semLabels1,
    "semLabels2": semLabels2,
}
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 tuple, ndim 2, dtype family int — a tuple 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
getEncoding Ran
ran on a synthesized input
oravus/lostX/lost_kc/LoST.py
code served (permissive licence) · get_code("5e25b55783988632")
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 (2, 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
from sklearn.preprocessing import normalize

np.random.seed(0)

# cc: cluster centers, shape (num_clusters, feature_dim)
# inData: input data, shape (num_samples, feature_dim)
# membership: membership matrix, shape (num_clusters, num_samples)

num_clusters = 2
num_samples = 3
feature_dim = 4

cc = np.random.randn(num_clusters, feature_dim)
inData = np.random.randn(num_samples, feature_dim)
membership = np.random.rand(num_clusters, num_samples)
membership = membership / membership.sum(axis=0, keepdims=True)

ARGS = {
    "cc": cc,
    "inData": inData,
    "membership": membership
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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 (2, 4) — shape (2, 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
getLocalCC Ran
ran on a synthesized input
oravus/lostX/lost_kc/LoST.py
code served (permissive licence) · get_code("be4e8c4f8c531a31")
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

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

# Define parameters
rows_cols = 6  # total number of spatial locations (rows*cols)
numFeatureMaps = 4  # number of feature maps
numClasses = 3  # number of unique classes

# Create feature tensor [rows*cols, numFeatureMaps]
ft = np.random.randn(rows_cols, numFeatureMaps).astype(np.float32)

# Create labels [rows*cols,] with class indices
labels = np.array([0, 1, 2, 0, 1, 2], dtype=np.int32)

# Create class indices array
classInds = np.array([0, 1, 2], dtype=np.int32)

# Construct ARGS dictionary
ARGS = {
    "ft": ft,
    "labels": labels,
    "classInds": classInds,
    "numFeatureMaps": numFeatureMaps
}
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
getTemporalMeanofClusterCenters Ran
ran on a synthesized input
oravus/lostX/lost_kc/LoST.py
code served (permissive licence) · get_code("082ab413db2d6398")
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 float, shape (5, 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

# Analyze the function:
# - ccData: needs .copy() method and .shape attribute, supports indexing and slicing
#   The function accesses ccData[i], ccData[ll:ul], ccData[0]
#   It reshapes to [ul - ll, -1] and back to ccData[0].shape
#   So ccData should be a 3D array where first dim is time, rest are cluster center dims
# - win: numeric parameter with default 10

# Create a small 3D numpy array
# Dimensions: time=5, height=3, width=4 (distinct sizes for clarity)
ccData = np.random.randn(5, 3, 4).astype(np.float32)

ARGS = {
    "ccData": ccData,
    "win": 10
}
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 3, dtype family float, shape (5, 3, 4) — shape (5, 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
process_semScores Ran
ran on a synthesized input
oravus/lostX/lost_kc/reformat_data.py
code served (permissive licence) · get_code("7bf68a00679659e5")
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 numpy as np

# Analyze the function:
# - scoresData: needs to be a 3D array, used with .transpose([2, 1, 0])
#   The result goes to resize() which expects spatial dimensions
#   After transpose, it has shape that will become (numClasses, height, width)
#   So original scoresData should have shape (width, height, numClasses) or similar
# - numClasses: int, used for np.insert and reshape
# - shape: tuple/array, used with np.insert at position 2, then passed to resize

# Create test data
# scoresData: shape (4, 5, 3) representing (width, height, channels/classes_input)
scoresData = np.random.rand(4, 5, 3).astype(np.float32)

# numClasses: number of output classes
numClasses = 6

# shape: the target spatial shape (height, width) for resizing
shape = (8, 7)

ARGS = {
    'scoresData': scoresData,
    'numClasses': numClasses,
    'shape': shape
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, skimage, sklearn — 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
readDenseDesc Ran
ran on a synthesized input
oravus/lostX/lost_kc/match_lost_kc.py
code served (permissive licence) · get_code("4221c670d1f0e29a")
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 (12, 5) 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 tempfile
import os

# Create a temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create a sample .npz file with test data
# The function expects an array and reshapes it to [shape[0], -1] then transposes
# Let's create an array with shape (5, 3, 4) so after reshape it becomes (5, 12)
# and after transpose becomes (12, 5)
test_array = np.random.randn(5, 3, 4)
npz_path = os.path.join(temp_dir, '0000000.npz')
np.savez(npz_path, test_array)

# Define ARGS
ARGS = {
    'denseDesPath': temp_dir + '/',
    'idx': 0,
    'nameFormat': '{0:07d}'
}
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 (12, 5) — shape (12, 5) 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
unravel_flat_kp Ran
ran on a synthesized input
oravus/lostX/lost_kc/match_lost_kc.py
code served (permissive licence) · get_code("d7d5acc0cab2f65c")
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 int, shape (5, 2) 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

# Analyze the function:
# - ft: array-like, converted to int, used with np.unravel_index
# - shape: tuple/sequence, passed to np.unravel_index, indexed with [1]
# - flip: boolean flag

# np.unravel_index converts flat indices to multi-dimensional indices
# It needs:
#   - indices: array of flat indices (ft after astype(int))
#   - shape: tuple describing the multi-dimensional array shape

# Create flat indices (small values)
ft = np.array([0, 5, 10, 15, 20], dtype=np.float32)

# Create a shape tuple - using distinct dimensions (4 rows, 7 columns)
# to make it unambiguous
shape = (4, 7)

# flip is a boolean
flip = False

ARGS = {
    "ft": ft,
    "shape": shape,
    "flip": flip
}
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 int, shape (5, 2) — shape (5, 2) 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

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

Human visual scene understanding is so remarkable that we are able to recognize a revisited place when entering it from the opposite direction it was first visited, even in the presence of extreme variations in appearance. This capability is especially apparent during driving: a human driver can recognize where they are when travelling in the reverse direction along a route for the first time, without having to turn back and look. The difficulty of this problem exceeds any addressed in past appearance- and viewpoint-invariant visual place recognition (VPR) research, in part because large parts of the scene are not commonly observable from opposite directions. Consequently, as shown in this paper, the precision-recall performance of current state-of-the-art viewpoint- and appearance-invariant VPR techniques is orders of magnitude below what would be usable in a closed-loop system. Current engineered solutions predominantly rely on panoramic camera or LIDAR sensing setups; an eminently suitable engineering solution but one that is clearly very different to how humans navigate, which also has implications for how naturally humans could interact and communicate with the navigation system. In this paper we develop a suite of novel semantic- and appearance-based techniques to enable for the first time high performance place recognition in this challenging scenario. We first propose a novel Local Semantic Tensor (LoST) descriptor of images using the convolutional feature maps from a state-of-the-art dense semantic segmentation network. Then, to verify the spatial semantic arrangement of the top matching candidates, we develop a novel approach for mining semantically-salient keypoint correspondences.

For agents

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

get_harvested_code_for_paper("1804.05526")
get_code_for_paper("1804.05526")
have("1804.05526")

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

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

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

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

Connect an agent — have() is free.