{"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/out-of-distribution-detection-for-medical","title":"Out-of-Distribution Detection for Medical Applications: Guidelines for Practical Evaluation","arxiv_id":"2109.14885","date":"2021-09-30","proceeding":null,"authors":["Karina Zadorozhny","Patrick Thoral","Paul Elbers","Giovanni Cinà"],"abstract":"Detection of Out-of-Distribution (OOD) samples in real time is a crucial safety check for deployment of machine learning models in the medical field. Despite a growing number of uncertainty quantification techniques, there is a lack of evaluation guidelines on how to select OOD detection methods in practice. This gap impedes implementation of OOD detection methods for real-world applications. Here, we propose a series of practical considerations and tests to choose the best OOD detector for a specific medical dataset. These guidelines are illustrated on a real-life use case of Electronic Health Records (EHR). Our results can serve as a guide for implementation of OOD detection methods in clinical practice, mitigating risks associated with the use of machine learning models in healthcare.","url_abs":"https://arxiv.org/abs/2109.14885v2","url_pdf":"https://arxiv.org/pdf/2109.14885v2.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":"out-of-distribution-detection-for-medical","repo_url":"https://github.com/giovannicina/selecting_ood_detector","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"},{"task_slug":"ood-detection","task_name":"Out of Distribution (OOD) Detection"},{"task_slug":"out-of-distribution-detection","task_name":"Out-of-Distribution Detection"},{"task_slug":"uncertainty-quantification","task_name":"Uncertainty Quantification"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2109.14885","atlas_url":"https://app.syntology.ai/?focus=2109.14885","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2109.14885"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/giovannicina/selecting_ood_detector","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":1,"unverified":2},"by_repo_kind":{"official":{"samples":3,"ran":1,"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":"8cae60f143d86eca","entry":"get_ood_aucs_score_for_all_models","repo":"giovannicina/selecting_ood_detector","repo_kind":"official","path":"selecting_OOD_detector/utils/scores_metrics.py","file_url":"https://github.com/giovannicina/selecting_ood_detector/blob/HEAD/selecting_OOD_detector/utils/scores_metrics.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8cae60f143d86eca"}},{"code_sha256_prefix":"d39d7a095907e922","entry":"average_values_in_nested_dict","repo":"giovannicina/selecting_ood_detector","repo_kind":"official","path":"selecting_OOD_detector/utils/scores_metrics.py","file_url":"https://github.com/giovannicina/selecting_ood_detector/blob/HEAD/selecting_OOD_detector/utils/scores_metrics.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d39d7a095907e922"}},{"code_sha256_prefix":"8e83d0c925dd10fe","entry":"load_novelty_estimator","repo":"giovannicina/selecting_ood_detector","repo_kind":"official","path":"selecting_OOD_detector/utils/model_training.py","file_url":"https://github.com/giovannicina/selecting_ood_detector/blob/HEAD/selecting_OOD_detector/utils/model_training.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e83d0c925dd10fe"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}