Chinese biomedical text encoder pretrained by masking whole medical entities and phrases, lifting clinical entity recognition and query understanding.
No providers recorded yet. Browse all providers
A patient writing "肚子有一点疼" ("a little pain in the stomach"), "腹部一阵一阵痛" ("a pain in the abdomen") and "腹痛" ("stomach ache") is describing one symptom three ways. Chinese is written without spaces between words, so a BERT masked-language objective hides one character at a time and never has to learn that these three strings name the same concept — nor that "黄连素" (berberine) is a single drug rather than three unrelated characters. Biomedical vocabulary makes the problem sharper, because the terminology that matters most is the long-tail kind a general-domain corpus barely contains.
MC-BERT changes what gets masked rather than how the model is built. Entities pulled from a Chinese biomedical knowledge graph — syndromes, diseases, examinations, treatments, drugs — are masked as whole units, and biomedical phrases mined from the raw corpus are masked as whole spans, so the model must recover a complete concept from surrounding context instead of guessing a character from its neighbours. The authors call this conceptualized representation learning. Alibaba Group released the checkpoint in 2020 together with ChineseBLUE, the first public benchmark for Chinese biomedical language understanding, assembled because no such evaluation suite existed.
The name is unusually overloaded. An unrelated single-cell transcriptomics transformer, mcBERT, shares it, as does a general-domain English pretraining method evaluated on GLUE. This entry covers only the Alibaba Chinese biomedical text encoder. Its closest English-language relatives are domain-pretrained encoders such as BioBERT and, on the generative side, BioGPT.
transformers
tooling with no custom architecture code.The released model keeps BERT-base geometry exactly: 12 transformer layers, 12 attention heads, 768-dimensional hidden states, a 512-token maximum sequence length and a 21,128-token Chinese vocabulary, for roughly 102 million parameters. Pretraining ran for 100K steps at an initial learning rate of 1e-5 with warmup deliberately removed, the corpus duplicated and shuffled ten times and a 15% masking rate applied to entity and span units. The corpus is drawn from Alibaba's Shenma search engine: 20 million sentences of Chinese biomedical community question answering, 100K sentences of medical encyclopedia text and 10K sentences of electronic medical records.
On ChineseBLUE, MC-BERT improves on BERT-base across all eight tasks after fine-tuning, with the largest gains where entity knowledge matters most: cEHRNER entity recognition rises from 88.2 to 90.0 F1 and cMedQANER from 86.3 to 88.1, while paraphrase identification gains a point (86.5 to 87.5) and short-answer ranking 1.3 points (81.0 to 82.3). Gains are slimmer on the short-instance tasks, because the pretraining data excluded instances under 128 tokens. An ablation on cEHRNER separates the two objectives: dropping span masking returns F1 to 88.2 — BERT-base level — while dropping entity masking costs less, at 89.6, and both Chinese baselines trained without domain data trail the full model (BERT-wwm 89.2, RoBERTa 89.3).
The model targets Chinese-language biomedical text mining, where English domain encoders do not transfer. Practical uses follow the benchmark: pulling disease, drug and examination mentions out of electronic health records and consumer health questions, collapsing differently worded patient queries onto the same intent, ranking candidate answers in medical question answering, and classifying health-search intent. Teams building clinical information extraction or medical search over Chinese text can fine-tune the checkpoint on a few thousand labelled examples rather than pretraining a domain encoder themselves.
ChineseBLUE gave Chinese biomedical NLP its first shared evaluation target, and MC-BERT demonstrated that knowledge-guided masking — not merely more in-domain text — is what recovers long-tail clinical terminology in a character-based script. Two caveats are worth stating plainly. The pretraining corpus is consumer health search and community question answering rather than peer-reviewed biomedical literature, which shapes what the representations encode; and every reported result is fine-tuned, so there is no zero-shot or frozen-feature number to cite. The original Alibaba repository is no longer online, and the surviving artifacts are community mirrors of the weights, the benchmark data, and the fine-tuning code. The pretraining scripts those mirrors carry are stock Google BERT with random-token masking and contain none of MC-BERT's entity or span masking, so the method itself is not reproducible from them.
Much of this page is generated or calculated automatically. Flag anything that looks off and we will re-run it.