TL;DR
This paper introduces UniLMMV, a unified transformer-based model designed for longitudinal, multi-modal, and multi-view medical predictions that natively handles missing data without imputation. By leveraging a masked attention mechanism and modality dropout during training, it matches or exceeds the performance of specialized models while offering full flexibility across varying timepoints and data availability.
What Problem Does This Paper Address?
Medical records are inherently complex: they span multiple modalities (images, tabular data, clinical notes), multiple views (different angles or regions), and multiple timepoints (longitudinal tracking). While combining this data provides a holistic view of disease progression, real-world datasets are notoriously messy. Patients frequently miss appointments (missing timepoints), or certain scans are only taken under specific conditions (missing modalities/views).
Existing multi-modal approaches usually assume all data types are present at all times, or they rely on complex, error-prone data imputation techniques to fill in the blanks. The authors address this gap by creating a model that can ingest whatever data is available at any given timepoint, completely bypassing the need for imputation.
Methods
The proposed framework, UniLMMV (Unified Longitudinal Multi-Modal Multi-View), consists of three main stages:
- Feature Extraction: Dedicated encoders process each modality/view (e.g., a ResNet18 for images and a SAINT transformer for tabular data). Crucially, the same encoder weights are shared across different timepoints for consistency.
- Feature Summarization (Attention Block): To merge different views at a single timepoint, the model uses a transformer self-attention block. It handles missing data gracefully using a mask indicator matrix $M$. If a view is missing, its attention score is forced to a very low value ($\delta = -1e^9$), ensuring the model ignores it. Learnable
[PAD]and[SUM]tokens help standardize the inputs and extract a single summarized feature vector per timepoint. To ensure robustness during testing, the authors use 50% modality dropout during training. - Longitudinally-Aware Prediction (Decoder Block): A transformer decoder takes the summarized features from all available historical timepoints and predicts the future outcome. It uses causal masking to ensure predictions at time $t$ only depend on data from time $\le t$.
Datasets
The model was evaluated on the Osteoarthritis Initiative (OAI) dataset, a longitudinal study of 4,796 patients tracked for up to 96 months.
- Modalities/Views: Tabular data (17 clinical attributes like age, BMI, injury history), Knee Cartilage Thickness Maps (derived from MRIs), Knee Radiography (X-rays), and Pelvis Radiography.
- Tasks: Predicting two key outcomes 24 months into the future: WOMAC pain scores (binary classification: pain vs. no pain) and Kellgren-Lawrence Grade (KLG, a 4-class severity metric for knee osteoarthritis).
Key Insights and Ideas
- Imputation is Optional: Masking attention scores is a highly effective alternative to data imputation. It allows the network to dynamically adapt to arbitrary patterns of missingness without introducing synthetic artifacts.
- More History = Better Predictions: Incorporating a longer longitudinal history ($0 \rightarrow 72$ months) consistently improves prediction accuracy compared to looking at just the most recent timepoint (72 months).
- Task-Specific Modality Importance: Post-hoc analysis revealed that different modalities excel at different tasks. For instance, knee X-rays (radiography) are crucial for identifying early-stage osteoarthritis (lower KLG grades), whereas cartilage thickness maps become dominant for predicting advanced stages (higher KLG grades) where physical degradation is prominent. Conversely, tabular data is highly influential for predicting subjective pain, but adds little value to structural KLG grading.
Key Results
- Parity with Specialized Models: The unified model, despite being trained on all data combinations simultaneously, performs on par with or better than "view-specific" models trained exclusively on specific subsets of modalities.
- Longitudinal Benefit: For KLG prediction using all modalities (TCKP), Average Precision (AP) increased from 0.586 using only the 72-month data to 0.600 when leveraging the full history ($0 \rightarrow 72$ months).
- Robustness to Missingness: Even when up to two views were intentionally dropped during evaluation, UniLMMV maintained high performance, demonstrating strong generalizability.
Limitations and Future Work
While UniLMMV shows impressive flexibility, the authors note a few areas for improvement:
- Expanding Modalities: The current model focuses on tabular data and specific image types; incorporating text (like doctor's notes) or audio remains future work.
- Efficiency and Pruning: Acquiring all medical views is expensive and time-consuming for patients. The authors aim to implement an automatic "view pruning" technique to determine the minimum number of views required to achieve optimal prediction performance.
Summary updated