MARC: Multi-Scale Adaptive Relation Calibration for Longitudinal EHR-based Heart Failure Prediction

Ziyan Lin, Ning Liu, Yuntao Du, Tong Ding, Haitao YuanOpenReview 2027 · Submission to ICLR 2027 · Withdrawn

It’s late, you’ve had a long day, and the last thing you want is a dense lecture on medical informatics. But imagine for a moment the sheer complexity of a hospital’s database. Every patient is a story told through a sequence of diagnosis codes, visit dates, and clinical outcomes. Predicting something as critical as heart failure from these "Electronic Health Records" (EHRs) is a bit like trying to predict the end of a novel by looking at a list of keywords from the first five chapters.

The paper MARC: Multi-Scale Adaptive Relation Calibration introduces a smarter way to read these stories.

TL;DR

MARC is a framework that improves heart failure prediction by "fine-tuning" how AI models use medical knowledge. Instead of blindly applying general medical rules to every patient, it adaptively calibrates those relationships based on a patient's specific history, ensuring the model doesn't lose sight of individual details while learning from the "big picture."

What Problem Does This Paper Address?

Predicting heart failure (HF) isn't just about seeing a single "bad" symptom; it’s about understanding the relationships between different diagnoses over time. Researchers usually use two types of "relational evidence" to help models:

  1. Medical Hierarchies: Knowing that "Hypertension" is a specific type of "Cardiovascular Disease."
  2. Co-occurrence Graphs: Knowing that patients with Diabetes often also have Kidney Disease.

The problem? Standard models are often too "heavy-handed." They might let a broad category (like Cardiovascular Disease) drown out the specific nuances of a patient's actual diagnosis. Or, they might apply a general population trend to a patient whose current state makes that trend irrelevant. The authors call these "mismatches."

Figure 1: Three relation-use mismatches motivating MARC: coarse hierarchical semantics, patient- invariant cohort-level edge strengths, and patient-wise supervision that does not directly constrain inter-patient relations.

Methods

The authors propose MARC, which stands for Multi-Scale Adaptive Relation Calibration. Its core philosophy is "preserving support while calibrating strength." In plain English: don't invent new relationships, just get better at weighing the ones we already know.

MARC uses three distinct "calibration" modules:

  • Knowledge-aware (H): This looks at medical hierarchies but uses an attention mechanism to decide exactly how much "ancestor" information to mix into a specific code. It uses a "residual mixture" to ensure the original, specific diagnosis isn't lost in the noise of broad categories.
  • State-aware (E): This takes the general co-occurrence graph (what usually happens in the population) and adjusts the "strength" of those connections based on the patient's current clinical state. If a patient is in a specific crisis, certain disease relationships become more important than others.
  • Class-aware (R): This is a special "training-only" trick. It looks at a batch of patients and encourages the model to give similar "representations" to patients who end up with the same outcome (e.g., both develop heart failure) and different representations to those who don't.
Figure 2: Overview of MARC. H calibrates hierarchical code semantics, E conditions existing co- occurrence edges on patient state, and R regularizes patient relations during training only.

Datasets

The model was put to the test on two massive, gold-standard clinical datasets:

  • MIMIC-III: A de-identified database of over 7,000 patients.
  • MIMIC-IV: A newer, larger cohort of 10,000 patients. Both datasets involve real-world longitudinal records where the goal is to predict if heart failure will appear in the next hospital visit.

Key Insights and Ideas

  • Calibration over Addition: Most papers try to find more data or new graphs. MARC argues that we already have the right graphs; we just use them poorly. By "calibrating" the strength of existing edges, we get better results than by adding more complexity.
  • The Specificity Trap: A major "aha" moment in the paper is demonstrating how easily specific medical information gets "diluted" by high-level categories. MARC’s residual mixture (the 'H' module) acts like a high-fidelity filter to prevent this.
  • Context is King: The 'E' module proves that a disease relationship that holds true for the general population might be useless—or even misleading—for a patient in a specific clinical state.

Key Results

MARC consistently outperformed a suite of heavy-hitting baselines (like RETAIN, GRAM, and BoxLM) across all major metrics.

Table 1: Performance comparison. MARC achieves the highest scores (bold) across AUROC, F1, and AUPRC while maintaining the lowest Brier score (lower is better).

Specifically, on MIMIC-III, MARC improved the AUROC (a measure of how well the model distinguishes between classes) by 0.64 points over the strongest baseline. Perhaps more importantly, it achieved the lowest Brier score, which means the model's predicted probabilities are more "calibrated" and trustworthy—a vital trait for any AI used in a hospital.

Limitations and Future Work

While the results are impressive, the authors note a few hurdles:

  • Single System: Both datasets come from the same medical center system. To truly trust MARC, we need to see how it handles data from different hospitals with different coding styles.
  • Hierarchy Coverage: The medical hierarchy used (CCS) doesn't cover 100% of all possible diagnosis codes, leaving a small gap in the "Knowledge-aware" module's reach.
  • Future Directions: The authors suggest exploring even broader prediction tasks beyond heart failure and looking into how the depth of the medical hierarchy affects the model's performance.

In short, MARC suggests that the key to better medical AI isn't just "more data," but a more nuanced, calibrated way of respecting the data we already have.

Summary updated

Abstract

Predicting whether heart failure is recorded at a subsequent visit from longitudinal electronic health records (EHRs) requires modeling both cross-visit dependencies and the relations among diagnosis codes. Existing methods exploit temporal information, medical knowledge, and graph structure, yet provide limited control over how these relations are integrated into code representations, graph propagation, and training supervision in a specific prediction context. We propose MARC, an adaptive relation-calibration framework built on the principle of preserving support while calibrating strength. MARC comprises three calibration mechanisms: knowledge-aware hierarchical semantic calibration retains code-specific information; state-aware edge calibration controls the propagation strength of observed co-occurrence edges; and class-aware patient relation calibration regularizes within-batch patient relations during training. Evaluated on heart-failure prediction cohorts constructed from MIMIC-III and MIMIC-IV, MARC achieves the highest mean AUROC, F1, and AUPRC and the lowest mean Brier score on both cohorts. A complete factorial study further reveals that the contributions of the three calibration mechanisms depend on the dataset and module combination, rather than combining as fixed additive gains. The source code is available at https://anonymous.4open.science/r/marc-reproducibility-5109/.
BibTeX
@misc{lin2027marc,
  author = {Ziyan Lin and Ning Liu and Yuntao Du and Tong Ding and Haitao Yuan},
  title = {{MARC: Multi-Scale Adaptive Relation Calibration for Longitudinal EHR-based Heart Failure Prediction}},
  year = {2027},
  url = {https://openreview.net/forum?id=SSMxrLiXKA},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2027},
}
Figure