Introduction
Entity Normalization (EN) is a critical task in clinical natural language processing, aimed at mapping medical mentions in electronic health records to standard entities within a knowledge base (KB), such as ICD-9. While traditional methods focus on uni-implication—where one mention corresponds to one standard entity—Chinese clinical records frequently contain "multi-implication" mentions. In these cases, a single doctor's note may imply multiple distinct procedures, often separated by symbols like "+" or even omitting explicit terms that are contextually understood.
Standard "Select and Re-rank" (SR) models typically struggle with these complex cases as they are designed for 1-to-1 matching. To address this, we propose a generative framework that treats normalization as a sequence-to-sequence translation task, enabling the model to "write out" multiple standard entities for a single input mention.
Methodology
The core of our approach is a Transformer-based sequence generative model. To ensure that the generated sequences correspond to valid entities in the KB and to handle the diversity of medical procedures, we introduce three key enhancements: Category-based Constraint Decoding, Model Refining, and a Generating and Re-ranking (GR) strategy.
Category-based Constraint Decoding
Generative models often suffer from "hallucinations," producing text that is linguistically plausible but factually incorrect or non-existent in the KB. We mitigate this by implementing a constraint decoding mechanism using prefix trees (Tries). For each category in the medical KB, a prefix tree is constructed. During the decoding process, the model's search space is restricted at each step to characters that form valid paths within the tree for the predicted category. This ensures a 0% Out-of-Dictionary (OOD) rate.
Category-based Model Refining
Given the vast differences between medical specialties (e.g., ophthalmology vs. neurosurgery), a one-size-fits-all model may lack precision. Our framework first employs a general model ($M_G$) to predict the broad category of a mention. We then fine-tune the model parameters on category-specific subsets of data. This refinement process allows the model to capture local semantic nuances more effectively.
Generating and Re-ranking (GR)
To further improve accuracy, we utilize beam search to generate a set of candidate entity sequences. These candidates are then evaluated by a pre-trained BERT-based discriminative model, which calculates the semantic similarity between the original mention and the generated standard entities. The candidate with the highest similarity score is selected as the final output.
Experimental Setup
We evaluated our model using the CHIP 2019 clinical entity normalization dataset. The training set consists of 4,000 mentions, while the test set contains 3,000 mentions. Notably, the dataset includes both uni-implication and multi-implication cases. The knowledge base used is the ICD9-2017-PUMCH, containing 9,867 standard procedure entities.
Results and Discussion
Our proposed model, Transformer$_{CD+refine+GR}$, significantly outperformed existing baselines. It achieved an overall accuracy of 89.3%, a substantial improvement over the BERT-based ranking baseline of 84.2%.
The most significant gains were observed in multi-implication scenarios. Our model achieved 52.4% accuracy on multi-implication mentions, more than doubling the performance of a vanilla Transformer (24.5%). This demonstrates the model's superior ability to identify the correct number of procedures and synthesize standard strings even when certain words are omitted in the original clinical note.
Conclusion
By reframing entity normalization as a constrained generation task, we have developed a robust solution for the "multi-implication" problem in Chinese medical records. The integration of knowledge-base constraints via prefix trees effectively eliminates hallucinations, while category-based refining and re-ranking ensure high semantic fidelity. Future work will focus on addressing data sparsity in multi-implication training sets and improving performance on rare, highly technical procedures.
Summary updated