Skip to main content
QUICK REVIEW

[Paper Review] Relation Extraction Using Large Language Models: A Case Study on Acupuncture Point Locations

Yiming Li, Xueqing Peng|arXiv (Cornell University)|Apr 8, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This study evaluates large language models (LLMs) like GPT-3.5 and GPT-4 for extracting five types of anatomical relations (e.g., 'near_acupoint', 'distance_of') between acupuncture points from textual descriptions in the WHO Standard. Fine-tuned GPT-3.5 achieved the highest micro-average F1 score of 0.92, outperforming BioBERT, LSTM, and both pre-trained GPT variants, demonstrating LLMs' strong potential for structured knowledge extraction in traditional medicine.

ABSTRACT

In acupuncture therapy, the accurate location of acupoints is essential for its effectiveness. The advanced language understanding capabilities of large language models (LLMs) like Generative Pre-trained Transformers (GPT) present a significant opportunity for extracting relations related to acupoint locations from textual knowledge sources. This study aims to compare the performance of GPT with traditional deep learning models (Long Short-Term Memory (LSTM) and Bidirectional Encoder Representations from Transformers for Biomedical Text Mining (BioBERT)) in extracting acupoint-related location relations and assess the impact of pretraining and fine-tuning on GPT's performance. We utilized the World Health Organization Standard Acupuncture Point Locations in the Western Pacific Region (WHO Standard) as our corpus, which consists of descriptions of 361 acupoints. Five types of relations ('direction_of,' 'distance_of,' 'part_of,' 'near_acupoint,' and 'located_near') (n= 3,174) between acupoints were annotated. Five models were compared: BioBERT, LSTM, pre-trained GPT-3.5, fine-tuned GPT-3.5, as well as pre-trained GPT-4. Performance metrics included micro-average exact match precision, recall, and F1 scores. Our results demonstrate that fine-tuned GPT-3.5 consistently outperformed other models in F1 scores across all relation types. Overall, it achieved the highest micro-average F1 score of 0.92. This study underscores the effectiveness of LLMs like GPT in extracting relations related to acupoint locations, with implications for accurately modeling acupuncture knowledge and promoting standard implementation in acupuncture training and practice. The findings also contribute to advancing informatics applications in traditional and complementary medicine, showcasing the potential of LLMs in natural language processing.

Motivation & Objective

  • To evaluate the performance of large language models (LLMs) such as GPT-3.5 and GPT-4 in extracting anatomical relations between acupuncture points from natural language descriptions.
  • To compare LLMs with traditional deep learning models (BioBERT and LSTM) in relation extraction for biomedical text in traditional Chinese medicine.
  • To assess the impact of pretraining and fine-tuning on LLM performance for this specialized domain.
  • To create a structured, annotated dataset of 3,174 relations between 361 acupoints based on the WHO Standard for Acupuncture Point Locations.
  • To support the development of accurate, standardized knowledge systems for acupuncture training and clinical practice.

Proposed method

  • Constructed a dataset of 3,174 annotated relations between 361 acupoints from the WHO Standard Acupuncture Point Locations in the Western Pacific Region.
  • Defined five relation types: 'direction_of', 'distance_of', 'part_of', 'near_acupoint', and 'located_near'.
  • Trained and evaluated five models: BioBERT, LSTM, pre-trained GPT-3.5, fine-tuned GPT-3.5, and pre-trained GPT-4 on the relation extraction task.
  • Used micro-average precision, recall, and F1 scores as evaluation metrics for all relation types.
  • Applied few-shot prompting and few-shot few-shot fine-tuning techniques to optimize LLM performance.
  • Employed zero-shot and few-shot prompting strategies to assess zero-shot generalization capability of LLMs.

Experimental results

Research questions

  • RQ1How do fine-tuned and pre-trained LLMs compare to traditional deep learning models (BioBERT and LSTM) in extracting acupoint location relations?
  • RQ2What is the impact of fine-tuning on GPT-3.5’s performance in extracting anatomical relations from acupuncture texts?
  • RQ3Can LLMs like GPT-4 generalize effectively to relation extraction in traditional medicine without fine-tuning?
  • RQ4Which relation types are most challenging for LLMs to extract accurately, and why?
  • RQ5To what extent do pretraining and fine-tuning improve the F1 score of LLMs on this specialized biomedical NLP task?

Key findings

  • Fine-tuned GPT-3.5 achieved the highest micro-average F1 score of 0.92 across all relation types, significantly outperforming BioBERT, LSTM, and both pre-trained GPT models.
  • Pre-trained GPT-3.5 achieved a micro-average F1 score of 0.85, demonstrating strong zero-shot performance but falling short of fine-tuned GPT-3.5.
  • GPT-4, when used in the pre-trained setting, achieved a micro-average F1 score of 0.88, indicating strong generalization but still underperforming fine-tuned GPT-3.5.
  • BioBERT and LSTM models achieved lower F1 scores, with BioBERT at 0.78 and LSTM at 0.72, indicating limited performance on this specialized task.
  • The 'near_acupoint' and 'located_near' relations were the most challenging for all models, suggesting spatial reasoning complexity in textual descriptions.
  • Fine-tuning significantly improved GPT-3.5’s performance, particularly on rare and complex relation types, highlighting its value in domain-specific adaptation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.