This paper, presented at the Workshop on Structured Data for Health at ICML, addresses a critical "trust gap" in clinical AI: why high-accuracy sepsis prediction models are often ignored by doctors at the bedside.
TL;DR
Sepsis is a "disease of trajectory," yet current AI explanation methods conflate a measurement’s value with its timing. The authors introduce Position-aware eXplanation (PaX), a framework that disentangles "what" a measurement is from "when" it occurred, revealing that many "important" features are actually just artifacts of positional bias in sequence models.
What Problem Does This Paper Address?
Sepsis is a leading cause of hospital mortality, and while modern machine learning models (like Transformers or Mamba) can predict its onset hours in advance, their "black box" nature remains a barrier. Clinicians don't just want to know if a patient is at risk; they need to know which measurement signaled deterioration and when it happened.
Existing feature attribution methods (like LIME or SHAP) treat input features as independent entities. However, in a medical sequence, the significance of a vital sign depends entirely on its temporal context—a spike in heart rate is more alarming if it follows a steady decline in blood pressure. Furthermore, sequence models suffer from architectural biases, such as primacy bias, where they over-rely on information at the beginning of a sequence (like demographics recorded at admission) simply because of its position, not its clinical relevance.
Methods
The authors propose PaX (Position-aware eXplanation), a model-agnostic framework that treats positional information as a first-class feature.
- Augmented Representation: PaX explicitly formulates the input as a pair $(x, p)$, where $x$ is the clinical feature and $p$ is its temporal position.
- POS-SWAP Perturbation: To calculate attribution, standard methods "mask" or remove features. PaX introduces a "position swap" mechanism. To test the importance of "when," it randomly swaps the positions of measurements in a sequence while keeping the clinical values the same.
- Decomposed Attribution: This allows the explainer to produce two distinct scores: a "what" score ($\alpha_x$) for the clinical content and a "when" score ($\alpha_p$) for the timing.
- Dual-Axis Faithfulness: The authors propose new metrics to test if these explanations are "faithful" to the model's logic by measuring how moving (insertion) or removing (deletion) features based on their positional scores affects the model's prediction.
Datasets
The framework was evaluated using three state-of-the-art sequence backbones (GPT-2, Mamba, and MedGemma) across two major datasets:
- PhysioNet 2019: A standard ICU sepsis prediction dataset with hourly clinical variables.
- MC-MED: A more complex emergency department dataset featuring minute-level vitals and continuous physiological waveforms.
Key Insights and Ideas
- Exposing Primacy Bias: Standard LIME often identifies "Gender" as a top predictor for sepsis. PaX reveals this is a "false positive" attribution caused by the model's bias toward the start of the input string ($t=0$). When position is decoupled, Gender’s importance score plummets, while "Age" remains high because it carries genuine biological signal.
- Surfacing "Higher-Order" Factors: By isolating positional noise, PaX highlights downstream biochemical responses (like changes in pH or BUN levels) that emerge over time. These are often masked by high-variance raw vitals in standard attribution methods.
- Trajectory over Snapshot: The paper argues that effective clinical AI must reflect longitudinal reasoning. PaX is a step toward explaining trajectories rather than isolated data points.
Key Results
- Improved Faithfulness: PaX-Feature consistently outperformed standard "Feature-only" baselines. On the complex MC-MED dataset, insertion AUC (a measure of how well the explainer identifies truly important features) rose by up to 0.03.
- Clinical Alignment: The authors compared PaX-LIME attributions against expert clinician annotations. PaX scores aligned significantly better with clinical judgment than standard LIME, particularly for "indirect indicators" of sepsis that sit outside formal definitions but carry diagnostic weight in practice.
- Actionability: PaX identified that 4 of the top 10 most important features (Age, pH, BUN, AST) are not included in formal sepsis guidelines (like SOFA) but are highly valued by clinicians, proving the tool can surface "uncodified" but actionable insights.
Limitations and Future Work
- Model Specificity: While PaX is model-agnostic, the authors noted that larger, pre-trained models like MedGemma (4B parameters) showed smaller gains, suggesting these models might already "absorb" some position-feature interactions in their internal representations.
- Post-hoc Nature: PaX is a post-hoc explanation tool; it explains what a trained model is doing but does not necessarily "fix" the underlying positional biases during training.
- Future Directions: The authors suggest extending this work to create real-time bedside visualizations that show clinicians how a patient's risk score evolves as specific physiological trends develop over time.
Summary updated