The study protocol was reviewed and approved by the Ethics Committee of the General Hospital of Northern Theater Command (Approval No. Ethics Y (2026) 75). Although the clinical data were derived from patients treated between January 2024 and December 2025, the present study was conducted as a retrospective analysis of existing clinical records. The ethics approval obtained in 2026 covered retrospective data extraction, de-identification, analysis, and publication of these previously collected clinical data. No prospective intervention or patient enrollment was performed before ethics approval. The requirement for written informed consent was waived because of the retrospective observational study design. All procedures were conducted in accordance with the Declaration of Helsinki, and all clinical data were de-identified before analysis. The present analysis was conducted as part of an approved retrospective neurointerventional clinical-data research project. The materials and equipment required for the procedures described below are summarized in the Table of Materials.
Patient enrollment and CIE determination
Potentially eligible patients were identified by querying the electronic medical record system for patients treated in the Department of Neurosurgery at the General Hospital of Northern Theater Command between January 2024 and December 2025. The initial search was restricted by admission date, department, cerebrovascular disease diagnosis, and neurointerventional procedure records. The detailed patient screening and cohort allocation workflow is illustrated in Figure 2. Patients were eligible for inclusion if they met all the following criteria: (1) age between 30 and 80 years; (2) diagnosis of cerebrovascular disease requiring neurointerventional evaluation or treatment; (3) availability of complete clinical records and laboratory-test results; and (4) postoperative head CT examination performed within 3 days after surgery.
Patients were excluded if they had incomplete clinical or imaging data, did not undergo endovascular intervention, had severe preoperative neurological deficits (modified Rankin Scale score ≥4), demonstrated acute cerebral infarction on preoperative diffusion-weighted imaging, had chronic kidney disease stage G4 or higher according to the Kidney Disease: Improving Global Outcomes (KDIGO) criteria, or had severe cardiovascular disease. The inclusion and exclusion criteria were applied sequentially. After the initial electronic search, each candidate record was manually reviewed to confirm eligibility and to document the reason for exclusion when applicable. After screening, eligible patients were randomly assigned to training and test cohorts at an 8:2 ratio, including a training cohort (n = 128) and a test cohort (n = 33). Stratified random sampling was used to maintain a consistent distribution of CIE and non-CIE cases between the two cohorts.
The diagnosis of CIE was primarily based on the temporal association between symptom onset and cerebrovascular intervention procedures, combined with exclusionary imaging assessment. Two independent cerebrovascular intervention specialists reviewed the postoperative clinical records, symptom-onset time, neurological manifestations, and postoperative imaging findings for all suspected cases. Disagreements were resolved through discussion until consensus was reached. Patients were considered compatible with CIE if newly developed cortical blindness, altered consciousness (including somnolence, delirium, or coma), seizure, or focal neurological deficits such as hemiparesis or aphasia occurred within 24 h after completion of the neurointerventional procedure.
After symptom onset, alternative causes capable of producing similar neurological manifestations were excluded by reviewing postoperative CT or MRI images together with the clinical course. Postoperative head CT was performed using the institutional standard non-contrast cranial CT protocol. The essential acquisition parameters included tube voltage of 80 kVp, tube current of 260 mA, slice thickness of 0.5 mm, and standard axial reconstruction. Images were reviewed on brain and bone windows by experienced clinicians. Acute intracranial hemorrhage, subarachnoid hemorrhage, intracerebral hemorrhage, newly developed large-area cerebral infarction, seizure-related changes, infection, and metabolic disturbances were considered during differential diagnosis. Post-symptom CT examinations typically demonstrated focal or diffuse cerebral edema and high-density shadows involving the cortex, subcortical regions, or subarachnoid space, mimicking hemorrhagic lesions. MRI findings usually demonstrate cortical swelling, particularly involving the temporoparietal occipital cortex. In some patients, however, CT or MRI examinations showed no obvious abnormalities despite compatible clinical manifestations.
Perioperative variable acquisition and CGR construction
General demographic data, including age, sex, and body weight, were extracted from structured fields in the electronic medical record system. Clinical history variables, including smoking history, alcohol consumption history, hypertension, diabetes mellitus, and coronary heart disease, were extracted from admission notes, past medical history records, and discharge diagnoses, and were cross-checked for consistency. Laboratory data were extracted from the laboratory information system. For each patient, the first venous blood sample collected after admission and before the neurointerventional procedure was used. The extracted laboratory variables included serum creatinine, estimated glomerular filtration rate (eGFR), total cholesterol, and triglyceride levels. eGFR was calculated using the Chronic Kidney Disease Epidemiology Collaboration (CKD-EPI) creatinine-based equation and was obtained from the hospital laboratory information system.
Because procedural complexity, contrast-agent exposure, and lesion location may influence blood–brain barrier disruption and contrast-agent retention during neurointerventional procedures, perioperative procedural variables were also incorporated into the predictive framework. Procedure-related variables included lesion location, procedure type, procedural duration, contrast-agent type, and total contrast volume. Lesion location and procedure type were determined from operative reports and angiographic records. Procedural duration was defined as the time from arterial puncture to completion of the neurointerventional procedure. Total contrast volume was defined as the cumulative volume of iodinated contrast agent administered from the beginning to the end of the procedure. The contrast agents used in this study were nonionic ICA, including iodixanol (320 mg of iodine/mL), administered according to institutional clinical practice. All neurointerventional procedures included in this study were performed under digital subtraction angiography guidance by an experienced neurointerventional team at the study center. All procedures were performed using the transfemoral arterial approach. During the intervention, patients received intraoperative anticoagulation with heparin, and activated clotting time was maintained within the target range of 250–300 s. Vital signs were continuously monitored throughout the procedure.
Therapeutic interventions, including aneurysm embolization, angioplasty, and stent placement, were performed according to lesion characteristics and operator judgment. Appropriate microcatheters, coils, stents, or balloons were selected according to procedural requirements. During angiographic imaging and intervention, contrast agents were administered either through high-pressure injection or manual constant-rate infusion. Contrast agent type and total contrast volume were extracted from procedural records and cross-checked with anesthesia or nursing records when available. Records with inconsistent or incomplete contrast-volume information were reviewed manually before inclusion in the final analytical dataset.
All procedure-related variables, including procedural duration, therapeutic intervention type, device usage, and contrast-agent administration records, were systematically reviewed and verified for completeness and consistency before analysis. To quantitatively evaluate the imbalance between contrast-agent burden and renal-clearance capacity, the CGR was established as a core predictive variable and calculated according to the following equation:
(1)
The total contrast volume was recorded in mL, and eGFR was recorded in mL/min/1.73 m2. The eGFR value used for CGR calculation was the preoperative eGFR value obtained from the first venous blood sample collected after admission and before the neurointerventional procedure. For each patient, CGR was calculated after verifying both total contrast volume and eGFR. The numerator was total contrast volume in mL, and the denominator was eGFR in mL/min/1.73 m2. The same calculation rule was applied to all patients before model development.
Feature selection and ML workflow
To ensure analytical robustness, all clinical and laboratory variables underwent systematic quality control procedures before analysis. The missing data proportion was calculated for each candidate variable before model development. In the final analytical dataset, no missing values were observed among the included predictors or outcome labels; therefore, no variable was excluded because of missingness, and multiple imputation was not required. The detailed missing data summary is provided in Supplementary Table 1.
All candidate predictor variables were initially evaluated using univariate analyses to assess their associations with the occurrence of CIE. Statistical methods were selected according to the distribution characteristics of the data. Variables with normal distribution were expressed as mean ± standard deviation and compared using the independent samples t-test. Variables with non-normal distribution were expressed as median (interquartile range, IQR) and analyzed using the Mann–Whitney U test. Categorical variables were presented as frequencies and percentages and analyzed using the chi-square test or Fisher’s exact test. Statistical significance was defined as p < 0.05.
The entire dataset was randomly divided into training and test cohorts at an 8:2 ratio before model development. To minimize overfitting and reduce multicollinearity, least absolute shrinkage and selection operator (LASSO) regression combined with 10-fold cross-validation was applied for feature selection. Feature selection, hyperparameter tuning, and model development were performed using the training cohort only to avoid data leakage. The internal test cohort was not used during imputation-parameter estimation, feature selection, hyperparameter tuning, or model training, and was used only once for final performance evaluation. Hyperparameter optimization was conducted using a grid search strategy with 10-fold cross-validation within the training cohort. Specifically, the training cohort was randomly divided into 10 mutually exclusive subsets. During each iteration, nine subsets were used for model training, and the remaining subset was used for validation. This process was repeated 10 times to ensure that each subset served as the validation cohort exactly once.
All computational analyses were performed in a Python environment. ML model development and evaluation were performed using scikit-learn. The analysis scripts used for data preprocessing, feature selection, model training, performance evaluation, and DCA were provided as supplementary code files. For model implementation, the selected features from LASSO regression were used as input variables for all candidate classifiers. Continuous variables were standardized using z-score normalization within the training cohort, and the same scaling parameters were applied to the internal test cohort. Categorical variables were encoded according to the predefined coding scheme, and the variable definitions and coding scheme are provided in Supplementary Table 2. Five classifiers were implemented: Gaussian Naive Bayes, SVM, KNN, LightGBM, and MLP. For SVM, the kernel type, regularization parameter C, and kernel coefficient gamma were tuned. For KNN, the number of neighbors and the distance-weighting strategy were tuned. For LightGBM, the number of estimators, learning rate, maximum tree depth, and number of leaves were tuned. For MLP, the hidden-layer structure, activation function, regularization parameter, and learning rate were tuned. Gaussian Naive Bayes was implemented using the specified variance smoothing setting. The optimal hyperparameter combination for each model was selected according to cross-validation performance within the training cohort. The final optimized hyperparameter combinations selected for each model are summarized in Supplementary Table 3. After hyperparameter selection, each final model was refitted on the full training cohort and evaluated once in the internal test cohort.
Comparisons of model performance
Based on the selected predictors, five ML models were developed and compared. Model performance was evaluated in both the training and test cohorts using the area under the receiver operating characteristic curve (AUC), 95% confidence interval (95% CI), sensitivity, specificity, and accuracy. Receiver operating characteristic curves were generated to compare the discriminative performance of the different models. The optimal classification threshold for each model was determined exclusively within the training cohort using the Youden index. The derived threshold was then fixed and applied unchanged to the internal test cohort for calculating threshold-dependent performance metrics.
Decision curve analysis
DCA was performed by calculating the net benefit of each model across a range of threshold probabilities and comparing the model-based strategy with two default strategies: treating all patients and treating no patients. DCA was selected because it allows simultaneous assessment of discrimination performance and potential clinical applicability in perioperative decision-making settings. To facilitate reproducibility, the complete workflow was performed in the following sequence: patient identification from the electronic medical record system, application of inclusion and exclusion criteria, CIE adjudication by two independent specialists, extraction and cross-checking of demographic, clinical history, laboratory, and procedure-related variables, CGR calculation, missing-data assessment and training-test cohort split, LASSO-based feature selection within the training cohort, hyperparameter tuning by 10-fold cross-validation, final model refitting in the full training cohort, internal test-cohort evaluation, ROC-based performance assessment, Youden-index threshold determination, and DCA.