SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.04142 · 2023

Class-level Structural Relation Modelling and Smoothing for Visual Representation Learning

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 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; 5 failures of our instrument; 4 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/2308.04142.json · badge: /api/ran/2308.04142.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
czt117/csrms canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
FunctionStatusWhere it lives
ResNet18 Ran
ran; our contract draft was wrong, not the code
czt117/csrms/models/resnet.py
pointer only (licence: NONE) · get_code("46dd76e49a4bb02c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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.

ResNet50 Ran
ran; our contract draft was wrong, not the code
czt117/csrms/models/resnet.py
pointer only (licence: NONE) · get_code("82ac85b1483cd87c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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.

accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
czt117/csrms/utils.py
pointer only (licence: NONE) · get_code("b80b71baf2feec94")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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.

build_graph Ran
ran, honoured the contract we drafted
czt117/csrms/graph/calcu_graph.py
pointer only (licence: NONE) · get_code("fe906cf5793628af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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.

exp_lr_scheduler Ran
ran; our contract draft was wrong, not the code
czt117/csrms/utils.py
pointer only (licence: NONE) · get_code("5155e27e925e74d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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.

sparse_mx_to_torch_sparse_tensor Ran
ran; our contract draft was wrong, not the code
czt117/csrms/graph/calcu_graph.py
pointer only (licence: NONE) · get_code("c97b99c4e8201a97")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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.

art Not yet run
unverified (harvested, no recorded run)
czt117/csrms/prepare_datas/clustering.py
pointer only (licence: NONE) · get_code("faf6bdb799752adb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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. No invocation recorded.

default_loader Not yet run
unverified (harvested, no recorded run)
czt117/csrms/prepare_datas/dataloaders.py
pointer only (licence: NONE) · get_code("c46bb8d296728be4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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. No invocation recorded.

get_dataloader Not yet run
unverified (harvested, no recorded run)
czt117/csrms/prepare_datas/dataloaders.py
pointer only (licence: NONE) · get_code("43dd41dba3bdca2e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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. No invocation recorded.

normalize_data Not yet run
unverified (harvested, no recorded run)
czt117/csrms/utils.py
pointer only (licence: NONE) · get_code("f8d2d7cbe9b95c1c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, czt117/csrms 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. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 2 the same month, 2 later) and 8 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
sparse_mx_to_torch_sparse_tensor 32 other papers
17 dated earlier, 1 the same month, 14 later · 4 only as an assembly brick
1806.09055 (2018-06)
DARTS: Differentiable Architecture Search
1902.07153 (2019-02)
Simplifying Graph Convolutional Networks
2002.01633 (2020-02)
Structural Deep Clustering Network
and 29 more not named here
ResNet18 4 other papers
2 dated earlier, 1 the same month, 1 later
2105.00303 (2021-05)
RATT: Leveraging Unlabeled Data to Guarantee Generalization
2109.13398 (2021-09)
Unrolling SGD: Understanding Factors Influencing Machine Unlearning
2308.13862 (2023-08)
Late Stopping: Avoiding Confidently Learning from Mislabeled Examples
and 1 more not named here

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

Representation learning for images has been advanced by recent progress in more complex neural models such as the Vision Transformers and new learning theories such as the structural causal models. However, these models mainly rely on the classification loss to implicitly regularize the class-level data distributions, and they may face difficulties when handling classes with diverse visual patterns. We argue that the incorporation of the structural information between data samples may improve this situation. To achieve this goal, this paper presents a framework termed \textbf{C}lass-level Structural Relation Modeling and Smoothing for Visual Representation Learning (CSRMS), which includes the Class-level Relation Modelling, Class-aware Graph Sampling, and Relational Graph-Guided Representation Learning modules to model a relational graph of the entire dataset and perform class-aware smoothing and regularization operations to alleviate the issue of intra-class visual diversity and inter-class similarity. Specifically, the Class-level Relation Modelling module uses a clustering algorithm to learn the data distributions in the feature space and identify three types of class-level sample relations for the training set; Class-aware Graph Sampling module extends typical training batch construction process with three strategies to sample dataset-level sub-graphs; and Relational Graph-Guided Representation Learning module employs a graph convolution network with knowledge-guided smoothing operations to ease the projection from different visual patterns to the same class. Experiments demonstrate the effectiveness of structured knowledge modelling for enhanced representation learning and show that CSRMS can be incorporated with any state-of-the-art visual representation learning models for performance gains. The source codes and demos have been released at https://github.com/czt117/CSRMS.

For agents

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

get_harvested_code_for_paper("2308.04142")
get_code_for_paper("2308.04142")
have("2308.04142")

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

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

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

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

Connect an agent — have() is free.