3 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-24; 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.02998.json · badge: /api/ran/1904.02998.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 |
|---|---|---|
| microsoft/Relation-Aware-Global-Attention-Networks | canonical (classifier label) classifier basis: census |
3 ran · 3 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| cosine_dist | Ran ran on a synthesized input |
microsoft/Relation-Aware-Global-Attention-Networks/reid/loss/loss_set.py code served (permissive licence) · get_code("4be3d910a039412b") 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, 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.
|
| euclidean_dist | Ran ran; our contract draft was wrong, not the code |
microsoft/Relation-Aware-Global-Attention-Networks/reid/loss/loss_set.py code served (permissive licence) · get_code("be97fdf67a958e5d") 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, 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.
|
| normalize | Ran ran; our contract draft was wrong, not the code |
microsoft/Relation-Aware-Global-Attention-Networks/reid/loss/loss_set.py code served (permissive licence) · get_code("4fc0211f67ebf023") 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.
|
| accuracy | Not yet run unverified (harvested, no recorded run) |
microsoft/Relation-Aware-Global-Attention-Networks/reid/evaluation_metrics/classification.py code served (permissive licence) · get_code("302abe91718126bb") How it ranno invocation recorded. |
| cmc | Not yet run unverified (harvested, no recorded run) |
microsoft/Relation-Aware-Global-Attention-Networks/reid/evaluation_metrics/ranking.py code served (permissive licence) · get_code("b39a10404aa7ed0b") How it ranno invocation recorded. |
| mean_ap | Not yet run unverified (harvested, no recorded run) |
microsoft/Relation-Aware-Global-Attention-Networks/reid/evaluation_metrics/ranking.py code served (permissive licence) · get_code("7138b7088bf941e8") 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, 5 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 4 the same month, 2 later) and 1 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 5 dated earlier, 1 the same month, 23 later |
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 |
| euclidean_dist | 20 other papers 2 dated earlier, 1 the same month, 17 later · 4 only as an assembly brick |
1902.09212 (2019-02) Deep High-Resolution Representation Learning for Human Pose Estimation |
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 and 17 more not named here |
| accuracy | 1 other paper 1 the same month |
1904.01990 (2019-04) Invariance Matters: Exemplar Memory for Domain Adaptive Person Re-identification |
|
| cmc | 1 other paper 1 the same month |
1904.01990 (2019-04) Invariance Matters: Exemplar Memory for Domain Adaptive Person Re-identification |
|
| mean_ap | 1 other paper 1 dated earlier |
1512.04150 (2015-12) Learning Deep Features for Discriminative Localization |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
For person re-identification (re-id), attention mechanisms have become attractive as they aim at strengthening discriminative features and suppressing irrelevant ones, which matches well the key of re-id, i.e., discriminative feature learning. Previous approaches typically learn attention using local convolutions, ignoring the mining of knowledge from global structure patterns. Intuitively, the affinities among spatial positions/nodes in the feature map provide clustering-like information and are helpful for inferring semantics and thus attention, especially for person images where the feasible human poses are constrained. In this work, we propose an effective Relation-Aware Global Attention (RGA) module which captures the global structural information for better attention learning. Specifically, for each feature position, in order to compactly grasp the structural information of global scope and local appearance information, we propose to stack the relations, i.e., its pairwise correlations/affinities with all the feature positions (e.g., in raster scan order), and the feature itself together to learn the attention with a shallow convolutional model. Extensive ablation studies demonstrate that our RGA can significantly enhance the feature representation power and help achieve the state-of-the-art performance on several popular benchmarks. The source code is available at https://github.com/microsoft/Relation-Aware-Global-Attention-Networks.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1904.02998")
get_code_for_paper("1904.02998")
have("1904.02998")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/1904.02998.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/1904.02998)
Connect an agent — have() is free.