배경: 다양한 종류의 Bidirectional encoder representations from transformers (BERT) 모델들이 언어 추론, 문서 분류, 정보 추출, 지식 추론과 같은 의료 딥러닝 솔루션을 위해서 연구 되었다. 그러나 기존의 ...

http://chineseinput.net/에서 pinyin(병음)방식으로 중국어를 변환할 수 있습니다.
변환된 중국어를 복사하여 사용하시면 됩니다.
https://www.riss.kr/link?id=T17242060
서울 : 서울대학교 대학원, 2025
학위논문(박사) -- 서울대학교 대학원 , 협동과정 바이오엔지니어링전공 , 2025. 2
2025
한국어
자연어처리 ; 트랜스포머 ; BERT ; 모델 성능 평가 방법론 ; 다운스트림
660.6
서울
xiii, 160 ; 26 cm
지도교수: 최진욱
I804:11032-000000186753
0
상세조회0
다운로드배경: 다양한 종류의 Bidirectional encoder representations from transformers (BERT) 모델들이 언어 추론, 문서 분류, 정보 추출, 지식 추론과 같은 의료 딥러닝 솔루션을 위해서 연구 되었다. 그러나 기존의 ...
배경: 다양한 종류의 Bidirectional encoder representations from transformers (BERT) 모델들이 언어 추론, 문서 분류, 정보 추출, 지식 추론과 같은 의료 딥러닝 솔루션을 위해서 연구 되었다. 그러나 기존의 대부분의 연구들은 영문 문서, 의료 이외의 분야의 문서들로 평가하였다. 영문 중심의 자연어처리 연구 추세와 반대로 한국어 임상 자연어처리 분야는 모델을 평가하는 방법론에 대한 심도깊은 연구가 부족하였다.
목적: 본 연구의 목적은 한국어 임상 기록지의 문맥을 가장 잘 이해할 수 있는 BERT 모델을 평가하는 방법론을 제안하는 것이다.
방법: 이를 위해서 기존의 자연어처리 연구 이론에 입각하여 다섯 종류의 평가 방법론을 제안하였다. 모델이 사전 학습한 분야에 따라 한국어 임상 문맥에 대한 이해도가 다를 것이라는 실험 가설을 세우고 다섯 종류의 BERT 모델을 선택하고 각 평가방법론 내에서 모델들의 성능을 비교하였다. 영문 분야를 사전학습 한 BERT-base, 영문 의생명분야를 사전학습 한 BioBERT, 임상기록지를 사전 학습한 Clinical BERT, 한국어 분야를 사전 학습한 KoBERT, 그리고 다국어를 사전학습 한 Multilingual BERT (M-BERT)를 비교 대상으로 선택하였다. 모델을 평가하기에 앞서서 선택한 모델들의 한국어 임상 문서에 대한 이해력을 증진시키기 위해서 서울대학교병원 159,460명의 외래경과지를 사전학습 하였다. 이후 자연어 추론, 문서 분류, 문맥 이해, 시간선 추론, 지식 추론 분야에서 BERT 모델들을 평가하기 위한 미세조정 작업을 제안하였다. 자연어 추론 능력을 평가하기 위해서 두 텍스트를 모델에게 입력 후 같은 환자의 것인지 분류하도록 하였다. 문서 분류 능력을 평가하기 위해서 모델이 문서의 진료과를 분류할 수 있는지 평가하였다. 문맥 이해 능력을 평가하기 위해서 환자기록의 평가(assessment) 문단의 범위를 찾을 수 있는지 평가하였다. 시간선 추론 능력 평가에서는 네 개의 환자기록 중 가장 마지막 문서를 찾을 수 있는지 평가하였다. 지식 추론 능력 평가에서는 주어진 문서의 알맞은 진단명을 추론할 수 있는지 평가하였다.
결과: 각 평가방법론을 BERT 모델에 적용했을 때의 성능을 통해서 제안한 평가 방법론의 타당성을 검토하고 한국어 임상기록지에서 BERT 모델의 특성을 발견하였다. 첫째로 방법론의 타당성을 검증하기 위해서 제안한 평가 방법론 내에서 모든 모델들이 너무 높은 성능을 내었는지 검토하였다. 그 결과 모든 모델이 95점 이상을 달성한 문서 분류를 제외하고 모든 평가 방법론에서 모델은 적정 수준의 성능을 내었다. 또한 대부분의 평가방법론 내에서 모델 성능 사이에서 높은 표준 편차를 가졌으며 이는 제안한 평가 방법론들이 적절한 변별력을 가졌음을 시사했다. 이는 최신 대형 디코더 모델인 Mistral 7B에서 적용했을 때도 비슷한 추세를 보였으며 이는 제안한 평가 방법론이 디코더 모델을 평가 할 때도 유효함을 시사하였다. 둘째로는 제안한 평가방법론을 통해 한국어 임상기록지에서 BERT 모델의 특성을 분석하였다. BioBERT, BERT-base는 [CLS] 토큰을 사용한 문서분류 작업에서 가장 효과적으로 동작하였지만 문맥이해, 시간선추론, 지식추론에서 M-BERT가 가장 효과적으로 동작하였다.
결론: 본 연구는 한국어 임상기록지를 사용한 다양한 의료 딥러닝 연구에서 BERT 모델들을 비교하는 방법론을 제안하였다. 또한 디코더 모델에도 적용하여 제안한 평가 방법론을 적용하는 범위의 확장 가능성을 확인하였다. 제안한 평가 방법론들은 향후 의료 분야에서 다양한 자연어처리 모델들을 비교 평가하는데 활용될 수 있을 것이다.
다국어 초록 (Multilingual Abstract)
Background: Various Bidirectional Encoder Representations from Transformers (BERT) models have been studied for medical deep learning solutions such as language inference, document classification, information extraction, and knowledge reasoning. Howev...
Background: Various Bidirectional Encoder Representations from Transformers (BERT) models have been studied for medical deep learning solutions such as language inference, document classification, information extraction, and knowledge reasoning. However, most previous studies have evaluated these models using English texts or documents from non-medical domains. Unlike the English-centric trend in natural language processing (NLP) research, there has been a lack of in-depth studies on methodologies to evaluate models in the Korean clinical NLP domain.
Objective: This study aims to propose a methodology for evaluating BERT models to determine their ability to understand the context of Korean clinical records effectively.
Methods: To achieve this, five evaluation methods were developed based on existing NLP research theories. A hypothesis was established that the models' understanding of Korean clinical contexts would vary depending on their pretraining domain. Five types of BERT models were selected for comparison: BERT-Base pretrained on general English text, BioBERT pretrained on English biomedical literature, Clinical BERT pretrained on clinical records, KoBERT pretrained on general Korean text, and Multilingual BERT (M-BERT) pretrained on multilingual corpora. Before evaluation, the selected models were further pretrained on outpatient records from 159,460 patients at Seoul National University Hospital to enhance their understanding of Korean clinical texts. Subsequently, fine-tuning tasks were devised to evaluate the models across five domains: natural language inference, document classification, context understanding, timeline inference, and knowledge reasoning.
For natural language inference, the models were tasked with determining whether two texts belonged to the same patient. Document classification involved evaluating the models’ ability to classify the medical department associated with a document. Context understanding was assessed by identifying the range of the "Assessment" section in patient records. Timeline inference required the models to identify the most recent document from a set of four records, while knowledge reasoning involved inferring the appropriate diagnosis from a given document.
Results: The performance of the BERT models in each evaluation task was analyzed to validate the proposed evaluation methodologies and to discover the characteristics of BERT models in Korean clinical records. First, the validity of the methodologies was confirmed by examining whether the models achieved excessively high performance across all tasks. While all models achieved over 95 points in document classification, the other tasks showed reasonable performance levels. Additionally, most evaluation tasks revealed high standard deviations in model performance, suggesting that the methodologies possess sufficient discriminative power. Similar trends were observed when applying the methodologies to Mistral 7B, a state-of-the-art large decoder model, indicating that the proposed evaluation framework is also applicable to decoder models.
Second, the proposed methodologies were used to analyze the characteristics of BERT models in Korean clinical records. BioBERT and BERT-Base were the most effective in document classification tasks that utilized the [CLS] token. However, M-BERT outperformed other models in context understanding, timeline inference, and knowledge reasoning tasks.
Conclusion: This study proposed methodologies for comparing BERT models in various medical deep learning tasks using Korean clinical records. It also demonstrated the potential for extending the application of these methodologies to decoder models. The proposed evaluation methodologies can serve as a valuable tool for comparing and evaluating various NLP models in the medical domain in future research.
목차 (Table of Contents)