From Hazard Functions to Language Space: Cox-Supervised Distillation of Survival Risk into a Large Language Model

Nicholas I-Hsien Kuo, Blanca Gallego, Louisa Jorm
6/8/2026
cs.LG
distillation

No confident code implementation found for this paper.

Abstract

We investigate whether information about time-to-event risk estimated by a Cox proportional hazards model can be transferred into a generative large language model. We propose a text-based survival modelling pipeline in which structured clinical covariates are converted into text prompts and a Qwen-based large language model is fine-tuned to generate patient-specific survival risk using Cox model predictions as a training target.

Show full abstract

Across GBSG2, ACTG320, and WHAS500, the model achieves competitive held-out discrimination and calibration despite being trained as a text-generation task rather than with a conventional survival-analysis loss. We further analyse the geometry of the model's hidden states, where t-SNE visualisations reveal smooth risk gradients in latent space, suggesting that the model represents survival risk as a continuous structure rather than isolated risk categories. Together, these findings suggest that large language models can internalise survival-risk structure while supporting calibrated prediction, providing a route towards time-to-event reasoning in language models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kuo2026from,
  title  = {From Hazard Functions to Language Space: Cox-Supervised Distillation of Survival Risk into a Large Language Model},
  author = {Nicholas I-Hsien Kuo and Blanca Gallego and Louisa Jorm},
  year   = {2026},
  eprint = {2606.08945},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.08945v1}
}

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/2606.08945.svg)](https://codeofpaper.com/paper/2606.08945)

Discussion