bioRxivBioinformaticsPreprint
Contextual Biomedical Language Models for Imbalance-Aware Drug-Food Interaction Classification
Mahendar Yadav, Lokesh NalgondaiD, Zubair Mohammed, Mansoor Abdullah
Abstract
Drug-food interactions (DFIs) are essential to patient safety because they can alter drug effectiveness or cause side effects. Automated classification of DFIs is difficult because of unstructured textual data, semantic ambiguity, and class imbalance, especially when separating neutral interactions. This paper presents an imbalance-aware deep learning approach for classifying drug-food interactions into three classes: safe, neutral, and unsafe. A structured dataset is created from textual drug interaction descriptions by extracting drug-food pairs and labeling them using rule-based heuristics. To address class imbalance, we apply class weighting and focal loss while fine-tuning the context-aware BioBERT language model. Our experiments show that the approach reaches an accuracy of 85% and a macro-averaged F1-score of 0.77, with a notable improvement on the minority neutral class (F1-score of 0.56). The main novelty of this work is the combination of contextual biomedical language modeling with imbalance-aware deep learning, enabling more effective classification of DFI datasets.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Drug-Drug Interaction Extraction from Biomedical Text using Relation BioBERT with BLSTM
Maryam KafiKang, Abdeltawab Hendawi·Machine Learning and Knowledge ExtractionPeer-reviewed·Jun 10, 2023
- The Multiple Approaches for Drug-Drug Interaction Extraction using Machine learning and transformer based Model
Gurpreet Singh, Sundareswari Thiyagarajan·bioRxiv·Oct 25, 2025
- Text Mining Drug-Protein Interactions using an Ensemble of BERT, Sentence BERT and T5 models
Xin Sui, Wanjing Wang, Jinfeng Zhang·bioRxiv·Oct 26, 2021
- DDI-GPT: Explainable Prediction of Drug-Drug Interactions using Large Language Models enhanced with Knowledge Graphs
Chengqi Xu, Krishna C. Bulusu, … Olivier Elemento·bioRxiv·Dec 6, 2024
- BO-LSTM: Classifying relations via long short-term memory networks along biomedical ontologies
André Lamúrias, Diana Sousa, … Francisco M. Couto·BMC BioinformaticsPeer-reviewed·Jan 7, 2019
- ArcDFI: Attention Regularization guided by CYP450 Interactions for Predicting Drug-Food Interactions
Mogan Gim, Jaewoo Kang, … Minji Jeon·PLoS Computational BiologyPeer-reviewed·Oct 15, 2025