NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ChiMed-GPT: A Chinese Medical Large Language Model with Full Training Regime and Better Alignment to Human Preferences

Yuanhe Tian, Ruyi Gan, Yan Song, Jiaxing Zhang, Yongdong Zhang

Abstract

Recently, the increasing demand for superior medical services has highlighted the discrepancies in the medical infrastructure. With big data, especially texts, forming the foundation of medical services, there is an exigent need for effective natural language processing (NLP) solutions tailored to the healthcare domain. Conventional approaches leveraging pre-trained models present promising results in this domain and current large language models (LLMs) offer advanced foundation for medical text processing. However, most medical LLMs are trained only with supervised fine-tuning (SFT), even though it efficiently empowers LLMs to understand and respond to medical instructions but is ineffective in learning domain knowledge and aligning with human preference. In this work, we propose ChiMed-GPT, a new benchmark LLM designed explicitly for Chinese medical domain, and undergoes a comprehensive training regime with pre-training, SFT, and RLHF. Evaluations on tasks including information extraction, question answering, and dialogue generation demonstrate ChiMed-GPT’s superior performance over general domain LLMs. Furthermore, we analyze possible biases through prompting ChiMed-GPT to perform attitude scales regarding discrimination of patients, so as to contribute to further responsible development of LLMs in the medical domain.

Introduction

While general-purpose Large Language Models (LLMs) like GPT-4 have demonstrated remarkable capabilities, they often encounter significant hurdles in specialized domains such as medicine. These models frequently lack deep clinical knowledge, provide overly generic advice, or fail to adhere to the professional communication standards required in doctor-patient interactions.

Existing medical LLMs often attempt to bridge this gap using only Supervised Fine-Tuning (SFT). However, SFT alone is typically insufficient for deep knowledge injection or for aligning a model's behavior with human values and clinical ethics. Additionally, many current models are limited by short context windows (often 2,048 tokens), which prevents them from processing extensive medical records or maintaining coherence in complex, multi-turn dialogues. ChiMed-GPT addresses these limitations through a comprehensive training regime and extended context support.

Methods

ChiMed-GPT is built upon the Ziya-13B-v2 foundation. The researchers implemented a "full training regime" that encompasses three distinct stages to ensure both domain expertise and human alignment:

  1. Continual Pre-training: The model was first exposed to 214 million tokens of raw medical text, including encyclopedias and textbooks, to establish a robust foundation of medical knowledge.
  2. Supervised Fine-Tuning (SFT): Following pre-training, the model was fine-tuned on over 1 million high-quality medical QA pairs and dialogues. This stage included a specialized Safety-Prompts dataset (100k instances) to train the model to recognize and refuse harmful or unethical instructions.
  3. RLHF via Rejection Sampling: To align the model with human preferences, a reward model was trained. Unlike standard binary preference models, this approach used data augmentation to rank responses from various sources (doctors, GPT-4, GPT-3.5). Rejection sampling was then used to fine-tune ChiMed-GPT on the highest-ranked outputs.
The ChiMed-GPT training pipeline, including Pre-training, SFT, and RLHF stages.

Furthermore, the model's context length was extended to 4,096 tokens, doubling the capacity of many existing medical LLMs and enabling better handling of long-form clinical data.

Key Results

ChiMed-GPT demonstrated state-of-the-art performance across a variety of medical benchmarks, often rivaling or exceeding the performance of general-domain giants like GPT-4.

Medical Question Answering and Knowledge

As shown in the evaluation results, ChiMed-GPT achieved significant leads in medical knowledge benchmarks. It topped the medical subsets of C-Eval (68.29 Acc) and CMMLU (52.92 Acc), outperforming other specialized Chinese medical models such as Taiyi and MedicalGPT.

Performance comparison of ChiMed-GPT against general and medical LLMs on C-Eval, CMMLU, MedQA, and ChiMed benchmarks.

Information Extraction and Dialogue

In Information Extraction (NER) tasks, ChiMed-GPT achieved F1 scores of 40.82 on CCKS-2019 and 41.04 on ChiMST, slightly surpassing GPT-4. In multi-turn dialogue, the model showed a substantial lead, achieving a ROUGE-L of 42.16 on the MC dataset, compared to GPT-4’s 17.14.

Bias and Safety

Beyond technical performance, ChiMed-GPT was evaluated for social bias using the CAMI and MICA scales. It recorded the lowest bias scores among tested models, suggesting that the inclusion of safety prompts and RLHF effectively mitigated discriminatory tendencies regarding sensitive medical topics like mental illness.

Discussion and Conclusion

The development of ChiMed-GPT highlights that SFT is necessary but not sufficient for creating high-quality medical AI. While SFT helps the model follow instructions, RLHF is critical for ensuring the model "acts" like a medical professional—prioritizing accuracy, empathy, and safety.

Despite these advancements, the authors note that 4,096 tokens may still be insufficient for extremely long clinical histories, and scaling the model beyond 13B parameters could further enhance reasoning. ChiMed-GPT serves as a powerful research tool, though the authors emphasize the need for continued clinical validation before real-world deployment in medical decision-making.

Summary updated

BibTeX
@inproceedings{tian2024chimed,
  author = {Yuanhe Tian and Ruyi Gan and Yan Song and Jiaxing Zhang and Yongdong Zhang},
  title = {{ChiMed-GPT: A Chinese Medical Large Language Model with Full Training Regime and Better Alignment to Human Preferences}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=fzDEP9RieS},
}
Figure