arXiv:2610.08046cs.LGOct 2026

Manuscript Offprint

arXiv:2610.08046

SepsisLens: Structure-Preserving Sequence Modelling for Decomposable Early Sepsis Warning

Yikun Ou, Wei Li

Abstract

Early sepsis warning from ICU records can be cast as a structure-preserving prediction problem. A model needs to detect deterioration from irregular measurements while keeping each alert connected to the physiological signals that support it. Many temporal models fuse clinical variables into a patient-level representation, supporting scalar risk prediction but weakening the structure needed for clinical decomposition. We present SepsisLens, which preserves variable-indexed temporal states until risk composition. Observation-aware representations encode each variable's dynamics and measurement history, while a shared temporal encoder models each trajectory without collapsing the variable axis. The StructuredRiskHead composes multi-horizon risk from explicit variable-level and organ-level components. We evaluate SepsisLens on three public ICU cohorts and one private-hospital cohort under a common pre-onset protocol. SepsisLens achieves strong discrimination on all four cohorts and lower alert burden at matched event recall on MIMIC-IV. Structural ablations support the design, while input-side masking shows that the ranked components reflect variables with greater influence on prediction.

Introduction

In the ICU, patients with emerging sepsis can deteriorate before the diagnosis is clear. A useful warning needs to detect this change in time to support intervention while remaining selective enough to limit false alarms. It also needs to show which physiological signals support the warning. A single risk score can raise concern, but the score is difficult to act on when detached from the signals behind it.

ICU electronic records make this warning task difficult. Clinical variables are measured at different frequencies in ICU care. Vital signs may be recorded often, laboratory tests may appear only intermittently, and some measurements may never be ordered. These observation patterns are clinically meaningful. The decision to measure a variable can reflect concern about the patient's condition. Sepsis adds another layer of structure. Organ dysfunction is central to its assessment, and SOFA summarises this dysfunction while retaining an organ-level account (Singer et al. 2016; Vincent et al. 1996). The score is an aggregate value, but it remains linked to the organ systems that contribute to the overall assessment. A model that returns only a scalar risk score can lose this link between prediction and physiological organisation.

Learning-based sepsis predictors have improved several parts of early warning. Recurrent and temporal models learn patient-level risk from ICU trajectories (Futoma, Hariharan, and Heller 2017; Rosnati and Fortuin 2021). Irregular-time models account for uneven measurements and missingness (Che et al. 2018; Shukla and Marlin 2021; Zhang et al. 2022). Attention-based models relate predictions to clinical variables (Choi et al. 2016), while calculator-informed graph models integrate clinical scores into temporal prediction (Yin et al. 2025). These advances leave a structure-preservation problem unresolved. Many temporal predictors fuse clinical variables into a patient-level representation before variable-specific temporal states are formed. We call this design early fusion. Early fusion can support scalar discrimination, but it weakens the variable structure needed for decomposable warning. Once variables have been mixed into a global hidden state, the prediction path no longer retains an explicit variable axis. The model may still rank risk well. The resulting risk, however, is not naturally composed from variable-level and organ-level components. Post-hoc attribution can identify inputs associated with a prediction (Jain and Wallace 2019; Rudin 2019). It does not make the prediction itself a structured composition of clinical components. Much prior work asks how a computed risk score can be explained. We ask how to preserve the clinical structure needed for risk to remain decomposable during prediction.

SepsisLens addresses this gap by preserving variable-indexed temporal states until risk composition. Observation-aware variable representations retain value dynamics, measurement timing, and never-observed status. A shared temporal encoder models each variable trajectory while preserving the variable axis. The StructuredRiskHead computes signed variable-level components, aggregates them into organ-level components, and adds a global residual correction to each horizon-specific risk logit. Organ-dysfunction supervision aligns the organ-level components during training. This design places an explicit clinical component path inside the forward computation and retains a residual path for global correction. Figure 1 summarises this structure-preserving path and contrasts it with early-fusion prediction and post-hoc attribution. We evaluate SepsisLens on three public ICU cohorts and one private-hospital cohort using a common pre-onset protocol. The evaluation examines predictive discrimination, alert burden at matched recall, the contribution of

Figure

Figure 1: Motivation for SepsisLens. (a) Irregular ICU observations contain information about variable values, changes, and measurement history. (b) Early fusion collapses variable trajectories into a global representation without explicit variable- or organ-level components. Post-hoc attribution is applied outside the risk computation. (c) SepsisLens preserves variable-indexed temporal states until risk composition, producing multi-horizon risk with explicit variable- and organ-level components.

the structural design, and the functional relationship between the ranked components and prediction.

The main contributions are as follows:

• We formulate ICU sepsis warning as a structure-preserving early-event prediction problem, where variable identity remains available until risk composition and is not removed by early fusion.

• We develop observation-aware variable representations and a variable-preserving temporal encoder that models each clinical variable as an identifiable temporal state until prediction.

• We introduce the StructuredRiskHead, which forms multi-horizon risk from signed variable-level components, organ-level aggregation, and a global residual correction, with organ-dysfunction supervision for component alignment.

• We evaluate SepsisLens on four ICU cohorts under a common pre-onset and validation-selected early-warning protocol. Results show strong discrimination on all cohorts, lower false alarm rates at matched event recall on MIMIC-IV, and functional relevance of structured components via ablations and input-side masking.

References (22)