{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/anomaly-localization-by-modeling-perceptual","title":"Anomaly localization by modeling perceptual features","arxiv_id":"2008.05369","date":"2020-08-12","proceeding":null,"authors":["David Dehaene","Pierre Eline"],"abstract":"Although unsupervised generative modeling of an image dataset using a Variational AutoEncoder (VAE) has been used to detect anomalous images, or anomalous regions in images, recent works have shown that this method often identifies images or regions that do not concur with human perception, even questioning the usability of generative models for robust anomaly detection. Here, we argue that those issues can emerge from having a simplistic model of the anomaly distribution and we propose a new VAE-based model expressing a more complex anomaly model that is also closer to human perception. This Feature-Augmented VAE is trained by not only reconstructing the input image in pixel space, but also in several different feature spaces, which are computed by a convolutional neural network trained beforehand on a large image dataset. It achieves clear improvement over state-of-the-art methods on the MVTec anomaly detection and localization datasets.","url_abs":"https://arxiv.org/abs/2008.05369v1","url_pdf":"https://arxiv.org/pdf/2008.05369v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"anomaly-localization-by-modeling-perceptual","repo_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"anomaly-localization","task_name":"Anomaly Localization"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/anomaly-detection-on-mvtec-ad","task":"Anomaly Detection","dataset":"MVTec AD","model":"FAVAE","rank_in_archive_order":138,"of":148,"metrics":{"Segmentation AUROC":"95.3"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-visa","task":"Anomaly Detection","dataset":"VisA","model":"FAVAE","rank_in_archive_order":47,"of":50,"metrics":{"Segmentation AUPRO (until 30% FPR)":"67.9"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2008.05369","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2008.05369"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":1,"ran_honours":1,"unverified":5},"by_repo_kind":{"listed":{"samples":7,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"09b3d0b3ea772a30","entry":"convert_secs2time","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"utils.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"09b3d0b3ea772a30"}},{"code_sha256_prefix":"f51e6ad9c7104a5a","entry":"rescale","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"func.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/func.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f51e6ad9c7104a5a"}},{"code_sha256_prefix":"b77995e79f8ef268","entry":"denormalization","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"func.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/func.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b77995e79f8ef268"}},{"code_sha256_prefix":"9948979eca4619b2","entry":"feature_extractor","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"func.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/func.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9948979eca4619b2"}},{"code_sha256_prefix":"44789c404172df9a","entry":"random_crop","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"datasets/preprocessing.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/datasets/preprocessing.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"44789c404172df9a"}},{"code_sha256_prefix":"44fd832b6d2537c9","entry":"read_img","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"datasets/preprocessing.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/datasets/preprocessing.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"44fd832b6d2537c9"}},{"code_sha256_prefix":"e0c46d298736d3f9","entry":"rotate_image","repo":"xiahaifeng1995/FAVAE-anomaly-detection-localization-master","repo_kind":"listed","path":"datasets/preprocessing.py","file_url":"https://github.com/xiahaifeng1995/FAVAE-anomaly-detection-localization-master/blob/HEAD/datasets/preprocessing.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e0c46d298736d3f9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}