{"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/idecode-in-distribution-equivariance-for","title":"iDECODe: In-distribution Equivariance for Conformal Out-of-distribution Detection","arxiv_id":"2201.02331","date":"2022-01-07","proceeding":null,"authors":["Ramneet Kaur","Susmit Jha","Anirban Roy","Sangdon Park","Edgar Dobriban","Oleg Sokolsky","Insup Lee"],"abstract":"Machine learning methods such as deep neural networks (DNNs), despite their success across different domains, are known to often generate incorrect predictions with high confidence on inputs outside their training distribution. The deployment of DNNs in safety-critical domains requires detection of out-of-distribution (OOD) data so that DNNs can abstain from making predictions on those. A number of methods have been recently developed for OOD detection, but there is still room for improvement. We propose the new method iDECODe, leveraging in-distribution equivariance for conformal OOD detection. It relies on a novel base non-conformity measure and a new aggregation method, used in the inductive conformal anomaly detection framework, thereby guaranteeing a bounded false detection rate. We demonstrate the efficacy of iDECODe by experiments on image and audio datasets, obtaining state-of-the-art results. We also show that iDECODe can detect adversarial examples.","url_abs":"https://arxiv.org/abs/2201.02331v1","url_pdf":"https://arxiv.org/pdf/2201.02331v1.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":[],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"ood-detection","task_name":"Out of Distribution (OOD) Detection"},{"task_slug":"out-of-distribution-detection","task_name":"Out-of-Distribution Detection"}],"methods":[{"method_slug":"base","method_name":"BASE"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2201.02331","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2201.02331"}},"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":"deterministic:regex_extraction","url":"https://github.com/ramneetk/iDECODe","reach":null}],"summary":{"ran":4,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":5,"ran":4,"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":5,"samples":[{"code_sha256_prefix":"aa40ba03ebaa87e0","entry":"BasicBlock","repo":"ramneetk/iDECODe","repo_kind":"found_in_text","path":"vision/SOTA/avt_wrn.py","file_url":"https://github.com/ramneetk/iDECODe/blob/HEAD/vision/SOTA/avt_wrn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"aa40ba03ebaa87e0"}},{"code_sha256_prefix":"1cc3fed16bfd44cc","entry":"EncBlock","repo":"ramneetk/iDECODe","repo_kind":"found_in_text","path":"vision/SOTA/avt_wrn.py","file_url":"https://github.com/ramneetk/iDECODe/blob/HEAD/vision/SOTA/avt_wrn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"1cc3fed16bfd44cc"}},{"code_sha256_prefix":"db65c2e4803804b3","entry":"GlobalAveragePooling","repo":"ramneetk/iDECODe","repo_kind":"found_in_text","path":"vision/SOTA/avt_wrn.py","file_url":"https://github.com/ramneetk/iDECODe/blob/HEAD/vision/SOTA/avt_wrn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"db65c2e4803804b3"}},{"code_sha256_prefix":"e30e424140eb156a","entry":"WideResNet","repo":"ramneetk/iDECODe","repo_kind":"found_in_text","path":"vision/SOTA/avt_wrn.py","file_url":"https://github.com/ramneetk/iDECODe/blob/HEAD/vision/SOTA/avt_wrn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e30e424140eb156a"}},{"code_sha256_prefix":"61077e89790c73f6","entry":"Regressor","repo":"ramneetk/iDECODe","repo_kind":"found_in_text","path":"vision/SOTA/avt_wrn.py","file_url":"https://github.com/ramneetk/iDECODe/blob/HEAD/vision/SOTA/avt_wrn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"61077e89790c73f6"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}