SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.00880 · NeurIPS · 2021

Benchmarks for Corruption Invariant Person Re-identification

Minghui Chen, Zhiqiang Wang, Feng Zheng

arXiv · PDF · Open in the Atlas

Code that ran

2 of 2 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 0 have no contract verdict; 2 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2111.00880.json · badge: /api/ran/2111.00880.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
MinghuiChen43/CIL-ReID canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
FunctionStatusWhere it lives
train_collate_fn Ran
ran; our contract draft was wrong, not the code
MinghuiChen43/CIL-ReID/datasets/make_dataloader.py
code served (permissive licence) · get_code("a9297ce0fe9cac98")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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 torch

torch.manual_seed(0)

# Create a batch of 2 samples
# Each sample from __getitem__ returns: (img, pid, camid, viewid, extra_field)

# Create image tensors (e.g., 3 channels, 8x6 spatial dimensions)
img1 = torch.randn(3, 8, 6)
img2 = torch.randn(3, 8, 6)

# Person IDs (integers)
pid1 = 5
pid2 = 12

# Camera IDs (integers)
camid1 = 1
camid2 = 3

# View IDs (integers)
viewid1 = 0
viewid2 = 2

# Extra field (can be anything, will be ignored)
extra1 = "path1"
extra2 = "path2"

# Construct batch as a list of tuples (what DataLoader passes to collate_fn)
batch = [
    (img1, pid1, camid1, viewid1, extra1),
    (img2, pid2, camid2, viewid2, extra2)
]

ARGS = {'batch': batch}
Setup block drafted by
a language model, Claude Sonnet 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 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
val_collate_fn Ran
ran; our contract draft was wrong, not the code
MinghuiChen43/CIL-ReID/datasets/make_dataloader.py
code served (permissive licence) · get_code("c4ae4a3fc4c4703e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) 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 torch
from PIL import Image

torch.manual_seed(0)

# Create sample batch data
# Each item in batch is a tuple of (img, pid, camid, viewid, img_path)

# Create small tensors for images (e.g., 3x8x6 images)
img1 = torch.randn(3, 8, 6)
img2 = torch.randn(3, 8, 6)

# Person IDs (can be any hashable type, typically int)
pid1 = 0
pid2 = 1

# Camera IDs (integers)
camid1 = 0
camid2 = 1

# View IDs (integers)
viewid1 = 0
viewid2 = 1

# Image paths (strings)
img_path1 = "/path/to/img1.jpg"
img_path2 = "/path/to/img2.jpg"

# Construct batch as list of tuples
batch = [
    (img1, pid1, camid1, viewid1, img_path1),
    (img2, pid2, camid2, viewid2, img_path2)
]

ARGS = {'batch': batch}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
PIL, torch — 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

Also present in other papers' code

Of 2 samples lifted from this paper's linked repositories, 2 carry a function identity and 0 do not. Of the 2 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 2 the same month, 2 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
train_collate_fn 2 other papers
1 the same month, 1 later
2111.12084 (2021-11)
Self-Supervised Pre-Training for Transformer-Based Person Re-Identification
2306.13856 (2023-06)
Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification
val_collate_fn 2 other papers
1 the same month, 1 later
2111.12084 (2021-11)
Self-Supervised Pre-Training for Transformer-Based Person Re-Identification
2306.13856 (2023-06)
Learning-to-Rank Meets Language: Boosting Language-Driven Ordering Alignment for Ordinal Classification

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

When deploying person re-identification (ReID) model in safety-critical applications, it is pivotal to understanding the robustness of the model against a diverse array of image corruptions. However, current evaluations of person ReID only consider the performance on clean datasets and ignore images in various corrupted scenarios. In this work, we comprehensively establish five ReID benchmarks for learning corruption invariant representation. In the field of ReID, we are the first to conduct an exhaustive study on corruption invariant learning in single-and cross-modality datasets, including Market-1501, CUHK03, MSMT17, RegDB, SYSU-MM01. After reproducing and examining the robustness performance of 21 recent ReID methods, we have some observations: 1) transformer-based models are more robust towards corrupted images, compared with CNN-based models, 2) increasing the probability of random erasing (a commonly used augmentation method) hurts model corruption robustness, 3) cross-dataset generalization improves with corruption robustness increases. By analyzing the above observations, we propose a strong baseline on both single-and cross-modality ReID datasets which achieves improved robustness against diverse corruptions. Our codes are available on https://github.com/MinghuiChen43/CIL-ReID.

For agents

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

get_harvested_code_for_paper("2111.00880")
get_code_for_paper("2111.00880")
have("2111.00880")

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

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

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

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

Connect an agent — have() is free.