Abstract
BACKGROUND: Accurate diagnosis of ESD specimens is crucial for managing early gastric cancer. Identifying tumor areas in serially sectioned ESD specimens requires experience and is time-consuming. This study aimed to develop and evaluate a deep learning model for diagnosing ESD specimens. METHODS: Whole-slide images of 366 ESD specimens of adenocarcinoma were analyzed, with 2257 annotated regions of interest (tumor and muscularis mucosa) and 83,839 patch images. The development set was divided into training and internal validation sets. Tissue segmentation performance was evaluated using the internal validation set. A detection algorithm for tumor and submucosal invasion at the whole-slide image level was developed, and its performance was evaluated using a test set. RESULTS: The model achieved Dice coefficients of 0.85 and 0.79 for segmentation of tumor and muscularis mucosa, respectively. In the test set, the diagnostic performance of tumor detection, measured by the AUROC, was 0.995, with a specificity of 1.000 and a sensitivity of 0.947. For detecting submucosal invasion, the model achieved an AUROC of 0.981, with a specificity of 0.956 and a sensitivity of 0.907. Pathologists' performance in diagnosing ESD specimens was evaluated with and without assistance from the deep learning model, and the model significantly reduced the mean diagnosis time (747 s without assistance vs. 478 s with assistance, P < 0.001). CONCLUSION: The deep learning model demonstrated satisfactory performance in tissue segmentation and high accuracy in detecting tumors and submucosal invasion. This model can potentially serve as a screening tool in the histopathological diagnosis of ESD specimens.