APC-GNN++: An Adaptive Patient-Centric GNN with Context-Aware Attention and Mini-Graph Explainability for Diabetes Classification
Khaled Berkani
TL;DR
APC-GNN++ introduces an adaptive, patient-centric GNN for diabetes classification that combines context-aware edge attention, confidence-guided feature blending, and neighborhood consistency regularization to exploit inter-patient relationships. It adds mini-graph explainability for unseen patients, enabling real-time, localized predictions without retraining the global model, and is deployed through a Tkinter GUI for clinicians. On a real-world Algeria dataset (N=540), it surpasses MLP, RF, XGBoost, and vanilla GCN in accuracy and macro F1, with strong per-class AUC, while providing interpretable insights via node-level confidence scores. The work highlights practical clinical impact by balancing graph-derived evidence with self-features and offering interpretable, patient-specific decision support.
Abstract
We propose APC-GNN++, an adaptive patient-centric Graph Neural Network for diabetes classification. Our model integrates context-aware edge attention, confidence-guided blending of node features and graph representations, and neighborhood consistency regularization to better capture clinically meaningful relationships between patients. To handle unseen patients, we introduce a mini-graph approach that leverages the nearest neighbors of the new patient, enabling real-time explainable predictions without retraining the global model. We evaluate APC-GNN++ on a real-world diabetes dataset collected from a regional hospital in Algeria and show that it outperforms traditional machine learning models (MLP, Random Forest, XGBoost) and a vanilla GCN, achieving higher test accuracy and macro F1- score. The analysis of node-level confidence scores further reveals how the model balances self-information and graph-based evidence across different patient groups, providing interpretable patient-centric insights. The system is also embedded in a Tkinter-based graphical user interface (GUI) for interactive use by healthcare professionals .
