SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.07601 · 2019

Relation-Shape Convolutional Neural Network for Point Cloud Analysis

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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 1 has no contract verdict; 2 failures of our instrument; 1 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/1904.07601.json · badge: /api/ran/1904.07601.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
Yochengliu/Relation-Shape-CNN canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
checkpoint_state Ran
ran; our contract draft was wrong, not the code
Yochengliu/Relation-Shape-CNN/utils/pytorch_utils/pytorch_utils.py
code served (permissive licence) · get_code("174bbcefd4d48dd7")
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 torch
import torch.nn as nn
import torch.optim as optim

torch.manual_seed(0)

# Define a small model
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create model instance
model = SimpleModel()

# Create optimizer
optimizer = optim.SGD(model.parameters(), lr=0.01)

# Define arguments
ARGS = {
    'model': model,
    'optimizer': optimizer,
    'best_prec': 0.95,
    'epoch': 5
}
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 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
group_model_params Ran
ran; our contract draft was wrong, not the code
Yochengliu/Relation-Shape-CNN/utils/pytorch_utils/pytorch_utils.py
code served (permissive licence) · get_code("132bf0b874e9f69f")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small model with batch norm, bias, and weight parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.bn = nn.BatchNorm1d(3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        x = self.linear1(x)
        x = self.bn(x)
        x = self.linear2(x)
        return x

model = SimpleModel()

ARGS = {
    "model": model
}
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 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
load_checkpoint Ran
ran, honoured the contract we drafted
Yochengliu/Relation-Shape-CNN/utils/pytorch_utils/pytorch_utils.py
code served (permissive licence) · get_code("da10b4156367218c")
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 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 torch
import torch.nn as nn
import torch.optim as optim
import tempfile
import os

torch.manual_seed(0)

# Create a simple model
class SimpleModel(nn.Module):
    def __init__(self):
        super(SimpleModel, self).__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create model and optimizer instances
model = SimpleModel()
optimizer = optim.SGD(model.parameters(), lr=0.01)

# Create a temporary directory for checkpoint file
temp_dir = tempfile.mkdtemp()
checkpoint_path = os.path.join(temp_dir, 'checkpoint')

# Create and save a checkpoint file
checkpoint = {
    'epoch': 42,
    'best_prec': 0.95,
    'model_state': model.state_dict(),
    'optimizer_state': optimizer.state_dict()
}
torch.save(checkpoint, checkpoint_path + '.pth.tar')

# Change to temp directory so the checkpoint can be found
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'model': model,
    'optimizer': optimizer,
    'filename': 'checkpoint'
}
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, ndim 1, dtype family float — 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
pdist2_slow Ran
ran on a synthesized input
Yochengliu/Relation-Shape-CNN/utils/linalg_utils.py
code served (permissive licence) · get_code("534f6ef2ad0bbfc9")
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 3, dtype family float, shape (2, 5, 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 torch

torch.manual_seed(0)

# Analyze function signature and body:
# - X: tensor with shape (batch, features, points), accessed as X[b, :, i]
# - Z: optional tensor with same structure, defaults to X
# - Function uses X.size(0), X.size(2), Z.size(2) for loop bounds
# - Function accesses X[b, :, i] and Z[b, :, j] for torch.dist

# Create small tensors with distinct dimensions:
# batch_size=2, features=4, X_points=5, Z_points=3
X = torch.randn(2, 4, 5)
Z = torch.randn(2, 4, 3)

ARGS = {
    "X": X,
    "Z": Z,
}
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 3, dtype family float, shape (2, 5, 3) — shape (2, 5, 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
pdist2 Not yet run
unverified (harvested, no recorded run)
Yochengliu/Relation-Shape-CNN/utils/linalg_utils.py
code served (permissive licence) · get_code("13065cfadaddfe24")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 0 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
pdist2_slow 3 other papers
3 later
1909.03669 (2019-09)
DensePoint: Learning Densely Contextual Representation for Efficient Point Cloud Processing
2005.06734 (2020-05)
Dense-Resolution Network for Point Cloud Classification and Segmentation
checkpoint_state 2 other papers
2 later
1909.03669 (2019-09)
DensePoint: Learning Densely Contextual Representation for Efficient Point Cloud Processing
2003.12971 (2020-03)
Global-Local Bidirectional Reasoning for Unsupervised Representation Learning of 3D Point Clouds
group_model_params 2 other papers
2 later
1909.03669 (2019-09)
DensePoint: Learning Densely Contextual Representation for Efficient Point Cloud Processing
2003.12971 (2020-03)
Global-Local Bidirectional Reasoning for Unsupervised Representation Learning of 3D Point Clouds
load_checkpoint 2 other papers
2 later
1909.03669 (2019-09)
DensePoint: Learning Densely Contextual Representation for Efficient Point Cloud Processing
2003.12971 (2020-03)
Global-Local Bidirectional Reasoning for Unsupervised Representation Learning of 3D Point Clouds
pdist2 1 other paper
1 later
1909.03669 (2019-09)
DensePoint: Learning Densely Contextual Representation for Efficient Point Cloud Processing

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

Point cloud analysis is very challenging, as the shape implied in irregular points is difficult to capture. In this paper, we propose RS-CNN, namely, Relation-Shape Convolutional Neural Network, which extends regular grid CNN to irregular configuration for point cloud analysis. The key to RS-CNN is learning from relation, i.e., the geometric topology constraint among points. Specifically, the convolutional weight for local point set is forced to learn a high-level relation expression from predefined geometric priors, between a sampled point from this point set and the others. In this way, an inductive local representation with explicit reasoning about the spatial layout of points can be obtained, which leads to much shape awareness and robustness. With this convolution as a basic operator, RS-CNN, a hierarchical architecture can be developed to achieve contextual shape-aware learning for point cloud analysis. Extensive experiments on challenging benchmarks across three tasks verify RS-CNN achieves the state of the arts.

For agents

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

get_harvested_code_for_paper("1904.07601")
get_code_for_paper("1904.07601")
have("1904.07601")

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

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

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

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

Connect an agent — have() is free.