Conference item
On the use of Mahalanobis distance for out-of-distribution detection with neural networks for medical imaging
- Abstract:
- Implementing neural networks for clinical use in medical applications necessitates the ability for the network to detect when input data differs significantly from the training data, with the aim of preventing unreliable predictions. The community has developed several methods for out-of-distribution (OOD) detection, within which distance-based approaches - such as Mahalanobis distance - have shown potential. This paper challenges the prevailing community understanding that there is an optimal layer, or combination of layers, of a neural network for applying Mahalanobis distance for detection of any OOD pattern. Using synthetic artefacts to emulate OOD patterns, this paper shows the optimum layer to apply Mahalanobis distance changes with the type of OOD pattern, showing there is no one-fits-all solution. This paper also shows that separating this OOD detector into multiple detectors at different depths of the network can enhance the robustness for detecting different OOD patterns. These insights were validated on real-world OOD tasks, training models on CheXpert chest X-rays with no support devices, then using scans with unseen pacemakers (we manually labelled 50% of CheXpert for this research) and unseen sex as OOD cases. The results inform best-practices for the use of Mahalanobis distance for OOD detection. The manually annotated pacemaker labels and the project’s code are available at: https://github.com/HarryAnthony/Mahalanobis-OOD-detection
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 5.6MB, Terms of use)
-
- Publisher copy:
- 10.1007/978-3-031-44336-7_14
- Publication website:
- https://doi.org/10.1007/978-3-031-44336-7
Authors
+ Engineering and Physical Sciences Research Council
More from this funder
- Funder identifier:
- https://ror.org/0439y7842
- Publisher:
- Springer Nature
- Host title:
- Uncertainty for Safe Utilization of Machine Learning in Medical Imaging. UNSURE 2023
- Pages:
- 136–146
- Series:
- Lecture Notes in Computer Science
- Series number:
- 14291
- Publication date:
- 2023-10-07
- Acceptance date:
- 2023-07-29
- Event title:
- 5th International Workshop on Uncertainty for Safe Utilization of Machine Learning in Medical Imaging (UNSURE 2023)
- Event location:
- Vancouver, Canada
- Event website:
- https://unsuremiccai.github.io/prev_years/2023/
- Event start date:
- 2023-10-12
- Event end date:
- 2023-10-12
- DOI:
- EISSN:
-
1611-3349
- ISSN:
-
0302-9743
- EISBN:
- 9783031443367
- ISBN:
- 9783031443350
- Language:
-
English
- Pubs id:
-
1578270
- Local pid:
-
pubs:1578270
- Deposit date:
-
2024-10-01
Terms of use
- Copyright holder:
- Anthony and Kamnitsas
- Copyright date:
- 2023
- Rights statement:
- © 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG.
- Notes:
- This is the accepted manuscript version of the article. The final version is available online from Springer Nature at https://dx.doi.org/10.1007/978-3-031-44336-7_14
If you are the owner of this record, you can report an update to it here: Report update to this record