Papers › Unsupervised Anomaly Localization with Structural Feature-Autoencoders

Unsupervised Anomaly Localization with Structural Feature-Autoencoders

23 Aug 2022arXiv:2208.10992archive 2025-07-28

Felix Meissen, Johannes Paetzold, Georgios Kaissis, Daniel Rueckert

Unsupervised Anomaly Detection has become a popular method to detect pathologies in medical images as it does not require supervision or labels for training. Most commonly, the anomaly detection model generates a "normal" version of an input image, and the pixel-wise lᵖ-difference of the two is used to localize anomalies. However, large residuals often occur due to imperfect reconstruction of the complex anatomical structures present in most medical images. This method also fails to detect anomalies that are not characterized by large intensity differences to the surrounding tissue. We propose to tackle this problem using a feature-mapping function that transforms the input intensity images into a space with multiple channels where anomalies can be detected along different discriminative feature maps extracted from the original image. We then train an Autoencoder model in this space using structural similarity loss that does not only consider differences in intensity but also in contrast and structure. Our method significantly increases performance on two medical data sets for brain MRI. Code and experiments are available at https://github.com/FeliMe/feature-autoencoder

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2208.10992")

Code

Syntology Ran 1 of 15 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 15 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

felime/feature-autoencoder officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 1 ran; 0 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
14unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from felime/feature-autoencoder. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

conv3x3 felime/feature-autoencoder/fae/baselines/fpi/model.py official repository ran · our draft was wrong MIT (permissive) · 600ff2c45e0de056 · report
boolean felime/feature-autoencoder/fae/configs/base_config.py official repository unverified MIT (permissive) · 1e798cf12214d71d · report
build_decoder felime/feature-autoencoder/fae/baselines/ae/model.py official repository unverified MIT (permissive) · 4a46c8fc04ae380b · report
build_encoder felime/feature-autoencoder/fae/baselines/ae/model.py official repository unverified MIT (permissive) · ad2d82660bf6a2f9 · report
compute_auroc felime/feature-autoencoder/fae/utils/evaluation.py official repository unverified MIT (permissive) · a53a84989fef934c · report
compute_average_precision felime/feature-autoencoder/fae/utils/evaluation.py official repository unverified MIT (permissive) · 9d8609f4128d3914 · report
compute_pro_auc felime/feature-autoencoder/fae/utils/evaluation.py official repository unverified MIT (permissive) · e50f73d2962d5a88 · report
conv1x1 felime/feature-autoencoder/fae/baselines/fpi/model.py official repository unverified MIT (permissive) · 989a0ab4920e5696 · report
create_window felime/feature-autoencoder/fae/utils/pytorch_ssim.py official repository unverified MIT (permissive) · 66d28fbd10f1cd8f · report
gaussian felime/feature-autoencoder/fae/utils/pytorch_ssim.py official repository unverified MIT (permissive) · c79e44e8e4c93169 · report
grad_cam felime/feature-autoencoder/fae/baselines/CAVGA/model.py official repository unverified MIT (permissive) · 30a6ffa2b3ab0f28 · report
layer_ felime/feature-autoencoder/fae/baselines/fpi/model.py official repository unverified MIT (permissive) · d42cf3e7b1d96116 · report
ssim felime/feature-autoencoder/fae/utils/pytorch_ssim.py official repository unverified MIT (permissive) · b8d7262798e2b0b4 · report
vanilla_feature_decoder felime/feature-autoencoder/fae/models/models.py official repository unverified MIT (permissive) · 6f21eb96ef97abe9 · report
vanilla_feature_encoder felime/feature-autoencoder/fae/models/models.py official repository unverified MIT (permissive) · 2b28bcdb6e3234d2 · report

Tasks

Anomaly DetectionAnomaly LocalizationUnsupervised Anomaly Detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections