SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.14476 · ECCV · 2022

Centrality and Consistency: Two-Stage Clean Samples Identification for Learning with Instance-Dependent Noisy Labels

Yizhou Yu, Ganlong Zhao

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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 2 have no contract verdict; 4 failures of our instrument; 3 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/2207.14476.json · badge: /api/ran/2207.14476.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
uitrbn/TSCSI_IDN canonical (classifier label)
classifier basis not recorded on the link
6 ran · 3 no recorded run
FunctionStatusWhere it lives
ResNet18 Ran
ran; our contract draft was wrong, not the code
uitrbn/TSCSI_IDN/PreResNet.py
pointer only (licence: MIT); the stored copy get_code serves, from wakings/tabasco, is pointer only (licence: NONE) · get_code("7b20f1288903c47c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wakings/tabasco, and GitHub detected no licence in that repository 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.

ResNet34 Ran
ran; our contract draft was wrong, not the code
uitrbn/TSCSI_IDN/PreResNet.py
pointer only (licence: MIT); the stored copy get_code serves, from wakings/tabasco, is pointer only (licence: NONE) · get_code("eee26fa0aef03470")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from wakings/tabasco, and GitHub detected no licence in that repository 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.

conv3x3 Ran
ran; our contract draft was wrong, not the code
uitrbn/TSCSI_IDN/PreResNet.py
pointer only (licence: MIT); the stored copy get_code serves, from amerch/CIFAR100-Training, is pointer only (licence: NONE) · get_code("583f9780bdd00a45")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from amerch/CIFAR100-Training, and GitHub detected no licence in that repository 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.

get_discrepancy Ran
ran on a synthesized input
uitrbn/TSCSI_IDN/Train_cifar.py
code served (permissive licence) · get_code("42389b7e441102f3")
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 1, dtype family float, shape (2,) 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
import torch.nn.functional as F

torch.manual_seed(0)

# Define arguments for get_discrepancy function
batch_size = 2
num_classes = 4

# Create logits for output1 and output2
output1 = torch.randn(batch_size, num_classes)
output2 = torch.randn(batch_size, num_classes)

# Create noisy_label (None or tensor of class indices)
noisy_label = torch.tensor([0, 2])

# Create prior_class_weight (weights for each class)
prior_class_weight = torch.tensor([0.25, 0.25, 0.25, 0.25])

# Test case 1: class_balance=False
ARGS = {
    'output1': output1,
    'output2': output2,
    'noisy_label': noisy_label,
    'class_balance': False,
    'prior_class_weight': prior_class_weight
}
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 1, dtype family float, shape (2,) — shape (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
get_discrepancy Ran
ran on a synthesized input
uitrbn/TSCSI_IDN/Train_clothing1m.py
code served (permissive licence) · get_code("d4f8d5fd490a7681")
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 1, dtype family float, shape (2,) 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
import torch.nn.functional as F

torch.manual_seed(0)

# Tiny tensors for batch_size=2, num_classes=4
batch_size = 2
num_classes = 4

output1 = torch.randn(batch_size, num_classes)
output2 = torch.randn(batch_size, num_classes)
noisy_label = torch.tensor([0, 2])

prior_class_weight = torch.tensor([0.25, 0.25, 0.25, 0.25])

ARGS = {
    'output1': output1,
    'output2': output2,
    'noisy_label': noisy_label,
    'loss_type': 'l1',
    'class_balance': False,
    'prior_class_weight': prior_class_weight,
}
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 1, dtype family float, shape (2,) — shape (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
unpickle Ran
ran; our contract draft was wrong, not the code
uitrbn/TSCSI_IDN/dataloader_cifar_idn_part.py
code served (permissive licence) · get_code("ef49e82a7403eee1")
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 _pickle as cPickle
import tempfile
import os

# Create a temporary pickle file with sample data
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test.pkl")

# Create some sample data and pickle it
sample_data = {
    'key1': 'value1',
    'key2': [1, 2, 3],
    'key3': {'nested': 'dict'}
}

with open(temp_file, 'wb') as f:
    cPickle.dump(sample_data, f)

ARGS = {
    'file': temp_file
}
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
create_model_discrepancy Not yet run
unverified (harvested, no recorded run)
uitrbn/TSCSI_IDN/models/networks.py
code served (permissive licence) · get_code("8563a67136078a4c")
How it ran

no invocation recorded.

eval_train_clustering Not yet run
unverified (harvested, no recorded run)
uitrbn/TSCSI_IDN/Train_clothing1m.py
code served (permissive licence) · get_code("d609a2f53238c07d")
How it ran

no invocation recorded.

test_epoch Not yet run
unverified (harvested, no recorded run)
uitrbn/TSCSI_IDN/Train_cifar.py
code served (permissive licence) · get_code("d988d4a899c17d25")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 4 later) and 5 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
conv3x3 686 other papers
398 dated earlier, 7 the same month, 270 later, 11 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
ResNet34 24 other papers
10 dated earlier, 14 later
1605.07146 (2016-05)
Wide Residual Networks
1811.12814 (2018-11)
Graph-Based Global Reasoning Networks
2002.12047 (2020-02)
FMix: Enhancing Mixed Sample Data Augmentation
and 21 more not named here
ResNet18 7 other papers
3 dated earlier, 4 later
2105.14083 (2021-05)
Rethinking Noisy Label Models: Labeler-Dependent Noise with Adversarial Awareness
2112.00059 (2021-12)
Evaluating Gradient Inversion Attacks and Defenses in Federated Learning
2203.14542 (2022-03)
UNICON: Combating Label Noise Through Uniform Selection and Contrastive Learning
and 4 more not named here
unpickle 7 other papers
2 dated earlier, 5 later
2105.14083 (2021-05)
Rethinking Noisy Label Models: Labeler-Dependent Noise with Adversarial Awareness
2203.14542 (2022-03)
UNICON: Combating Label Noise Through Uniform Selection and Contrastive Learning
ijcai2023_0434 (2023 (year only))
Stochastic Feature Averaging for Learning with Long-Tailed Noisy Labels
and 4 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-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

Deep models trained with noisy labels are prone to overfitting and struggle in generalization. Most existing solutions are based on an ideal assumption that the label noise is class-conditional, i.e. instances of the same class share the same noise model, and are independent of features. While in practice, the real-world noise patterns are usually more fine-grained as instance-dependent ones, which poses a big challenge, especially in the presence of inter-class imbalance. In this paper, we propose a two-stage clean samples identification method to address the aforementioned challenge. First, we employ a class-level feature clustering procedure for the early identification of clean samples that are near the class-wise prediction centers. Notably, we address the class imbalance problem by aggregating rare classes according to their prediction entropy. Second, for the remaining clean samples that are close to the ground truth class boundary (usually mixed with the samples with instance-dependent noises), we propose a novel consistency-based classification method that identifies them using the consistency of two classifier heads: the higher the consistency, the larger the probability that a sample is clean. Extensive experiments on several challenging benchmarks demonstrate the superior performance of our method against the stateof-the-art. Code is available at https://github.com/uitrbn/TSCSI_IDN.

For agents

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

get_harvested_code_for_paper("2207.14476")
get_code_for_paper("2207.14476")
have("2207.14476")

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

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

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

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

Connect an agent — have() is free.