Abstract
Oral potentially malignant disorders (OPMDs) can directly progress to cancer, necessitating accurate risk prediction to guide clinical intervention. Here, we present a protocol for predicting cancer risk in OPMDs using a customized self-attention artificial neural network (SANN). We describe steps for full preprocessing, defining and training the model, and model validation. We then detail procedures for evaluation and visualization. The model is trained and validated on 1,094 cases and compared with artificial neural networks, random forests, and DeepSurv. For complete details on the use and execution of this protocol, please refer to Li et al.(1).