A Meta-contrastive Learning Approach for Clinical Drug-drug Interaction Extraction From Biomedical Literature
Yaxun Jia, Zhu Yuan, Lian Zhu, Zuo-lin Xiang
Abstract
Drug–drug interactions (DDIs) are a significant source of adverse drug events and pose critical challenges to patient safety and clinical decision-making. Extracting DDIs from biomedical literature plays an essential role in pharmacovigilance, yet remains difficult due to data sparsity and high annotation costs. This study presents BioMCL-DDI, a novel few-shot learning framework that integrates meta-learning with contrastive embedding strategies to enable efficient DDI extraction under limited supervision.
Introduction
Drug–drug interactions (DDIs) are a critical factor in pharmacovigilance and clinical decision-making, as they can significantly alter the efficacy or safety of co-administered drugs. In clinical settings, especially among elderly patients or those undergoing polypharmacy, unrecognized DDIs can lead to adverse drug reactions (ADRs), increased hospitalization, and even mortality. Thus, accurate and timely identification of potential DDIs is vital for enhancing medication safety and supporting personalized treatment regimens.
Materials and Methods:
This section presents the architecture and training strategy of BioMCL-DDI, a unified meta-contrastive learning framework for few-shot drug–drug interaction extraction. The proposed model is designed to address two major challenges in clinical NLP systems: data sparsity, where annotated biomedical DDI examples are limited, and class imbalance, where frequent and rare interaction types co-exist in skewed distributions.
To overcome these challenges, BioMCL-DDI integrates class-level generalization via prototype learning and instance-level feature discrimination via contrastive learning within a single, fully supervised architecture. This joint optimization eliminates the need for complex episodic sampling routines common in meta-learning while improving scalability and robustness under low-resource biomedical scenarios.
Discussion
This study presents BioMCL-DDI, a unified few-shot learning framework for drug–drug interaction (DDI) extraction that integrates prototypical classification and contrastive representation learning. Our empirical results demonstrate that the proposed model achieves strong performance under low-resource conditions, outperforming existing fully supervised and meta-learning baselines on both in-domain and cross-domain settings.
Citation: Jia Y, Yuan Z, Zhu L, Xiang Z-l (2025) A meta-contrastive learning approach for clinical drug-drug interaction extraction from biomedical literature. PLoS Comput Biol 21(12): e1013722. https://doi.org/10.1371/journal.pcbi.1013722
Editor: Qiangguo Jin, Northwestern Polytechnical University, CHINA
Received: August 5, 2025; Accepted: November 7, 2025; Published: December 5, 2025.
Copyright: © 2025 Jia et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: All our code and data have been publicly released at: https://github.com/Hero-Legend/BioMCL-DDI.
Funding: This work is supported by National Natural Science Foundation of China (82160591 to Zl.X.), Key Project of Clinical Research of Shanghai East Hospital, Tongji University (DFLC2022012 to Zl.X.), Key Specialty Construction Project of Shanghai Pudong New Area Health Commission (PWZzk2022-02 to Zl.X.), Funded by Outstanding Leaders Training Program of Pudong Health Bureau of Shanghai (PWR12023-02 to Zl.X.) and Shanghai Science Technology Innovation Action Plan (23Y11909000 to Zl.X.), Science Research Project of Hebei Education Department (QN2025011 to Z.Y.) and Doctoral Research Start-up Fund Program of The National Police University for Criminal Justice (BSQDW202150 to Z.Y.). Zuo-lin Xiang is the corresponding author of this paper. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.