ChiMed: A Chinese Medical Corpus for Question Answering

Yuanhe Tian, Weicheng Ma, Fei Xia, Yan Song2019

Abstract

Question answering (QA) is a challenging task in natural language processing (NLP), especially when it is applied to specific domains. While models trained in the general domain can be adapted to a new target domain, their performance often degrades significantly due to domain mismatch. Alternatively, one can require a large amount of domain-specific QA data, but such data are rare, especially for the medical domain. In this study, we first collect a large-scale Chinese medical QA corpus called ChiMed; second we annotate a small fraction of the corpus to check the quality of the answers; third, we extract two datasets from the corpus and use them for the relevancy prediction task and the adoption prediction task. Several benchmark models are applied to the datasets, producing good results for both tasks.

Introduction

General-purpose NLP models, typically trained on broad datasets like Wikipedia or news archives, often struggle when applied to specialized fields such as medicine. This "domain mismatch" arises because medical language is highly technical, nuanced, and carries significant consequences for accuracy. While scientific paper datasets exist, there is a notable lack of data from Community Question Answering (CQA) platforms—forums where real patients interact with doctors using natural, everyday language.

Building a reliable CQA dataset is challenging due to the inherent noise in forum data. It is often unclear if an answer is genuinely high-quality simply because a user marked it as "Adopted." This research introduces ChiMed, a large-scale Chinese medical corpus, and investigates whether forum metadata can serve as a reliable proxy for answer quality in machine learning models.

The ChiMed Corpus

The researchers constructed ChiMed by crawling the popular Chinese medical forum Ask39. The resulting corpus contains 46,731 questions and 91,416 answers, including rich metadata such as patient demographics and physician affiliations.

Example of a medical Q&A pair from the ChiMed corpus showing the bilingual nature of the data.

The dataset is characterized by a high proportion of questions having multiple answers, which provides a rich environment for comparative analysis between different physician responses.

Distribution of answers per question in the ChiMed dataset, highlighting that over 80% of questions have exactly two answers.

From this corpus, two specific datasets were derived:

  • ChiMed-QA1: Designed for adoption prediction, featuring records with one adopted and one unadopted answer.
  • ChiMed-QA2: A synthetic dataset for relevancy prediction, where irrelevant answers are sampled from unrelated questions to test model discrimination.

Methodology and Benchmarking

To validate the data quality, a subset of 200 answers was manually annotated for relevancy and quality. The researchers then benchmarked five neural architectures—including CNNs, LSTMs, and specialized matching models like DUET and DRMM—across two primary tasks:

  1. Relevancy Prediction: Determining if an answer is contextually related to the question.
  2. Adoption Prediction: Predicting whether an answer will be marked as "Adopted" by the forum user.

Key Insights: The "Adopted" Flag Fallacy

A critical finding of this study is that the "Adopted" flag, frequently used in CQA research as a ground-truth label for "best" answers, is a poor indicator of actual quality. Human validation revealed that 98% of all answers in the corpus were relevant, regardless of their adoption status. The correlation between human-ranked quality and the "Adopted" flag was found to be a negligible 0.068.

Furthermore, the study found that:

  • Task Difficulty: Relevancy prediction is significantly easier for models than adoption prediction. This suggests that "adoption" is influenced by non-textual factors, such as physician seniority or response timing.
  • Comparative Advantage: Models performed better in a "Q-As" setting (comparing two candidate answers) than in a "Q-A" setting (evaluating one answer in isolation).

Results

The Deep Relevance Matching Model (DRMM) emerged as the top performer for relevancy prediction, achieving 93.6% accuracy in the single-answer setting and 98.16% when resolving conflicts between two answers. In contrast, adoption prediction proved more difficult, with the best LSTM model reaching only 75.28% accuracy, reinforcing the conclusion that adoption is a noisy metric.

Conclusion and Future Work

While ChiMed provides a robust foundation for medical QA, the authors note that the manual validation sample was relatively small. Future research will focus on understanding the underlying mechanics of answer adoption and expanding the corpus for generative tasks, such as automatic medical answer generation and keyphrase extraction.

Summary updated

BibTeX
@misc{tian2019chimed,
  author = {Yuanhe Tian and Weicheng Ma and Fei Xia and Yan Song},
  title = {{ChiMed: A Chinese Medical Corpus for Question Answering}},
  year = {2019},
  doi = {10.18653/v1/w19-5027},
}
Figure