Explainable Multimodal Longitudinal Medical Imaging for Disease Progression
Connecting clinical history, MRI measurements, and explanations across patient visits.
- Longitudinal Learning
- Medical AI
- Quantitative MRI
- GRU
- Integrated Gradients
Following change across visits
Medical records describe a patient's history through repeated observations. This project brings those observations together to explore a specific research question: can clinical history and quantitative MRI measurements help predict whether a participant with mild cognitive impairment develops Alzheimer dementia within the following 730 days?
The team built a Python and PyTorch pipeline around NACC Freeze 74 clinical records and Mixed-protocol MRI measurements. It covers cohort construction, time-aware matching, model training, evaluation, and explanations. The completed study is a research prototype with exploratory findings.
The live demo uses synthetic patient trajectories to illustrate the interface. The NACC study described below is a separate experiment.
Building a consistent patient timeline
The pipeline selects one eligible prediction anchor per participant and uses two or three clinical visits ending at that anchor. MRI measurements must have been acquired on or before a matched visit, within a 90-day window. Every anchor requires quantitative MRI; earlier clinical visits can remain in the sequence when MRI is unavailable.
The resulting cohort contains 75 participants: 55 without observed progression in the study horizon and 20 with progression. One stratified split assigns 52 participants to training, 11 to validation, and 12 to testing. Feature selection, missing-value imputation, and scaling use training observations only.
Combining modalities over time
Separate neural encoders process six clinical variables and 149 regional MRI measurements, together with their missingness indicators. The clinical variables include age, sex, education, global Clinical Dementia Rating, its sum of boxes, and Mini-Mental State Examination score. A gated recurrent unit, or GRU, combines the visit representations with elapsed time to produce a score for the anchor outcome.
The imaging inputs are numerical regional measurements, such as volume and cortical thickness. The model does not process raw 3D scans. Missing historical MRI is represented with normalized zero values and missingness masks so it can be distinguished from an observed measurement.
Understanding the model's output
Integrated Gradients attributes the frozen model's anchor score to clinical values, MRI measurements, and elapsed time. Attributions can be grouped by feature or visit to examine how the history contributes. A leave-one-visit-out diagnostic provides another view by measuring the effect of removing a visit.
These explanations describe the model's behavior. Missingness indicators stay fixed during Integrated Gradients, so the attributions do not explain the effect of missingness itself. Numerical completeness checks assess the calculation; they do not establish clinical meaning or a causal relationship.
What the experiment showed
The executed analysis walkthrough presents the cohort, architecture, comparisons, and explanation figures. The primary multimodal GRU reached a test AUROC of 0.630, with a very wide reported bootstrap interval of approximately 0.30 to 0.91.
At its validation-selected decision threshold, it classified all 12 test participants as non-progressions. That correctly classified nine participants but missed all three progressions: sensitivity was 0%, balanced accuracy was 50%, and overall accuracy was 75%. The accuracy therefore matched the majority-class baseline.
Six comparison arms examine clinical, MRI, and combined inputs using last-visit logistic regression and longitudinal GRUs. Because the primary test results had already been inspected, those comparisons remain exploratory. They cannot select a final winner or isolate the benefit of history, since the logistic and GRU arms also change model family.
Scope and next steps
The contribution is an auditable workflow for aligning clinical and imaging measurements, preserving patient-level separation, and examining a temporal model's decisions. The small, selected cohort, mixed MRI protocols, missing historical scans, and three test progressions sharply limit the conclusions. The study does not establish diagnostic usefulness or reliable probability calibration.
A confirmatory evaluation requires a new independent cohort, a prospectively defined comparison, and stronger checks across sites and acquisition protocols. Participant records, model checkpoints, and preprocessing artifacts remain restricted. The public repository provides the implementation, synthetic tests, and aggregate analysis.
Explore the project
Try the live demo, browse the source code, follow the analysis walkthrough, or read the cohort audit and comparison results.