Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jun 4;26(1):152.
doi: 10.1186/s12859-025-06157-6.

HLN-DDI: hierarchical molecular representation learning with co-attention mechanism for drug-drug interaction prediction

Affiliations

HLN-DDI: hierarchical molecular representation learning with co-attention mechanism for drug-drug interaction prediction

Yue Luo et al. BMC Bioinformatics. .

Abstract

Background: Accurate identification of drug-drug interactions (DDIs) is critical in pharmacology, as DDIs can either enhance therapeutic efficacy or trigger adverse reactions when multiple medications are administered concurrently. Traditional methods for identifying DDIs are labor-intensive and time-consuming, prompting the development of computational alternatives. However, existing computational approaches frequently encounter challenges related to interpretability and struggle to effectively capture the complex, multi-level structures inherent in drug molecules. Specifically, they often fail to adequately analyze substructural components and neglect interactions across hierarchical structural levels, resulting in incomplete molecular representations.

Results: In this study, we propose a Hierarchical Learning Network with a co-attention mechanism tailored to molecular structure representation for predicting DDIs, named HLN-DDI. The proposed method advances existing approaches by explicitly encoding motif-level structures and capturing hierarchical molecular representations at atom-level, motif-level, and whole-molecule scales. These hierarchical representations are integrated using a co-attention mechanism and combined with interaction-type information to enhance predictive performance. Comprehensive evaluations demonstrate that HLN-DDI significantly outperforms state-of-the-art methods across multiple benchmark datasets, achieving over 98% accuracy under transductive scenarios and surpassing 99% on various evaluation metrics. Moreover, HLN-DDI achieves a notable accuracy improvement of 2.75% in predicting DDIs involving unseen drugs. Practical assessments with real-world DDI scenarios further validate the efficacy and utility of our proposed model.

Conclusion: By leveraging hierarchical molecular structures and employing a co-attention mechanism to effectively integrate multi-level representations, HLN-DDI generates comprehensive and precise drug representations, leading to substantially improved predictions of potential drug-drug interactions.

Keywords: Co-attention mechanism; Drug-drug interaction; Molecular graph learning.

PubMed Disclaimer

Conflict of interest statement

Declarations. Ethics approval and consent to participate: Not applicable. Consent for publication: Not applicable. Competing interests: The authors declare that they have no conflict of interest.

Figures

Fig. 1
Fig. 1
Framework of HLN-DDI. HLN-DDI first decomposes the input molecular graphs of two drugs into motifs, subsequently augmenting these graphs by incorporating motif-level and molecular-level nodes and establishing corresponding edges. Graph Neural Networks (GNNs) with shared weights are then employed to hierarchically encode the augmented graphs, generating atom-level, motif-level, and molecular-level representations. These hierarchical representations are integrated via a co-attention mechanism to compute a pairwise interaction importance matrix. Finally, the likelihood of drug-drug interactions is determined by weighting and aggregating the drug representations and relationship information based on the interaction importance matrix
Fig. 2
Fig. 2
Summary of Motif Creation Process. The entire construction encompasses three sequential stages: 1 Initially, the provided molecular graph is broken down utilizing the BRICS framework, 2 Subsequently, the molecule undergoes additional decomposition guided by our supplementary rules, and 3 Finally, the resultant motifs are assembled into motif-level nodes
Fig. 3
Fig. 3
Visualization results of drug pair features after t-SNE processing at atom-level (A,D), motif-level (B,E), and molecule-level (C,F)
Fig. 4
Fig. 4
Performance evaluation of SSI-DDI, GMPNN-CS, DSN-DDI and HLN-DDI for new FDA-approved drugs

Similar articles

References

    1. Dale MM, Haylett DG. Rang & Dale’s pharmacology flash cards updated edition e-book. Philadelphia, USA: Elsevier Health Sciences; 2013.
    1. Wienkers LC, Heath TG. Predicting in vivo drug interactions from in vitro drug discovery data. Nat Rev Drug Discov. 2005;4(10):825–33. - PubMed
    1. Juurlink DN, Mamdani M, Kopp A, Laupacis A, Redelmeier DA. Drug-drug interactions among elderly patients hospitalized for drug toxicity. JAMA. 2003;289(13):1652–8. - PubMed
    1. Yeh P, Tschumi AI, Kishony R. Functional classification of drugs by properties of their pairwise interactions. Nat Genet. 2006;38(4):489–94. - PubMed
    1. Ryall KA, Tan AC. Systems biology approaches for advancing the discovery of effective drug combinations. J Cheminformatics. 2015;7:1–15. - PMC - PubMed

LinkOut - more resources