Hendrik Mehrtens

Hendrik Mehrtens

Machine learning researcher at DKFZ, focusing on uncertainty estimation, robustness and explainability of deep learning methods for medical imaging.
I did my master's at the Technical University of Darmstadt in the Medical and Environmental Computing lab with Anirban Mukhopadhyay on Functional Ensemble Diversity.

Publications

Project figure

Pathologist-like explainable AI for interpretable Gleason grading in prostate cancer

Abstract: The aggressiveness of prostate cancer, the most common cancer in men worldwide, is primarily assessed based on histopathological data using the Gleason scoring system. While artificial intelligence (AI) has shown promise in accurately predicting Gleason scores, these predictions often lack inherent explainability, potentially leading to distrust in human-machine interactions. To address this issue, we introduce a novel dataset of 1,015 tissue microarray core images, annotated by an international group of 54 pathologists. The annotations provide detailed localized pattern descriptions for Gleason grading in line with international guidelines. Utilizing this dataset, we develop an inherently explainable AI system based on a U-Net architecture that provides predictions leveraging pathologists' terminology. This approach circumvents post-hoc explainability methods while maintaining or exceeding the performance of methods trained directly for Gleason pattern segmentation (Dice score: 0.713 \pm 0.003 trained on explanations vs. 0.691 \pm 0.010 trained on Gleason patterns). By employing soft labels during training, we capture the intrinsic uncertainty in the data, yielding strong results in Gleason pattern segmentation even in the context of high interobserver variability. With the release of this dataset, we aim to encourage further research into segmentation in medical tasks with high levels of subjectivity and to advance the understanding of pathologists' reasoning processes.

  • Under review at Nature Communications
Project figure

Pitfalls of Conformal Predictions for Medical Image Classification

Abstract: Reliable uncertainty estimation is one of the major challenges for medical classification tasks. While many approaches have been proposed, recently the statistical framework of conformal predictions has gained a lot of attention, due to its ability to provide provable calibration guarantees. Nonetheless, the application of conformal predictions in safety-critical areas such as medicine comes with pitfalls, limitations and assumptions that practitioners need to be aware of. We demonstrate through examples from dermatology and histopathology that conformal predictions are unreliable under distributional shifts in input and label variables. Additionally, conformal predictions should not be used for selecting predictions to improve accuracy and are not reliable for subsets of the data, such as individual classes or patient attributes. Moreover, in classification settings with a small number of classes, which are common in medical image classification tasks, conformal predictions have limited practical value.

Project figure

Benchmarking common uncertainty estimation methods with histopathological images under domain shift and label noise

Abstract: In the past years, deep learning has seen an increase in usage in the domain of histopathological applications. However, while these approaches have shown great potential, in high-risk environments deep learning models need to be able to judge their uncertainty and be able to reject inputs when there is a significant chance of misclassification. In this work, we conduct a rigorous evaluation of the most commonly used uncertainty and robustness methods for the classification of Whole Slide Images, with a focus on the task of selective classification, where the model should reject the classification in situations in which it is uncertain. We conduct our experiments on tile-level under the aspects of domain shift and label noise, as well as on slide-level. In our experiments, we compare Deep Ensembles, Monte-Carlo Dropout, Stochastic Variational Inference, Test-Time Data Augmentation as well as ensembles of the latter approaches. We observe that ensembles of methods generally lead to better uncertainty estimates as well as an increased robustness towards domain shifts and label noise, while contrary to results from classical computer vision benchmarks no systematic gain of the other methods can be shown. Across methods, a rejection of the most uncertain samples reliably leads to a significant increase in classification accuracy on both in-distribution as well as out-of-distribution data. Furthermore, we conduct experiments comparing these methods under varying conditions of label noise. Lastly, we publish our code framework to facilitate further research on uncertainty estimation on histopathological data.

Project figure

Improving Robustness and Calibration in Ensembles with Diversity Regularization

Abstract: Calibration and uncertainty estimation are crucial topics in high-risk environments. We introduce a new diversity regularizer for classification tasks that uses out-of-distribution samples and increases the overall accuracy, calibration and out-of-distribution detection capabilities of ensembles. [...]

Project figure

Leveraging functional diversity in ensembles to improve uncertainty estimation and calibration

My master thesis written under the supervision of Camila Gonzalez and Anirban Mukhopadhyay. Awarded with the DAGM YRF: Best Master Thesis Award.
Abstract: A calibrated estimate of its own uncertainty, robustness to unknown conditions and the ability to detect out-of-distribution data are important properties of machine learning models in nearly every application. While multiple approaches have been proposed to enhance these properties, recent work shows that ensembles of neural networks, which are collections of experts that are used jointly to make predictions, are among the best approaches in this regard. The superior performance of the neural network ensemble is often attributed to the diversity of the found solutions, called functional diversity, where errors made by one ensemble member can be averaged out by the other members, if the solutions are independent enough. In this work, we investigate the impact of functional diversity in ensembles on the robustness and calibration over multiple architectures, ensemble sizes, network capacities and datasets on the tasks of classification and semantic segmentation. For that we use an explicit regularization approach to increase the functional diversity of the whole ensemble during training by encouraging differences between the individual members’ predictions. We introduce our own Sample Diversity regularizer, that uses out-of-distribution data to measure the similarity of found solutions and significantly increases the robustness to data corruption.Using ensemble architectures that share parameters between each member and by that are computationally more efficient, we find that even these constrained architectures, even with fewer ensemble members, can be better calibrated and more robust to perturbations than larger architectures with more ensemble members, if diversity regularization is applied to them. Our experiments conclude that diversity regularization increases the robustness and calibration of ensembles, while our proposed regularizer even increases the ability to detect out-of-distribution data. Furthermore, only as few as two diversity regularized ensemble members are needed to produce a more robust model. Finally, we show that diversity regularization can be applied in tasks of semantic segmentation.