Estimating diagnostic uncertainty in artificial intelligence assisted pathology using conformal prediction.

Journal: Nature communications
Published Date:

Abstract

Unreliable predictions can occur when an artificial intelligence (AI) system is presented with data it has not been exposed to during training. We demonstrate the use of conformal prediction to detect unreliable predictions, using histopathological diagnosis and grading of prostate biopsies as example. We digitized 7788 prostate biopsies from 1192 men in the STHLM3 diagnostic study, used for training, and 3059 biopsies from 676 men used for testing. With conformal prediction, 1 in 794 (0.1%) predictions is incorrect for cancer diagnosis (compared to 14 errors [2%] without conformal prediction) while 175 (22%) of the predictions are flagged as unreliable when the AI-system is presented with new data from the same lab and scanner that it was trained on. Conformal prediction could with small samples (N = 49 for external scanner, N = 10 for external lab and scanner, and N = 12 for external lab, scanner and pathology assessment) detect systematic differences in external data leading to worse predictive performance. The AI-system with conformal prediction commits 3 (2%) errors for cancer detection in cases of atypical prostate tissue compared to 44 (25%) without conformal prediction, while the system flags 143 (80%) unreliable predictions. We conclude that conformal prediction can increase patient safety of AI-systems.

Authors

  • Henrik Olsson
    Department of Medical Epidemiology and Biostatistics, Karolinska Institutet, Stockholm, Sweden.
  • Kimmo Kartasalo
    BioMediTech and Faculty of Medicine and Life Sciences, University of Tampere, Tampere, Finland.
  • Nita Mulliqi
    Department of Medical Epidemiology and Biostatistics, Karolinska Institutet, Stockholm, Sweden.
  • Marco Capuccini
    Department of Pharmaceutical Biosciences, Uppsala University, Uppsala, Sweden.
  • Pekka Ruusuvuori
    BioMediTech and Faculty of Medicine and Life Sciences, University of Tampere, Tampere, Finland.
  • Hemamali Samaratunga
    Aquesta Uropathology and University of Queensland, Brisbane, QLD, Australia.
  • Brett Delahunt
    Department of Pathology and Molecular Medicine, Wellington School of Medicine and Health Sciences, University of Otago, Wellington, New Zealand.
  • Cecilia Lindskog
    Department of Immunology, Genetics, and Pathology, Uppsala University, Uppsala, Sweden.
  • Emiel A M Janssen
    Department of Pathology, Stavanger University Hospital, Stavanger, Norway.
  • Anders Blilie
    Department of Pathology, Stavanger University Hospital, Stavanger, Norway.
  • Lars Egevad
    Department of Oncology and Pathology, Karolinska Institutet, Stockholm, Sweden.
  • Ola Spjuth
    Department of Pharmaceutical Biosciences , Uppsala University , Box 591, SE-75124 , Uppsala Sweden.
  • Martin Eklund
    Department of Medical Epidemiology and Biostatistics, Karolinska Institutet, Stockholm, Sweden. Electronic address: martin.eklund@ki.se.