arXiv:2610.02868cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02868

Distributionally Robust Survival Models under Subpopulation Shift and Outlier Contamination

Seonghwi Kim, Sung Ho Jo, Minwoo Chae

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Learning robust survival models under distribution shift is an important but challenging problem in many applications. In heterogeneous populations, a model that performs well on average may still perform poorly on certain subpopulations, and this issue becomes even more severe when the training data are contaminated by outliers. In this paper, we propose a novel distributionally robust framework for survival analysis that jointly addresses latent subpopulation shift and outlier contamination. The proposed method combines an outer minimization that selects a refined nominal distribution by reducing the influence of contaminated samples and an inner maximization that focuses on the most challenging subpopulation. This formulation directly accommodates non-decomposable survival losses while preserving interactions across samples, including the risk-set structure of the Cox negative partial log-likelihood. We develop an alternating gradient-based algorithm with outer updates derived from the KKT conditions of the inner maximization. Experiments on simulated data and two survival benchmarks demonstrate that the proposed method remains robust when subpopulation shift and outlier contamination occur simultaneously. It stabilizes training in contaminated settings and substantially improves worst-group performance across both linear and nonlinear survival models, while maintaining competitive and sometimes superior overall performance.

1 INTRODUCTION

Survival analysis is a fundamental problem in statistics and machine learning, with broad applications in healthcare, reliability analysis, and customer retention. In many applications, the population comprises subpopulations with distinct survival patterns. Such heterogeneity may arise across demographic groups such as age, sex, and race, as well as across hospitals, clinical environments, or latent patient subtypes (Hu & Chen, 2024; Rahman & Purushotham, 2022; Fan et al., 2024). When the mixture proportions of these subpopulations differ between training and test distributions, a model with strong average performance can still perform poorly on some subpopulations (Sagawa et al., 2020; Yang et al., 2023; Hu & Chen, 2024).

To address this challenge, distributionally robust learning, or distributionally robust optimization 1^{1} (DRO), has been widely studied as a principled framework for improving robustness under distributional shift (Mohajerin Esfahani & Kuhn, 2018; Duchi & Namkoong, 2021). Applying DRO to survival analysis, however, is not straightforward. Many commonly used survival losses are non-decomposable, involving interactions across samples. For example, the Cox negative partial

∗^{*}Corresponding author.

1^{1}While DRO was originally studied in the context of optimization, we use the term more broadly to refer to learning methods for robustness under distribution shift.

log-likelihood depends on risk-set interactions, whereas ranking-based survival losses are defined through pairwise comparisons across samples (Cox, 1972; Raykar et al., 2007; Lee et al., 2018). In contrast, many existing DRO methods assume additive losses, which decompose into a sum of terms that each depend on a single sample. This structural difference prevents these methods from being directly applied to such survival losses (Jin et al., 2025; Hu & Chen, 2022; 2024).

Recently, Hu & Chen (2024) proposed an f-divergence based DRO (f-DRO) framework for survival models, focusing on the χ2\chi^{2}-divergence, and introduced a sample-splitting strategy to handle the interaction structure of survival losses. Their results show that f-DRO can improve robustness to latent subpopulation shift in survival analysis. However, this approach is highly sensitive to outliers or contaminated observations, since it improves robustness by assigning larger weights to high-loss samples. DORO (Zhai et al., 2021) addresses both subpopulation shift and outlier contamination, but is designed for additive losses and does not directly apply to non-decomposable survival losses with cross-sample dependence.

To address these limitations, we propose a coupled distributionally robust framework for survival analysis that jointly addresses latent subpopulation shift and outlier contamination. The proposed formulation is based on a mixture-based ambiguity set with different roles in a coupled minimax problem. The outer minimization refines the nominal distribution to reduce the influence of potentially contaminated samples. Based on this refined distribution, the inner maximization concentrates on the most challenging subpopulation. In this way, the proposed method iteratively refines the nominal distribution by reducing the influence of contaminated samples and reweights the most challenging subpopulation within the refined distribution, providing robustness to both outlier contamination and subpopulation shift.

For differentiable non-decomposable survival losses, we develop an efficient alternating gradient-based algorithm with outer updates derived from the KKT conditions of the inner maximization. We instantiate the framework with the Cox negative partial log-likelihood, preserving its risk-set interactions. We further show that, for additive losses, the formulation admits a two-stage structure: the outer minimization performs ϵ\epsilon-trimming, and the inner maximization reweights the highest-loss α\alpha-fraction of the remaining probability mass.

Through simulation studies and experiments on two widely used survival benchmarks, METABRIC and FLC, we show that the proposed method remains robust under subpopulation shift and outlier contamination. In simulations, it exhibits stable training trajectories even in contaminated settings, whereas f-DRO exhibits unstable trajectories. On real benchmarks, it yields substantially improved worst-group performance across both linear and nonlinear survival models. It also achieves competitive overall performance, often even outperforming existing baselines in contaminated settings.

Our main contributions can be summarized as follows.

• We propose a novel coupled distributionally robust framework for survival analysis that jointly addresses two practically important challenges: latent subpopulation shift and outlier contamination.

• We develop an alternating gradient-based algorithm that directly optimizes non-decomposable survival losses while preserving interactions across samples. Its outer updates are derived from the KKT conditions of the inner maximization.

• We demonstrate through simulation studies and real data experiments that the proposed method remains stable under outlier contamination and achieves substantially improved worst-group performance under subpopulation shift.

References (58)