Beyond Cox Models: Assessing the Performance of Machine-Learning Methods in Non-Proportional Hazards and Non-Linear Survival Analysis

Ivan Rossi, Flavio Sartori, Cesare Rollo, Giovanni Birolo, Piero Fariselli +1 more
4/24/2025
cs.LGq-bio.QM

Official code: compbiomed-unito/survhive (19 stars, MIT, last commit 2025-10-20).

Abstract

Survival analysis often relies on Cox models, assuming both linearity and proportional hazards (PH). This study evaluates machine and deep learning methods that relax these constraints, comparing their performance with penalized Cox models on a benchmark of three synthetic and three real datasets. In total, eight different models were tested, including six non-linear models of which four were also non-PH. Although Cox regression often yielded satisfactory performance, we showed the conditions under which machine and deep learning models can perform better. Indeed, the performance of these methods has often been underestimated due to the improper use of Harrell's concordance index (C-index) instead of more appropriate scores such as Antolini's concordance index, which generalizes C-index in cases where the PH assumption does not hold. In addition, since occasionally high C-index models happen to be badly calibrated, combining Antolini's C-index with Brier's score is useful to assess the overall performance of a survival method. Results on our benchmark data showed that survival prediction should be approached by testing different methods to select the most appropriate one according to sample size, non-linearity and non-PH conditions. To allow an easy reproducibility of these tests on our benchmark data, code and documentation are freely available at https://github.com/compbiomed-unito/survhive.

View on arXivView PDF

Code Implementations(1)

MIT

Convenient, opinionated wrapper around some (deep) survival models

190Python, MakefileMar 6, 20231 years agoMIT
machine-learningsurvival-analysis

Similar Papers

Cite this paper

@article{rossi2025beyond,
  title  = {Beyond Cox Models: Assessing the Performance of Machine-Learning Methods in Non-Proportional Hazards and Non-Linear Survival Analysis},
  author = {Ivan Rossi and Flavio Sartori and Cesare Rollo and Giovanni Birolo and Piero Fariselli and Tiziana Sanavia},
  year   = {2025},
  eprint = {2504.17568},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.17568v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.17568.svg)](https://codeofpaper.com/paper/2504.17568)

Discussion