基于TabPFN的围手术期镇痛、镇静药物相关高钾血症风险预测模型研究

    Research on a Risk Prediction Model for Perioperative Analgesic and Sedative Drug-related Hyperkalemia Based on TabPFN

    • 摘要:
      目的  基于TabPFN模型构建围手术期镇痛、镇静药物相关高钾血症的风险预测模型,并挖掘关键药物风险因子。
      方法 回顾性收集武汉市第一医院2022年7月—2025年11月围手术期患者临床数据。将2023年1月—2025年11月的524例患者按3∶1比例划分为训练集与内部验证集,另选取2022年7—12月123例患者作为外部验证集。纳入包括患者基线特征、实验室检查及详细的围术期用药如非甾体抗炎药(nonsteroidal antiinflammatory drugs,NSAIDs)、阿片类药物、瑞马唑仑等等67个潜在预测因子。采用基于Transformer架构的TabPFN算法进行模型拟合,并通过DALEX的RMSE DROPOUT方法进行关键因子筛选。
      结果 TabPFN模型在内部验证集中展现出优异的预测性能,受试者工作特征曲线下面积为0.898,精确率-召回率曲线下面积为0.791,校准曲线显示预测概率与实际风险拟合良好。特征重要性分析显示,除了血肌酐、基础血钾及AKI分期等病理生理指标外,药物因素中含钾药物、利尿剂、甲苯磺酸瑞马唑仑剂量以及NSAIDs对高钾血症风险具有显著贡献。其中,瑞马唑仑剂量位列麻醉镇静类药物风险因子的首位。
      结论 本研究构建了基于TabPFN的围手术期高钾血症风险预测模型,定量评估了甲苯磺酸瑞马唑仑及NSAIDs等药物的致病风险,该模型具备良好的区分度与稳健性。研究成果可为临床药师在复杂围手术期场景中开展个体化药学监护提供精准的量化工具。

       

      Abstract:
      OBJECTIVE  To construct a risk prediction model for hyperkalemia associated with analgesic and sedative drugs during the perioperative period based on the TabPFN model, and to mine key drug risk factors.
      METHODS Clinical data of perioperative patients from Wuhan No.1 Hospital were retrospectively collected from July 2022 to November 2025. A total of 524 patients from January 2023 to November 2025 were divided into a training set and an internal validation set at a 3∶1 ratio, while 123 patients from the 2022 July to December served as an external validation set. The study incorporated 67 potential predictors, including baseline characteristics, laboratory tests, and detailed perioperative medication datasuch as nonsteroidal antiinflammatory drugs(NSAIDs), opioids, remimazolam, etc. The TabPFN algorithm, based on the Transformer architecture, was employed for model fitting, with key factor screening conducted via RMSE DROPOUT of the DALEX methods.
      RESULTS The TabPFN model demonstrated superior predictive performance in the internal validation set, with an area under the receiver operating characteristic curve of 0.898 and an area under the precision-recall curve of 0.791. The calibration plot indicated a good fit between predicted probabilities and actual risks. Feature importance analysis revealed that, in addition to pathophysiological indicators such as serum creatinine, baseline potassium, and AKI stage, drug-related factors specifically potassium-containing drugs, diuretics, remimazolam tosilate dosage, and NSAIDs which contributed significantly to the risk of hyperkalemia. Notably, the dosage of remimazolam ranked first among anesthesia/sedation-related risk factors.
      CONCLUSION This study constructs a TabPFN-based risk prediction model for perioperative hyperkalemia and quantitatively assessed the pathogenic risks of drugs such as remimazolam tosilate and NSAIDs, the model exhibits favorable discrimination and robustness. The research findings can provide clinical pharmacists with a precise quantitative tool for personalized pharmaceutical care in complex perioperative settings.

       

    /

    返回文章
    返回