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

Learning When a Clinical Note Is Talking About: Lag-Aware Word-to-Signal Grounding in ICU Records

Models that combine bedside vital signs with clinical notes nearly always treat a note as a single block of text attached to a whole window of physiology. In reality, the word "hypotensive" in a nursing note refers to a particular stretch of blood-pressure readings. That stretch usually happened some unknown number of hours before the note was saved, because clinicians chart in bursts and often after the event. We propose to learn this correspondence directly. Each word in a note is linked to the short interval of physiological signal it describes, and the delay between the event and its documentation is treated as a hidden quantity the model infers. The only timing supervision is the note's save time. Everything else comes from the requirement that words should match the physiology of their own patient at the right moment better than the same patient's physiology at other moments.

The opportunity comes from two literatures that have not met. In speech and affect recognition, averaging a whole utterance into one vector is known to hide the word-level interactions that carry meaning, a failure called "temporal blindness." Explicit word-to-frame alignment fixes it. The fix, however, depends on exact word timestamps. In clinical records the timestamps are missing and the streams are asynchronous, irregularly sampled and fragmented. That is precisely the setting word-level alignment has never handled. If the correspondence can be learned without timestamps, clinical models gain an inductive bias that current fusion methods lack. The learned delays are also a measurable description of documentation fragmentation, which is useful on its own terms.

Core Claim

A pretraining objective can recover which sub-interval of a patient's physiological time series each clinical word refers to. It needs three ingredients: a word-level contrastive loss whose negatives come from the same patient at other times, a learned per-note-type distribution over charting delay, and a "no physiological referent" option for each word. Recovery should be accurate enough to be checked against the vitals themselves. The resulting representations should outperform window-level contrastive pretraining and unconstrained cross-attention in low-label ICU prediction, and they should degrade more gracefully when records are made more fragmented. The new element is grounding words in time under lagged, asynchronous documentation without timestamps. It is not a better way of fusing a note vector with a vitals vector.

Where This Sits

The speech side supplies the method and the motivation. SPECTRA names temporal blindness and fixes it with a Temporal Position Prediction task that regresses each token's start and end time in the audio. It reports 87.50% accuracy on MOSI and 67.94% on IEMOCAP. It requires word-level timestamps from Spotify100K, and that requirement is exactly what clinical data cannot meet. CoLLAT aligns audio patches to text tokens with a token-level loss on top of a global contrastive loss, and it keeps the text encoder frozen so the language model's general ability is not degraded. We borrow the frozen-text-encoder design and the combination of local and global losses. WACO shows that word-aligned contrastive learning constrains the representation space usefully in low-resource speech translation, which supports our bet on data-scarce clinical pairs. All three assume that signal and text are synchronous and densely paired. Our starting premise is that they are not.

On the clinical side, existing work either motivates the gap or supplies the strongest competitors. Multimodal Pretraining of Medical Time Series and Notes contrasts whole notes against whole measurement windows on MIMIC-III and reaches AUROC 0.706 for in-hospital mortality with 1% of labels. Its alignment stops at the window level, so no word is tied to a moment. On the Importance of Clinical Notes in Multi-modal Learning for EHR Data lets structured time series attend to Clinical BERT note representations. It finds that nursing and radiology notes carry most of the benefit, while physician notes largely restate numbers already in the record. It reports decompensation AUPRC of 39.7 against 31.7 for the structured-data-only model. That finding directly shapes our design: the delay distribution and the "no referent" option are conditioned on note type, so the model can learn that physician notes often point to nothing new. A Multimodal Transformer bins notes into hourly tokens and obtains word importance only after training, through Integrated Gradients. Its authors state that the model cannot tell "crackles" from "no crackles." We treat that negation failure as a test case the proposal must pass. Using Clinical Notes with Time Series Data for ICU Management downweights older notes with a fixed exponential decay ($\lambda = 0.01$) applied to the whole note. FTL-Trans learns the decay shape but models notes only. Our delay model can be read as a word-level, cross-modal and learned generalization of both. TRACE comes closest in spirit, since it grounds text in time series. However, it aligns a static description of a variable to that variable's channel token, and its authors leave weakly supervised and unaligned settings for future work. We address the time axis rather than the channel axis, under weak supervision.

Research Program

We cut each ICU stay's multivariate vitals and labs into short patches, for example 15 minutes each, with missingness masks. A time-series encoder embeds every patch as $z_t$. Clinical notes pass through a frozen clinical language model followed by a small trainable projection, which yields contextual token embeddings $w_i$. Because the embeddings are contextual, "fever" in "no fever" differs from "fever" in "spiked a fever." Each note $n$ has a save time $\tau_n$ and a source type $s_n$ (nursing, physician, radiology, and so on). For token $i$ in note $n$ we define a soft alignment over the patches preceding the save time, plus one learned null slot $z_\varnothing$:

$$a_{it} \propto \exp\!\big(\langle w_i, z_t\rangle/T\big)\; p_\phi(\tau_n - t \mid s_n),$$

Here $T$ is a temperature and $p_\phi$ is a learned distribution over the delay between a patch and the note's save time, one per note type. It is parameterized as a small mixture so that it can express "immediately" as well as "end-of-shift recap." The token's grounded context is $c_i = \sum_t a_{it} z_t$.

The pretraining signal is a multiple-instance contrastive loss, the standard device for weakly supervised grounding when the matching element is unknown but the bag containing it is known. The positive bag is the patch window before the true save time. The negatives are windows from the same patient's stay at other times, and those negatives are what enforce local grounding. Cross-patient negatives can be separated by patient identity alone. Same-patient negatives can only be separated if the word actually matches its moment. Tokens aligned mostly to the null slot are excluded from this loss, so words with no physiological counterpart ("DNR," past history) are not forced onto the signal. A global note-to-window contrastive term, as in King et al., and masked reconstruction of patches are retained so that the proposal strictly adds to the window-level baseline. We will ablate the loss weights.

The program builds the model, then studies two outputs. The first is the alignment maps: which patches words point to, and whether negated findings go to the null slot or to normal intervals. The second is the learned delay distributions by note type, which directly measure documentation lag in a fragmented record and can be compared with the recap-style charting described by Khadanga et al.

Baselines

The naive reference points are a vitals-only LSTM on the same cohort and patches, and the same encoders trained from scratch without pretraining. Every method must beat them clearly. Otherwise, text is not contributing.

The strongest existing pretraining competitor is window-level contrastive pretraining from Multimodal Pretraining of Medical Time Series and Notes. It reports in-hospital mortality AUROC of 0.706 with 1% labels, against 0.528 from scratch. We will reimplement it on our cohort with our encoders, the same pretraining pairs, the same compute budget and the same hyperparameter-search budget. The only difference will then be the word-level terms. Beating it means a statistically significant AUROC and AUPRC gain across seeds at the 1%, 10% and 100% label fractions.

The strongest fusion competitor is unconstrained cross-attention from structured sequences to note tokens, following On the Importance of Clinical Notes. It reports decompensation AUPRC of 39.7. We extend it to attend over individual tokens rather than pooled notes, so that it has every opportunity to learn alignment implicitly. We also run the hourly-binned Multimodal Transformer, which reports in-hospital mortality AUCPR 0.538 and AUCROC 0.877, and mean-note late fusion from Predicting in-hospital mortality by combining clinical notes with time-series data, which reports AUC 0.899 on its own cohort split. Because the cohorts differ across papers, the cited figures serve as sanity anchors: our reimplementations should land near them. The claims themselves rest on the common-cohort comparison.

Ablations isolate the key ingredients. Replacing same-patient negatives with cross-patient negatives tests whether local grounding comes from the negative design. Replacing $p_\phi$ with a uniform prior, or with the fixed exponential decay of Khadanga et al., tests the value of learning delay. Removing the null slot tests whether forcing every word onto the signal causes harm. Sharing one delay distribution across note types tests whether note provenance matters.

Why not just…?

Why not just use finer time bins and let cross-attention learn the alignment? This is the most serious threat. Token-level cross-attention trained only on outcome labels could in principle discover which patch a word refers to. The evidence against it is indirect. The binned Multimodal Transformer fails on negation, and outcome supervision is sparse, especially at 1% labels, where King et al. show that pretraining matters most. The token-level cross-attention baseline above settles the question directly. If its attention maps score as well as ours on the localization probe described below, and it matches us downstream, then the grounding objective adds nothing and we will report that.

Why not just extract timestamped entities with rules or a language model and treat them as structured features? MoMA-style translation into text (MoMA), or its reverse of turning text into events, is cheap and interpretable. It inherits the timing problem, however, because the extracted entity still carries only the note's save time. It also risks hallucination and covers only a fixed vocabulary. We will run an extraction baseline that uses a clinical entity recognizer with negation detection, bins entities at their save time and feeds them as features. If it matches our downstream results, our contribution narrows to the delay analysis and to grounding of words outside any lexicon. That is a real possibility, and the experiment is designed to show it.

Why not just apply a per-token time decay? A decay that depends only on elapsed time cannot place a word at a particular earlier event. It can only fade older words. The fixed-decay ablation swaps this in directly, so the comparison is exact.

Why not just drop physician notes, given Husmann et al.'s finding? Dropping them is a fair hard-coded version of what our note-type-conditioned null slot learns softly. We include it as a variant of every baseline. If the learned model merely rediscovers "ignore physician notes," the per-type null rates will show it.

Proposed Experiments

All training and evaluation uses MIMIC-III with the standard in-hospital mortality, decompensation and length-of-stay tasks. We pretrain on note–window pairs from training patients only and split by patient to prevent leakage. We report AUROC and AUPRC, plus Cohen's kappa for length of stay.

The decisive check on alignment uses a physiological probe. Words with checkable referents ("tachycardic," "febrile," "hypotensive," "desaturated") are paired with threshold rules on the signal, such as heart rate above 100 or MAP below 65. We ask whether each word's highest-weight patch falls in a matching abnormal interval, compared with a baseline that uses only the note's save time. We then hold these words out of pretraining through a masking variant, to test whether grounding generalizes beyond them. For negation, the probe requires "no fever" and "afebrile" to align to the null slot or to normal intervals at rates near those of plain normal findings. The per-note-type delay distributions are reported and checked for plausibility, for example whether radiology reports show a characteristic longer lag.

The fragmentation stress test perturbs the test records in three ways. It deletes a growing fraction of notes, shifts save times by random extra delays, and removes contiguous blocks of physiology. We then plot degradation curves against the window-level and cross-attention baselines. If lag-aware grounding captures real structure, it should degrade more slowly under added delay while providing no special benefit under deleted physiology, and that asymmetry is itself a prediction.

External transfer targets eICU-CRD, following Integrating Physiological Time Series and Clinical Notes with Transformer for Early Prediction of Sepsis, which reports sepsis AUROC of 0.882 at 36 hours there. We pretrain on MIMIC-III and fine-tune with few labels on eICU. Our model must hold its advantage over window-level pretraining across institutions to support any claim about fragmented, multi-site data.

The proposal fails cleanly in either of two cases. The first is that alignment accuracy on the probe does not exceed the save-time baseline. The second is that token-level cross-attention or the entity-extraction baseline matches our downstream gains at equal budget.