AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (17.4 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Open Access | Just Accepted

Graph Transformer Architecture with Semantic Enhancement and Contrastive Learning for Herbal Prescription Recommendation

Lifeng Shao1, Hongzhan Ma1, Ying Fang2, Qi Zhao2( ), Xing Chen3( )

1 School of Electronics and Information Engineering, University of Science and Technology Liaoning, Anshan 114051, China

2 School of Computer Science and Software Engineering, University of Science and Technology Liaoning, Anshan 114051, China

3 School of Mathematics and Data Science, Jiangnan University, Wuxi 214122, China

Show Author Information

Abstract

Herbal Prescription Recommendation (HPR) is a critical task that bridges Traditional Chinese Medicine (TCM) theory with clinical practice, holding significant value for aiding diagnostic and therapeutic decision-making as well as facilitating the transmission of TCM knowledge. However, existing approaches exhibit notable limitations in deeply integrating structural information with semantic representations, achieving robust learning from sparse and noisy data, and ensuring cross-scale interpretability of recommendation outcomes. To address these gaps, our study proposes a Graph Transformer and Contrastive Learning based HPR model (HPR-GTCL). First, we fine-tune the Bidirectional Encoder Representations from Transformers (BERT) encoder on a self-built corpus to generate high-quality semantic embeddings for symptoms and herbs. In the encoding phase, we design a graph Transformer encoder that integrates symptom−symptom and herb−herb co-occurrence matrices as learnable structural biases into the multi-head attention, and employs bidirectional cross-attention to explicitly model symptom−herb feature interactions. During optimization, we introduce a contrastive learning strategy with an improved Information Noise-Contrastive Estimation (InfoNCE) loss for self-supervised training, thereby enhancing the discriminability and robustness of learned representations. HPR-GTCL achieves significant improvements across both datasets. On Dataset 1, it improves F1-score (F1) @5, F1@10, and F1@20 by 13.39%, 16.82%, and 16.25%, respectively, over the best-performing baseline. On Dataset 2, the corresponding improvements surpass the strongest baseline by 13.40%, 12.39%, and 12.51% for F1@5, F1@10, and F1@20, respectively. HPR-GTCL not only delivers a substantial advance in predictive accuracy, but also enhances the credibility and interpretability of its recommendations through cross-scale validation. HPR-GTCL provides a precise, reliable, and interpretable method for intelligent decision support in TCM.

References

【1】
【1】
 
 
Big Data Mining and Analytics

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Shao L, Ma H, Fang Y, et al. Graph Transformer Architecture with Semantic Enhancement and Contrastive Learning for Herbal Prescription Recommendation. Big Data Mining and Analytics, 2026, https://doi.org/10.26599/BDMA.2026.9020032

509

Views

105

Downloads

0

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 25 January 2026
Revised: 08 June 2026
Accepted: 30 June 2026
Available online: 07 August 2026

© The author(s) 2026.

The articles published in this open access journal are distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/).