Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Medical Informatics

Date Submitted: Oct 14, 2024
Open Peer Review Period: Oct 21, 2024 - Dec 16, 2024
Date Accepted: May 13, 2025
(closed for review but you can still tweet)

The final, peer-reviewed published version of this preprint can be found here:

Predicting Drug–Side Effect Relationships From Parametric Knowledge Embedded in Biomedical BERT Models: Methodological Study With a Natural Language Processing Approach

Jeon W, Park M, An D, Nam W, Shin JY, Lee S, Lee S

Predicting Drug–Side Effect Relationships From Parametric Knowledge Embedded in Biomedical BERT Models: Methodological Study With a Natural Language Processing Approach

JMIR Med Inform 2025;13:e67513

DOI: 10.2196/67513

PMID: 40638775

PMCID: 12287980

Predicting Drug-Side Effect Relationships from Parametric Knowledge Embedded in Biomedical BERT Models: Methodological Study

  • Woohyuk Jeon; 
  • Minjae Park; 
  • Doyeon An; 
  • Wonshik Nam; 
  • Ju-Young Shin; 
  • Seunghee Lee; 
  • Suehyun Lee

ABSTRACT

Background:

Adverse drug reactions (ADR) pose serious risks to patient health, and effectively predicting and managing them is an important public health challenge. Given the complexity and specificity of biomedical text data, the traditional context-independent word embedding model, Word2Vec, has limitations in fully reflecting the domain specificity of such data. Although Bidirectional Encoder Representations from Transformers (BERT)-based models pre-trained on biomedical corpora have demonstrated high performance in ADR-related studies, research utilizing these models to predict previously unknown drug-side effect relationships remains insufficient.

Objective:

This study proposes a method for predicting drug-side effect relationships by leveraging the parametric knowledge embedded in biomedical BERT models. Through this approach, we predict promising candidates for potential drug-side effect relationships with unknown causal mechanisms by leveraging parametric knowledge from biomedical BERT models and embedding vector similarities of known relationships.

Methods:

We used 158,096 pairs of drug-side effect relationships from the Side Effect Resource (SIDER) database to generate an adjacency matrix and calculate the cosine similarity between word embedding vectors of drugs and side effects. Relation scores were calculated for 8,235,435 drug-side effect pairs using this similarity. To evaluate the prediction accuracy of drug-side effect relationships, the area under the curve (AUC) value was measured using the calculated relation score and 158,096 known drug-side effect relationships from SIDER.

Results:

The clagator/biobert_v1.1 model achieved an AUC of 0.915 at an optimal threshold of 0.289, outperforming the existing Word2Vec model with an AUC of 0.848. The BERT-based models pre-trained on the biomedical corpus outperformed the vanilla BERT model with an AUC of 0.857. External validation with the FDA Adverse Event Reporting System (FAERS) data, using Fisher's exact test based on 8,235,435 predicted drug-side effect pairs and 901,361 known relationships, confirmed high statistical significance (P<.001) with an odds ratio of 4.830. Additionally, a literature review of predicted drug-side effect relationships not confirmed in the SIDER database revealed that these relationships have been reported in recent studies published after 2016.

Conclusions:

This study introduces a method for extracting drug-side effect relationships embedded in parameters of language models pre-trained on biomedical corpora and using this information to predict previously unknown drug-side effect relationships. We found that BERT-based models pre-trained with biomedical corpora consider contextual information and achieve better performance in drug-side effect relationship prediction. External validation using the FAERS dataset and the literature review of certain cases confirmed high statistical significance, demonstrating practical applicability. These results highlight the utility of natural language processing-based approaches for predicting and managing ADR.


 Citation

Please cite as:

Jeon W, Park M, An D, Nam W, Shin JY, Lee S, Lee S

Predicting Drug–Side Effect Relationships From Parametric Knowledge Embedded in Biomedical BERT Models: Methodological Study With a Natural Language Processing Approach

JMIR Med Inform 2025;13:e67513

DOI: 10.2196/67513

PMID: 40638775

PMCID: 12287980

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.