프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks

작은 언어 모델은 의학 교과서로부터 향상된 추론 능력을 학습한다

  • 연구 문제 의료 질문에 답하는 소형 오픈소스 모델은 다단계 추론이 약하며, 이 논문은 교과서 기반 CoT 데이터로 이를 보완할 수 있는지 검증합니다.
  • 연구 방법 GPT-4로 MedQA 문항의 단계별 설명과 18개 교과서 청크 기반 합성 문항을 만들어 Mistral-7B와 LLaMA-3 계열을 미세조정합니다.
  • 주요 결과 Meerkat-70B는 MedQA 앙상블 85.8%로 GPT-4보다 4.4%p 높았고, CoT와 교과서 데이터는 각각 평균 MedQA 정확도를 7.5%와 5.1% 높였다고 보고됩니다.

소형 모델의 의료 추론 한계

의료 질문에 답하는 대규모 상용 언어 모델은 높은 정확도를 보였지만, 폐쇄형 API로 환자 데이터를 주고받아야 하므로 개인정보와 보안 문제가 생깁니다. 이 때문에 병원 내부 서버에서 돌릴 수 있는 오픈소스 모델이 필요하지만, 파라미터가 작은 오픈소스 모델은 여러 단계를 거치는 추론 능력이 부족합니다. 이 논문은 이 공백을 메우기 위해 교과서에서 얻은 추론 데이터로 소형 모델을 학습시킬 수 있는지 묻습니다. 연구 범위는 7B에서 70B 규모의 Meerkat 모델 계열과, 여섯 개 객관식 벤치마크, NEJM 사례 도전, K-QA 장문 응답 평가입니다.

GPT-4 기반 CoT 데이터 구축

학습 데이터의 출발점은 MedQA 학습 문항에 대해 GPT-4가 단계별 설명과 최종 답을 생성하도록 한 CoT 데이터입니다. 출력 형식이 맞고 예측 정답이 원래 정답과 일치하는 문항만 남겨 10K 중 9.3K 문항을 사용합니다. 이어서 18개 영어 의료 교과서를 최대 4K, 8K, 12K 문자 길이의 중첩 청크로 나누고, 각 청크와 MedQA 예시 세 개를 GPT-4에 넣어 정답, 그럴듯한 오답 선택지, 환자 상황을 포함한 새 문항을 만듭니다. 생성된 문항에도 같은 절차로 CoT를 붙이며, 예측이 원래 답과 다른 항목은 걸러냅니다. 이 과정이 만든 MedBooks-CoT-18은 78K 문항 쌍과 CoT 경로로 구성됩니다.

Figure 5: The overall process of generating synthetic chain-of-thought (CoT) data.
(1) GPT-4 was prompted to provide answers, along with step-by-step explanati…

Fig. 5 : The overall process of generating synthetic chain-of-thought (CoT) data. (1) GPT-4 was prompted to provide answers, along with step-by-step explanations, for USMLE-style questions from MedQA [28], resulting in the creation of 9.3K CoT data. (2) GPT-4 received three randomly sampled questions from MedQA and text chunks from medical textbooks as input to produce synthetic question-answer pairs. (3) GPT-4 was then prompted to generate step-by-step explanations for these gener- ated questions, resulting in an additional 78K CoT data.

원문 · CC BY 4.0 · Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang · Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.
Figure 7: Example of a question and answer generated from a textbook chunk [46].
Spans highlighted in the same color indicate related content. It’s evident tha…

Fig. 7 : Example of a question and answer generated from a textbook chunk [46]. Spans highlighted in the same color indicate related content. It’s evident that GPT-4 heavily relies on the textbook to generate questions, resulting in a significant reduction in hallucination and ensuring that the generated QA examples cover essential content from the textbook. This leads to an overall improvement in quality.

원문 · CC BY 4.0 · Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang · Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

fine-tuning 설정과 학습 범위

Meerkat은 Mistral-7B-v0.1, Meta-Llama-3-8B-Instruct, Meta-Llama-3-70B-Instruct를 기반 모델로 초기화한 뒤 MedQA-CoT, MedBooks-CoT-18과 기존 지시 따르기 데이터를 합친 데이터로 다음 토큰 예측 목적의 fine-tuning을 수행합니다. 기반 모델의 가중치는 초기값에서 출발해 이 학습 과정에서 갱신되는 것으로 서술됩니다. 7B 모델은 세 에폭, 배치 크기 128, 학습률 2e-6으로 학습했고, 8B와 70B는 TPU에서 각각 다른 배치 크기와 학습률을 사용했습니다. 이 설정값은 해당 모델의 학습 조건이며 다른 모델과 공유되는 고정값으로 보지 않아야 합니다.

객관식 벤치마크와 NEJM 사례에서의 성능

Meerkat-7B는 MedQA에서 단일 모델 70.6%, 앙상블 77.1%를 기록했고, Meerkat-8B는 74.0%와 77.3%, Meerkat-70B는 82.6%와 85.8%를 기록했습니다. 70B 모델은 GPT-4보다 각각 1.2%p와 4.4%p 높았습니다. 여섯 벤치마크 평균에서도 70B 모델이 GPT-4를 1.3% 앞섰다고 보고됩니다. 앙상블은 선택지를 무작위로 섞은 뒤 다수결로 답을 정하는 방식입니다. NEJM 사례 도전에서 Meerkat-70B는 38개 사례 중 21개를 정확히 진단했으며, 인간 평균 13.8과 GPT-4의 21.8에 근접했습니다. 인간 점수는 저널 독자 평가에서 얻은 값이므로 전문가 평가와 같은 기준으로 읽지 않아야 합니다.

Figure 1: Overview of recent advances in language models (LM) based on their perfor-
mance on the MedQA benchmark [28]. Large closed-source models have surpass…

Fig. 1 : Overview of recent advances in language models (LM) based on their perfor- mance on the MedQA benchmark [28]. Large closed-source models have surpassed the USMLE passing threshold, reaching a state-of-the-art performance with 91.1% accu- racy [8]. On the other hand, the previous best open-source model, MediTron-70B [21], has achieved a score of only 70.2%, while no 7B-scale models have managed to surpass the USMLE passing threshold (60%). Our new open-source model, Meerkat-7B, has achieved an accuracy of 77.1%, demonstrating notable progress in open-source model development in the medical domain. Additionally, our new 8B and 70B models have further pushed the state-of-the-art performance for open-source medical AIs.

원문 · CC BY 4.0 · Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang · Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

CoT fine-tuning과 교과서 데이터의 기여

절제 실험은 MedQA 학습만 사용한 모델, MedQA-CoT로 학습한 모델, MedQA-CoT에 MedBooks-CoT-18을 더한 모델을 비교합니다. 여섯 모델 평균에서 CoT fine-tuning은 MedQA 정확도를 7.5% 높였고, 교과서 기반 CoT를 추가하면 MedQA-CoT 대비 평균 정확도가 추가로 5.1% 증가했습니다. 이 비교는 같은 기반 모델 계열에서 데이터 구성만 바꾼 결과이며, 여러 기반 모델의 평균으로 보고됩니다. 따라서 이 수치는 Meerkat 최종 설정 전체의 효과가 아니라 MedQA 평가에서 확인된 데이터 구성 효과로 읽어야 합니다.

Figure 3: Performance comparison of six language models trained with three different
datasets on the MedQA benchmark. Mistral-7B, Gemma-7B [19], and LLaMA-3-8B…

Fig. 3 : Performance comparison of six language models trained with three different datasets on the MedQA benchmark. Mistral-7B, Gemma-7B [19], and LLaMA-3-8B performed better than MediTron-7B and BioMistral-7B, despite not being specialized models for biomedicine. “MedQA”: training the model only using question-answer pairs in the MedQA training set. “MedQA-CoT”: training the model using MedQA question-answer pairs and corresponding CoT reasoning data. “MedQA-CoT + MedBooks-CoT-18”: training the model using the MedQA-CoT data and additional CoT data generated from textbooks.

원문 · CC BY 4.0 · Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang · Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

장문 응답과 환각의 한계

K-QA 평가에서 완전성 점수는 Meerkat 7B, 8B, 70B가 각각 70.3, 72.2, 75.4로 나타났습니다. 완전성은 기준 응답의 필수 진술을 응답이 포함하는 비율이며, 사실성은 응답이 기준 진술과 모순되는지를 0 또는 1로 평가합니다. 사실성 점수는 GPT-3.5와 GPT-4보다 낮아, 소형 모델의 환각 문제가 남아 있음을 보여줍니다. 또한 Meerkat은 RLHF 같은 선호 정렬 기법으로 미세조정되지 않아 안전하지 않거나 편향된 응답을 낼 수 있다고 밝혀져 있습니다. 실제 임상 적용 전에는 전문가 검증이 필요하다는 점도 함께 확인해야 합니다.

논문 정보

저자
Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang
학회·저널
arXiv · 프리프린트
최초 공개일
2024년 3월 30일
등록일
2026년 11월 6일
수정일
2024년 6월 30일
버전
v2
arXiv
2404.00376
분류
cs.CL
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

While recent advancements in commercial large language models (LM) have shown promising results in medical tasks, their closed-source nature poses significant privacy and security concerns, hindering their widespread use in the medical field. Despite efforts to create open-source models, their limited parameters often result in insufficient multi-step reasoning capabilities required for solving complex medical problems. To address this, we introduce Meerkat, a new family of medical AI systems ranging from 7 to 70 billion parameters. The models were trained using our new synthetic dataset consisting of high-quality chain-of-thought reasoning paths sourced from 18 medical textbooks, along with diverse instruction-following datasets. Our systems achieved remarkable accuracy across six medical benchmarks, surpassing the previous best models such as MediTron and BioMistral, and GPT-3.5 by a large margin. Notably, Meerkat-7B surpassed the passing threshold of the United States Medical Licensing Examination (USMLE) for the first time for a 7B-parameter model, while Meerkat-70B outperformed GPT-4 by an average of 1.3%. Additionally, Meerkat-70B correctly diagnosed 21 out of 38 complex clinical cases, outperforming humans' 13.8 and closely matching GPT-4's 21.8. Our systems offered more detailed free-form responses to clinical queries compared to existing small models, approaching the performance level of large commercial models. This significantly narrows the performance gap with large LMs, showcasing its effectiveness in addressing complex medical challenges.

원문 인용

Hyunjae Kim, Hyeon Hwang, Jiwoo Lee, Sihyeon Park, Dain Kim, Taewhoo Lee, Chanwoong Yoon, Jiwoong Sohn, Donghee Choi, Jaewoo Kang (2024). Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks. arXiv:2404.00376v2. https://arxiv.org/abs/2404.00376v2

BibTeX
@misc{kim2024small,
  title = {{Small Language Models Learn Enhanced Reasoning Skills from Medical Textbooks}},
  author = {Hyunjae Kim and Hyeon Hwang and Jiwoo Lee and Sihyeon Park and Dain Kim and Taewhoo Lee and Chanwoong Yoon and Jiwoong Sohn and Donghee Choi and Jaewoo Kang},
  year = {2024},
  eprint = {2404.00376},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.00376v2}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입