TL;DR
This paper introduces DoctorFLAN, a novel, large-scale Chinese medical dataset and benchmark designed to train and evaluate Large Language Models (LLMs) as doctor assistants rather than direct patient interfaces. By focusing on real-world clinical workflows and tasks, they demonstrate that this doctor-centric approach significantly improves LLM performance in medical contexts, paving the way for safer and more effective AI integration in healthcare.
What Problem Does This Paper Address?
The rapid advancement of LLMs has opened doors for their application in healthcare, particularly for tasks like providing clinical guidance. However, directly deploying these models to interact with patients poses significant safety risks due to their limited domain expertise and potential for generating inaccurate advice. This paper argues that a safer and more practical direction is to reposition LLMs as clinical assistants that collaborate with experienced physicians. Doctors routinely handle complex information processing, and LLMs could alleviate their workload by assisting with tasks like summarizing patient records, providing clinical decision support, and educating patients. The challenge lies in the current gap between LLM capabilities and the intricate demands of real-world medical practice. Existing medical LLMs are often trained on patient-centric datasets, which are limited in scope and don't cover the diverse nature of clinical tasks. Furthermore, current benchmarks often rely on simplified formats (like multiple-choice questions) that fail to assess the nuanced, comprehensive responses required in a doctor's workflow.
Methods
The authors propose a doctor-centric approach to LLM development, focusing on aligning LLMs with physician workflows. This involves:
- Workflow-Aligned Task Identification: A two-stage inspiration-feedback survey, involving dozens of professional doctors, was conducted to identify 22 key tasks across four phases of a clinical workflow: Pre-Diagnosis, Diagnosis, Treatment, and Post-Treatment. This ensures the tasks reflect real-world needs.
- DoctorFLAN Dataset Construction: A large-scale Chinese medical dataset, DoctorFLAN, was created, comprising approximately 92,000 Question-Answer (Q&A) instances. This dataset was built using a reference-enhanced refinement process, involving GPT-4 polishing and manual verification by medical professionals to ensure high-quality, expert responses.
- DotaBench Benchmark Creation: To evaluate LLMs in more realistic, multi-turn conversational settings, DotaBench was constructed. This benchmark simulates doctor-patient dialogues and assesses the LLM's ability to handle sequential, contextually dependent inquiries.
- Model Training and Evaluation: Two open-source LLMs (Yi-6B and Baichuan2-7B-Base) were fine-tuned using a mixed corpus that included DoctorFLAN data, general instruction data, and medical QA pairs. The performance of these models, along with other popular LLMs, was evaluated using both automatic metrics (GPT-4 as a judge) and manual human evaluations on DoctorFLAN-test and DotaBench.
Datasets
- DoctorFLAN: A newly introduced, large-scale Chinese medical dataset containing ~92,000 Q&A instances across 22 clinical tasks and 27 specialties. It is designed for doctor-assistant applications.
- DoctorFLAN-test: A subset of DoctorFLAN used for evaluation, consisting of 550 single-turn Q&A items.
- DotaBench: A newly introduced benchmark for evaluating multi-turn dialogues, containing 74 instances of 3-turn conversations, derived from the CMB-Clin dataset.
- CMB-Clin: Used as a source corpus for DotaBench, it's a multi-round question-answering dataset from real medical records.
- Other datasets used for training: Evol-instruct, ShareGPT, and CMExam.
Key Insights and Ideas
- Shifting Focus from Patient to Doctor: The core idea is that LLMs are more safely and effectively deployed as collaborators with physicians, rather than as direct patient interfaces. This "doctor-centric" approach addresses safety concerns and leverages the physician's expertise.
- Workflow Alignment is Crucial: Simply having medical knowledge isn't enough. LLMs need to be trained on tasks that mirror actual clinical workflows to be truly useful assistants. The 22 identified tasks cover the entire patient journey.
- Multi-turn Dialogue Matters: Real clinical interactions are rarely single-turn. DotaBench highlights the importance of evaluating LLMs in conversational settings that mimic how doctors interact with information and colleagues.
- Fine-tuning on Doctor-Centric Data Yields Significant Gains: The results show that fine-tuning LLMs on DoctorFLAN substantially improves their performance on doctor-assistance tasks, even surpassing some proprietary models.
- Generalization vs. Specialization Trade-off: The paper hints that excessive specialization without broad adaptability can be detrimental, as seen with DISC-MedLLM underperforming its general counterpart on DoctorFLAN tasks.
Key Results
- DoctorFLAN Improves LLM Performance: DotaGPT variants, fine-tuned on DoctorFLAN, showed significant performance improvements over their base models on both DoctorFLAN-test and DotaBench. For example, DotaGPT Baichuan2-7B improved by 25.2% on DotaBench.
- DotaGPT Outperforms Competitors: DotaGPT models demonstrated strong performance, often surpassing comparable-sized models and even larger proprietary models like GPT-4 on certain benchmarks.
- Human and Automatic Evaluations Align: A strong correlation (Pearson r = 0.82) was found between human and automatic evaluation scores, validating the evaluation methodology.
- Diagnosis and Treatment Phases are Challenging: Existing models performed poorly in the Diagnosis and Treatment phases compared to Pre-Diagnosis and Post-Treatment, likely due to the higher medical knowledge requirements and lack of relevant training data. DotaGPT showed significant improvements in these phases.
- Larger Models Generally Perform Better: Consistent with general LLM trends, larger models (e.g., Yi-34B-Chat) generally outperformed their smaller counterparts.
Limitations and Future Work
- Language Dependency: DoctorFLAN is currently only available in Chinese. While the methodology for creating it can be applied universally, the current model's performance in other languages is not guaranteed. Future work could involve expanding to other languages.
- Data Privacy and Security: The authors acknowledge the paramount importance of privacy and security in medical applications and state that the datasets used are publicly available or derived from open sources.
- Model Misuse: The authors express a commitment to strictly regulating the model's use to prevent misuse, acknowledging potential issues with the credibility of generated content.
- Continuous Updates and Self-Correction: Doctors expressed a need for continuously updated knowledge bases and self-correction mechanisms in LLMs to improve reliability and accuracy. This suggests future work in dynamic knowledge updating and robust error detection.
- Broader Benchmark Evaluation: While DotaGPT performed well on established medical benchmarks, further evaluation on a wider range of benchmarks is suggested.
Summary updated