Introduction
Extracting structured information from clinical dialogues is a critical yet challenging task in medical informatics. Unlike formal medical texts, human-to-human clinical conversations are non-linear, contain significant "noise" such as small talk, and rely heavily on implicit context. Standard NLP models often struggle with these complexities, treating every utterance with equal weight and losing focus within lengthy transcripts. MedFilter addresses these challenges by acting as an intelligent pre-processor that identifies and categorizes medically relevant utterances, thereby enhancing downstream information extraction.
Methods
The MedFilter architecture employs a hierarchical "coarse-to-fine" approach to classify utterances.
The framework consists of several key components:
- BERT-based Encoding: Utterances are first processed through a BERT encoder to capture semantic representations.
- Contextual Integration: The model incorporates three types of metadata: speaker role (doctor vs. patient), positional information within the dialogue, and ontological knowledge derived from the Unified Medical Language System (UMLS) via Quick-UMLS.
- Multi-Speaker BiLSTM (MS-BiLSTM): This core innovation uses separate LSTMs for different speaker roles, gated to learn role-specific communication patterns. This allows the model to differentiate, for instance, between a patient's "Yes" confirming a medication and a "Yes" during casual conversation.
- Hierarchical Loss: The model is trained simultaneously on a coarse task (relevance detection) and a fine-grained task (categorization into symptoms, medications, or complaints).
Datasets and Evaluation
The model was evaluated using the UPMC/Abridge AI Corpus, which contains nearly 7,000 de-identified transcripts of real-world doctor-patient interactions. These dialogues are notably complex, averaging 225 utterances per transcript. Professional medical scribes and NLP experts provided annotations across 15 medical categories to establish a robust ground truth.
Results and Discussion
MedFilter demonstrated superior performance compared to several state-of-the-art baselines, including hierarchical GRUs and various fine-tuned BERT models.
Key results include:
- Classification Accuracy: MedFilter achieved a 10% improvement in Area Under the PR Curve (AUC) over existing baselines.
- Downstream Impact: Using MedFilter to prune transcripts before entity extraction led to massive gains: a 105% improvement in Micro-F1 for medication extraction, 23% for complaints, and 15% for symptoms.
- Ablation Insights: Ablation studies confirmed that speaker role and ontological knowledge are vital, as their removal significantly degraded performance.
Conclusion
MedFilter effectively sifts through the noise of clinical conversations by leveraging discourse structure and medical knowledge. While it shows remarkable success, future work will focus on better handling informal patient language and implicit symptom descriptions. Integrating broader datasets, such as online medical forums, may further bridge the gap between colloquial and formal medical terminology.
Summary updated