arXiv:2608.30824cs.CVAug 2026

Manuscript Offprint

arXiv:2608.30824

Whole-Body MRI Classification via Prompt-Based Clinical Conditioning

Laura Daza, Marta Hasny, Cristina González, Julia A. Schnabel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Laura Daza 1,2^{1,2}[0000-0003-4170-6168], Marta Hasny 1,2^{1,2}[0000-0001-5634-1240], Cristina González 1,2^{1,2}[0000-0001-9445-9952], and Julia A. Schnabel 1,2,3,4^{1,2,3,4}[0000-0001-6107-3009]

1^{1} Institute of Machine Learning in Biomedical Imaging, Helmholtz Munich, Germany

2^{2} School of Computation, Information and Technology, Technical University of Munich, Germany

3^{3} School of Biomedical Engineering & Imaging Sciences, King's College London, UK

4^{4} Munich Center for Machine Learning, Germany

Abstract. Combining whole-body magnetic resonance imaging (WB-MRI) with clinical variables has the potential to improve systemic disease diagnosis by leveraging complementary sources of patient information. However, structured clinical variables are often incomplete or missing, limiting the applicability of conventional multimodal fusion methods that assume fixed inputs. In this work, we propose TACTIC (Tabular-Attribute Conditioned Transformer for Image Classification), a prompt-based multimodal framework that integrates WB-MRI and structured clinical data through conditional visual feature learning. By encoding clinical attributes as prompts, TACTIC supports an arbitrary number of tabular inputs and naturally handles missing data without requiring imputation or fixed input structures. We evaluate TACTIC on five WB-MRI classification tasks spanning systemic and oncologic applications, including diabetes, chronic obstructive pulmonary disease (COPD), breast cancer, prostate cancer, and metastasis diagnosis. Across all tasks, TACTIC consistently improves performance over image-only baselines when clinical information is available while maintaining strong predictive capability under incomplete tabular inputs. Our results demonstrate the effectiveness of prompt-based models as a flexible approach for improving WB-MRI analysis using clinical context. The model weights and code are available at https://github.com/lauradaza/TACTIC.

Keywords: Whole body MRI · Tabular clinical data · Clinical prompting · Disease classification

1 Introduction

Whole-body magnetic resonance imaging (WB-MRI) offers a comprehensive view of the human body by simultaneously capturing multiple organs and anatomical systems without ionizing radiation, making it particularly attractive for systemic disease assessment and population-scale screening. Recent studies have demonstrated the potential of combining WB-MRI with clinical data for preclinical

L. Daza et al.

disease risk assessment [19]. Despite these advantages and its established role in the management of several diseases [22,17,13,15], WB-MRI remains underutilized in automated diagnosis pipelines.

In clinical practice, diagnostic and prognostic decisions are inherently multimodal, relying on imaging findings and structured clinical variables that are not directly observable from imaging data, such as laboratory test results, genetic predispositions, and medical history. Integrating these complementary sources of information is therefore essential to fully leverage imaging data for personalized medicine. Recent large-scale datasets, such as the UK Biobank [21], provide a unique opportunity to study this integration by combining WB-MRI with extensive clinical and demographic data. Early studies have demonstrated the promise of such approaches for medical applications [19,2,3], yet the development of robust multimodal learning strategies remains an active challenge.

A key limitation in current multimodal methods is their assumption of complete and consistently available clinical data. In practice, clinical variables are often missing, sparsely recorded, or heterogeneous across patients, even in well-curated cohorts. This systematic missingness poses a significant obstacle for conventional fusion techniques, which typically rely on fixed-dimensional tabular inputs [23,20]. Consequently, their performance degrades when the availability of clinical information varies, limiting their applicability in real-world settings.

Recent advances in prompt-based vision models allow flexible conditioning of model behavior through external inputs [9,12], enabling the integration of auxiliary information without requiring a fixed number of prompts. In the medical domain, such approaches provide a promising mechanism for incorporating patient-specific context in an adaptive manner. However, existing approaches predominantly rely on spatial cues [6,25], free-form textual descriptions from reports [26] or translated from structured clinical variables [14,5], as well as prompt-learning strategies over multimodal inputs [7]. As a result, they do not naturally leverage structured clinical data in its native form, often requiring additional preprocessing or modality-specific adaptation.

In this work, we propose TACTIC (Tabular-Attribute Conditioned Transformer for Image Classification), a prompt-based framework designed to leverage WB-MRI with complementary clinical data for disease classification. TACTIC reformulates tabular clinical variables in their native form as prompts that complement image representations, allowing patient-specific information to directly guide visual feature learning. This design enables the model to flexibly incorporate an arbitrary number of clinical variables, making it inherently robust to missing or partially observed data. We evaluate TACTIC on multiple WB-MRI classification tasks spanning systemic and oncologic applications, including diabetes, chronic obstructive pulmonary disease (COPD), breast cancer, prostate cancer, and metastasis diagnosis. Across all tasks, TACTIC consistently improves performance over image-only models when clinical data is available, while maintaining strong predictive capability under limited or missing tabular inputs.

Our contributions are threefold: (i) we introduce TACTIC, a prompt-based multimodal framework that conditions WB-MRI representations on structured

Figure

Fig. 1: Overview of TACTIC. The WB-MRI features x are conditioned using random subsets cic_i of clinical features as prompts. Combined with an output token ToutT_{out}, the prompts guide image feature aggregation through cross-attention, enabling flexible multimodal fusion under variable clinical data availability. WB-MRI reproduced by kind permission of UK Biobank ©

clinical attributes; (ii) we reformulate multimodal fusion as a conditioning problem, enabling flexible integration of heterogeneous and incomplete clinical data with pretrained visual backbones; and (iii) we demonstrate the applicability of TACTIC across diverse WB-MRI classification tasks, highlighting the potential of WB-MRI as a foundation for clinically relevant multimodal disease prediction.

References (26)