Skip to main content
QUICK REVIEW

[논문 리뷰] Information Extraction from Clinical Notes: Are We Ready to Switch to Large Language Models?

Yan Hu, Xu Zuo|arXiv (Cornell University)|2024. 11. 15.
Topic ModelingComputer Science인용 수 7
한 줄 요약

이 논문은 다기관 데이터셋에서 임상 NER 및 RE에 대한 instruction-tuned LLaMA 기반 대형 언어 모델과 BiomedBERT를 비교하여, 저자원 및 미관측 설정에서 LLM이 BERT보다 우수할 수 있지만 더 많은 자원과 느린 처리속도가 요구된다는 것을 보여준다.

ABSTRACT

Backgrounds: Information extraction (IE) is critical in clinical natural language processing (NLP). While large language models (LLMs) excel on generative tasks, their performance on extractive tasks remains debated. Methods: We investigated Named Entity Recognition (NER) and Relation Extraction (RE) using 1,588 clinical notes from four sources (UT Physicians, MTSamples, MIMIC-III, and i2b2). We developed an annotated corpus covering 4 clinical entities and 16 modifiers, and compared instruction-tuned LLaMA-2 and LLaMA-3 against BERT in terms of performance, generalizability, computational resources, and throughput to BERT. Results: LLaMA models outperformed BERT across datasets. With sufficient training data, LLaMA showed modest improvements (1% on NER, 1.5-3.7% on RE); improvements were larger with limited training data. On unseen i2b2 data, LLaMA-3-70B outperformed BERT by 7% (F1) on NER and 4% on RE. However, LLaMA models required more computing resources and ran up to 28 times slower. We implemented "Kiwi," a clinical IE package featuring both models, available at https://kiwi.clinicalnlp.org/. Conclusion: This study is among the first to develop and evaluate a comprehensive clinical IE system using open-source LLMs. Results indicate that LLaMA models outperform BERT for clinical NER and RE but with higher computational costs and lower throughputs. These findings highlight that choosing between LLMs and traditional deep learning methods for clinical IE applications should remain task-specific, taking into account both performance metrics and practical considerations such as available computing resources and the intended use case scenarios.

연구 동기 및 목표

  • 의료 NER 및 RE에 대한 instruction-tuned LLaMA-2/LLaMA-3의 성능을 다양한 데이터 소스에서 BiomedBERT와 비교 평가한다.
  • 주요 엔티티와 수식을 포함하는 다기관 임상 IE 코퍼스를 포괄적으로 생성한다.
  • 일반화성, 처리량, 에너지 소비, 메모리 요구사항을 평가한다.
  • 두 모델 계열을 통합하는 오픈 소스 임상 IE 파이프라인(Kiwi)을 제공한다.

제안 방법

  • 4개 데이터셋 임상 IE 코퍼스(UTP, MTSamples, MIMIC-III, i2b2)를 구성하고 4개의 주요 엔티티 및 16개의 수식자를 포함한다.
  • PEFT(LoRA) 및 4비트 양자화를 사용하여 LLaMA-2-chat 및 LLaMA-3-instruct를 Instruction-tune하고, NER 및 RE에서 BiomedBERT와 비교한다.
  • NER 및 RE에 대해统一된 span 기반 지시 형식을 사용한다.
  • 정확 및 느슨한 매칭 기준과 더불어 다기관 일반화 및 자원 고려(GPU 시간, 메모리, 에너지)를 평가한다.
  • LLaMA 기반 모델과 BiomedBERT 기반 모델을 결합한 오픈 소스 IE 파이프라인 Kiwi를 제공한다.

실험 결과

연구 질문

  • RQ1instruction-tuned LLaMA 모델이 다기관 데이터 소스에서 임상 NER 및 RE에 대해 BiomedBERT를 능가하는가?
  • RQ2미관측 기관/데이터셋에 대한 일반화 성능은 어떠한가?
  • RQ3임상 IE에서 LLM과 BERT 비교 시 계산 비용, 처리량, 에너지 소모는 어느 정도인가?
  • RQ4두 모델 계열을 아우르는 실용 배치를 위한 단일 파이프라인(Kiwi)이 실용적으로 가능한가?

주요 결과

  • LLaMA 계열 모델은 데이터셋에 대해 NER/RE의 정확한 점수에서 BiomedBERT를 지속적으로 능가하며, 특히 저자원 및 미관측 설정에서 우수하다.
  • 데이터가 충분할 때 LLaMA의 이득은 크지 않으며(NER 약 1%, RE 약 1.5–3.7%), 반면 저자원 설정에서는 이득이 더 크다(NER 최대 약 4.5%, RE 최대 약 12.5%).
  • 미관측 i2b2 데이터에서 LLaMA-3-70B는 BiomedBERT 대비 NER에서 F1이 7% 이상, RE에서 약 4% 개선한다.
  • LLaMA 계열 모델은 BiomedBERT에 비해 메모리, GPU 시간, 에너지가 상당히 더 많이 필요하며 추론 속도도 느리다(일부 경우 최대 28배 느림).
  • Kiwi는 LLaMA 기반과 BiomedBERT 기반 옵션을 모두 포함하는 오픈 소스 Docker 기반 IE 파이프라인을 실용적으로 제공한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.