Multimodal AI in medical imaging
Why combine different kinds of data?
A chest X-ray shows how the lungs look at one moment. A patient history can tell us that breathlessness started two days ago. A pulse oximeter gives an oxygen saturation reading at the bedside. These observations come from the same patient, but they describe different things. The image contains spatial detail, the history adds a timeline, and the measurement describes physiology. A model trying to predict an outcome could benefit from having all three.
A modality is a way of representing information, such as an image, text or a measured signal. The case for combining modalities depends on the question. For a model asked to locate a finding on an X-ray, the image is essential. For a model asked about an outcome over the next two days, recent measurements may add information the image cannot show. One way to test that idea is to give a model the image alone, another the measurements alone, and a third both inputs. Evaluate all three on the same held-out patients. How much does the combination gain over the stronger single input?
The HAIM study put that comparison into practice. Soenksen and colleagues varied which images, text, tabular records and time series their models could use. They studied 12 tasks, including chest findings, length of stay and 48-hour mortality. The contribution of an input changed with the task. That is a reason to name the outcome before deciding which data to collect (Soenksen et al. 2022).
- A second modality helps when it carries information relevant to the question and the model learns to use it.
- Encoders turn different inputs into numerical representations. The training target determines which relationships those representations preserve.
- A ranked list, a prediction and a generated image each call for a different evaluation.
How images, words and signals become numbers
A common design uses one encoder per modality, followed by a component that compares or combines their representations for the task. Suppose an examination comes with the phrase “no chest pain,” an ECG and a table containing heart rate and temperature. A text encoder breaks the phrase into tokens and learns a vector for each in context. An ECG encoder can divide the trace into short windows and keep their order. For a table, the model needs to distinguish the fields and account for units and missing values. A fixed unit, such as beats per minute, can be part of how the field is defined. A missing temperature means something quite different from a temperature of zero.
The same principle applies to an image. A vision encoder might turn small image patches into vectors and keep track of each patch’s location. These learned vectors are called embeddings. A single vector for the whole examination can be convenient for searching a large collection. A set of patch vectors retains spatial detail that can help a model point to a finding.
Once the inputs have been encoded, the model designer has a choice. Alignment teaches representations from different modalities to be comparable. Fusion combines information across modalities to answer one question. Conditional generation learns to produce an output given information from another source. One system can use all three. It might align images and reports during pretraining, combine image features with a clinical history, then generate a description.
Alignment lets a report retrieve an image
CLIP provides a simple example. During training, an image encoder receives photographs and a text encoder receives their paired captions. For each batch, the model compares every image with every caption. It learns to rank the recorded caption highly for its image and the recorded image highly for its caption. The resulting encoders let a reader search a collection of images by describing what they want to find (Radford et al. 2021).
To see what the model learns, consider the three pairs below. Reading across the middle row ranks texts for image B. Text B scores highest at 0.77. Reading down that column answers the reverse question, which image best matches text B?
Now imagine that texts A and B are reports from two different examinations with similar normal findings. Either report could be a reasonable result for a search, even though only one belongs to the original study. A retrieval benchmark therefore needs to say what a correct answer means. Finding the paired examination and finding clinically similar examinations are different tasks.
ViTa uses a related idea in cardiac MRI. Zhang and colleagues trained on imaging data from 42,000 UK Biobank participants. They first learned image features through masked reconstruction, then aligned the imaging representation with patient-level factors recorded in tables. The resulting encoder was evaluated on tasks including phenotype prediction, disease classification and segmentation. Here the table helps shape what the image encoder learns during training. The downstream application can then reuse those image features (Zhang et al. 2025).
Fusion brings several observations into one prediction
For an outcome such as length of stay, a model needs a prediction for the patient. One straightforward design uses separate feature extractors for the images, measurements and notes. It joins their outputs into a longer vector and trains a prediction model on that vector. This is the approach used by HAIM (Soenksen et al. 2022).
Timing matters in this setting. To predict an outcome at admission, the study must use only the information available by then. A discharge summary may describe the outcome explicitly. It would give a model an excellent shortcut during evaluation and would be unavailable when the prediction is actually needed. In addition to the single-input comparison, I would test what happens when a normally available measurement is missing.
Conditioning lets one input guide a new output
The same collection of images and reports can support two different generators. RoentGen uses text describing chest findings to condition a diffusion model. It starts from noise, refines a compressed image representation and decodes it into a chest X-ray. Several images can fit the same text because the description leaves much of the anatomy unspecified (Bluethgen et al. 2025).
MAIRA-2 goes in the other direction. Its vision encoder reads the chest X-rays. An adapter translates the resulting features into a form a language model can use, and the model predicts the words of the report one token at a time. In its grounded reporting task, the output can also specify where a finding appears in the image. This gives the reader a way to check individual claims in the generated text (Bannur et al. 2024).
Sometimes it is easier to supply the condition by drawing it. In our VolDiT work, a segmentation mask specifies the requested anatomy in three dimensions. A control adapter converts the mask into features that guide the transformer during denoising. That gives us a direct test of spatial control. We can segment the generated volume and compare the recovered anatomy with the requested mask (Seyfarth et al. 2027).
What should a successful model get right?
| Output | What I would check |
|---|---|
| A ranked list of images or reports | Does the paired study rank highly? Are the other highly ranked results relevant to the question? |
| A predicted outcome | Does the combined model improve on the best single input for the same patients? What happens when a modality is missing? |
| A synthetic image | When one part of the condition changes, does the requested part of the image change with it? |
| A generated report | Which findings are correct, missing or unsupported? For a grounded report, does the indicated location support the finding? |
When I read a multimodal study, I start with the simplest model that could answer its question. Then I ask what the extra input contributes, when it is available, and which experiment shows that it helped. Those three details make a model’s design much easier to understand and its results much easier to interpret.