Sequence models reveal diagnosis accumulation pathways beyond comorbidity burden in population-scale hospital data

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Ledebur, Katharina, Devetak, Mitja, Klimek, Peter
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917547503255552
author Ledebur, Katharina
Devetak, Mitja
Klimek, Peter
author_facet Ledebur, Katharina
Devetak, Mitja
Klimek, Peter
contents Aging trajectories vary among individuals of similar age and disease burden. Comorbidity indices, e.g. the Elixhauser index, summarize conditions cross-sectionally, but discard the timing, sequence, and pace of morbidity accumulation. Here we ask whether longitudinal hospital diagnosis histories contain information beyond age, sex, and comorbidity burden, and where it is concentrated. Using 13 years of Austrian inpatient data covering 7.4 million patients, we trained a visit-level contrastive transformer to encode diagnosis sequences and inter-admission timing into patient-history embeddings. In a downstream cohort of 1.7 million individuals, embeddings improved prediction over the Elixhauser-based comorbidity model for 93 of 131 incident ICD-10 disease-block outcomes, with a modest median AUC gain of 0.006. Gains concentrated in mental, musculoskeletal, nervous system, and metabolic disorders. We then evaluated event-free survival, defined as remaining alive without accumulating a second unrecorded ICD-10 disease block. The embedding model achieved an AUC of 0.726 versus 0.722 for the comorbidity model. However, among patients with similar age, sex, and comorbidity-model risk, those assigned high residual risk had 132--183 fewer event-free days over five years and observed event rates comparable to low-residual-risk patients more than a decade older. Together, these findings link the embedding's signal to the breadth, recency, and pace of prior disease accumulation.
format Preprint
id arxiv_https___arxiv_org_abs_2605_30962
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Sequence models reveal diagnosis accumulation pathways beyond comorbidity burden in population-scale hospital data
Ledebur, Katharina
Devetak, Mitja
Klimek, Peter
Physics and Society
Aging trajectories vary among individuals of similar age and disease burden. Comorbidity indices, e.g. the Elixhauser index, summarize conditions cross-sectionally, but discard the timing, sequence, and pace of morbidity accumulation. Here we ask whether longitudinal hospital diagnosis histories contain information beyond age, sex, and comorbidity burden, and where it is concentrated. Using 13 years of Austrian inpatient data covering 7.4 million patients, we trained a visit-level contrastive transformer to encode diagnosis sequences and inter-admission timing into patient-history embeddings. In a downstream cohort of 1.7 million individuals, embeddings improved prediction over the Elixhauser-based comorbidity model for 93 of 131 incident ICD-10 disease-block outcomes, with a modest median AUC gain of 0.006. Gains concentrated in mental, musculoskeletal, nervous system, and metabolic disorders. We then evaluated event-free survival, defined as remaining alive without accumulating a second unrecorded ICD-10 disease block. The embedding model achieved an AUC of 0.726 versus 0.722 for the comorbidity model. However, among patients with similar age, sex, and comorbidity-model risk, those assigned high residual risk had 132--183 fewer event-free days over five years and observed event rates comparable to low-residual-risk patients more than a decade older. Together, these findings link the embedding's signal to the breadth, recency, and pace of prior disease accumulation.
title Sequence models reveal diagnosis accumulation pathways beyond comorbidity burden in population-scale hospital data
topic Physics and Society
url https://arxiv.org/abs/2605.30962