Proposing Causal Sequence of Death by Neural Machine Translation in Public Health Informatics

Yuanda Zhu, Ying Sha, Hang Wu, Mai Li, Ryan A. Hoffman, May D. WangIEEE JBHI 2022

TL;DR

This paper introduces a novel approach using neural machine translation (NMT) to automatically generate the causal sequence of death from a patient's last hospital discharge record. This aims to improve the accuracy and timeliness of death reporting, a critical task for public health initiatives, by leveraging AI to infer complex medical relationships.

What Problem Does This Paper Address?

Accurate and timely death reporting is crucial for public health, enabling disease surveillance, intervention development, and evaluation. However, determining the precise sequence of medical conditions leading to death is a complex task, even for experienced physicians. This complexity is exacerbated by challenges such as different clinical coding systems (e.g., ICD-9 vs. ICD-10), the need for extensive medical domain knowledge, and data interoperability issues. The COVID-19 pandemic further highlighted the need for efficient and reliable death reporting systems. This paper addresses the challenge of automating the generation of these causal sequences of death, aiming to reduce subjectivity and improve efficiency.

Methods

The core of the proposed solution is an encoder-decoder neural machine translation model. This model treats the sequence of clinical diagnosis codes from a patient's last hospital discharge record (in ICD-9) as the "source sentence" and aims to translate it into the sequence of causes of death (in ICD-10) as the "target sentence."

Key methodological components include:

  • Neural Machine Translation (NMT): The authors explore various NMT architectures, including LSTM Encoder-Decoder, Bidirectional RNN Encoder-LSTM Decoder, and Transformer models, to capture the sequential nature of medical conditions.
  • Attention Mechanisms: Various attention mechanisms (soft attention, general attention) are incorporated to allow the model to focus on relevant parts of the input sequence when generating the output.
  • Medical Domain Knowledge Constraint: To address the challenge of generating medically plausible sequences, the authors incorporate expert-curated rules from the ACME decision table. This knowledge is used to constrain the decoding process, ensuring that generated sequences adhere to known causal relationships.
  • Validity Check: An optional preprocessing step is introduced to filter out "invalid" causal relationships from the training data, aiming to improve model performance.
  • FHIR Interface: A Fast Healthcare Interoperability Resources (FHIR) interface is developed to demonstrate the practical usability of the system in clinical settings, facilitating data access and integration.
  • Evaluation Metrics: The primary evaluation metric is the modified BLEU score, adapted from natural language processing, to assess the alignment between the generated causal sequences and physician-annotated sequences. Additional accuracy metrics for predicting the entire sequence, individual codes, and the underlying cause of death are also used.

Datasets

The primary dataset used in this study is the Michigan Vital Statistics Data. This dataset contains records for 181,137 decedents, including demographic information, diagnostic codes (ICD-9), procedural codes, one underlying cause of death, and up to 17 related causes of death (ICD-10). The data was collected before 2017 and does not include temporal information beyond the last hospital visit.

For comparison and to explore current EHR data, the authors also mention using current electronic health records (EHRs) data in ICD-10 codes. They map ICD-9 codes to ICD-10 codes using General Equivalence Mappings from CMS for this purpose.

Key Insights and Ideas

  • NMT for Medical Sequences: The paper demonstrates that NMT, a technique traditionally used for language translation, can be effectively adapted to translate sequences of clinical codes into causal sequences of death. This opens up new avenues for applying NLP techniques in medical informatics.
  • Attention for Interpretability: Visualizing attention scores provides insights into which input diagnosis codes are most relevant for predicting specific causes of death. This can help clinicians understand the model's reasoning and identify death-related conditions.
  • Domain Knowledge Impact: Surprisingly, the study found that incorporating medical domain knowledge as a constraint during decoding had a negative impact on performance. This suggests that the encoder-decoder models, with sufficient data, can learn causal relationships effectively without explicit rule-based constraints.
  • Validity Check's Mixed Impact: The validity check preprocessing step showed a mixed impact on model performance, improving it for some models (LSTM, BRNN) while decreasing it for others (Transformer). This highlights the nuanced nature of data preprocessing in complex AI tasks.
  • ICD-9 to ICD-10 Translation Feasibility: The study successfully demonstrated that encoder-decoder frameworks can generate causal sequences of death even when input and output data are in different coding systems (ICD-9 to ICD-10), which is crucial for integrating historical data with current EHRs.

Key Results

  • The best performing model (BRNN with general attention) achieved an 81.68% accuracy in generating individual codes correctly in the output sequence.
  • The modified BLEU score reached up to 17.87, which is competitive with state-of-the-art results in natural language processing tasks with similar vocabulary sizes.
  • The paper successfully identified death-related conditions from available symptoms by mapping diagnosis codes to causes of death using attention visualization.
  • The Transformer model, despite its success in NLP, performed worse than other encoder-decoder models on this specific task, potentially due to the short length of the target sequences.
  • The study demonstrated that mapping ICD-9 codes to ICD-10 codes for input did not significantly degrade performance compared to using ICD-10 directly.

Limitations and Future Work

  • Medical Domain Knowledge Constraint: The authors note that the medical domain knowledge constraint, when applied only during decoding, did not improve performance and even negatively impacted it. Future work could explore integrating this knowledge earlier in the model learning stage, perhaps by interacting with attention scores.
  • Short Target Sequences: The prevalence of one-word target sentences (average 2.25 codes) poses a challenge for masked language modeling approaches like XLM, limiting their effectiveness.
  • Lack of Temporal Information: The dataset lacks temporal information for diagnosis codes, which could be crucial for understanding the progression of diseases. Future work could leverage datasets with time-stamped information.
  • Dataset Age: The dataset was collected before 2017 and does not include COVID-19 related deaths. Future research could incorporate more recent data to study COVID-19 related symptoms and causes of death.
  • Model Advancements: The authors suggest exploring more recent models and pretrained embeddings, such as Med-BERT, which is pretrained on a large corpus of EHR data, to potentially improve performance.

Summary updated

BibTeX
@article{zhu2022proposing,
  author = {Yuanda Zhu and Ying Sha and Hang Wu and Mai Li and Ryan A. Hoffman and May D. Wang},
  title = {{Proposing Causal Sequence of Death by Neural Machine Translation in Public Health Informatics}},
  journal = {IEEE JBHI},
  year = {2022},
  doi = {10.1109/jbhi.2022.3163013},
}

Loading related content...

Figure