PT - JOURNAL ARTICLE AU - Tingying Peng AU - Melanie Boxberg AU - Wilko Weichert AU - Nassir Navab AU - Carsten Marr TI - Multi-task learning of a deep k-nearest neighbour network for histopathological image classification and retrieval AID - 10.1101/661454 DP - 2019 Jan 01 TA - bioRxiv PG - 661454 4099 - http://biorxiv.org/content/early/2019/06/06/661454.short 4100 - http://biorxiv.org/content/early/2019/06/06/661454.full AB - 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.