NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Early Detection of Pancreatic Cancer Using Multimodal Learning on Electronic Health Records

Mosbah Aouad, Anirudh Choudhary, Awais Farooq, Steven Nevers, Lusine Demirkhanyan, Bhrandon Harris, Suguna Pappu, Christopher Gondi, Ravishankar Iyer

TL;DR

This paper introduces a novel multimodal deep learning framework that integrates longitudinal diagnosis codes and irregular laboratory test time series from Electronic Health Records (EHRs) to predict pancreatic cancer up to a year before clinical diagnosis. By leveraging Neural Controlled Differential Equations (NCDEs), BioGPT embeddings, and cross-attention fusion, the model significantly outperforms single-modality baselines, achieving up to a 15.5% improvement in AUC.

What Problem Does This Paper Address?

Pancreatic ductal adenocarcinoma (PDAC) is one of the most lethal cancers, carrying a five-year survival rate of only around 10%. Because it rarely causes specific symptoms in its early stages, most patients are diagnosed only after the cancer has metastasized.

While Electronic Health Records (EHRs) offer a treasure trove of longitudinal patient history that could aid early detection, existing machine learning models typically look at only one type of data: either discrete diagnosis codes (ICD codes) or continuous laboratory test results. Single-modality approaches miss out on the rich, complementary interactions between these data types. For instance, lab results provide continuous, high-resolution physiological signals (like creeping glucose levels), while diagnosis codes capture clinically validated events (like comorbidities or imaging findings).

Integrating these two data types is technically challenging because they have fundamentally different structures: lab tests are continuous but irregularly sampled time series, whereas diagnosis codes are sparse, discrete events.

Methods

The authors developed a multimodal network architecture designed to handle the structural mismatch between clinical data types. The framework consists of three core components:

  1. Labs-Feature Encoder: Instead of treating all lab tests as a single flat vector, the model groups 35 routine lab tests into four physiological panels: metabolic, complete blood count (CBC), lipid, and liver. Each panel's irregular time series is modeled using a Neural Controlled Differential Equation (NCDE), which treats the data as a continuous-time path. A self-attention layer then captures dependencies across these four panels.
  2. Diagnosis-Code Feature Encoder: To capture the clinical semantics of ICD-10 codes, the model passes the codes through a pretrained biomedical language model (BioGPT). These high-dimensional embeddings are compressed via an autoencoder and fed into a Bidirectional LSTM (Bi-LSTM) to capture the forward and backward temporal evolution of the patient's disease history.
  3. Cross-Attention Fusion Module: Rather than simply concatenating the final vectors, the model uses a bidirectional cross-attention mechanism (codes-to-labs and labs-to-codes). This allows the model to dynamically align and weight features from one modality based on context from the other before passing the combined representation to a Multi-Layer Perceptron (MLP) classifier.
Proposed Multimodal Network Architecture

Datasets

The model was developed and evaluated using a real-world dataset from OSF Saint Francis Medical Center spanning up to 14 years of patient histories. The dataset initially included 9,950 patients (2,015 PDAC cases and 7,935 matched controls). After filtering for data completeness (e.g., requiring at least two measurements per lab test), the cohorts for the three evaluation windows were:

  • 6-month window: 4,694 patients (535 PDAC, 4,159 controls)
  • 9-month window: 3,612 patients (418 PDAC, 3,194 controls)
  • 12-month window: 3,470 patients (372 PDAC, 3,098 controls)

Key Insights and Ideas

  • Physiological Grouping Matters: Grouping lab tests into clinically meaningful panels (like liver or metabolic functions) allows the NCDEs to learn system-specific dynamics, mimicking how real clinicians interpret lab work.
  • Cross-Attention Bridges the Modality Gap: Simple concatenation performs poorly because it cannot reconcile the temporal and structural differences between sparse codes and continuous lab trajectories. Cross-attention explicitly models these inter-modal dependencies.
  • Clinical Alignment: Using feature attribution (Integrated Gradients), the model identified clinically well-established risk factors—such as chronic and acute pancreatitis—as the top predictors. Furthermore, when both modalities were used, the model naturally shifted its attention toward liver and metabolic panels, aligning with known early signs of PDAC like biliary obstruction and glucose dysregulation.

Key Results

The proposed multimodal method was evaluated across three prediction horizons (6, 9, and 12 months prior to actual clinical diagnosis) using Area Under the Curve (AUC) and Area Under the Precision-Recall Curve (AUPRC).

  • 6 Months Prior: Achieved an AUC of 0.738, outperforming the top diagnosis code baseline (CancerRiskNet, AUC 0.657) and the top lab baseline (GrpNN, AUC 0.664).
  • 9 Months Prior: Achieved an AUC of 0.686, representing a ~6% improvement over both single-modality baselines.
  • 12 Months Prior: Achieved an AUC of 0.680, yielding a substantial 15.5% improvement over CancerRiskNet (AUC 0.589) and a 5.4% improvement over GrpNN (AUC 0.645).

Ablation studies showed that removing BioGPT embeddings caused a 4.45% drop in AUC, while omitting the cross-attention mechanism led to a 3.22% drop, validating the importance of both semantic language pretraining and sophisticated fusion strategies.

Limitations and Future Work

Despite its strong performance, the authors note several limitations:

  • Coarse Fusion Level: The cross-attention mechanism is applied to the fully aggregated trajectories of labs and codes rather than mapping fine-grained interactions between specific lab panels and specific diagnosis codes.
  • Language Model Constraints: BioGPT is trained on biomedical text but not explicitly on structured sequences of medical codes, which might limit its ability to fully represent complex disease trajectories.
  • Single-Center Evaluation: The model was trained and tested on data from a single hospital system. External validation on more diverse, multi-center datasets is required to prove generalizability.

Summary updated

BibTeX
@misc{aouad2025early,
  author = {Mosbah Aouad and Anirudh Choudhary and Awais Farooq and Steven Nevers and Lusine Demirkhanyan and Bhrandon Harris and Suguna Pappu and Christopher Gondi and Ravishankar Iyer},
  title = {{Early Detection of Pancreatic Cancer Using Multimodal Learning on Electronic Health Records}},
  year = {2025},
  eprint = {2508.06627},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.06627},
}
Figure