Large Language Models as Unified Multimodal Learners for Clinical Prediction

arXiv cs.AI Papers

Summary

The paper proposes converting multimodal patient data (text, labs, vitals) into a single natural language sequence and fine-tuning LLMs for clinical prediction, achieving comparable or better performance than specialized fusion architectures across three tasks.

arXiv:2607.15380v1 Announce Type: cross Abstract: Electronic health records combine free-text clinical narratives with structured measurements such as vital signs, laboratory values, and comorbidities. Yet most clinical prediction systems still rely on task-specific fusion architectures, pairing dedicated encoders for each modality with learned combination mechanisms that must be re-engineered for every new task and clinical setting. We propose a simpler alternative: convert all patient data, regardless of modality, into a single natural language sequence and fine-tune a pretrained language model end-to-end, with no architectural modification for fusion. We evaluate this approach across three clinically distinct prediction tasks: in-hospital mortality on MIMIC-III, graft failure prediction using longitudinal data from a German transplant center, and emergency triage classification from ambulance records - comparing encoder-based (ModernBERT) and decoder-based (Llama 3.1, Gemma, DeepSeek-R1-Qwen, Qwen3) fine-tuning against established multimodal baselines and, for graft failure, a gradient boosting model currently used in clinical practice for post-transplant patient management. Across all three tasks, unified textual serialization matches or exceeds task-specific multimodal baselines, and outperforms the clinically deployed gradient boosting system on graft failure prediction. These results indicate that a single serialization-based paradigm, without bespoke fusion architectures, is sufficient for multimodal clinical prediction - substantially reducing system complexity while matching or exceeding specialized designs.
Original Article
View Cached Full Text

Cached at: 07/20/26, 09:24 AM

# Large Language Models as Unified Multimodal Learners for Clinical Prediction
Source: [https://arxiv.org/html/2607.15380](https://arxiv.org/html/2607.15380)
Ajay Madhavan Ravichandran1Bilgin Osmandoja2Klemens Budde2 Klaus Netter3Tobias Strapatsas4Aljoscha Burchardt1 Sebastian Möller1,5Roland Roller1,2,5 1German Research Center for Artificial Intelligence \(DFKI\), Germany 2Charité Universitätsmedizin Berlin, Germany,3DNC Information Management GmbH, Germany 4Klinik für Akut\- und Notfallmedizin, Asklepios Klinikum Harburg, Germany 5Technical University Berlin, Germany

###### Abstract

Electronic health records combine free\-text clinical narratives with structured measurements such as vital signs, laboratory values, and comorbidities\. Yet most clinical prediction systems still rely on task\-specific fusion architectures, pairing dedicated encoders for each modality with learned combination mechanisms that must be re\-engineered for every new task and clinical setting\. We propose a simpler alternative: convert all patient data, regardless of modality, into a single natural language sequence and fine\-tune a pretrained language model end\-to\-end, with no architectural modification for fusion\. We evaluate this approach across three clinically distinct prediction tasks — in\-hospital mortality on MIMIC\-III, graft failure prediction using longitudinal data from a German transplant center, and emergency triage classification from ambulance records — comparing encoder\-based \(ModernBERT\) and decoder\-based \(Llama 3\.1, Gemma, DeepSeek\-R1\-Qwen, Qwen3\) fine\-tuning against established multimodal baselines and, for graft failure, a gradient boosting model currently used in clinical practice for post\-transplant patient management\. Across all three tasks, unified textual serialization matches or exceeds task\-specific multimodal baselines, and outperforms the clinically deployed gradient boosting system on graft failure prediction\. These results indicate that a single serialization\-based paradigm, without bespoke fusion architectures, is sufficient for multimodal clinical prediction — substantially reducing system complexity while matching or exceeding specialized designs\.

Large Language Models as Unified Multimodal Learners for Clinical Prediction

## 1Introduction

Electronic health records \(EHRs\) are inherently multimodal: they capture patient information across fundamentally different representational spaces, combining free\-text clinical narratives authored by physicians with structured measurements such as laboratory values, vital signs, demographics, and coded diagnosesJohnsonet al\.\([2016](https://arxiv.org/html/2607.15380#bib.bib9)\)\. Effective clinical prediction requires integrating these modalities; however, they are not easily combined\. The prevailing approach has been to design task\-specific fusion architectures, consisting of dedicated encoders for each modality followed by learned combination mechanisms such as gated attention or cross\-modal transformersKhadangaet al\.\([2019](https://arxiv.org/html/2607.15380#bib.bib12)\); Soenksenet al\.\([2022](https://arxiv.org/html/2607.15380#bib.bib11)\); Cuiet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib29)\); Kimet al\.\([2026](https://arxiv.org/html/2607.15380#bib.bib32)\)\. While effective, this paradigm carries significant practical limitations: each new clinical task requires a custom architecture, modality\-specific preprocessing pipelines, and extensive tuning\. As a result, existing systems are often fragmented, difficult to reuse, and costly to deploy across diverse clinical settingsBen\-Miledet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib34)\)\.

Large Language Models \(LLMs\) have recently emerged as a potential alternative\. A growing body of work shows that structured data can be serialized into natural language and processed by pretrained LLMs, removing the need for modality\-specific encoders\. CPLLMBen Shoham and Rappoport \([2024](https://arxiv.org/html/2607.15380#bib.bib36)\)demonstrated that fine\-tuning Llama2 on text\-serialized EHR records outperforms Med\-BERT on disease prediction and readmission tasks without domain\-specific pretraining\. Hegselmann et al\.Hegselmannet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib38)\)further showed that LLM embeddings of serialized structured patient records match or exceed specialized EHR foundation models across multiple clinical tasks\. These studies establish that serialization is effective for structured data in isolation\. However, an important limitation remains:real\-world EHR prediction tasks are inherently multimodal\. Clinical decisions depend on both physician\-authored narratives and structured measurements, which provide complementary informationRuanet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib30)\)\. Existing serialization\-based approaches have not systematically addressed this setting, where both modalities must be integrated within a unified framework\.

In this work, we address this gap by proposing a unified framework in which*all*patient data, regardless of modality, is converted into a single natural language sequence and used to fine\-tune a pretrained language model end\-to\-end\. Structured EHR variables—including demographics, comorbidities, laboratory results, and vital signs—are serialized into key–value textual representations and concatenated with clinical narratives\. This unified representation enables the model to learn cross\-modal relationships through its attention mechanism without requiring architectural modifications\. Importantly, the same model architecture and fine\-tuning procedure can be applied across different combinations of modalities and prediction tasks, avoiding the need for task\-specific fusion designs\.

We evaluate this approach across three clinical prediction tasks with distinct data sources and objectives: in\-hospital mortality prediction on MIMIC\-IIIJohnsonet al\.\([2016](https://arxiv.org/html/2607.15380#bib.bib9)\), combining clinical notes with temporal physiological features; graft failure prediction using data from a German transplant center, combining clinical narratives with longitudinal laboratory and comorbidity dataRolleret al\.\([2022](https://arxiv.org/html/2607.15380#bib.bib1)\); and emergency triage classification, combining short ambulance notes with structured vital measurements and neurological scoresMaschhuret al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib2)\)\. For each task, we compare encoder\-based fine\-tuning \(ModernBERTWarneret al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib4)\)\) and decoder\-based supervised fine\-tuning \(Llama 3\.1Grattafioriet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib5)\), GemmaTeamet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib6)\), DeepSeek\-R1\-QwenDeepSeek\-AI \([2025](https://arxiv.org/html/2607.15380#bib.bib7)\), and Qwen3Team \([2025](https://arxiv.org/html/2607.15380#bib.bib8)\)\) against established unimodal and multimodal baselines, as well as a gradient boosting system currently used in clinical practice for graft failure prediction\.

Our results show that the proposed serialization approach achieves performance comparable to or exceeding task\-specific multimodal baselines across all tasks\. These findings suggest that a unified text\-based representation can serve as an effective alternative to specialized multimodal architectures, while substantially reducing system complexity\.

The contributions of this work are as follows:

- •Unified multimodal serialization for EHR prediction\.We propose a general framework that converts heterogeneous EHR data—including clinical narratives and structured variables—into a single textual representation compatible with pretrained language models, eliminating the need for task\-specific architectures\.
- •Systematic evaluation across models and domains\.We compare encoder\-based and decoder\-based LLM fine\-tuning across three clinical prediction tasks spanning critical care, transplant medicine, and emergency triage, demonstrating the generality of the proposed approach\.
- •Comparison with clinical baselines\.We show that the proposed method matches or exceeds established research baselines and outperforms a gradient boosting system currently deployed in clinical practice for graft failure prediction, underscoring its potential for real\-world clinical use\.

## 2Related Work

### 2\.1Multimodal Fusion Architectures for EHR Prediction

The dominant paradigm for clinical prediction from heterogeneous EHR data is to process each modality with a dedicated encoder and combine representations through explicit fusion mechanisms\. Rajkomar et al\.Rajkomaret al\.\([2018](https://arxiv.org/html/2607.15380#bib.bib10)\)showed that deep learning over heterogeneous EHR data can outperform traditional statistical models, and Khadanga et al\.Khadangaet al\.\([2019](https://arxiv.org/html/2607.15380#bib.bib12)\)established a widely used baseline combining clinical notes with ICU time\-series via separate encoders for mortality prediction on MIMIC\-III\. Soenksen et al\.Soenksenet al\.\([2022](https://arxiv.org/html/2607.15380#bib.bib11)\)generalized this with HAIM, fusing imaging, tabular, time\-series, and text modalities through late fusion\. More recent work has pursued increasingly sophisticated fusion strategies: hypergraph\-based fusion of structured data with LLM\-derived text embeddingsCuiet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib29)\), evidence\-based fusion grounded in belief function theoryRuanet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib30)\), multi\-agent architectures where modality\-specific LLM agents summarize inputs before predictionGaoet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib31)\), and layer\-level fusion across modality\-specific encodersKimet al\.\([2026](https://arxiv.org/html/2607.15380#bib.bib32)\)\. Closer to our approach, EHR2PathPellegriniet al\.\([2026](https://arxiv.org/html/2607.15380#bib.bib43)\)converts longitudinal records into a unified textual representation, but still relies on a purpose\-built summarization module to compress long patient histories and targets trajectory simulation rather than direct outcome prediction\. Despite strong performance, these approaches share a common limitation: even the most generalizable, such as HAIM and MoMA, still require a modality\-specific encoder, agent, or compression mechanism to be designed for each new data type, demanding substantial engineering effort that does not readily generalize across tasks\. A recent scoping reviewBen\-Miledet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib34)\)highlights the handcrafted nature of most fusion architectures as a major barrier to scalable clinical deployment\.

### 2\.2LLM\-Based Serialization for Structured and Clinical Data

Pretrained language models have advanced clinical NLP through domain\-adapted encoders such as BioClinicalBERTAlsentzeret al\.\([2019](https://arxiv.org/html/2607.15380#bib.bib19)\), BioBERTLeeet al\.\([2020](https://arxiv.org/html/2607.15380#bib.bib20)\), and GatorTronYanget al\.\([2022](https://arxiv.org/html/2607.15380#bib.bib35)\), and more recently through large\-scale generative models: Med\-PaLMSinghalet al\.\([2023](https://arxiv.org/html/2607.15380#bib.bib22)\)achieved near\-clinician performance on medical examinations, and GPT\-4 has shown strong results on medical challenge problemsNoriet al\.\([2023](https://arxiv.org/html/2607.15380#bib.bib23)\)\. Building on these advances, a growing line of work fine\-tunes LLMs directly on serialized structured data\. CPLLMBen Shoham and Rappoport \([2024](https://arxiv.org/html/2607.15380#bib.bib36)\)fine\-tuned Llama2 on text\-serialized EHR codes and outperformed Med\-BERT on disease and readmission prediction without domain\-specific pretraining, and Hegselmann et al\.Hegselmannet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib38)\)showed that LLM embeddings of serialized structured records match or exceed specialized EHR foundation models across multiple tasks\. Outside the clinical domain, LIFTDinhet al\.\([2022](https://arxiv.org/html/2607.15380#bib.bib25)\)and TabLLMHegselmannet al\.\([2023](https://arxiv.org/html/2607.15380#bib.bib24)\)showed that fine\-tuning LLMs on serialized tabular rows can match gradient\-boosted models on general tabular classification and regression, and a recent survey by Fang et al\.Fanget al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib42)\)synthesizes the effectiveness of serialization\-based approaches across prediction, generation, and understanding tasks on tabular data\. In the emergency care setting, Lee et al\.Lee and others \([2024](https://arxiv.org/html/2607.15380#bib.bib45)\)introduced MEME, which converts multimodal tabular EHR data into synthetic clinical pseudo\-notes and outperformed traditional machine learning, EHR foundation models, and GPT\-4 prompting on emergency department decision support tasks\. Related work has further extended LLM fine\-tuning to longitudinal and temporal clinical reasoning: DT\-GPTMakarovet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib39)\)fine\-tunes LLMs to forecast clinical variable trajectories without architectural modification, TIMERCuiet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib40)\)instruction\-tunes LLMs for temporal reasoning across multi\-visit records, and Wu et al\.Wuet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib37)\)introduced instruction tuning for open\-ended EHR question answering using the MIMIC\-Instr dataset\.

Together, these studies establish that serialization is an effective interface between structured or code\-based EHR data and pretrained language models, and that fine\-tuning on serialized inputs can match or exceed specialized baselines without domain\-specific pretraining or architectural changes\. However, in each case the model is trained on a single source of information – structured codes, tabular features, or generated instruction\-response pairs – rather than the combination of free\-text clinical narratives and structured measurements that characterizes real\-world EHR prediction tasks\. At the same time, recent evidence suggests that this gap cannot simply be closed by prompting general\-purpose LLMs\. El Khettari et al\.El Khettari and others \([2026](https://arxiv.org/html/2607.15380#bib.bib51)\)found that supervised multimodal fusion of clinical text and structured variables outperformed LLM\-based approaches, which performed inconsistently across modalities and decoding strategies\. Yildiz et al\.Yildizet al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib41)\)further highlight open methodological challenges for LLMs in clinical prediction, including time\-to\-event modelling, calibration, and external validation\. Together, these findings motivate our focus on supervised fine\-tuning of LLMs on unified textual serializations, rather than zero\-shot or few\-shot prompting, as the more promising path toward closing the multimodal gap\. In contrast to all of the above, our work fine\-tunes pretrained LLMs on a single serialized sequence that jointly encodes both structured and unstructured patient information, and evaluates this approach directly against task\-specific multimodal fusion baselines and a clinical gradient boosting system across three distinct prediction tasks\.

Table 1:Overview of the datasets, input modalities, and prediction tasks used in the evaluation\.

## 3Datasets and Tasks

In this study, we evaluate our proposed methodology across three distinct clinical prediction tasks\. Each dataset presents a unique challenge in multimodal learning, requiring the synthesis of unstructured clinical narratives with structured electronic health record \(EHR\) data\. The selected tasks cover various clinical settings, including intensive care, long\-term outpatient monitoring, and emergency response\.

### 3\.1In\-Hospital Mortality Prediction \(MIMIC\-III\)

The first task involves predicting in\-hospital mortality among Intensive Care Unit \(ICU\) patients, utilizing the publicly available MIMIC\-III database\. This is formulated as a binary classification task to predict patient mortality during the hospital stay, conditioned strictly on data collected within the first 48 hours of ICU admission\. The feature space fuses unstructured clinical admission notes with 13 structured temporal vital signs and laboratory results\. To ensure numerical stability, temporal measurements undergo strict standardization, including unit normalization, outlier filtering, and hourly aggregation\. The dataset comprises a large\-scale cohort of 21,139 ICU admissions\. Following established benchmarks, the data is partitioned into a training set of 14,681 admissions \(approx\. 70%\), a validation set of 3,222 admissions \(15%\), and a held\-out test set of 3,236 admissions \(15%\)\. This yields a rich corpus of over 1\.2 million distinct temporal data points alongside corresponding clinical notes\. Performance is assessed using the Area Under the Receiver Operating Characteristic curve \(AUROC\) and the Area Under the Precision\-Recall Curve \(AUPRC\), the latter being particularly critical due to the inherent class imbalance of mortality events\.

### 3\.2Graft Failure Prediction

Sourced from a comprehensive clinical decision support system study at a German transplant center, the second dataset focuses on the longitudinal monitoring of kidney transplant recipients\. The primary objective is a binary classification task aimed at predicting the occurrence of death\-censored graft failure within 360 days following a specific outpatient clinical visit\. The model processes unstructured clinical progress notes in tandem with a robust set of structured variables, including patient demographics, documented comorbidities, and longitudinal trajectories of vital signs and laboratory results\. The cohort encompasses 1,516 kidney transplant recipients, capturing over 100,000 distinct routine clinical data points collected during post\-operative care\. To simulate real\-world prospective deployment, we employ a chronological split, allocating 70% of the longitudinal records for training, 10% for hyperparameter tuning, and the final 20% for independent testing\. Consistent with the mortality task, predictive performance is evaluated using AUROC and AUPRC to account for the skewed, rare distribution of graft failure occurrences\.

### 3\.3Emergency Triage Classification \(MTS\)

The final dataset consists of semi\-structured ambulance records and triage assignments from a German emergency department, presenting a high\-pressure, time\-sensitive clinical scenario\. This is framed as a multi\-class classification problem designed to predict the patient’s treatment urgency level upon emergency department arrival, adhering to the Manchester Triage System \(MTS\) guidelines\. Features include short\-form, often noisy text narratives describing the immediate clinical situation, coupled with structured physiological markers such as vital signs, pain scores, and the Glasgow Coma Scale \(GCS\)\. The dataset consists of over 18,000 anonymized emergency ambulance records collected over a two\-year period\. The dataset is partitioned into an 80% training split \(approx\. 14,400 records\), a 10% validation split, and a 10% test split, strictly stratified by MTS triage urgency levels to preserve class distributions\. Due to the multi\-class nature of the problem, the model is evaluated using Precision, Recall, and the Macro\-averaged F1\-score to equally weight the predictive performance across all triage categories, regardless of their frequency\.

## 4Method

### 4\.1Problem Formulation

We consider clinical prediction tasks where each patient encounter consists of both unstructured clinical narratives and structured electronic health record \(EHR\) data\. The structured data includes variables such as vital signs, laboratory measurements, demographics, and comorbidities\.

Formally, each sample can be represented as a pair:

\(xt​e​x​t,xs​t​r​u​c​t\)\(x\_\{text\},x\_\{struct\}\)
wherext​e​x​tx\_\{text\}denotes the clinical narrative andxs​t​r​u​c​tx\_\{struct\}represents the set of structured features associated with the patient encounter\. The learning objective is to predict a clinical outcomeyy, which may correspond to either a binary classification task \(e\.g\., mortality prediction\) or a multi\-class classification task \(e\.g\., triage level\)\.

Traditional multimodal approaches process these modalities using separate encoders and combine their representations through fusion mechanisms\. In contrast, our approach converts structured data into a textual representation, allowing a single language model to process both modalities jointly\.

### 4\.2Unified Multimodal Text Serialization

To enable language models to process heterogeneous clinical inputs, we convert all structured variables into a textual format and concatenate them with the clinical narrative\. This procedure produces a unified sequence that can be directly processed by a pretrained language model\.

For each patient record, structured variables are serialized as key–value pairs describing the clinical measurements\. An example serialized input is shown in Figure[1](https://arxiv.org/html/2607.15380#S4.F1)and Figure[2](https://arxiv.org/html/2607.15380#S4.F2)\.

Patient Information:Age: 67Sex: MaleHeart Rate: 92 bpmBlood Pressure: 130/80 mmHgCreatinine: 1\.4 mg/dLPain Score: 6Clinical Note:A 67\-year\-old male presented to the emergency department complaining of substernal chest pain radiating to the left shoulder\. Symptoms began approximately two hours prior to admission and were accompanied by shortness of breath and mild diaphoresis\. The patient reports a history of hypertension and hyperlipidemia and is currently taking amlodipine and atorvastatin…

Figure 1:Example of a serialized input with text and time invariant dataPatient Information:Heart Rate: 76\.09, 78\.75, 76\.88, 69\.75Respiratory Rate: 19\.19, 16\.62, 16\.62, 17\.5Systolic Blood Pressure: 136\.71, 129\.94, 140\.71, 144\.56Diastolic Blood Pressure: 65\.25, 56\.06, 59\.69, 55\.81Mean Blood Pressure: 85\.62, 76\.5, 80\.42, 78\.5Oxygen Saturation: 97\.08, 96\.38, 96\.62, 96\.38Temperature: 36\.68, 36\.56, 37\.06, 37\.0Glucose: 165\.0, 127\.0, 128\.0, 128\.0Glasgow Coma Scale Total: 11\.0, 11\.0, 11\.0, 11\.0PH: 7\.4, 7\.4, 7\.4, 7\.4Fraction Inspired Oxygen: 0\.21, 0\.21, 0\.21, 0\.21Weight: 90\.0Height: 170\.0Clinical Note:A 78\-year\-old male with a history of hypertension and type 2 diabetes mellitus was admitted for evaluation following an episode of altered mental status and generalized weakness\. On arrival, the patient was awake but only partially responsive, with a Glasgow Coma Scale score of 11 \(E3 V3 M5\)\. He was able to follow simple commands intermittently but remained disoriented to time and place\.

Figure 2:Example of a serialized input with text, time invariant data and time variant dataThis representation preserves the semantic meaning of structured variables while allowing the language model to attend to both modalities through its self\-attention mechanism\.

For temporal variables such as laboratory results and vital signs, measurements are first preprocessed through unit normalization and outlier filtering\. The resulting values are then aggregated over the observation window before serialization\.

The final serialized sequence is constructed as:

x=Serialize​\(xs​t​r​u​c​t\)⊕xt​e​x​tx=\\text\{Serialize\}\(x\_\{struct\}\)\\oplus x\_\{text\}
where⊕\\oplusdenotes concatenation\.

### 4\.3Model Architectures

We evaluate both encoder\-based and decoder\-based language models using the serialized multimodal input\.

Encoder\-based models\.We employ ModernBERT as an encoder\-only architecture with a context window of up to 8,192 tokens\. The serialized input sequence is processed by the encoder, and the contextual representation of the\[CLS\]token is used for downstream prediction\. A linear classification head is applied to produce the final output\.

Decoder\-based models\.We evaluate several generative LLM architectures, including Llama 3\.1, Gemma 2B, DeepSeek\-R1\-Qwen 8B, and Qwen 3 8B\. These models are fine\-tuned using supervised instruction\-style training to predict the target label as the next generated token\.

In this setup, the model receives the serialized patient record as input and generates the corresponding outcome label\.

### 4\.4Training Objective

For encoder\-based models, training follows the standard supervised classification objective\. Given the encoded representationhC​L​Sh\_\{CLS\}, the model predicts the class label using a linear layer:

y^=softmax​\(W​hC​L​S\+b\)\\hat\{y\}=\\text\{softmax\}\(Wh\_\{CLS\}\+b\)
The model parameters are optimized using cross\-entropy loss\.

For decoder\-based models, training follows the next\-token prediction objective commonly used in supervised fine\-tuning \(SFT\)\. The model is trained to generate the target label conditioned on the serialized patient record\.

Both model types are fine\-tuned on task\-specific datasets using standard optimization procedures\.

## 5Experimental Setup

This section describes the experimental framework used to evaluate the proposed LLM\-based approach against task\-specific baseline models\.

### 5\.1Baseline Models

We implement a diverse set of baseline architectures to reflect both state\-of\-the\-art research methods and existing clinical infrastructure:

- •In\-Hospital Mortality \(Unimodal & Fusion\):We evaluate unimodal baselines usingBioClinicalBERTfor clinical narratives and anLSTMnetwork for time\-series data\. For the multimodal baseline, we implement a gated fusion mechanism that combines the latent representations of both encoders\.
- •Emergency Triage \(Feature Concatenation\):The triage baseline utilizes aBERTencoder for ambulance notes and a linear projection layer for vital signs, and has been introduced in more deapth in previous workMaschhuret al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib2)\)\. These features are concatenated and passed through an MLP head to classify patient urgency according to the Manchester Triage System \(MTS\)\.
- •Graft Failure \(Gradient Boosting\):For the transplant task, we utilize aGradient Boosted Decision Tree \(GBDT\)model, which was used already in previous workRolleret al\.\([2022](https://arxiv.org/html/2607.15380#bib.bib1)\)\. This was selected specifically because it is established in the nephology department and currently evaluated within a clinical studyOsmanodjaet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib3)\)\. By using the GBDT as a baseline, we provide a direct comparison between the existing clinical standard and our proposed LLM\-based approach\.

### 5\.2Proposed Method: Unified Textual Serialization

Our approach avoids task\-specific fusion architectures, instead converting all multimodal EHR data into a unified textual format\. Structured variables such as vital signs and laboratory values are converted into textual representations and concatenated with clinical notes\. This allows the language model to learn relationships across modalities using its attention mechanism\.

- •Encoder\-only Models:We employModernBERTWarneret al\.\([2025](https://arxiv.org/html/2607.15380#bib.bib4)\)with an 8,192 token context window\. The model is fine\-tuned for classification using a linear prediction head applied to the\[CLS\]token representation\.
- •Decoder\-only Models:We evaluate a range of generative architectures, includingLlama 3\.1Grattafioriet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib5)\),Gemma 2BTeamet al\.\([2024](https://arxiv.org/html/2607.15380#bib.bib6)\),DeepSeek\-R1\-QWEN 8BDeepSeek\-AI \([2025](https://arxiv.org/html/2607.15380#bib.bib7)\), andQWEN 3 8BTeam \([2025](https://arxiv.org/html/2607.15380#bib.bib8)\)\. These models are trained via self\-supervised fine\-tuning \(SFT\) to predict a task\-specific class token through next\-token prediction\.

## 6Results

In this section, we present the empirical evaluation of our multimodal LLM approach across three distinct clinical tasks\. We evaluate our hypothesis that fine\-tuned multimodal LLMs using textual serialization outperform classic fusion models and task\-specific baselines\.

### 6\.1In\-Hospital Mortality Prediction \(MIMIC\-III\)

The results for the ICU mortality prediction task \(Table[2](https://arxiv.org/html/2607.15380#S6.T2)\) demonstrate that unified textual serialization effectively integrates temporal and textual information\. Both the encoder\-only ModernBERT and the decoder\-only DeepSeek\-R1\-FT achieved an AUROC of 0\.93 when using multimodal data \(Text \+ TS\) as input, outperforming the dedicated Text \+ TS Fusion baseline \(0\.90\)\. Furthermore, across all evaluated models \(Llama 3\.1, Gemma\-2\-9B, and QWEN3\), the multimodal configurations consistently outperformed their unimodal counterparts, confirming that the self\-attention mechanisms of general\-purpose LLMs successfully capture cross\-modal relationships\.

Table 2:Predictive performance for In\-Hospital Mortality on the MIMIC\-III dataset\. \(TS = Time\-Series\)
### 6\.2Emergency Triage Classification \(KIBATIN\)

For the multi\-class ambulance triage task, performance was measured using Macro, Micro, and Weighted F1\-scores \(Table[3](https://arxiv.org/html/2607.15380#S6.T3)\)\. DeepSeek\-R1 achieved the strongest overall results when all clinical features were serialized into the prompt alongside the text, yielding a Macro F1 of 0\.56 compared to 0\.40 for the classic fusion baseline\. Interestingly, the generative models showed a strong reliance on the unstructured text modality; for example, DeepSeek\-R1 achieved a 0\.51 Macro F1 using text alone, compared to 0\.39 using features alone\.

Table 3:Triage classification results \(Manchester Triage System\) on the KIBATIN ambulance dataset\.ModelMacro F1Micro F1Weighted F1Fusion \(Text \+ All\)0\.40\-0\.57ModernBERT \(Text\)0\.420\.550\.52ModernBERT \(Feat\)0\.430\.550\.50ModernBERT \(Text \+ Feat\)0\.490\.590\.56DeepSeek\-R1 \(Text\)0\.510\.610\.60DeepSeek\-R1 \(Feat\)0\.390\.540\.43DeepSeek\-R1 \(Text \+ Feat\)0\.560\.630\.63QWEN3\-9B \(Text\)0\.490\.590\.57QWEN3\-9B \(Feat\)0\.390\.530\.40QWEN3\-9B \(Text \+ Feat\)0\.530\.580\.58Gemma\-2\-9B \(Text\)0\.480\.570\.54Gemma\-2\-9B \(Feat\)0\.450\.560\.54Gemma\-2\-9B \(Text \+ Feat\)0\.520\.590\.58Llama3\.2\-3B \(Text\)0\.460\.570\.55Llama3\.2\-3B \(Feat\)0\.460\.530\.53Llama3\.2\-3B \(Text \+ Feat\)0\.510\.590\.59

### 6\.3Graft Failure Prediction \(PRIMA\-AI\)

Table[4](https://arxiv.org/html/2607.15380#S6.T4)compares the proposed text\-serialization models against a Gradient Boosting system deployed for kidney transplant patients\. The data shows that multimodal serialization allows LLMs to successfully surpass the tabular baseline\. Both ModernBERT \(0\.90 AUROC\) and DeepSeek\-R1 \(0\.90 AUROC\) exceeded the performance of the clinical Gradient Boost model \(0\.89 AUROC\)\. Furthermore, the serialized models demonstrated a noticeable improvement in AUPR \(up to 0\.47 vs\. 0\.43\), indicating superior detection of the minority class \(graft failure\)\.

Table 4:Graft Failure prediction performance comparing LLMs to the production Gradient Boosting system\.ModelAUROCAUPRF1\-ScoreGradient Boost \(Baseline\)0\.890\.430\.45ModernBERT \(Text\)0\.780\.260\.27ModernBERT \(Feat\)0\.880\.420\.43ModernBERT \(Text \+ Feat\)0\.900\.450\.47DeepSeekR1 \(Text\)0\.860\.360\.38DeepSeekR1 \(Feat\)0\.870\.390\.44DeepSeekR1 \(Text \+ Feat\)0\.900\.470\.47QWEN3\-9B \(Text\)0\.850\.300\.36QWEN3\-9B \(Feat\)0\.860\.350\.43QWEN3\-9B \(Text \+ Feat\)0\.900\.470\.46Llama3\.1\-8B \(Text\)0\.850\.300\.36Llama3\.1\-8B \(Feat\)0\.880\.370\.42Llama3\.1\-8B \(Text \+ Feat\)0\.890\.470\.40Gemma2\-9B \(Text\)0\.860\.280\.36Gemma2\-9B \(Feat\)0\.870\.390\.47Gemma2\-9B \(Text \+ Feat\)0\.890\.400\.45

## 7Discussion

Principal Findings In this study, we investigated whether large language models can act as unified multimodal learners for clinical prediction by serializing structured data into natural language sequences\. Across three highly diverse clinical environments—ICU mortality, emergency ambulance triage, and outpatient graft failure prediction—our results confirm the hypothesis that fine\-tuned multimodal LLMs consistently match or outperform classic task\-specific fusion architectures\. Most notably, standard LLM architectures fine\-tuned on serialized text representations outperformed a production\-grade Gradient Boosted Decision Tree \(GBDT\) model in predicting long\-term graft failure, highlighting the clinical viability of this paradigm\.

Architectural Insights: Encoders vs\. Decoders Our evaluation provides a rigorous comparison between encoder\-only \(ModernBERT\) and decoder\-only \(e\.g\., DeepSeek\-R1, QWEN3\) architectures\. The data reveals that both model families are highly capable of mapping cross\-modal relationships through self\-attention\. In the MIMIC\-III mortality task and the PRIMA\-AI graft failure task, ModernBERT effectively synthesized the disparate modalities, showing clear performance gains when text and structured features were combined \(e\.g\., jumping from 0\.88 to 0\.90 AUROC in graft prediction\)\.

However, generative decoder models demonstrated a particular robustness in noisy, unstructured environments\. In the KIBATIN triage task, which relies heavily on short, abbreviated ambulance notes, generative models like DeepSeek\-R1 \(Macro F1 0\.56\) significantly outperformed both the fusion baseline \(0\.40\) and the encoder\-based ModernBERT \(0\.49\)\. We hypothesize that decoder\-only models, pre\-trained on vastly larger and more diverse corpora, possess superior robustness when interpreting the sparse text typical of emergency settings\.

Clinical and System Implications The prevailing paradigm of task\-specific fusion creates significant friction in deploying clinical decision support systems\. Every new task typically requires custom preprocessing pipelines, isolated encoders, and specific hyperparameter tuning\. By demonstrating that a single, unified text serialization pipeline can simultaneously process time\-series data, tabular demographics, and unstructured clinical notes, we offer a pathway to drastically simplify clinical machine learning infrastructure\.

Limitations and Future Work Despite its empirical success, text serialization naturally expands the dimensionality of structured data\. A numeric laboratory matrix that requires minimal memory in a traditional tabular model consumes many more tokens when serialized, which may challenge context windows for patients with massive longitudinal histories\. Future work should investigate efficient serialization strategies, as well as multimodal interpretability to ensure these models can provide clinician\-trusted rationales for their predictions\.

## 8Conclusion

Integrating heterogeneous clinical modalities has historically required complex, bespoke fusion architectures\. In this study, we demonstrated that standard Large Language Models can serve as unified, high\-performing multimodal learners simply by serializing structured clinical data into natural language sequences\. Our comprehensive evaluation across critical care, emergency triage, and transplant nephrology shows that this unified approach consistently outperforms both specialized fusion models and traditional tabular ML baselines\. By unifying time\-series, tabular features, and text into a single representational space, this paradigm significantly reduces the engineering overhead of clinical decision support systems while maximizing predictive accuracy\.

## Limitations

## References

- Publicly available clinical BERT embeddings\.InProceedings of the 2nd Clinical Natural Language Processing Workshop \(ACL\),pp\. 72–78\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- O\. Ben Shoham and N\. Rappoport \(2024\)CPLLM: clinical prediction with large language models\.PLOS Digital Health3\(12\),pp\. e0000680\.External Links:[Document](https://dx.doi.org/10.1371/journal.pdig.0000680)Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p2.1),[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- Z\. Ben\-Miled, J\. A\. Shebesh, J\. Su, P\. R\. Dexter, R\. W\. Grout, and M\. A\. Boustani \(2025\)Multi\-modal fusion of routine care electronic health records \(ehr\): a scoping review\.Information16\(1\)\.External Links:[Link](https://www.mdpi.com/2078-2489/16/1/54),ISSN 2078\-2489,[Document](https://dx.doi.org/10.3390/info16010054)Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p1.1),[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- H\. Cui, X\. Fang, R\. Xu, X\. Kan, J\. C\. Ho, and C\. Yang \(2024\)Multimodal fusion of EHR in structures and semantics: integrating clinical records and notes with hypergraph and LLM\.arXiv preprint arXiv:2403\.08818\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p1.1),[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- H\. Cui, A\. Unell, B\. Chen, J\. A\. Fries, E\. Alsentzer, S\. Koyejo, and N\. Shah \(2025\)TIMER: temporal instruction modeling and evaluation for longitudinal clinical records\.arXiv preprint\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- DeepSeek\-AI \(2025\)DeepSeek\-R1: incentivizing reasoning capability in LLMs via reinforcement learning\.arXiv preprint arXiv:2501\.12948\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[2nd item](https://arxiv.org/html/2607.15380#S5.I2.i2.p1.1)\.
- T\. Dinh, Y\. Zeng, R\. Zhang,et al\.\(2022\)LIFT: language\-interfaced fine\-tuning with non\-language labels\.InAdvances in Neural Information Processing Systems \(NeurIPS\),Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- O\. El Khettariet al\.\(2026\)Is clinical text enough? a multimodal study on mortality prediction in heart failure patients\.arXiv preprint arXiv:2604\.01924\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p2.1)\.
- X\. Fang, W\. Xu, F\. A\. Tan, J\. Zhang, Z\. Hu, Y\. Qi, S\. Nickleach, D\. Socolinsky, S\. Sengamedu, and C\. Faloutsos \(2024\)Large language models on tabular data — a survey\.arXiv preprint arXiv:2402\.17944\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- J\. Gao, M\. Rahman, J\. Caskey, M\. Oguss, A\. O’Rourke, R\. Brown, A\. Stey, A\. Mayampurath, M\. M\. Churpek, G\. Chen, and M\. Afshar \(2025\)MoMA: a mixture\-of\-multimodal\-agents architecture for enhancing clinical prediction modelling\.npj Digital Medicine\.Note:arXiv:2508\.05492, published December 9, 2025External Links:[Document](https://dx.doi.org/10.1038/s41746-025-02219-4)Cited by:[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- A\. Grattafiori, A\. Dubey, A\. Jauhri, A\. Pandey, A\. Kadian, A\. Al\-Dahle, A\. Letman, A\. Mathur, A\. Schelten, A\. Vaughan,et al\.\(2024\)The llama 3 herd of models\.arXiv preprint arXiv:2407\.21783\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[2nd item](https://arxiv.org/html/2607.15380#S5.I2.i2.p1.1)\.
- S\. Hegselmann, A\. Buendia, H\. Lang, M\. Agrawal, X\. Jiang, and D\. Sontag \(2023\)TabLLM: few\-shot classification of tabular data with large language models\.InInternational Conference on Artificial Intelligence and Statistics \(AISTATS\),Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- S\. Hegselmann, G\. von Arnim, T\. Rheude, N\. Kronenberg, D\. Sontag, G\. Hindricks, R\. Eils, and B\. Wild \(2025\)Large language models are powerful electronic health record encoders\.arXiv preprint arXiv:2502\.17403\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p2.1),[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- A\. E\. W\. Johnson, T\. J\. Pollard, L\. Shen, L\. H\. Lehman, M\. Feng, M\. Ghassemi, B\. Moody, P\. Szolovits, L\. A\. Celi, and R\. G\. Mark \(2016\)MIMIC\-III, a freely accessible critical care database\.Scientific Data3,pp\. 160035\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p1.1),[§1](https://arxiv.org/html/2607.15380#S1.p4.1)\.
- S\. Khadanga, K\. Aggarwal, S\. Joty, and J\. Srivastava \(2019\)Using clinical notes with time series data for ICU management\.InProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing \(EMNLP\),pp\. 6432–6437\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p1.1),[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- J\. Kim, S\. Kang, J\. Shin, Y\. Lee, and O\. Jo \(2026\)LeMoF: level\-guided multimodal fusion for heterogeneous clinical data\.arXiv preprint arXiv:2601\.10092\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p1.1),[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- J\. Lee, W\. Yoon, S\. Kim,et al\.\(2020\)BioBERT: a pre\-trained biomedical language representation model for biomedical text mining\.Bioinformatics36\(4\),pp\. 1234–1240\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- S\. A\. Leeet al\.\(2024\)Emergency department decision support using clinical pseudo\-notes\.arXiv preprint arXiv:2402\.00160\.Note:The MEME framework: serializes multimodal tabular EHR data into pseudo\-notes for LLM\-based emergency department decision support\. Extended version published in npj Digital Medicine 8, 394 \(2025\)\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- N\. Makarov, M\. Bordukova, P\. Quengdaeng, D\. Garger, R\. Rodriguez\-Esteban, F\. Schmich, and M\. P\. Menden \(2025\)Large language models forecast patient health trajectories enabling digital twins\.npj Digital Medicine8,pp\. 588\.External Links:[Document](https://dx.doi.org/10.1038/s41746-025-02004-3)Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- F\. Maschhur, K\. Netter, S\. Schmeier, K\. Ostermann, R\. Palunis, T\. Strapatsas, and R\. Roller \(2024\)Towards ML\-supported Triage Prediction in Real\-World Emergency Room Scenarios\.InProceedings of the 23rd Workshop on Biomedical Natural Language Processing,pp\. 559–569\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.bionlp-1.46)Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[2nd item](https://arxiv.org/html/2607.15380#S5.I1.i2.p1.1)\.
- H\. Nori, N\. King, S\. M\. McKinney, D\. Carignan, and E\. Horvitz \(2023\)Capabilities of GPT\-4 on medical challenge problems\.arXiv preprint arXiv:2303\.13375\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- B\. Osmanodja, Z\. Sassi, S\. Eickmann, C\. M\. Hansen, R\. Roller, A\. Burchardt, D\. Samhammer, P\. Dabrock, S\. Möller, K\. Budde, and A\. Herrmann \(2024\)Investigating the impact of ai on shared decision\-making in post\-kidney transplant care \(prima\-ai\): protocol for a randomized controlled trial\.JMIR Research Protocols13\(1\),pp\. e54857\.Cited by:[3rd item](https://arxiv.org/html/2607.15380#S5.I1.i3.p1.1)\.
- C\. Pellegrini, E\. Özsoy, D\. Bani\-Harouni, M\. Keicher, and N\. Navab \(2026\)EHR2Path: scalable modeling of longitudinal patient pathways from multimodal electronic health records\.External Links:2506\.04831,[Link](https://arxiv.org/abs/2506.04831)Cited by:[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- A\. Rajkomar, E\. Oren, K\. Chen,et al\.\(2018\)Scalable and accurate deep learning with electronic health records\.npj Digital Medicine1\(1\),pp\. 18\.Cited by:[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- R\. Roller, M\. Mayrdorfer, W\. Duettmann, M\. G\. Naik, D\. Schmidt, F\. Halleck, P\. Hummel, A\. Burchardt, S\. Möller, P\. Dabrock, B\. Osmanodja, and K\. Budde \(2022\)Evaluation of a clinical decision support system for detection of patients at risk after kidney transplantation\.Frontiers in Public Health10,pp\. 979448\.External Links:[Document](https://dx.doi.org/10.3389/fpubh.2022.979448)Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[3rd item](https://arxiv.org/html/2607.15380#S5.I1.i3.p1.1)\.
- Y\. Ruan, D\. J\. Tan, L\. Huang, and M\. Feng \(2025\)Evidence\-based multimodal fusion on structured EHRs and free\-text notes for ICU outcome prediction\.arXiv preprint arXiv:2501\.12275\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p2.1),[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- K\. Singhal, S\. Azizi, T\. Tu,et al\.\(2023\)Large language models encode clinical knowledge\.Nature620,pp\. 172–180\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- L\. R\. Soenksen, Y\. Ma, C\. Zeng,et al\.\(2022\)Integrated multimodal artificial intelligence framework for healthcare applications\.npj Digital Medicine5\(1\),pp\. 149\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p1.1),[§2\.1](https://arxiv.org/html/2607.15380#S2.SS1.p1.1)\.
- G\. Team, M\. Riviere, S\. Pathak, P\. G\. Sessa, C\. Hardin, S\. Bhupatiraju, L\. Hussenot, T\. Mesnard, B\. Shahriari, A\. Ramé,et al\.\(2024\)Gemma 2: improving open language models at a practical size\.arXiv preprint arXiv:2408\.00118\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[2nd item](https://arxiv.org/html/2607.15380#S5.I2.i2.p1.1)\.
- Q\. Team \(2025\)Qwen3\.External Links:[Link](https://qwenlm.github.io/blog/qwen3/)Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[2nd item](https://arxiv.org/html/2607.15380#S5.I2.i2.p1.1)\.
- B\. Warner, A\. Chaffin, B\. Clavié, O\. Weller, O\. Hallström, S\. Taghadouini, A\. Gallagher, R\. Biswas, F\. Ladhak, T\. Aarsen,et al\.\(2025\)Smarter, better, faster, longer: a modern bidirectional encoder for fast, memory efficient, and long context finetuning and inference\.InProceedings of the 63rd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),pp\. 2526–2547\.Cited by:[§1](https://arxiv.org/html/2607.15380#S1.p4.1),[1st item](https://arxiv.org/html/2607.15380#S5.I2.i1.p1.1)\.
- Z\. Wu, A\. Dadu, M\. Nalls, F\. Faghri, and J\. Sun \(2024\)Instruction tuning large language models to understand electronic health records\.InProceedings of the 38th International Conference on Neural Information Processing Systems,NIPS ’24,Red Hook, NY, USA\.External Links:ISBN 9798331314385Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- X\. Yang, A\. Chen, N\. PourNejatian, H\. C\. Shin, K\. E\. Smith, C\. Parisien, C\. Compas, C\. Martin, M\. G\. Flores, Y\. Zhang,et al\.\(2022\)GatorTron: a large clinical language model to unlock patient information from unstructured electronic health records\.arXiv preprint arXiv:2203\.03540\.Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p1.1)\.
- Y\. Yildiz, G\. Nenadic, M\. Jani, and D\. A\. Jenkins \(2025\)Will large language models transform clinical prediction?\.Diagnostic and Prognostic Research9,pp\. 28\.External Links:[Document](https://dx.doi.org/10.1186/s41512-025-00211-w)Cited by:[§2\.2](https://arxiv.org/html/2607.15380#S2.SS2.p2.1)\.

## Appendix AExamples: Instruction Tuning Prompts

Figure[3](https://arxiv.org/html/2607.15380#A1.F3)presents an example prompt used for instruction tuning to forecast graft failure\.

Du bist ein Klassifikationsmodell zur Bestimmung des Risikos eines Transplantatversagens in der Nephrologie\. Dir stehen Patientendaten aus verschiedenen Quellen wie klinischen Messwerten, Laborbefunden und Arztberichten zur Verfügung\.\#\#\# Demografische Angaben:Alter: 54Geschlecht: männlichBlutgruppe: A\-\#\#\# Lebensstil und Risikofaktoren:Raucher: NeinAlkoholismus: Neinfam\. Hypertonus: NeinMedikamentenabu: NeinAnalalgetikaabu: NeinHyperlipoprotei: Nein\#\#\# Klinische Messungen:Blutdruck systolisch: 119\.0, 127\.0Blutdruck diastolisch: 83\.0, 87\.0Herzfrequenz: 112\.0, 123\.0Temperatur: NA, NAGewicht: 70\.0, 70\.5Urinvolumen: NA, 2400\.0Diuresezeit: 24\.0, 24\.0\#\#\# Laborwerte:Labor Kreatinin: NA, 2\.63Labor Urea: NA, 86\.0Labor Albuminurine: NA, NALabor Proteinurine: NA, NALabor CRP: NA, 7\.16Labor Eryeb: NA, 4\.44Labor Leukourine: NA, 1\.0Labor HB: NA, 12\.6Labor Stabicarb: NA, NA\#\#\# Transplantations\- und Verlaufsdaten:Transplantation Nummer Tx insgesamt: 15Transplantation Spenderart: 0Transplantation HbS AG: 0Transplantation HCV AK: 0Transplantation CMV AK: 0Transplantation Dialyseart: HDTransplantation Ischaemie kalt: 14\.0Transplantation Primaerfunktion: 1Transplantation MM Broad: 3\.0Transplantation MM Split: 1\.0Monate seit Transplantation: 18Anzahl an Aufenthalten im Krankenhaus: 12\#\#\# Ärztlicher Befund:Beurteilung: Tx Funktion stabil\. Stationäre Aufnahme auf 124 wie besprochen\. Pat\. geht es nicht so gut, ist seit letzter Woche heiser\. Pat\. wirkt etwas verändert im Verhalten\. Pat\. hat seit 27\.09\.2023 selbständig Valcyte trotz bestehender Virusaktivität und im therapeutischen Bereich liegender Ganciclovirspiegel abgesetzt\. Jetzt Virusbefund abwarten\. Berichtet Taubheitsgefühle in Fingern, Zunge, Lippe und Waden seit letzter Woche NA\> könnten NW von Valcyte sein\. Kein Fieber, sonst keine Beschwerden\. Keine Dyspnoe\. Appetit gut\. …Basierend auf den obigen Informationen, klassifizieren Sie, ob der Patient innerhalb der nächsten 360 Tage ein Transplantatversagen erleiden wird\.class 1: Nein \(kein Transplantatversagen erwartet\)class 2: Ja \(Transplantatversagen erwartet\)\#\#\# LÖSUNG:Die korrekte Antwort ist: class 1

Figure 3:German prompt use for instruction tuning to predict graft failure\.

Similar Articles

LLMs for Cardiovascular Risk Prediction from Structured Clinical Data

arXiv cs.CL

This paper presents a hybrid framework that combines structured clinical data with LLM-generated narratives for coronary artery disease prediction, achieving high fidelity in variable extraction and comparing ML models with LLM-based zero-shot and few-shot classification.