[Paper Review] On the Generation of Medical Dialogues for COVID-19
This paper introduces CovidDialog, a bilingual (English and Chinese) medical dialogue dataset for COVID-19 consultations, and develops fine-tuned dialogue generation models using pretrained Transformer, GPT, and BERT-GPT architectures. The models achieve promising performance in generating doctor-like, relevant, and clinically informative responses, demonstrating the feasibility of AI-driven virtual medical consultations during the pandemic.
Under the pandemic of COVID-19, people experiencing COVID19-related symptoms or exposed to risk factors have a pressing need to consult doctors. Due to hospital closure, a lot of consulting services have been moved online. Because of the shortage of medical professionals, many people cannot receive online consultations timely. To address this problem, we aim to develop a medical dialogue system that can provide COVID19-related consultations. We collected two dialogue datasets -- CovidDialog -- (in English and Chinese respectively) containing conversations between doctors and patients about COVID-19. On these two datasets, we train several dialogue generation models based on Transformer, GPT, and BERT-GPT. Since the two COVID-19 dialogue datasets are small in size, which bear high risk of overfitting, we leverage transfer learning to mitigate data deficiency. Specifically, we take the pretrained models of Transformer, GPT, and BERT-GPT on dialog datasets and other large-scale texts, then finetune them on our CovidDialog tasks. We perform both automatic and human evaluation of responses generated by these models. The results show that the generated responses are promising in being doctor-like, relevant to the conversation history, and clinically informative. The data and code are available at https://github.com/UCSD-AI4H/COVID-Dialogue.
Motivation & Objective
- To address the critical shortage of medical professionals during the COVID-19 pandemic by developing AI-powered virtual doctors for online consultations.
- To collect and release two high-quality, multilingual medical dialogue datasets—CovidDialog-English and CovidDialog-Chinese—containing real patient-doctor conversations about COVID-19.
- To train and evaluate dialogue generation models on these datasets using transfer learning to mitigate data scarcity and overfitting.
- To assess the quality of generated responses through both automatic metrics and human evaluation, focusing on relevance, clinical informativeness, and linguistic fluency.
- To demonstrate the potential of fine-tuned large language models in generating medically accurate and contextually appropriate responses for pandemic-related health queries.
Proposed method
- Collected 603 English and 1,088 Chinese consultations from online healthcare forums, including icliniq.com, healthcaremagic.com, and healthtap.com, to form the CovidDialog dataset.
- Pretrained models—Transformer, GPT, and BERT-GPT—on large-scale dialogue and text corpora, then fine-tuned them on the CovidDialog datasets to reduce overfitting.
- Applied transfer learning by initializing models with weights from large-scale pretraining on dialogue and general text, followed by fine-tuning on the medical dialogue data.
- Used beam search decoding with k=50 for response generation and evaluated models using automatic metrics including perplexity, BLEU-2/4, METEOR, NIST-4, entropy, and diversity (Dist-1/2).
- Conducted human evaluation with five annotators on 100 randomly sampled Chinese test examples, rating responses on relevance, clinical informativeness, and fluency.
- Compared multiple architectures: standard Transformer, DialoGPT, BERT-GPT, and their variants with maximum mutual information (MMI) regularization.
Experimental results
Research questions
- RQ1Can pretrained language models fine-tuned on a small medical dialogue dataset generate responses that are both medically accurate and linguistically fluent?
- RQ2How does transfer learning from large-scale pretraining improve response quality in low-resource medical dialogue settings?
- RQ3What is the relative performance of different architecture types—decoder-only (GPT), encoder-decoder (BERT-GPT), and standard Transformer—in generating clinically relevant responses?
- RQ4How do automatic metrics correlate with human judgments of response quality in medical dialogue generation?
- RQ5What challenges arise when applying such models to low-resource, noisy, or domain-shifted languages like Chinese medical dialogues?
Key findings
- BERT-GPT achieved the best performance in response diversity, as measured by Dist-1 and Dist-2 scores, indicating more varied and less repetitive outputs.
- Pretrained models such as DialoGPT and BERT-GPT achieved significantly lower perplexity than the unpretrained Transformer, confirming the effectiveness of transfer learning in low-data regimes.
- Human evaluation showed that BERT-GPT-generated responses were rated higher in relevance, clinical informativeness, and fluency compared to other models, though still below human reference quality.
- Despite its pretraining on dialogue data, DialoGPT underperformed compared to the unpretrained Transformer in Chinese, likely due to domain shift from general dialogues to medical consultations.
- The performance gap between BERT-GPT and human references was larger in Chinese than in English, indicating greater challenges in handling noisy, grammatically incorrect, or ambiguous Chinese medical dialogues.
- Maximum mutual information (MMI) regularization did not consistently improve response quality, suggesting limited benefit in this specific medical dialogue setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.