SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.11561 · 2024

Learning Unified Reference Representation for Unsupervised Multi-class Anomaly Detection

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 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; 6 failures 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/2403.11561.json · badge: /api/ran/2403.11561.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
hlr7999/rlr canonical (classifier label)
classifier basis: census
6 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_pro_retrieval_metrics Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hlr7999/rlr/utils/utils.py
pointer only (licence: NONE) · get_code("b45f413cb8bb72e2")
How it ran

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

conv1x1 Ran
ran; our contract draft was wrong, not the code
hlr7999/rlr/models/decoder.py
pointer only (licence: NONE) · get_code("fe5ed3e943aa408e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hlr7999/rlr 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
hlr7999/rlr/models/decoder.py
pointer only (licence: NONE) · get_code("2db7a58e9288f8c7")
How it ran

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

denormalization Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hlr7999/rlr/utils/visualizer.py
pointer only (licence: NONE) · get_code("3dcadf77eb559329")
How it ran

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

embedding_concat Ran
ran; our contract draft was wrong, not the code
hlr7999/rlr/utils/utils.py
pointer only (licence: NONE) · get_code("ef0e6b962918f4b4")
How it ran

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

to_var Ran
ran; our contract draft was wrong, not the code
hlr7999/rlr/utils/utils.py
pointer only (licence: NONE); the stored copy get_code serves, from TheZino/Image_captioning_SATell, is pointer only (licence: NONE) · get_code("502c50812b7f31ab")
How it ran

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

Decoder Not yet run
unverified (harvested, no recorded run)
hlr7999/rlr/models/decoder.py
pointer only (licence: NONE) · get_code("ff1b6dd30e0c723e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hlr7999/rlr 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 0 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.

FunctionAlso present inEarliest-datedOthers named
to_var 9 other papers
9 dated earlier · 1 only as an assembly brick
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1511.06349 (2015-11)
Generating Sentences from a Continuous Space
1704.03162 (2017-04)
Show, Ask, Attend, and Answer: A Strong Baseline For Visual Question Answering
and 6 more not named here
compute_pro_retrieval_metrics 1 other paper
1 dated earlier
2308.02983 (2023-08)
Focus the Discrepancy: Intra-and Inter-Correlation Learning for Image Anomaly Detection
conv1x1 1 other paper
1 dated earlier
2310.07716 (2023-10)
PAD: A Dataset and Benchmark for Pose-agnostic Anomaly Detection
conv3x3 1 other paper
1 dated earlier
2310.07716 (2023-10)
PAD: A Dataset and Benchmark for Pose-agnostic Anomaly Detection
denormalization 1 other paper
1 dated earlier
2308.02983 (2023-08)
Focus the Discrepancy: Intra-and Inter-Correlation Learning for Image Anomaly Detection
embedding_concat 1 other paper
1 dated earlier
2308.02983 (2023-08)
Focus the Discrepancy: Intra-and Inter-Correlation Learning for Image Anomaly Detection

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

In the field of multi-class anomaly detection, reconstruction-based methods derived from single-class anomaly detection face the well-known challenge of "learning shortcuts", wherein the model fails to learn the patterns of normal samples as it should, opting instead for shortcuts such as identity mapping or artificial noise elimination. Consequently, the model becomes unable to reconstruct genuine anomalies as normal instances, resulting in a failure of anomaly detection. To counter this issue, we present a novel unified feature reconstruction-based anomaly detection framework termed RLR (Reconstruct features from a Learnable Reference representation). Unlike previous methods, RLR utilizes learnable reference representations to compel the model to learn normal feature patterns explicitly, thereby prevents the model from succumbing to the "learning shortcuts" issue. Additionally, RLR incorporates locality constraints into the learnable reference to facilitate more effective normal pattern capture and utilizes a masked learnable key attention mechanism to enhance robustness. Evaluation of RLR on the 15-category MVTec-AD dataset and the 12-category VisA dataset shows superior performance compared to state-of-the-art methods under the unified setting. The code of RLR will be publicly available.

For agents

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

get_harvested_code_for_paper("2403.11561")
get_code_for_paper("2403.11561")
have("2403.11561")

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

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

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

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

Connect an agent — have() is free.