SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2008.11459 · 2020

Semantic Graph Based Place Recognition for 3D Point Clouds

arXiv · PDF · Open in the Atlas

Code that ran

6 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 4 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2008.11459.json · badge: /api/ran/2008.11459.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
kxhit/SG_PR canonical (classifier label)
classifier basis: census
6 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_loss Ran
ran on a synthesized input
kxhit/SG_PR/utils.py
code served (permissive licence) · get_code("9105fffe8484ccc6")
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 float, 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 math

torch.manual_seed(0)

# The function takes two parameters: prediction and target
# Both are used with math.log(), so they must be numeric values (float or int)
# The function expects them to be positive numbers (since log of negative/zero is undefined)
# Based on the docstring, these are log-transformed GED values

prediction = 0.5
target = 0.7

ARGS = {
    "prediction": prediction,
    "target": target
}
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 float, 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
calculate_normalized_ged Ran
ran on a synthesized input
kxhit/SG_PR/utils.py
code served (permissive licence) · get_code("9e8d1d688d6fda48")
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 float, 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 numpy as np

torch.manual_seed(0)

# The function expects a data dict with:
# - 'ged': a numeric value (graph edit distance)
# - 'labels_1': a list or sequence with a length
# - 'labels_2': a list or sequence with a length

data = {
    'ged': 5.0,
    'labels_1': [0, 1, 2],
    'labels_2': [0, 1, 2, 3]
}

ARGS = {
    'data': data
}
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 float, 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_graph_feature Ran
ran on a synthesized input
kxhit/SG_PR/dgcnn.py
code served (permissive licence) · get_code("0123cdd1a1578e5f")
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 4, dtype family float, shape (2, 8, 8, 5) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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

torch.manual_seed(0)

# Create a small batch of point cloud features
# Shape: (batch_size, num_features, num_points)
batch_size = 2
num_features = 4
num_points = 8

x = torch.randn(batch_size, num_features, num_points)

k = 5

cuda = 0

idx = None

xyz = False

ARGS = {
    "x": x,
    "k": k,
    "cuda": cuda,
    "idx": idx,
    "xyz": xyz,
}
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 4, dtype family float, shape (2, 8, 8, 5) — shape (2, 8, 8, 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
knn Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kxhit/SG_PR/dgcnn.py
code served (permissive licence) · get_code("cdd0141594039dcb")
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) and returned Tensor, ndim 3, dtype family int, shape (2, 3, 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 torch

torch.manual_seed(0)

# x is used with:
# - transpose(2, 1): expects 3D tensor
# - matmul with transposed version: matrix multiplication
# - sum(x ** 2, dim=1, keepdim=True): sum over dimension 1
# - topk(k=k, dim=-1): get top k indices along last dimension
# 
# Shape should be (batch, features, num_points) based on the transpose operations
# Let's use batch=2, features=4, num_points=3

x = torch.randn(2, 4, 3)

# k is the number of nearest neighbors to find
# Should be less than num_points (3), so k=2
k = 2

ARGS = {
    "x": x,
    "k": k,
}
Setup block drafted by
a language model, Claude Haiku 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 Tensor, ndim 3, dtype family int, shape (2, 3, 2) — shape (2, 3, 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
process_pair Ran
ran on a synthesized input
kxhit/SG_PR/utils.py
code served (permissive licence) · get_code("3469aa181428b1c8")
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 json
import tempfile
import os

# Create temporary JSON files with the required structure
temp_dir = tempfile.mkdtemp()

# Create first JSON file
data1 = {
    'centers': [[0.1, 0.2], [0.3, 0.4]],
    'nodes': [[1, 2, 3], [4, 5, 6]],
    'pose': [0, 1, 2, 3.0, 4, 5, 6, 7, 8, 9, 10, 5.5]
}

# Create second JSON file
data2 = {
    'centers': [[0.5, 0.6], [0.7, 0.8]],
    'nodes': [[7, 8, 9], [10, 11, 12]],
    'pose': [0, 1, 2, 4.0, 4, 5, 6, 7, 8, 9, 10, 6.5]
}

file1_path = os.path.join(temp_dir, 'graph1.json')
file2_path = os.path.join(temp_dir, 'graph2.json')

with open(file1_path, 'w') as f:
    json.dump(data1, f)

with open(file2_path, 'w') as f:
    json.dump(data2, f)

ARGS = {
    'path': [file1_path, file2_path]
}
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 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
unpack Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kxhit/SG_PR/data_process/auxiliary/SSCDataset.py
code served (permissive licence) · get_code("b6ce60277ddab1d7")
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 1, dtype family int, shape (24,) 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 a small compressed voxel grid
# The function expects a 1D array of uint8 values where each byte encodes 8 bits
# Let's create a simple compressed array with a few bytes
compressed = np.array([0b10101010, 0b11110000, 0b00001111], dtype=np.uint8)

ARGS = {
    "compressed": compressed
}
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 1, dtype family int, shape (24,) — shape (24,) 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 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, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 4 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
knn 52 other papers
5 dated earlier, 47 later · 12 only as an assembly brick
1801.07829 (2018-01)
Dynamic Graph CNN for Learning on Point Clouds
1905.06292 (2019-05)
3D Point Cloud Generative Adversarial Network Based on Tree Structured Graph Convolutions
2005.06734 (2020-05)
Dense-Resolution Network for Point Cloud Classification and Segmentation
and 49 more not named here
unpack 1 other paper
1 dated earlier
1904.01416 (2019-04)
SemanticKITTI: A Dataset for Semantic Scene Understanding of LiDAR Sequences

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

Repositories linked to this paper

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

Abstract

Due to the difficulty in generating the effective descriptors which are robust to occlusion and viewpoint changes, place recognition for 3D point cloud remains an open issue. Unlike most of the existing methods that focus on extracting local, global, and statistical features of raw point clouds, our method aims at the semantic level that can be superior in terms of robustness to environmental changes. Inspired by the perspective of humans, who recognize scenes through identifying semantic objects and capturing their relations, this paper presents a novel semantic graph based approach for place recognition. First, we propose a novel semantic graph representation for the point cloud scenes by reserving the semantic and topological information of the raw point cloud. Thus, place recognition is modeled as a graph matching problem. Then we design a fast and effective graph similarity network to compute the similarity. Exhaustive evaluations on the KITTI dataset show that our approach is robust to the occlusion as well as viewpoint changes and outperforms the state-of-the-art methods with a large margin. Our code is available at: \url{https://github.com/kxhit/SG_PR}.

For agents

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

get_harvested_code_for_paper("2008.11459")
get_code_for_paper("2008.11459")
have("2008.11459")

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

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

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

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

Connect an agent — have() is free.