[论文解读] Relation Extraction Using Large Language Models: A Case Study on Acupuncture Point Locations
本研究评估了大型语言模型(LLMs)如GPT-3.5和GPT-4从世界卫生组织(WHO)标准中的文本描述中提取五类解剖关系(例如,'near_acupoint'、'distance_of')的能力。微调后的GPT-3.5在所有关系类型上实现了0.92的最高微平均F1分数,优于BioBERT、LSTM以及两种预训练GPT模型,证明了LLMs在传统医学结构化知识提取方面的强大潜力。
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.
研究动机与目标
- 评估大型语言模型(LLMs)如GPT-3.5和GPT-4从自然语言描述中提取针灸穴位之间解剖关系的性能。
- 比较LLMs与传统深度学习模型(BioBERT和LSTM)在中医生物医学文本关系抽取中的表现。
- 评估预训练和微调对LLMs在此专业领域性能的影响。
- 基于世界卫生组织(WHO)针灸穴位定位标准,构建一个包含3,174个穴位间关系的结构化标注数据集。
- 支持针灸教学与临床实践中准确、标准化知识系统的开发。
提出的方法
- 从世界卫生组织(WHO)西太平洋区域针灸穴位定位标准中构建了一个包含3,174个标注关系的针灸穴位数据集。
- 定义了五类关系类型:'direction_of'、'distance_of'、'part_of'、'near_acupoint' 和 'located_near'。
- 在关系抽取任务上训练并评估了五种模型:BioBERT、LSTM、预训练GPT-3.5、微调GPT-3.5以及预训练GPT-4。
- 使用微平均精确率、召回率和F1分数作为所有关系类型的评估指标。
- 采用少样本提示(few-shot prompting)和少样本微调(few-shot few-shot fine-tuning)技术以优化LLM性能。
- 采用零样本和少样本提示策略,评估LLM的零样本泛化能力。
实验结果
研究问题
- RQ1微调后的LLM与预训练LLM相比,与传统深度学习模型(BioBERT和LSTM)在提取针灸穴位定位关系方面表现如何?
- RQ2微调对GPT-3.5在从针灸文本中提取解剖关系方面的性能有何影响?
- RQ3像GPT-4这样的LLM在未进行微调的情况下,能否在传统医学关系抽取中有效泛化?
- RQ4哪些关系类型对LLM来说最难准确提取,原因是什么?
- RQ5预训练和微调在多大程度上提升了LLM在此专业生物医学NLP任务上的F1分数?
主要发现
- 微调后的GPT-3.5在所有关系类型上实现了0.92的最高微平均F1分数,显著优于BioBERT、LSTM以及两种预训练GPT模型。
- 预训练GPT-3.5实现了0.85的微平均F1分数,表现出强大的零样本性能,但仍不及微调后的GPT-3.5。
- 在预训练设置下,GPT-4实现了0.88的微平均F1分数,表明其具备强大的泛化能力,但依然逊于微调后的GPT-3.5。
- BioBERT和LSTM模型的F1分数较低,分别为0.78和0.72,表明其在此特定任务上表现有限。
- 'near_acupoint'和'located_near'关系对所有模型而言最具挑战性,表明文本描述中的空间推理具有复杂性。
- 微调显著提升了GPT-3.5的性能,尤其是在罕见和复杂关系类型上,凸显了其在领域特定适配中的价值。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。