DOI QR코드

DOI QR Code

Automatic classification of herbal formula documents related to diseases using LLM-based embedding vectors

LLM 기반 임베딩 벡터를 활용한 질병과 관련된 전통 한약 처방 문서의 자동 분류

  • Ho Jang (KM Data Division, Korea Institute of Oriental Medicine)
  • 장호 (한국한의학연구원 한의약데이터부)
  • Received : 2024.09.30
  • Accepted : 2024.10.30
  • Published : 2024.11.30

Abstract

Objectives: This study focuses on the development of an automatic classification system for herbal formula documents related to diseases. Methods: We used 740 abstracts of herbal formula documents associated with diseases as positive samples, and sampled negative documents from the entire PubMed database. For feature extraction, we utilized text-embedding-ada-002 and OpenAI's bert-base-uncased embedding vectors based on BERT, and employed XGBoost and SVM as classification models. The performance of the classification models was evaluated using Precision, Recall, F1-Score, AUC-ROC, and AUC-PR metrics. Results: SVM consistently outperformed XGBoost, and the classification performance differed depending on whether the negative documents were sampled from the entire PubMed database or from traditional medicine literature. Furthermore, as the proportion of negative documents in the training data increased, the model's classification performance decreased. A comparison between PubMed's default ranking and the ranking generated by our automatic classification system showed that our method ranked disease-related prescription documents higher. Conclusions: Our model demonstrates that our approach can improve the efficiency of searching and collecting disease-related herbal formula literature.

Keywords

Acknowledgement

본 연구는 한국한의학연구원 'AI 한의사 개발을 위한 ICT 기반 한의 중점 질환 진단 예측 기술개발(KSN1824130)'과제와 'AI 한의사 개발을 위한 임상빅데이터 수집 및 서비스 플랫폼 구축(KSN1923111)'의 지원을 받아 수행되었습니다.

References

  1. Park HS, Wijerathne CUB, Jeong HY, Seo CS, Ha H, Kwun HJ. Gastroprotective effects of Hwanglyeonhaedok-tang against Helicobacter pylori-induced gastric cell injury. Journal of Ethnopharmacology. 2018;216:239-250. DOI: 10.1016/j.jep.2018.01.025.
  2. Zhang L, Ling Z, Hu Z, Meng G, Zhu X, Tang H. Huanglianjiedu Decoction as an effective treatment for oral squamous cell carcinoma based on network pharmacology and experimental validation. Cancer Cell International. 2021;21(1):553. DOI: 10.1186/s12935-021-02201-6.
  3. Xu J, Murakami Y, Matsumoto K, Tohda M, Watanabe H, Zhang S, Yu Q, Shen J. Protective effect of Oren-gedoku-to (Huang-Lian-Jie-Du-Tang) against impairment of learning and memory induced by transient cerebral ischemia in mice. Journal of Ethnopharmacology. 2000;73(3):405-413. DOI: 10.1016/s0378-8741(00)00303-2.
  4. Fiorini N, Canese K, Starchenko G, Kireev E, Kim W, Miller V, Osipov M, Kholodov M, Ismagilov R, Mohan S, Ostell J, Lu Z. Best Match: New relevance search for PubMed. PLoS Biology. 2018;16(8). DOI: 10.1371/journal.pbio.2005343.
  5. Garrido-Merchan EC, Gozalo-Brizuela R, Gonzalez-Carvajal S. Comparing BERT against traditional machine learning models in text classification. Journal of Computational and Cognitive Engineering. 2023;2(4):352-356. DOI: 10.47852/bonviewjcce3202838.
  6. Radford A, et al. Improving language understanding by generative pre-training. 2018. Available from: https://api.semanticscholar.org/CorpusID:49313245.
  7. Devlin J. BERT: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint. 2018. arXiv:1810.04805.
  8. Chen T, Guestrin C. Xgboost: A scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. 2016:785-794. DOI: 10.1145/2939672.2939785.