A Unified Model for Longitudinal Multi-Modal Multi-View Prediction with Missingness

Boqi Chen, Junier Oliva, Marc Niethammer

Abstract

Predicting disease progression from medical records is complicated by the inherent "messiness" of longitudinal data, characterized by missing clinical visits and incomplete diagnostic modalities. We present UniLMMV, a unified transformer-based framework designed to handle multi-modal and multi-view data without the need for explicit data imputation. By utilizing a mask-aware attention mechanism and modality dropout during training, UniLMMV achieves performance parity with specialized models while maintaining flexibility across diverse input combinations. Evaluation on the Osteoarthritis Initiative (OAI) dataset demonstrates the model's robustness in predicting structural progression and patient-reported pain scores.

Introduction

The integration of longitudinal, multi-modal, and multi-view data holds significant promise for personalized medicine. However, real-world clinical datasets are frequently plagued by missingness. Patients may skip scheduled follow-ups (longitudinal missingness), or specific diagnostic tests—such as expensive MRI scans—may only be available for a subset of the cohort (modality/view missingness).

Traditional deep learning approaches often struggle with this variability, requiring fixed input sets or complex imputation strategies that can introduce bias. There is a critical need for a unified architecture capable of processing arbitrary combinations of available data at any given timepoint to provide reliable future predictions.

Methodology: The UniLMMV Architecture

UniLMMV addresses these challenges through a three-stage pipeline designed for flexibility and temporal awareness.

1. Feature Extraction

The model employs domain-specific encoders to transform raw data into a unified latent space. Tabular data (e.g., age, BMI) is processed via the SAINT model, while imaging data—including knee and pelvis radiography and cartilage thickness maps—is encoded using ResNet18.

2. Feature Summarization via Masked Attention

To aggregate multiple views (e.g., combining a knee X-ray with tabular data) at a single timepoint, UniLMMV utilizes a transformer self-attention block. To handle missingness, the authors implement a mask indicator within the attention mechanism. If a specific view is unavailable, its attention score is set to $-\infty$, effectively forcing the model to ignore the missing input without requiring synthetic data filling.

3. Longitudinally-Aware Prediction

The summarized features from each timepoint are fed into a transformer decoder. This decoder uses causal masking to ensure that predictions for a future state (e.g., 24 months ahead) are based solely on historical data. This allows the model to leverage the entire patient trajectory, rather than just the most recent snapshot.

To enhance robustness, the model is trained using modality dropout, where 50% of the views are randomly masked. This forces the network to learn informative representations even when the data stream is incomplete.

Experimental Evaluation

The model was validated using the Osteoarthritis Initiative (OAI) dataset, comprising 4,796 patients followed over 96 months. The study focused on four primary data sources:

  • Tabular (T): Clinical metrics such as age and BMI.
  • Cartilage Maps (C): Femoral and tibial thickness maps.
  • Knee Radiography (K).
  • Pelvis Radiography (P).

The primary tasks involved predicting the Kellgren-Lawrence grade (KLG), a measure of structural osteoarthritis severity, and WOMAC pain scores 24 months into the future.

Key Findings

Performance and Robustness

UniLMMV demonstrated performance comparable to specialized "view-specific" models—those trained only on complete data subsets. For KLG prediction using all available views, the model achieved an Average Precision (AP) of 0.600 and an AUC ROC of 0.903. For pain prediction, the model reached an AP of 0.346 and an AUC ROC of 0.714.

The Value of Longitudinal Data

A significant finding was the positive correlation between the length of the historical trajectory and prediction accuracy. Utilizing data from months 0 through 72 consistently outperformed models relying only on the month 72 baseline, highlighting the importance of temporal context in disease modeling.

Modality Importance

Post-hoc analysis revealed task-specific dependencies:

  • Structural Progression (KLG): Knee radiography was the most influential modality. Cartilage thickness maps were particularly useful for identifying advanced stages of the disease where thinning is more pronounced.
  • Subjective Pain (WOMAC): Tabular data played a more significant role than imaging in predicting patient-reported pain levels.

Discussion and Future Directions

While UniLMMV is highly flexible, the authors noted a slight performance trade-off: when high-impact views like cartilage maps are missing, the unified model performs marginally worse than a model never exposed to those maps. This suggests the model may develop a dependency on high-quality features when they are available.

Future work aims to expand the model's scope by incorporating clinical notes via Natural Language Processing (NLP) and exploring "automatic view pruning." The latter would enable the model to identify which specific diagnostic test is most critical for an individual patient, potentially optimizing clinical workflows and reducing costs.

Conclusion

UniLMMV represents a significant step toward practical clinical AI. By successfully navigating the complexities of missing longitudinal data, it provides a robust framework for real-world disease prediction where complete datasets are the exception rather than the rule.

Code Availability: The authors have made their code public at https://github.com/uncbiag/UniLMMV.

Summary updated

BibTeX
@inproceedings{chen2024unified,
  author = {Boqi Chen and Junier Oliva and Marc Niethammer},
  title = {{A Unified Model for Longitudinal Multi-Modal Multi-View Prediction with Missingness}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2024},
  doi = {10.1007/978-3-031-72390-2\_39},
}
Figure