# Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks

Taiyi: 다양한 생의학 과제를 위한 이중 언어 미세 조정 대규모 언어 모델

Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen 외 14명 · arXiv · 2023년 11월 20일

- **연구 문제** 기존 생물의학 LLM은 주로 단일 언어의 질의응답과 대화에 맞춰져 있어, 영어와 중국어의 여러 생물의학 자연어처리 과제에서의 성능은 충분히 검증되지 않았습니다.
- **연구 방법** Taiyi는 Qwen-7B-base를 기반으로 140개 이중언어 데이터셋을 지시 형식으로 바꾼 뒤, 과제를 Type1과 Type2로 나누어 두 단계 지시 fine-tuning을 수행합니다.
- **주요 결과** 두 단계 전략은 단일 단계 전략보다 평균 약 10% 높았고, 13개 과제 세트 중 11개에서 ChatGPT 3.5보다 높은 점수를 보였습니다. 반면 NER, RE, TC에서는 판별형 SOTA 방법보다 평균 약 9% 낮았습니다.

## 연구 문제와 범위

대부분의 기존 생물의학 대형언어모델은 단일 언어의 질의응답과 대화 데이터로 미세조정되어 왔습니다. 그래서 영어와 중국어를 함께 다루는 여러 생물의학 자연어처리 과제에서 얼마나 잘 작동하는지는 충분히 확인되지 않았습니다. Taiyi는 이 공백을 겨냥하여 개체명 인식, 관계 추출, 텍스트 분류, 객관식 질의응답 등 다양한 과제를 하나의 이중언어 모델로 처리하는 것을 목표로 합니다. 논문은 이 목표를 위해 데이터 구축과 학습 전략을 함께 설계합니다.

![Figure 1: Overview of the Taiyi framework. Note that the English in brackets is not part of the input and output; it is the translation of the Chinese](https://refivu.com/papers/4536b22c-3516-43f6-8b78-9618789e506e/figures/figure-3cb12f62ea48a2a21100a56b91727bd9.png?thumb=512)

**Figure 1** . Overview of the Taiyi framework. Note that the English in brackets is not part of the input and output; it is the translation of the Chinese.

[원문](https://arxiv.org/abs/2311.11608v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin · Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 이중언어 지시 데이터 구축

Taiyi는 영어 102개와 중국어 38개, 합계 140개의 생물의학 텍스트 마이닝 데이터셋을 모아 10여 개 과제 유형으로 정리합니다. 데이터는 BigBio와 CBLUE를 주요 출처로 삼고, 이에 포함되지 않은 데이터를 추가로 수집합니다. 서로 다른 형식은 BioNLP 공유 과제의 스키마를 확장한 통일 스키마로 맞춥니다. 이후 각 과제에 대해 대략 15개의 지시 템플릿을 영어와 중국어로 만들어 지시 튜닝 데이터를 구성합니다. 질의응답과 대화 과제는 원래 질문을 입력으로, 답변을 출력으로 사용합니다. 일반 대화 능력과 무해성을 위해 MOSS 지시 데이터도 함께 넣습니다.

![Figure 2: Overview of the dataset collection. In the tree map (left), the entire graph is represented by a large rectangle, representing the 140 bilingual ope…](https://refivu.com/papers/4536b22c-3516-43f6-8b78-9618789e506e/figures/figure-4d6c8f5436604bf268405f0a17cd918b.png?thumb=512)

**Figure 2** . Overview of the dataset collection. In the tree map (left), the entire graph is represented by a large rectangle, representing the 140 bilingual open-source datasets collected. This large rectangle is divided into smaller rectangles of various colors, with each small rectangle representing a specific BioNLP task and listing the names of all datasets related to that task. In the scatter plot (top right), each data point represents a BioNLP task, with its size determined by the number of datasets associated with that task. The bar chart (bottom right) presents the scale of related datasets for different tasks, further illustrating the number of datasets for each task.

[원문](https://arxiv.org/abs/2311.11608v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin · Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 두 단계 지시 fine-tuning의 작동

기반 모델은 Qwen-7B-base입니다. 학습 데이터의 과제를 생성형 성격이 약한 Type1과 생성형 성격이 강한 Type2로 나눕니다. Type1은 정보 추출, 텍스트 분류, 텍스트 쌍, 기계 번역 등이고, Type2는 생물의학 질의응답, 다중 턴 대화, 일반 대화입니다. 1단계에서는 Type1 데이터, 약 340,000개 인스턴스만으로 Qlora 기반 지시 fine-tuning을 수행하고 검증 결과로 체크포인트를 고릅니다. 2단계에서는 1단계 데이터를 회고용으로 유지하면서 Type2 데이터를 섞어 증분 학습합니다. 단일 단계 방식이 여러 과제를 한꺼번에 학습하면 과제 간 간섭으로 일부 어려운 과제가 수렴하지 못한다고 저자들은 설명합니다.

![Figure 3: The two-stage training process of Taiyi. Tasks in Type1 are in the blue background, and task2 in Type2 are in the yellow background](https://refivu.com/papers/4536b22c-3516-43f6-8b78-9618789e506e/figures/figure-c845a87a741b7829a9f6ce7577891dd7.png?thumb=512)

**Figure 3** . The two-stage training process of Taiyi. Tasks in Type1 are in the blue background, and task2 in Type2 are in the yellow background.

[원문](https://arxiv.org/abs/2311.11608v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin · Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 두 단계 전략의 검증

두 단계 전략의 효과는 네 가지 과제, 즉 NER, RE, TC, 객관식 질의응답에서 확인되었습니다. 각 테스트 세트에서 무작위로 200개 인스턴스를 샘플링해 평가했습니다. 비교 기준은 네 과제의 데이터를 모두 합쳐 기반 모델을 한 번에 미세조정한 단일 단계 모델입니다. 이 비교에서 두 단계 전략은 모든 영어와 중국어 과제에서 단일 단계보다 나았고 평균 약 10%의 지표 향상을 보였습니다. 저자들은 이 차이를 과제마다 난이도와 데이터 크기가 달라 한꺼번에 수렴하기 어렵다는 점으로 해석합니다.

![Figure 4: Performances of models using different fine-tuning strategies. One-stage denotes the model fine-tuned by combining all task datasets. Two-stage deno…](https://refivu.com/papers/4536b22c-3516-43f6-8b78-9618789e506e/figures/figure-faccc96cb6dcf60eb0626ff1e5542bae.png?thumb=512)

**Figure 4** . Performances of models using different fine-tuning strategies. One-stage denotes the model fine-tuned by combining all task datasets. Two-stage denotes the model fine-tuned by our two-stage strategy. (A) the results on the NER tasks. (B) the results on the RE tasks. (C) the results on the TC tasks. (D) the results on the QA-mc tasks.

[원문](https://arxiv.org/abs/2311.11608v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin · Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 13개 테스트 세트 결과와 기존 모델 비교

전체 테스트 세트에서 Taiyi는 13개 과제 세트에 걸쳐 ChatGPT 3.5 및 SOTA 방법과 비교되었습니다. Taiyi는 13개 중 11개 데이터셋에서 ChatGPT 3.5보다 높은 점수를 보였고, 예외는 두 개의 영어 질의응답 데이터셋입니다. 중국어 질의응답에서는 ChatGPT 3.5보다 높았으나, 영어 질의응답의 낮은 결과는 풍부한 도메인 지식이 pre-training 단계에서 얻어지며 지시 미세조정만으로는 보완하기 어렵다는 해석으로 이어집니다. 다만 NER, RE, TC에서는 판별형 SOTA 방법이 더 높아 Taiyi의 평균이 약 9% 낮습니다. CMeEE, CMeIE, KUAKE\_QIC의 Taiyi 점수는 공식 테스트 세트가 공개되지 않아 개발 세트에서 보고되었으며, ChatGPT 3.5 점수는 발표된 논문 결과이거나 같은 프롬프트로 얻은 결과입니다.

## 학습하지 않은 새 과제의 NER 평가

Taiyi가 fine-tuning 데이터에 없던 과제에도 적용될 수 있는지를 보기 위해 BioRED 코퍼스를 보류 데이터로 사용했습니다. 이 평가는 BioRED의 NER에 초점을 둡니다. Taiyi는 전체 F1 0.608을 얻었고, 발표된 ChatGPT의 BioRED NER F1 0.391보다 높았습니다. 개체 유형별로 보면 화학물질, 질병, 유전자, 변이 개체는 다른 관련 데이터셋이 SFT 단계에 포함되어 있어 상대적으로 잘 인식되었습니다. 반면 학습에 없던 종과 세포주 개체도 일부 추출되었지만 F1은 각각 0.395와 0.310으로 낮았습니다.

## 환각과 지식 한계

저자들은 Taiyi가 환각, 편향, 상식 부족, 생물의학 지식 부족 같은 LLM의 공통 한계를 가진다고 밝힙니다. 존재하지 않는 항생제 Octacyclines에 대해 Taiyi는 그럴듯한 구조 설명을 생성했습니다. 이는 임상에서 중대한 오류로 이어질 수 있습니다. 영어 질의응답의 약점도 같은 맥락에서 해석되며, 지식 보강과 해석 가능성 개선은 향후 과제로 남습니다. 또한 이 공개 사례는 정성적 관찰이며 체계적 안전성 평가로 확장되지 않았습니다.

## 논문 정보

- **저자**: Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 11월 20일
- **등록일**: 2026년 11월 6일
- **수정일**: 2023년 12월 19일
- **버전**: v2
- **arXiv**: 2311.11608
- **DOI**: 10.1093/jamia/ocae037
- **분류**: cs.CL · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2311.11608v2) · [원문 PDF ↗](https://arxiv.org/pdf/2311.11608v2)

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

## 초록

Objective: Most existing fine-tuned biomedical large language models (LLMs) focus on enhancing performance in monolingual biomedical question answering and conversation tasks. To investigate the effectiveness of the fine-tuned LLMs on diverse biomedical NLP tasks in different languages, We present Taiyi, a bilingual fine-tuned LLM for diverse biomedical tasks. Materials and Methods: We first curated a comprehensive collection of 140 existing biomedical text mining datasets (102 English and 38 Chinese datasets) across over 10 task types. Subsequently, a two-stage strategy is proposed for supervised fine-tuning to optimize the model performance across varied tasks. Results: Experimental results on 13 test sets covering named entity recognition, relation extraction, text classification, question answering tasks demonstrate that Taiyi achieves superior performance compared to general LLMs. The case study involving additional biomedical NLP tasks further shows Taiyi's considerable potential for bilingual biomedical multi-tasking. Conclusion: Leveraging rich high-quality biomedical corpora and developing effective fine-tuning strategies can significantly improve the performance of LLMs within the biomedical domain. Taiyi shows the bilingual multi-tasking capability through supervised fine-tuning. However, those tasks such as information extraction that are not generation tasks in nature remain challenging for LLM-based generative approaches, and they still underperform the conventional discriminative approaches of smaller language models.

## 원문 인용

Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin (2023). Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks. arXiv:2311.11608v2. https://doi.org/10.1093/jamia/ocae037

**BibTeX**

```
@article{luo2023taiyi,
  title = {{Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks}},
  author = {Ling Luo and Jinzhong Ning and Yingwen Zhao and Zhijun Wang and Zeyuan Ding and Peng Chen and Weiru Fu and Qinyu Han and Guangtao Xu and Yunzhi Qiu and Dinghao Pan and Jiru Li and Hao Li and Wenduo Feng and Senbo Tu and Yuqi Liu and Zhihao Yang and Jian Wang and Yuanyuan Sun and Hongfei Lin},
  year = {2023},
  eprint = {2311.11608},
  archivePrefix = {arXiv},
  doi = {10.1093/jamia/ocae037},
  url = {https://arxiv.org/abs/2311.11608v2}
}
```

## 이 논문의 용어

- [accuracy](https://refivu.com/terms/1995c0cd6282-accuracy)
- [QLoRA](https://refivu.com/terms/242a88ee7f8c-qlora)
- [PubMedQA](https://refivu.com/terms/238ad55bc6c5-pubmedqa)
- [Micro F1-Score](https://refivu.com/terms/b0de24fb7199-micro-f1-score)
- [BC5CDR](https://refivu.com/terms/4fa201503bc9-bc5cdr)
- [MedQA-USMLE](https://refivu.com/terms/9e6ff89f1c1c-medqa-usmle)
- [Qwen-7B](https://refivu.com/terms/ac916ade8709-qwen-7b)

## 다른 논문 해설

- [Why Does Surprisal From Larger Transformer-Based Language Models Provide a Poorer Fit to Human Reading Times?](https://refivu.com/papers/9ff34e61-4b51-4fd6-9353-f3db08a5c625-why-does-surprisal-from-larger-transformer-based-language.md)
- [Learning to Reason over Scene Graphs: A Case Study of Finetuning GPT-2 into a Robot Language Model for Grounded Task Planning](https://refivu.com/papers/f788d4b2-7f45-4450-b318-2f8046b46bc5-learning-to-reason-over-scene-graphs-a-case.md)
- [Towards Explainable Traffic Flow Prediction with Large Language Models](https://refivu.com/papers/a1790529-1927-4f72-96f9-bcd1eecf758b-towards-explainable-traffic-flow-prediction-with-large.md)
- [Ontology Matching with Large Language Models and Prioritized Depth-First Search](https://refivu.com/papers/ad18c5c0-3ad7-4e73-b659-01c7f9525835-ontology-matching-with-large-language-models-and-prioritized.md)
- [Integrating Graphs with Large Language Models: Methods and Prospects](https://refivu.com/papers/372d576d-c9d0-419b-b397-5ae76d859fed-integrating-graphs-with-large-language-models-methods-and.md)
- [Scalable, Validated Code Translation of Entire Projects using Large Language Models](https://refivu.com/papers/4f10c425-dee8-4ad8-893a-a2e6e28e3dd2-scalable-validated-code-translation-of-entire-projects-using.md)
- [A Review on Sound Source Localization in Robotics: Focusing on Deep Learning Methods](https://refivu.com/papers/b78850b5-5503-46c3-b5ac-bf6c54547008-a-review-on-sound-source-localization-in-robotics.md)
- [A Survey on Deep Learning for Software Engineering](https://refivu.com/papers/12b0bd7a-50c9-44c8-a1b8-2cc7fb636fd1-a-survey-on-deep-learning-for-software-engineering.md)
- [SOUP-GAN: Super-Resolution MRI Using Generative Adversarial Networks](https://refivu.com/papers/b11c9feb-aefc-44b2-9ddd-58fceadd70e4-soup-gan-super-resolution-mri-using-generative-adversarial.md)
- [Offline Reinforcement Learning for Safer Blood Glucose Control in People with Type 1 Diabetes](https://refivu.com/papers/e7f4edeb-0036-430a-b4bf-3e3ab3381a56-offline-reinforcement-learning-for-safer-blood-glucose.md)
- [Graph Neural Networks for Text Classification: A Survey](https://refivu.com/papers/f19b9da2-72aa-46a1-a0bc-7dd436867b5c-graph-neural-networks-for-text-classification-a-survey.md)
- [Quori: A Community-Informed Design of a Socially Interactive Humanoid Robot](https://refivu.com/papers/18fcede1-f0d4-42cb-add3-56f1a741232f-quori-a-community-informed-design-of-a-socially.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/4536b22c-3516-43f6-8b78-9618789e506e-taiyi-a-bilingual-fine-tuned-large-language-model)
