Quindós Sánchez, ArnauLaiz Treceño, PabloVitrià i Marca, JordiSeguí Mesquida, Santi2024-02-192024-02-192023-09-010933-3657https://hdl.handle.net/2445/207762While deep learning has displayed excellent performance in a broad spectrum of application areas, neural networks still struggle to recognize what they have not seen, i.e., out-of-distribution (OOD) inputs. In the medical field, building robust models that are able to detect OOD images is highly critical, as these rare images could show diseases or anomalies that should be detected. In this study, we use wireless capsule endoscopy (WCE) images to present a novel patch-based self-supervised approach comprising three stages. First, we train a triplet network to learn vector representations of WCE image patches. Second, we cluster the patch embeddings to group patches in terms of visual similarity. Third, we use the cluster assignments as pseudolabels to train a patch classifier and use the Out-of-Distribution Detector for Neural Networks (ODIN) for OOD detection. The system has been tested on the Kvasir-capsule, a publicly released WCE dataset. Empirical results show an OOD detection improvement compared to baseline methods. Our method can detect unseen pathologies and anomalies such as lymphangiectasia, foreign bodies and blood with 𝐴𝑈 𝑅𝑂𝐶 > 0.6. This work presents an effective solution for OOD detection models without needing labeled images.8 p.application/pdfengcc-by-nc-nd (c) Arnau Quindós Sánchez et al., 2023http://creativecommons.org/licenses/by-nc-nd/4.0/Càpsula endoscòpicaXarxes neuronals (Informàtica)Diagnòstic per la imatgeCapsule endoscopyNeural networks (Computer science)Diagnostic imagingSelf-supervised out-of-distribution detection in wireless capsule endoscopy images.info:eu-repo/semantics/articlehttps://doi.org/10.1016/j.artmed.2023.1026067392172024-02-19info:eu-repo/semantics/openAccess