Abstract
Chinese Spelling Correction (CSC) is a critical component of natural language processing, particularly for search engines and optical character recognition. However, general-purpose CSC models often fail when applied to the medical domain due to specialized terminology and unique error patterns. This paper introduces MCSCSet, a large-scale, specialist-annotated dataset designed to bridge this gap. Containing nearly 200,000 real-world medical queries, MCSCSet provides a robust benchmark for developing domain-specific correction models.
Introduction
In the medical field, accurate text processing is more than a technical convenience; it is a necessity for patient safety and information retrieval. While standard CSC models achieve high accuracy on open-domain text, their performance plummets when encountering medical jargon. For instance, a standard BERT-based model that achieves nearly 80% accuracy on general text may drop to just 26.89% when processing medical queries. This "domain offset" occurs because medical terms are often rare in general corpora and are easily confused with common words due to phonological or visual similarities.
To address these challenges, we present MCSCSet, the first large-scale dataset for medical-domain Chinese spelling correction that utilizes specialist annotation rather than automated generation or general crowdsourcing.
The Challenges of Medical CSC
The authors identify two primary hurdles that prevent general models from succeeding in healthcare contexts:
- The Knowledge Gap: General-purpose models lack the specialized vocabulary required to distinguish between a legitimate medical term and a typo. Without domain knowledge, a model might "correct" a rare drug name into a common household object.
- The Data Gap: Existing CSC datasets are either too small for deep learning or consist of open-domain text that does not reflect the specific ways users mistype medical queries.
Methodology and Dataset Construction
The creation of MCSCSet involved a rigorous pipeline to ensure clinical relevance and high data quality.
Data Sourcing and Annotation
The researchers collected over 900,000 real-world queries from Tencent Yidian, a prominent healthcare encyclopedia. To ensure the accuracy of the corrections, the project employed medical students and hospital staff as annotators. This specialist intervention is crucial, as general annotators often lack the expertise to identify subtle errors in complex medical terminology.
Error Taxonomy
The dataset categorizes errors into five distinct types:
- Phonological: Sound-alike characters (the most common error type).
- Visual: Characters that look similar.
- Order-confused: Transposed characters.
- Redundant: Extra characters within a word.
- Missing: Omitted characters.
Medical Confusion Set
In addition to the dataset, the authors developed a specialized "medical confusion set." This resource maps common medical characters to their frequent misspellings, providing a "medical compass" for automated data generation and model training.
Experimental Results
The researchers benchmarked several state-of-the-art architectures on MCSCSet, including BERT-Corrector, Soft-Masked BERT, and a domain-specific MedBERT-Corrector.
Key Findings
- Top Performance: Soft-Masked BERT emerged as the strongest model, achieving a Correction-level F1 score of 80.88% on the MCSCSet benchmark.
- The Value of Specialist Data: Models trained on MCSCSet significantly outperformed those trained on automatically generated medical data (AGSet-Med) by over 20% in F1 score. This underscores the limitations of non-human-annotated data in specialized domains.
- Pre-training vs. Fine-tuning: While using a model pre-trained on medical text (MedBERT) offered improvements, the most substantial gains resulted from fine-tuning on the MCSCSet dataset itself.
- Error Patterns: Analysis revealed that approximately 96% of medical spelling errors are either phonological or visual, suggesting that users often know the sound of the term they are searching for but struggle with the specific character representation.
Discussion and Future Work
Despite the success of models trained on MCSCSet, several challenges remain. Medical queries are often short (averaging 10.9 characters), meaning that when multiple errors occur in a single string, the model loses the contextual clues necessary to infer the correct meaning.
Future research directions include:
- Knowledge Integration: Incorporating Medical Knowledge Graphs to help models verify if a correction is clinically plausible.
- Expanding Scope: Moving beyond character-level replacement to address full Grammatical Error Correction (CGEC) in the medical domain.
Conclusion
MCSCSet represents a significant step forward for medical NLP. By providing a high-quality, specialist-annotated resource, this work enables the development of more reliable search and diagnostic tools, ultimately improving the accessibility of medical information for users and professionals alike.
Summary updated