Jianan Zhao, Yuan Cheng, Wen Li, Meng Wang, Wei Chu, Cheng Zou, Furong Xu, Ruobing Zheng
5 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; 1 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 1 failure 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/2302.14335.json · badge: /api/ran/2302.14335.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.
| Repository | Role | Ran |
|---|---|---|
| ant-research/Diverse-and-Compact-Transformer | canonical (classifier label) classifier basis not recorded on the link |
5 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| cosine_dist | Ran ran on a synthesized input |
ant-research/Diverse-and-Compact-Transformer/loss/dissimilar_loss.py code served (permissive licence) · get_code("6e0d123178c47127") How it ranRan 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, 3, 5) 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.
|
| euclidean_dist | Ran ran on a synthesized input |
ant-research/Diverse-and-Compact-Transformer/loss/dissimilar_loss.py code served (permissive licence) · get_code("179ed4238c4ffe31") How it ranRan 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, 4, 5) 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.
|
| normalize | Ran ran; our contract draft was wrong, not the code |
ant-research/Diverse-and-Compact-Transformer/loss/dissimilar_loss.py code served (permissive licence) · get_code("e3b2a83f52101f2d") How it ranRan 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 2, dtype family float, shape (2, 4) 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.
|
| read_image | Ran ran, honoured the contract we drafted |
ant-research/Diverse-and-Compact-Transformer/datasets/bases.py code served (permissive licence) · get_code("5f1101145f896208") How it ranRan 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 Image. 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.
|
| shuffle_unit | Ran ran on a synthesized input |
ant-research/Diverse-and-Compact-Transformer/model/make_model.py code served (permissive licence) · get_code("fa0d6dd791ce2927") How it ranRan 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, 4, 4) 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.
|
| make_loss | Not yet run unverified (harvested, no recorded run) |
ant-research/Diverse-and-Compact-Transformer/loss/make_loss.py code served (permissive licence) · get_code("9eadacf338161ccb") How it ranno invocation recorded. |
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, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 3 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| normalize | 29 other papers 15 dated earlier, 12 later, 2 same year, order not determinable |
1609.01775 (2016-09) Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking |
1804.01438 (2018-04) Learning Discriminative Features with Multiple Granularities for Person Re-Identification 1811.07130 (2018-11) Batch DropBlock Network for Person Re-identification and Beyond and 26 more not named here |
| read_image | 10 other papers 7 dated earlier, 3 later |
1903.07071 (2019-03) Bag of Tricks and A Strong Baseline for Deep Person Re-identification |
1904.07223 (2019-04) Joint Discriminative and Generative Learning for Person Re-identification 1905.13143 (2019-05) Semantics-Aligned Representation Learning for Person Re-identification and 7 more not named here |
| shuffle_unit | 3 other papers 2 dated earlier, 1 later |
1609.01775 (2016-09) Performance Measures and a Data Set for Multi-Target, Multi-Camera Tracking |
2111.12084 (2021-11) Self-Supervised Pre-Training for Transformer-Based Person Re-Identification aaai_28398 (2024 (year only)) Heterogeneous Test-Time Training for Multi-Modal Person Re-identification |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
In person re-identification (ReID) task, it is still challenging to learn discriminative representation by deep learning, due to limited data. Generally speaking, the model will get better performance when increasing the amount of data. The addition of similar classes strengthens the ability of the classifier to identify similar identities, thereby improving the discrimination of representation. In this paper, we propose a Diverse and Compact Transformer (DC-Former) that can achieve a similar effect by splitting embedding space into multiple diverse and compact subspaces. Compact embedding subspace helps model learn more robust and discriminative embedding to identify similar classes. And the fusion of these diverse embeddings containing more fine-grained information can further improve the effect of ReID. Specifically, multiple class tokens are used in vision transformer to represent multiple embedding spaces. Then, a self-diverse constraint (SDC) is applied to these spaces to push them away from each other, which makes each embedding space diverse and compact. Further, a dynamic weight controller (DWC) is further designed for balancing the relative importance among them during training. The experimental results of our method are promising, which surpass previous state-of-the-art methods on several commonly used person ReID benchmarks. Our code is available at https://github.com/ant-research/Diverseand-Compact-Transformer.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2302.14335")
get_code_for_paper("2302.14335")
have("2302.14335")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2302.14335.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2302.14335)
Connect an agent — have() is free.