Comparison of an Attention-Based Multiple Instance Learning (MIL) With a Visual Transformer Model: Two Weakly Supervised Deep Learning (DL) Algorithms for the Detection of Histopathologic Lesions in the Rat Liver to Distinguish Normal From Abnormal

Toxicol Pathol. 2025 May 30:1926233251339653. doi: 10.1177/01926233251339653. Online ahead of print.

Abstract

The histopathologic evaluation of regulatory toxicity studies using artificial intelligence (AI) has the potential to increase study efficiency. For example, AI could initially identify and exclude all organs without histopathologic lesions, allowing pathologists to focus solely on evaluating organs with identified lesions. In this study, whole slide images (WSIs) of liver sections from 58 different rat toxicity studies were collected, along with their corresponding histopathologic lesion diagnoses. Each WSI was labeled as either "lesion" or "no lesion" based on the presence or absence of reported histopathologic lesions. Multiple instance learning (MIL) approaches, including a transformer variant, were tested to predict lesions within a weakly supervised framework. Both methods achieved acceptable to excellent area under the receiver operating characteristic curve (AUROC) scores. Heatmap overlays were employed to visually assess the MIL model's effectiveness in detecting lesions, confirming the accuracy of targeted areas on the WSIs. In addition, using transfer learning principles, the MIL model initially developed for liver WSIs was adapted to kidney WSIs, demonstrating the model's versatility. This study showcases the application of weakly supervised learning for lesion detection in rat WSIs from toxicity studies, with the potential to significantly enhance the efficiency of the histopathologic evaluation process.

Keywords: artificial intelligence; digital pathology; generalized lesion detection; liver; multiple instance learning; toxicology; transformer.