文献速递药物不良反应与药物警戒抗栓抗凝管理

机器学习在药物警戒数据中的应用:一项概念验证研究

Applying machine learning to pharmacovigilance data: A proof-of-concept study.
PubMed 文献 · Br J Clin Pharmacol · 2026-06-17

本研究从法国国家药物警戒数据库提取2025份华法林个体病例安全报告,预处理后保留1045份,随机分为训练集(75%)和独立测试集(25%)。采用XGBoost算法结合SHAP分析对华法林相关胃肠道出血与非胃肠道出血不良反应进行分类,测试集准确率0.68、召回率0.80、精确率0.68、F1分数0.74、AUC-ROC 0.716。SHAP分析显示年龄、胃肠道出血风险、抗血小板药物和肾功能不全病史是预测胃肠道出血报告的最重要特征。

要点

  • XGBoost结合SHAP可对华法林相关胃肠道出血报告进行分类,测试集AUC-ROC为0.716。
  • 年龄、胃肠道出血风险、抗血小板药物和肾功能不全病史是预测胃肠道出血报告的关键特征。
  • 该概念验证研究显示机器学习用于药物警戒数据分类具有可行性。

核心结论

  • 使用XGBoost算法结合SHAP分析对药物警戒数据进行不良反应分类和识别报告预测特征是可行的。

研究设计与样本

  • 研究从法国国家药物警戒数据库提取涉及华法林的个体病例安全报告,预处理后数据集随机分为训练集(75%)和独立测试集(25%),训练XGBoost算法分类胃肠道出血与非胃肠道出血报告,并用SHAP值解释特征重要性和方向效应。

主要发现

  • 共提取2025份涉及华法林的个体病例安全报告,预处理后保留1045份。
  • 测试集上XGBoost模型准确率0.68、召回率0.80、精确率0.68、F1分数0.74、AUC-ROC 0.716。
  • SHAP分析显示预测胃肠道出血报告最重要的四个特征为年龄、胃肠道出血风险、抗血小板药物和肾功能不全病史。

临床怎么用

  • 临床药学智能体可参考该研究思路,利用机器学习辅助药物警戒信号识别与风险因素分析,但需结合药师事后模型解读。

以上解读依据论文摘要(全文未开放获取或许可不允许翻译转载)。

原文

AIM: Machine learning (ML) applications in pharmacovigilance remain limited and underexplored. Using data from the French National pharmacovigilance database (FNPV), this proof-of-concept study aimed to assess the feasibility of using a ML algorithm-eXtreme Gradient Boosting (XGBoost)-combined with SHapley Additive exPlanations (SHAP) analysis, to classify a well-defined drug-adverse reaction pair (warfarin-associated gastrointestinal bleeding) and identify risk factors for reporting this adverse reaction. METHODS: We extracted individual case safety reports (ICSRs) involving warfarin from the FNPV. Following data preprocessing, the dataset was randomly split into a training set (75%) and an independent test set (25%). The XGBoost algorithm was trained to classify reports as either gastrointestinal bleeding or non-gastrointestinal bleeding adverse reactions. Model performance was assessed on the test set using multiple metrics: accuracy, recall, precision, F1-score and the area under the receiver operating characteristic curve (AUC-ROC). Feature importance and directional effects were interpreted using SHAP values. RESULTS: A total of 2025 ICSRs involving warfarin were extracted from the FNPV. After preprocessing, 1045 ICSRs were retained. On the test set, the XGBoost model demonstrated an accuracy of 0.68, recall of 0.80, precision of 0.68, F1-score of 0.74 and an AUC-ROC of 0.716. SHAP analysis revealed the four most influential features in predicting gastrointestinal bleeding reporting: age, gastrointestinal bleeding risk, antiplatelet and history of renal dysfunction. CONCLUSION: We demonstrated the feasibility of using an XGBoost algorithm combined with SHAP analysis to pharmacovigilance data for the classification of adverse drug reactions and identify predictive features of reporting, following post hoc model interpretation by pharmacologists.

来源:Br J Clin Pharmacol,查看原文。版权归原作者所有。

引用

  1. Barus R, Schiro P, Faillie JL, et al. Applying machine learning to pharmacovigilance data: A proof-of-concept study. Br J Clin Pharmacol. 2026. PMID: 42310861. doi:10.1002/bcp.70655

供执业医师工作参考,不替代临床判断;数值与分级以指南原文为准。