arXiv:2609.40120cs.LGSep 2026

Manuscript Offprint

arXiv:2609.40120

Scalable Cox Regression via Grouped Risk Sets and Sharper LogSumExp Rates

Elizaveta Iashchinskaia, Egor Gladin

ABSTRACT

Motivated by the computational challenges of large-scale Cox regression, we study stochastic minimization of LogSumExp objectives over large sets. Mini-batch normalizer estimates generally yield biased gradients. We instead use a softplus surrogate that introduces one auxiliary scalar per normalizer and admits unbiased single-sample gradients. For smooth convex LogSumExp objectives, we prove an O(T−1/2)O(T^{-1/2}) averaged objective bound, improving the previous T−1/4T^{-1/4} analysis. With a strongly convex regularizer on the original variable, we also obtain a last-iterate squared-error rate of O~(T−1)\widetilde{O}(T^{-1}) without strong convexity in the auxiliary variables. For Cox regression, the normalizers are defined over nested risk sets. We exploit this structure by grouping neighboring failures and sharing one auxiliary variable per group. The resulting compressed objective admits uniform score and curvature bounds that control the errors from grouping and softplus approximation. Together with the general optimization result, these bounds give a mean-square rate of T−4/5T^{-4/5}, up to logarithmic factors, relative to the full Cox solution. The compressed estimator also matches the full estimator's asymptotic distribution. Experiments on synthetic and real survival datasets with slowly decreasing risk sets show a favorable performance relative to stochastic baselines.

1 INTRODUCTION

The motivating problem for this work is large-scale Cox regression. The Cox proportional-hazards model relates covariates to a right-censored event time without specifying the baseline hazard (Cox, 1972). Its partial likelihood associates each failure with a LogSumExp normalizer over everyone still at risk. Nested risk sets admit efficient cumulative-sum and coordinate-descent implementations for linear Cox models (Simon et al., 2011), but these methods rely on full passes over the data. They are less natural when access is stochastic, data are distributed or out of core, or a full pass is itself the resource to avoid.

The Cox bottleneck is an instance of a broader optimization problem: large-set LogSumExp normalizers also arise in numerous applications, including large-class softmax models, distributionally robust optimization, and contrastive learning (Fagan & Iyengar, 2018; Levy et al., 2020; Wei et al., 2026a). Replacing a normalizer by a mini-batch estimate generally biases the gradient of the original objective. Variational formulations instead introduce one auxiliary variable per normalizer and admit unbiased single-sample gradients (Ben-Tal & Teboulle, 1986; Fagan & Iyengar, 2018). Motivated by the Cox problem, we sharpen the analysis of the smooth, tunable softplus formulation of Gladin et al. (2025). For general smooth convex LogSumExp objectives we obtain an O(T−1/2)O(T^{-1/2}) averaged rate. With a strongly convex regularizer on the original parameter, we also obtain an O(log⁡T/T)O(\log T/T) last-iterate squared-distance rate, even though the auxiliary variables are not strongly convex.

The nested Cox structure supplies a second, equally important ingredient. Nearby failure times have similar risk sets, so we group consecutive failures and share one normalizer variable within each group.

A single group–event–subject draw gives an unbiased stochastic gradient of the resulting surrogate. Importantly, the gradient perturbation from grouping is second order in the relative risk-set change: exponential reweighting within a group is multiplied by the variation of neighboring risk-set gradients.

This sharper gradient control permits substantial compression while controlling error relative to the full Cox optimizer and preserving the estimator’s first-order statistical behavior.

Our contributions are:

• For smooth convex LogSumExp objectives, we establish an O(T−1/2)O(T^{-1/2}) averaged objective bound for the softplus method. When a strongly convex regularizer on the original parameter is added, we further obtain an O(log⁡T/T)O(\log T/T) last-iterate squared-distance bound without assuming strong convexity in the auxiliary variables.

• For Cox regression, we give a deterministic compression theorem that controls the gradient and Hessian uniformly through grouping-independent measures of risk-weight dispersion. The gradient error caused by grouping is second order in the within-group risk-set change, while the softplus error is first order in its approximation level. These bounds transfer curvature from the full Cox objective and, together with the general optimization result, yield mean squared parameter error O((log⁡T/T)4/5)O((\log T/T)^{4/5}) relative to the full Cox solution.

• We prove that the compressed and full Cox estimators have the same first-order limit under vanishing approximation schedules, while using a sublinear number of auxiliary shifts. Experiments on synthetic and real survival data evaluate the resulting accuracy–computation tradeoff against stochastic Cox baselines.

The general optimization results apply to smooth convex LogSumExp objectives, our survival-analysis claims concern the convex linear Cox model. This scope lets us separate computational approximation from statistical model error and gives proofs that can be checked directly. Section 3 develops the general optimization guarantees. Section 4 specializes the construction to Cox regression, establishes the deterministic approximation properties, derives the end-to-end computational rate, and gives the statistical transfer result. The appendix contains all auxiliary lemmas and complete proofs.

References (85)