Multi-task Learning of a Deep K-Nearest Neighbour Network for Histopathological Image Classification and Retrieval
Open accessThe DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
Deep neural networks have achieved tremendous success in image recognition, classification and object detection.However, deep learning is often criticised for its lack of transparency and general inability to rationalize its predictions.The issue of poor model interpretability becomes critical in medical applications, as a model that is not understood and trusted by physicians is unlikely to be used in daily clinical practice.In this work, we develop a novel multi-task deep learning framework for simultaneous histopathology image classification and retrieval, leveraging on the classic concept of k-nearest neighbors to improve model interpretability.For a test image, we retrieve the most similar images from our training databases.These retrieved nearest neighbours can be used to classify the test image with a confidence score, and provide a human-interpretable explanation of our classification.Our original framework can be built on top of any existing classification network (and therefore benefit from pretrained models), by (i) adding a triplet loss function with a novel triplet sampling strategy to compare distances between samples and (ii) a Cauchy hashing loss function to accelerate neighbour searching.We evaluate our method on colorectal cancer histology slides, and show that the confidence estimates are strongly correlated with model performance.The explanations provided by nearest neighbors are intuitive and useful for expert evaluation by giving insights into understanding possible model failures, and can support clinical decision making by comparing archived images and patient records with the actual case.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“In testing, a coarse-to-fine search yielded the 10 nearest examples from a testing database related to the input image.”
From Explainable artificial intelligence (XAI) in deep learning-based medical image analysis (2022) · cites this paper as Peng et al. (2019)
The cited source says what the claim attributes to it.
In the citing paper
“They first trained a CNN using a triplet loss, hashing, and k hard-negatives to learn an embedding that preserves similarity.”
From Explainable artificial intelligence (XAI) in deep learning-based medical image analysis (2022) · cites this paper as Peng et al. (2019)
The cited source says what the claim attributes to it.
In the citing paper
“Peng et al. (2019) used example-based explanation in colorectal cancer histology.”
From Explainable artificial intelligence (XAI) in deep learning-based medical image analysis (2022) · cites this paper as Peng et al. (2019)
The cited source says what the claim attributes to it.
In the citing paper
“This provided explanation on which images similar to the image that was being analyzed the network based a decision.”
From Explainable artificial intelligence (XAI) in deep learning-based medical image analysis (2022) · cites this paper as Peng et al. (2019)
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
ImageNet classification with deep convolutional neural networks
Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2017) · Communications of the ACM · doi:10.1145/3065386 · Cited by 112,155
FaceNet: A unified embedding for face recognition and clustering
Schroff, F., Kalenichenko, D., & Philbin, J. (2015) · 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2015.7298682 · Cited by 15,267
Dermatologist-level classification of skin cancer with deep neural networks
Esteva, A., Kuprel, B., Novoa, R. A., Ko, J., Swetter, S. M., Blau, H. M., & Thrun, S. (2017) · Nature · doi:10.1038/nature21056 · Cited by 14,362
Coudray, N., Ocampo, P. S., Sakellaropoulos, T., Narula, N., Snuderl, M., Fenyö, D., Moreira, A. L., Razavian, N., & Tsirigos, A. (2018) · Nature Medicine · doi:10.1038/s41591-018-0177-5 · Cited by 2,930
Deep Metric Learning Using Triplet Network
Hoffer, E., & Ailon, N. (2015) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-24261-3_7 · Cited by 2,134
Mitosis Detection in Breast Cancer Histology Images with Deep Neural Networks
Cireşan, D. C., Giusti, A., Gambardella, L. M., & Schmidhuber, J. (2013) · Lecture Notes in Computer Science · doi:10.1007/978-3-642-40763-5_51 · Cited by 1,536
Kather, J. N., Krisam, J., Charoentong, P., Luedde, T., Herpel, E., Weis, C.-A., Gaiser, T., Marx, A., Valous, N. A., Ferber, D., et al. (2019) · PLOS Medicine · doi:10.1371/journal.pmed.1002730 · Cited by 1,082
Wang, J., Zhang, T., Song, J., Sebe, N., & Shen, H. T. (2018) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2017.2699960 · Cited by 971
HashNet: Deep Learning to Hash by Continuation
Cao, Z., Long, M., Wang, J., & Yu, P. S. (2017) · 2017 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2017.598 · Cited by 777
Deep Cauchy Hashing for Hamming Space Retrieval
Cao, Y., Long, M., Liu, B., & Wang, J. (2018) · 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition · doi:10.1109/cvpr.2018.00134 · Cited by 376
Cited by
Explainable artificial intelligence (XAI) in deep learning-based medical image analysis
van der Velden, B. H. M., Kuijf, H. J., Gilhuijs, K. G. A., & Viergever, M. A. (2022) · Medical Image Analysis · doi:10.1016/j.media.2022.102470 · Cited by 1,328
Multi-task deep learning for medical image computing and analysis: A review
Zhao, Y., Wang, X., Che, T., Bao, G., & Li, S. (2023) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2022.106496 · Cited by 203
Ali, M. D., Saleem, A., Elahi, H., Khan, M. A., Khan, M. I., Yaqoob, M. M., Khattak, U. F., & Al‐Rasheed, A. (2023) · Diagnostics · doi:10.3390/diagnostics13132242 · Cited by 135
Schaumberg, A. J., Juarez-Nicanor, W. C., Choudhury, S. J., Pastrián, L. G., Pritt, B. S., Prieto Pozuelo, M., Sotillo Sánchez, R., Ho, K., Zahra, N., Sener, B. D., et al. (2020) · Modern Pathology · doi:10.1038/s41379-020-0540-1 · Cited by 54
Roy, S. S., Pal, D., & Meena, T. (2023) · Network Modeling Analysis in Health Informatics and Bioinformatics · doi:10.1007/s13721-023-00437-y · Cited by 47
A comprehensive survey of intestine histopathological image analysis using machine vision approaches
Jing, Y., Li, C., Du, T., Jiang, T., Sun, H., Yang, J., Shi, L., Gao, M., Grzegorzek, M., & Li, X. (2023) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2023.107388 · Cited by 44
Mir, A. N., & Rizvi, D. R. (2025) · Engineering applications of artificial intelligence · doi:10.1016/j.engappai.2025.111413 · Cited by 39
Diagnostic Regions Attention Network (DRA-Net) for Histopathology WSI Recommendation and Retrieval
Zheng, Y., Jiang, Z., Xie, F., Shi, J., Zhang, H., Huai, J., Cao, M. W., & Yang, X. (2020) · IEEE Transactions on Medical Imaging · doi:10.1109/tmi.2020.3046636 · Cited by 39
Toward Human-centered XAI in Practice: A survey
Kong, X., Liu, S., & Zhu, L. (2024) · Machine Intelligence Research · doi:10.1007/s11633-022-1407-3 · Cited by 50
DARC: Deep adaptive regularized clustering for histopathological image classification
Li, J., Liu, J., Yue, H., Cheng, J., Kuang, H., Bai, H. X., Wang, Y., & Wang, J. (2022) · Medical Image Analysis · doi:10.1016/j.media.2022.102521 · Cited by 41
A deep multi-task representation learning method for time series classification and retrieval
Chen, L., Chen, D., Yang, F., & Sun, J. (2020) · Information Sciences · doi:10.1016/j.ins.2020.12.062 · Cited by 36
Hashimoto, N., Takagi, Y., Masuda, H., Miyoshi, H., Kohno, K., Nagaishi, M., Sato, K., Takeuchi, M., Furuta, T., Kawamoto, K., et al. (2023) · Medical Image Analysis · doi:10.1016/j.media.2023.102752 · Cited by 31
Zheng, Y., Jiang, Z., Shi, J., Xie, F., Zhang, H., Luo, W., Hu, D., Sun, S., Jiang, Z., & Xue, C. (2021) · Medical Image Analysis · doi:10.1016/j.media.2021.102308 · Cited by 32
Prezja, F., Annala, L., Kiiskinen, S., Lahtinen, S., Ojala, T., Ruusuvuori, P., & Kuopio, T. (2024) · Heliyon · doi:10.1016/j.heliyon.2024.e37561 · Cited by 32
Multi-task Deep Learning for Colon Cancer Grading
Vuong, T. T. L., Lee, D., Kwak, J. T., & Kim, K. (2020) · International Conference on Electronics, Information, and Communication (ICEIC) · doi:10.1109/iceic49074.2020.9051305 · Cited by 31
Thammasorn, P., Chaovalitwongse, W. A., Hippe, D. S., Wootton, L. S., Ford, E. C., Spraker, M. B., Combs, S. E., Peeken, J. C., & Nyflot, M. J. (2021) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2021.3059635 · Cited by 27
A clinically motivated self-supervised approach for content-based image retrieval of CT liver images
Wickstrøm, K., Østmo, E. A., Radiya, K., Mikalsen, K. Ø., Kampffmeyer, M., & Jenssen, R. (2023) · Computerized Medical Imaging and Graphics · doi:10.1016/j.compmedimag.2023.102239 · Cited by 32
Additive deep feature optimization for semantic image retrieval
Hussain, S., Zia, M. A., & Arshad, W. (2020) · Expert Systems with Applications · doi:10.1016/j.eswa.2020.114545 · Cited by 24
Prezja, F., Äyrämö, S., Pölönen, I., Ojala, T., Lahtinen, S., Ruusuvuori, P., & Kuopio, T. (2023) · Scientific Reports · doi:10.1038/s41598-023-42357-x · Cited by 29
Lo, C., Jiang, J., & Lin, C. (2024) · PLoS ONE · doi:10.1371/journal.pone.0292277 · Cited by 23
TransNetV: An optimized hybrid model for enhanced colorectal cancer image classification
Tanveer, M., Akram, M. U., & Khan, A. M. (2024) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2024.106579 · Cited by 22
Offline Versus Online Triplet Mining Based on Extreme Distances of Histopathology Patches
Sikaroudi, M., Ghojogh, B., Safarpoor, A., Karray, F., Crowley, M., & Tizhoosh, H. R. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-64556-4_26 · Cited by 33
Content-Based Image Recognition and Tagging by Deep Learning Methods
Christy, A. J., & Dhanalakshmi, K. S. (2021) · Wireless Personal Communications · doi:10.1007/s11277-021-09159-8 · Cited by 18
Al.Shawesh, R., & Chen, Y. X. (2021) · medRxiv · doi:10.1101/2021.03.17.21253390 · Cited by 21
Large-scale gastric cancer screening and localization using multi-task deep neural network
Yu, H., Zhang, X., Song, L., Jiang, L., Huang, X., Chen, W., Zhang, C., Li, J., Yang, J., Hu, Z., et al. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.03.006 · Cited by 18
Peng, C., & Lee, B.-R. (2023) · IEEE Eurasia Conference on Biomedical Engineering, Healthcare and Sustainability (ECBIOS) · doi:10.1109/ecbios57802.2023.10218590 · Cited by 20
Penerapan algoritma K-Nearest Neighbors (KNN) untuk klasifikasi citra medis
Ujianto, N. T., Gunawan, Fadillah, H., Fanti, A. P., Saputra, A. D., & Ramadhan, I. (2025) · IT-Explore Jurnal Penerapan Teknologi Informasi dan Komunikasi · doi:10.24246/itexplore.v4i1.2025.pp33-43 · Cited by 12
Fan, L., Gong, X., Zheng, C., & Li, J. (2023) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2023.107897 · Cited by 12
Live laparoscopic video retrieval with compressed uncertainty
Yu, T., Mascagni, P., Verde, J. M., Marescaux, J., Mutter, D., & Padoy, N. (2023) · Medical Image Analysis · doi:10.1016/j.media.2023.102866 · Cited by 11
Multi-task Deep Learning in Medical Image Processing: A Systematic Review
Kamiri, J., Wambugu, G. M., & Oirere, A. M. (2025) · International Journal of Computing Sciences Research · doi:10.25147/ijcsr.2017.001.1.226 · Cited by 18
Abbas, A., Gaber, M. M., & Abdelsamea, M. M. (2022) · Sensors · doi:10.3390/s22249875 · Cited by 11
Chughtai, S., Senousy, Z., Mahany, A., Elmitwally, N. S., Ismail, K. N., Gaber, M. M., & Abdelsamea, M. M. (2024) · IEEE Open Journal of the Computer Society · doi:10.1109/ojcs.2024.3428970 · Cited by 11
Histopathological Colorectal Cancer Image Classification by Using Inception V4 CNN Model
Patnaik, R. K., Rath, P. S., Padhy, S. K., & Dash, S. (2023) · Lecture notes in electrical engineering · doi:10.1007/978-981-99-4634-1_79 · Cited by 9
Temporal–Frequency Attention Focusing for Time Series Extrinsic Regression via Auxiliary Task
Ren, L., Mo, T., Cheng, X., & Li, X. (2023) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2023.3287318 · Cited by 11
Yuan, X., Guo, X., Luo, Y., Guan, X., Li, Q., Situ, Z., Zhou, Z., Huang, X., Rong, Z., Lin, Y., et al. (2025) · IEEE Transactions on Medical Imaging · doi:10.1109/tmi.2025.3555621 · Cited by 7
Ensemble of Handcrafted and Deep Learning Model for Histopathological Image Classification
Majety, V. D., Sharmili, N., Pattanaik, C. R., Lydia, E. L., Zeebaree, S. R. M., Mahmood, S. N., Abosinnee, A. S., & Alkhayyat, A. H. (2022) · Computers, materials & continua/Computers, materials & continua (Print) · doi:10.32604/cmc.2022.031109 · Cited by 9
Tracing Diagnosis Paths on Histopathology WSIs for Diagnostically Relevant Case Recommendation
Zheng, Y., Jiang, Z., Zhang, H., Xie, F., & Shi, J. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-59722-1_44 · Cited by 6
Fourier Transform of Percoll Gradients Boosts CNN Classification of Hereditary Hemolytic Anemias
Sadafi, A., Sans, L. M. M., Makhro, A., Livshits, L., Navab, N., Bogdanova, A. Y., Albarqouni, S., & Marr, C. (2021) · IEEE International Symposium on Biomedical Imaging (ISBI) · doi:10.1109/isbi48211.2021.9433788 · Cited by 4
Self-citationAfriyie, Y., Weyori, B. A., & Opoku, A. A. (2023) · Journal of Experimental & Theoretical Artificial Intelligence · doi:10.1080/0952813x.2023.2165721 · Cited by 4
Interactive Learning for Assisting Whole Slide Image Annotation
Menon, A., Singh, P. K., Vinod, P. K. U., & Jawahar, C. V. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-02444-3_38 · Cited by 5
Abbas, A., Gaber, M. M., & Abdelsamea, M. M. (2025) · IEEE Transactions on Emerging Topics in Computing · doi:10.1109/tetc.2025.3562620 · Cited by 4
Guided Representation Learning for the Classification of Hematopoietic Cells
Gräbel, P., Crysandt, M. M., Klinkhammer, B. M., Boor, P., Brümmendorf, T. H., & Merhof, D. (2021) · IEEE International Conference on Computer Vision Workshops · doi:10.1109/iccvw54120.2021.00067 · Cited by 3
Deep Hash with Optimal Transport‐Based Domain Adaptation for Multisite MRI Retrieval
Yang, J., Wang, Q., Tao, T., Niu, S., & Liu, M. (2022) · Wireless Communications and Mobile Computing · doi:10.1155/2022/8797604 · Cited by 2
A Literature Review on Example-Based Explanations in Medical Image Analysis
Montenegro, H., & Cardoso, J. S. (2025) · Journal of Healthcare Informatics Research · doi:10.1007/s41666-025-00227-3 · Cited by 1
Poonia, R. C., Upreti, K., Jafri, S., Parashar, J., Vats, P., & Singh, J. (2024) · Lecture notes in networks and systems · doi:10.1007/978-3-031-64813-7_29 · Cited by 1
M-DFNet: Multi-phase Discriminative Feature Network for Retrieval of Focal Liver Lesions
Xu, Y., Liu, J., Lin, L., Hu, H., Tong, R., Li, J., & Chen, Y. (2021) · International Conference on Multimedia Retrieval · doi:10.1145/3460426.3463672 · Cited by 1
Thammasorn, P., Hippe, D. S., Chaovalitwongse, W. A., Spraker, M. B., Wootton, L. S., Nyflot, M. J., Combs, S. E., Peeken, J. C., & Ford, E. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1911.07940 · Cited by 1
Explainable machine learning for decision support in healthcare: A scoping review (Preprint)Preprint
Shulha, M., Rahimi, S. A., Sandhu, A., Sharma, G., D’Souza, V., Harmouche, R., & Hovdebo, J. (2022) · doi:10.2196/preprints.39196
Recognition and retrieval tasks in large quasi-unannotated surgical video databases
Yu, T. (2021) · theses.fr (ABES) · doi:10.70675/f5e83c93zb3b1z4c08zb9a4z720a08af1026
Zuo, Y., Wang, L., Liu, J., Feng, S., Wang, Y., Zhu, Q., Shao, W., & Zhang, D. (2025) · IEEE Transactions on Medical Imaging · doi:10.1109/tmi.2025.3575801
Metadata
- Authors
- Peng, T., Boxberg, M., Weichert, W., Navab, N., & Marr, C.
- Affiliations
- Helmholtz Munich (DE)
- Technical University of Munich (DE)
- Johns Hopkins University (US)
- Corresponding author
- Navab, Nassir
- Marr, Carsten
- Venue
- Lecture Notes in Computer Science
- Publisher
- Springer International Publishing
- Published
- 2019
- Pages
- 676-684
- ISSN
- 0302-9743 (ISSN-L)
- 1611-3349
- OpenAlex
- W2979488462
- Cited by
- 48
- References
- 11
- Citations by year
- 2025: 5 · 2024: 6 · 2023: 12 · 2022: 8 · 2021: 9 · 2020: 7 · 2019: 1
- FWCI
- 2.39
- Type
- conference paper
- Language
- en
- Open access
- green
- doi.org
- Licence
- www.springernature.com/gp/researchers/text-and-data-mining (tdm)
- www.springernature.com/gp/researchers/text-and-data-mining (vor)
- Locations
- Lecture notes in computer science (publishedVersion)
- bioRxiv (Cold Spring Harbor Laboratory) (acceptedVersion)
- Site cant be reached (submittedVersion, other-oa)
- PuSH - Publication Server of Helmholtz Zentrum München (submittedVersion)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › AI in cancer detection
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Image Retrieval and Classification Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
- Keywords
- multi-task learning, k-nearest neighbors, histopathological image classification, image retrieval, model interpretability, explainable AI, triplet loss, confidence estimation, medical image retrieval
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.