An Explainable AI Framework for Lymph Node Metastasis Detection and 3D Reconstruction Using nnU-Net, HLLE, Graph Neural Networks, and Marching Cubes
Senthil JayapalDepartment of Computer Science and Engineering, Amrita School of Computing, Amrita Vishwa Vidyapeetham, Chennai, Tamil Nadu, India. j_senthil@ch.students.amrita.edu0009-0000-5852-9749
R. AnnamalaiDepartment of Computer Science and Engineering, Amrita School of Computing, Amrita Vishwa Vidyapeetham, Chennai, Tamil Nadu, India. r_annamalai@ch.amrita.edu0000-0002-3343-541X
Keywords: Lymph Node Metastasis Detection, HLLE, GNN, Marching Cubes Algorithm, 3D Reconstruction, Medical Image Analysis, Breast Cancer Diagnosis, CAMELYON17 Dataset, Grad-CAM++.
Abstract
Metastasis of breast cancer to lymph nodes is considered one of the most significant factors in assessing the development of the disease and defining the necessary treatment techniques. However, identifying the presence of metastatic regions in histopathological images is a difficult task because of the bulk of information, the complexity of the tissue structure, and the extreme visual variability. Deep learning techniques have shown enticing results in the investigation of medical images, but the majority of the current models are not interpretable enough to be adopted in clinics. In response, the proposed study introduces a Grad-CAM++-based Explainable Artificial Intelligence (XAI) system to automatically detect and analyze lymph node metastasis. First, the nnU-Net architecture is used to perform semantic segmentation to properly detect lymph node regions within high-resolution images in the CAMELYon17 dataset and enhance the performance of segmentation. Locally Linear Embedding (HLLE) based on the Hessian is then applied to extract features and reduce dimensionality without losing intrinsic geometric properties. The partitioned areas are defined as the nodes in the graph, and the spatial relationships are defined as the edges and differentiated with the help of Graph Neural Networks (GNN). Moreover, the Marching Cubes algorithm is used to build metastatic areas in a three-dimensional volumetric representation to visualize tumor morphology better. Grad-CAM++ is built in to offer fine-grained visual explanations by highlighting any important parts of the image that affect model decisions, thus enhancing transparency and interpretability. The proposed model has an accuracy of 99.1 %, precision of 98.7 %, recall of 99.75 %, and F1-score of 98.85 %, which is better than the current methods. The framework will help clinicians make correct predictions and meaningful visual assessments, ultimately improving the forecast and analysis of lymph node metastasis in breast cancer.