A Temporal Convolutional Network Deep Cox Mixtures Model for Dynamic Risk Prediction
Abstract
1. Introduction
2. Model
2.1. Individual-Level Data
2.2. Temporal Convolutional Network
2.3. Deep Cox Mixtures Model
2.4. Expectation–Maximization Algorithm
2.4.1. E-Step
2.4.2. M-Step
2.5. Model Specification and Sensitivity Analyses
2.5.1. Selection of the Number of Latent Cox Components
2.5.2. Selection of the VAE Weight and Number of Monte Carlo Draws
2.5.3. Internal Ablation and Optimization-Stability Analyses
3. Simulation Study
3.1. Simulation Scenarios
3.2. Performance Evaluation Metrics
3.3. Analysis of Simulation Results
4. Real-World Case Analysis for Dynamic Risk Prediction
4.1. Evaluation Results of Dynamic Prediction Models
4.2. Individual Dynamic Prediction Results
5. Discussion
Supplementary Materials
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
| AST | Aspartate aminotransferase |
| AUC | Area under the ROC curve |
| BS | Brier score |
| DDH | Dynamic-DeepHit |
| DSM | Deep survival machine |
| EM | Expectation–maximization algorithm |
| IPCW | Inverse probability of censoring weights |
| JM | Joint model |
| MCEM | Monte Carlo expectation–maximization algorithm |
| PBC | Primary biliary cholangitis |
| PH | Proportional hazards |
| ReLU | Rectified linear unit |
| RDSM | Recurrent deep survival machine(s) |
| RNN | Recurrent neural network |
| ROC | Receiver operating characteristic curve |
| ST | Special treatment of listed securities |
| TCN-DCM | Temporal Convolutional Network Deep Cox Mixtures Model |
| VAE | Variational autoencoder |
Appendix A. Supplementary Analyses
Appendix A.1. Internal Ablation and Hyperparameter Sensitivity Analyses
| Scenario | Temporal Representation | Mean Ctd | Mean AUC | Mean BS | Score |
|---|---|---|---|---|---|
| PH | Masked causal dilated TCN | 0.7834 | 0.7878 | 0.0259 | 0.8484 |
| PH | Mean-pooling DCM | 0.7827 | 0.7879 | 0.0268 | 0.8480 |
| non-PH | Masked causal dilated TCN | 0.5946 | 0.6020 | 0.1013 | 0.6984 |
| non-PH | Mean-pooling DCM | 0.5921 | 0.6018 | 0.1021 | 0.6973 |
| PBC | Masked causal dilated TCN | 0.8133 | 0.8543 | 0.1550 | 0.8375 |
| PBC | Mean-pooling DCM | 0.7915 | 0.8365 | 0.1584 | 0.8232 |
| Scenario | K | Mean Ctd | Mean AUC | Mean BS | Score (SD) |
|---|---|---|---|---|---|
| PH | 1 | 0.7147 | 0.7166 | 0.0237 | 0.8025 (0.0355) |
| PH | 2 | 0.7957 | 0.7996 | 0.0262 | 0.8563 (0.0309) |
| PH | 3 | 0.7835 | 0.7873 | 0.0262 | 0.8482 (0.0345) |
| PH | 4 | 0.7810 | 0.7840 | 0.0261 | 0.8463 (0.0354) |
| PH | 5 | 0.7932 | 0.7976 | 0.0258 | 0.8550 (0.0354) |
| PH | 6 | 0.7975 | 0.8014 | 0.0251 | 0.8579 (0.0318) |
| non-PH | 1 | 0.5737 | 0.5797 | 0.0977 | 0.6852 (0.0227) |
| non-PH | 2 | 0.5827 | 0.5897 | 0.1011 | 0.6904 (0.0205) |
| non-PH | 3 | 0.5906 | 0.5973 | 0.1026 | 0.6951 (0.0183) |
| non-PH | 4 | 0.5939 | 0.6006 | 0.1013 | 0.6978 (0.0183) |
| non-PH | 5 | 0.5976 | 0.6046 | 0.1023 | 0.7000 (0.0191) |
| non-PH | 6 | 0.5998 | 0.6076 | 0.1022 | 0.7017 (0.0199) |
| PBC | 1 | 0.7656 | 0.8038 | 0.1661 | 0.8011 (0.0324) |
| PBC | 2 | 0.7897 | 0.8299 | 0.1587 | 0.8203 (0.0366) |
| PBC | 3 | 0.8003 | 0.8387 | 0.1590 | 0.8267 (0.0328) |
| PBC | 4 | 0.8038 | 0.8425 | 0.1514 | 0.8316 (0.0422) |
| PBC | 5 | 0.8024 | 0.8427 | 0.1586 | 0.8288 (0.0343) |
| PBC | 6 | 0.8127 | 0.8532 | 0.1536 | 0.8374 (0.0410) |
| Scenario | VAE Weight (α) | Fixed M | Mean Ctd | Mean AUC | Mean BS | Score |
|---|---|---|---|---|---|---|
| PH | 0 | 1 | 0.7931 | 0.7964 | 0.0270 | 0.8542 |
| PH | 0.01 | 1 | 0.7960 | 0.7998 | 0.0260 | 0.8566 |
| PH | 0.1 | 1 | 0.7934 | 0.7972 | 0.0264 | 0.8547 |
| PH | 1 | 1 | 0.7969 | 0.8005 | 0.0263 | 0.8571 |
| non-PH | 0 | 1 | 0.5946 | 0.6020 | 0.1013 | 0.6984 |
| non-PH | 0.01 | 1 | 0.5939 | 0.6006 | 0.1013 | 0.6978 |
| non-PH | 0.1 | 1 | 0.5953 | 0.6021 | 0.1013 | 0.6987 |
| non-PH | 1 | 1 | 0.5962 | 0.6030 | 0.1014 | 0.6993 |
| PBC | 0 | 5 | 0.8133 | 0.8542 | 0.1550 | 0.8375 |
| PBC | 0.01 | 5 | 0.8078 | 0.8493 | 0.1565 | 0.8335 |
| PBC | 0.1 | 5 | 0.8040 | 0.8463 | 0.1574 | 0.8310 |
| PBC | 1 | 5 | 0.8088 | 0.8502 | 0.1559 | 0.8344 |
| Scenario | M | Fixed (α) | Mean Ctd | Mean AUC | Mean BS | Score |
|---|---|---|---|---|---|---|
| PH | 1 | 0 | 0.7931 | 0.7964 | 0.0270 | 0.8542 |
| PH | 5 | 0 | 0.7955 | 0.7994 | 0.0270 | 0.8559 |
| PH | 10 | 0 | 0.7946 | 0.7988 | 0.0261 | 0.8558 |
| non-PH | 1 | 0 | 0.5946 | 0.6020 | 0.1013 | 0.6984 |
| non-PH | 5 | 0 | 0.5948 | 0.6018 | 0.1007 | 0.6987 |
| non-PH | 10 | 0 | 0.5918 | 0.5987 | 0.1026 | 0.6960 |
| PBC | 1 | 0 | 0.7949 | 0.8335 | 0.1577 | 0.8236 |
| PBC | 5 | 0 | 0.8133 | 0.8542 | 0.1550 | 0.8375 |
| PBC | 10 | 0 | 0.8081 | 0.8487 | 0.1505 | 0.8354 |
Appendix A.2. Sensitivity to Random Initialization
| Random Seed | Ctd | AUC | BS | Score Mean (SD) |
|---|---|---|---|---|
| 11 | 0.7237 | 0.7285 | 0.0161 | 0.8120 (0.1184) |
| 111 | 0.7458 | 0.7548 | 0.0171 | 0.8278 (0.0893) |
| 2026 | 0.7218 | 0.7264 | 0.0178 | 0.8101 (0.1180) |
| 9999 | 0.7442 | 0.7497 | 0.0177 | 0.8254 (0.0986) |
| Median | 0.7340 | 0.7391 | 0.0174 | 0.8187 (0.1083) |
| Random Seed | Ctd | AUC | BS | Score Mean (SD) |
|---|---|---|---|---|
| 11 | 0.5572 | 0.5682 | 0.0940 | 0.6771 (0.0310) |
| 111 | 0.5664 | 0.5736 | 0.0963 | 0.6812 (0.0288) |
| 2026 | 0.5633 | 0.5711 | 0.0942 | 0.6801 (0.0455) |
| 9999 | 0.5723 | 0.5798 | 0.0931 | 0.6864 (0.0315) |
| Median | 0.5649 | 0.5724 | 0.0941 | 0.6807 (0.0313) |
| Random Seed | Ctd | AUC | BS | Score Mean (SD) |
|---|---|---|---|---|
| 11 | 0.7966 | 0.8314 | 0.1606 | 0.8225 (0.0498) |
| 111 | 0.8109 | 0.8499 | 0.1537 | 0.8357 (0.0439) |
| 2026 | 0.8009 | 0.8334 | 0.1618 | 0.8242 (0.0582) |
| 9999 | 0.8072 | 0.8426 | 0.1547 | 0.8317 (0.0436) |
| Median | 0.8041 | 0.8380 | 0.1577 | 0.8280 (0.0469) |
Appendix A.3. Fold-Level Numerical Convergence Diagnostics
| Repeat | Fold | Best-Validation Epoch | Stopping Epoch | Minimum Validation Loss | Validation Loss at Stopping |
|---|---|---|---|---|---|
| 1 | 1 | 43.0 | 48.5 | 4.9563 | 6.0216 |
| 1 | 2 | 54.0 | 60.5 | 6.1733 | 7.2137 |
| 1 | 3 | 45.5 | 50.5 | 4.5756 | 5.2237 |
| 1 | 4 | 61.0 | 69.0 | 4.4188 | 4.8979 |
| 1 | 5 | 63.5 | 67.0 | 5.8520 | 6.2788 |
| 2 | 1 | 1.0 | 4.0 | 10.5649 | 10.7012 |
| 2 | 2 | 55.5 | 67.0 | 5.8193 | 6.7646 |
| 2 | 3 | 49.0 | 57.5 | 4.7020 | 5.2775 |
| 2 | 4 | 68.0 | 82.0 | 6.2841 | 6.9319 |
| 2 | 5 | 50.0 | 55.0 | 5.1367 | 5.6402 |
| Summary | 52.0(46.4–59.6) | 59.0(51.6–67.0) | 5.4780(4.7656–6.0930) | 6.1502(5.3682–6.8900) |
| Repeat | Fold | Best-Validation Epoch | Stopping Epoch | Minimum Validation Loss | Validation Loss at Stopping |
|---|---|---|---|---|---|
| 1 | 1 | 19.5 | 24.5 | 55.8545 | 56.4814 |
| 1 | 2 | 18.0 | 22.5 | 55.7115 | 56.1261 |
| 1 | 3 | 12.5 | 22.5 | 53.8232 | 54.4259 |
| 1 | 4 | 12.0 | 23.5 | 59.6074 | 60.2503 |
| 1 | 5 | 23.0 | 34.0 | 52.5281 | 52.9084 |
| 2 | 1 | 11.5 | 18.0 | 58.8098 | 59.3674 |
| 2 | 2 | 21.5 | 27.5 | 55.3737 | 55.5861 |
| 2 | 3 | 30.5 | 33.5 | 55.9574 | 56.7735 |
| 2 | 4 | 20.5 | 30.5 | 53.2925 | 54.9849 |
| 2 | 5 | 7.5 | 14.0 | 57.0773 | 57.3991 |
| Summary | — | 18.8(12.1–21.3) | 24.0(22.5–29.8) | 55.7830(54.2108–56.7973) | 56.3037(55.1352–57.2427) |
| Repeat | Fold | Best-Validation Epoch | Stopping Epoch | Minimum Validation Loss | Validation Loss at Stopping |
|---|---|---|---|---|---|
| 1 | 1 | 41 | 44 | 13.3173 | 13.8697 |
| 1 | 2 | 42 | 45 | 15.6902 | 16.2296 |
| 1 | 3 | 36 | 39 | 18.5957 | 18.7610 |
| 1 | 4 | 43 | 46 | 17.4578 | 17.7784 |
| 1 | 5 | 53 | 76 | 14.9128 | 15.3553 |
| 2 | 1 | 27 | 41 | 18.2836 | 19.1564 |
| 2 | 2 | 37 | 40 | 12.7060 | 13.0404 |
| 2 | 3 | 54 | 57 | 12.6083 | 12.9675 |
| 2 | 4 | 82 | 85 | 15.5493 | 17.1518 |
| 2 | 5 | 40 | 41 | 12.5163 | 12.8199 |
| Summary | — | 41.5 (37.8–50.5) | 44.5 (41.0–54.3) | 15.2311 (12.8588–17.0159) | 15.7925 (13.2477–17.6218) |
Appendix A.4. Dataset-Level Paired Comparison
| Metric | Prediction Horizon, Years | Paired Difference Δ | Bootstrap 95% CI | Holm-Adjusted p-Value |
|---|---|---|---|---|
| 2 | 0.0200 | 0.0086–0.0331 | 0.0092 | |
| 3 | 0.0179 | 0.0054–0.0305 | 0.0110 | |
| 4 | 0.0167 | 0.0040–0.0292 | 0.0076 | |
| 5 | 0.0167 | 0.0047–0.0290 | 0.0092 | |
| AUC | 2 | 0.0187 | 0.0059–0.0327 | 0.0155 |
| AUC | 3 | 0.0158 | 0.0035–0.0283 | 0.0335 |
| AUC | 4 | 0.0141 | 0.0036–0.0252 | 0.0739 |
| AUC | 5 | 0.0135 | 0.0015–0.0257 | 0.0577 |
| BS | 2 | −0.0012 | −0.0018–0.0006 | 0.0043 |
| BS | 3 | −0.0026 | −0.0038–0.0014 | 0.0020 |
| BS | 4 | −0.0042 | −0.0059–0.0024 | 0.0015 |
| BS | 5 | −0.0057 | −0.0081–0.0032 | 0.0020 |
Appendix A.5. Robustness Under Varying Data Conditions
| Scenario | Sample Size | Horizon (Years) | Ctd Mean (SD) | AUC Mean (SD) | BS Mean (SD) |
|---|---|---|---|---|---|
| PH | 300 | 2 | 0.7901 (0.0227) | 0.8178 (0.0231) | 0.1296 (0.0122) |
| PH | 300 | 3 | 0.7878 (0.0221) | 0.8275 (0.0223) | 0.1526 (0.0143) |
| PH | 300 | 4 | 0.7851 (0.0217) | 0.8352 (0.0227) | 0.1628 (0.0152) |
| PH | 300 | 5 | 0.7821 (0.0216) | 0.8404 (0.0234) | 0.1674 (0.0158) |
| PH | 500 | 2 | 0.7974 (0.0178) | 0.8266 (0.0190) | 0.1249 (0.0077) |
| PH | 500 | 3 | 0.7932 (0.0188) | 0.8335 (0.0208) | 0.1468 (0.0106) |
| PH | 500 | 4 | 0.7895 (0.0179) | 0.8392 (0.0199) | 0.1579 (0.0119) |
| PH | 500 | 5 | 0.7865 (0.0177) | 0.8449 (0.0199) | 0.1622 (0.0127) |
| PH | 1000 | 2 | 0.8089 (0.0090) | 0.8395 (0.0093) | 0.1170 (0.0048) |
| PH | 1000 | 3 | 0.8048 (0.0090) | 0.8469 (0.0095) | 0.1373 (0.0059) |
| PH | 1000 | 4 | 0.8017 (0.0092) | 0.8538 (0.0103) | 0.1464 (0.0069) |
| PH | 1000 | 5 | 0.7994 (0.0096) | 0.8605 (0.0108) | 0.1489 (0.0068) |
| non-PH | 300 | 2 | 0.5677 (0.0453) | 0.5711 (0.0464) | 0.0648 (0.0061) |
| non-PH | 300 | 3 | 0.5681 (0.0453) | 0.5732 (0.0471) | 0.0934 (0.0088) |
| non-PH | 300 | 4 | 0.5685 (0.0459) | 0.5753 (0.0487) | 0.1197 (0.0112) |
| non-PH | 300 | 5 | 0.5684 (0.0472) | 0.5769 (0.0513) | 0.1436 (0.0133) |
| non-PH | 500 | 2 | 0.5909 (0.0292) | 0.5943 (0.0304) | 0.0653 (0.0039) |
| non-PH | 500 | 3 | 0.5913 (0.0292) | 0.5964 (0.0311) | 0.0932 (0.0054) |
| non-PH | 500 | 4 | 0.5921 (0.0291) | 0.5988 (0.0318) | 0.1182 (0.0066) |
| non-PH | 500 | 5 | 0.5926 (0.0286) | 0.6010 (0.0320) | 0.1406 (0.0075) |
| non-PH | 1000 | 2 | 0.6121 (0.0238) | 0.6172 (0.0243) | 0.0624 (0.0020) |
| non-PH | 1000 | 3 | 0.6115 (0.0239) | 0.6191 (0.0248) | 0.0891 (0.0029) |
| non-PH | 1000 | 4 | 0.6111 (0.0241) | 0.6211 (0.0254) | 0.1129 (0.0037) |
| non-PH | 1000 | 5 | 0.6109 (0.0242) | 0.6235 (0.0259) | 0.1341 (0.0044) |
| Scenario | Target Censoring Rate | Horizon (Years) | Ctd Mean (SD) | AUC Mean (SD) | BS Mean (SD) |
|---|---|---|---|---|---|
| PH | 20% | 2 | 0.8023 (0.0150) | 0.8308 (0.0155) | 0.1193 (0.0071) |
| PH | 20% | 3 | 0.7983 (0.0155) | 0.8378 (0.0164) | 0.1411 (0.0090) |
| PH | 20% | 4 | 0.7952 (0.0153) | 0.8448 (0.0164) | 0.1515 (0.0102) |
| PH | 20% | 5 | 0.7933 (0.0158) | 0.8520 (0.0176) | 0.1552 (0.0115) |
| PH | 40% | 2 | 0.8002 (0.0164) | 0.8301 (0.0171) | 0.1239 (0.0085) |
| PH | 40% | 3 | 0.7953 (0.0172) | 0.8363 (0.0180) | 0.1449 (0.0100) |
| PH | 40% | 4 | 0.7918 (0.0171) | 0.8423 (0.0185) | 0.1553 (0.0116) |
| PH | 40% | 5 | 0.7889 (0.0169) | 0.8477 (0.0181) | 0.1591 (0.0121) |
| PH | 60% | 2 | 0.8001 (0.0221) | 0.8322 (0.0249) | 0.1277 (0.0137) |
| PH | 60% | 3 | 0.7938 (0.0231) | 0.8376 (0.0270) | 0.1492 (0.0179) |
| PH | 60% | 4 | 0.7887 (0.0243) | 0.8425 (0.0275) | 0.1568 (0.0209) |
| PH | 60% | 5 | 0.7850 (0.0237) | 0.8490 (0.0254) | 0.1563 (0.0219) |
| non-PH | 20% | 2 | 0.5907 (0.0237) | 0.5953 (0.0249) | 0.0648 (0.0046) |
| non-PH | 20% | 3 | 0.5912 (0.0238) | 0.5981 (0.0258) | 0.0929 (0.0064) |
| non-PH | 20% | 4 | 0.5915 (0.0236) | 0.6008 (0.0264) | 0.1179 (0.0080) |
| non-PH | 20% | 5 | 0.5915 (0.0233) | 0.6030 (0.0269) | 0.1404 (0.0092) |
| non-PH | 40% | 2 | 0.5958 (0.0247) | 0.5996 (0.0258) | 0.0636 (0.0043) |
| non-PH | 40% | 3 | 0.5955 (0.0245) | 0.6011 (0.0260) | 0.0914 (0.0064) |
| non-PH | 40% | 4 | 0.5953 (0.0245) | 0.6028 (0.0265) | 0.1166 (0.0082) |
| non-PH | 40% | 5 | 0.5950 (0.0246) | 0.6044 (0.0272) | 0.1390 (0.0097) |
| non-PH | 60% | 2 | 0.5830 (0.0257) | 0.5878 (0.0264) | 0.0662 (0.0036) |
| non-PH | 60% | 3 | 0.5826 (0.0260) | 0.5897 (0.0272) | 0.0948 (0.0052) |
| non-PH | 60% | 4 | 0.5825 (0.0264) | 0.5919 (0.0280) | 0.1204 (0.0065) |
| non-PH | 60% | 5 | 0.5822 (0.0270) | 0.5938 (0.0290) | 0.1434 (0.0075) |
| Scenario | Missing Rate | Horizon (Years) | Mean (SD) | AUC Mean (SD) | BS Mean (SD) |
|---|---|---|---|---|---|
| PH | 0% | 2 | 0.8002 (0.0155) | 0.8288 (0.0159) | 0.1226 (0.0067) |
| PH | 0% | 3 | 0.7970 (0.0161) | 0.8372 (0.0170) | 0.1443 (0.0092) |
| PH | 0% | 4 | 0.7939 (0.0164) | 0.8441 (0.0174) | 0.1546 (0.0106) |
| PH | 0% | 5 | 0.7909 (0.0162) | 0.8498 (0.0177) | 0.1590 (0.0114) |
| PH | 10% | 2 | 0.7972 (0.0161) | 0.8261 (0.0164) | 0.1229 (0.0087) |
| PH | 10% | 3 | 0.7916 (0.0160) | 0.8314 (0.0160) | 0.1451 (0.0102) |
| PH | 10% | 4 | 0.7885 (0.0169) | 0.8381 (0.0180) | 0.1554 (0.0119) |
| PH | 10% | 5 | 0.7869 (0.0173) | 0.8457 (0.0195) | 0.1588 (0.0130) |
| PH | 30% | 2 | 0.7810 (0.0129) | 0.8093 (0.0132) | 0.1257 (0.0060) |
| PH | 30% | 3 | 0.7762 (0.0118) | 0.8151 (0.0119) | 0.1502 (0.0065) |
| PH | 30% | 4 | 0.7730 (0.0114) | 0.8216 (0.0114) | 0.1628 (0.0070) |
| PH | 30% | 5 | 0.7705 (0.0115) | 0.8273 (0.0126) | 0.1686 (0.0075) |
| non-PH | 0% | 2 | 0.5954 (0.0313) | 0.6001 (0.0315) | 0.0652 (0.0041) |
| non-PH | 0% | 3 | 0.5956 (0.0316) | 0.6026 (0.0321) | 0.0931 (0.0053) |
| non-PH | 0% | 4 | 0.5953 (0.0324) | 0.6046 (0.0335) | 0.1183 (0.0063) |
| non-PH | 0% | 5 | 0.5948 (0.0334) | 0.6063 (0.0350) | 0.1409 (0.0070) |
| non-PH | 10% | 2 | 0.5817 (0.0278) | 0.5855 (0.0287) | 0.0639 (0.0053) |
| non-PH | 10% | 3 | 0.5817 (0.0289) | 0.5875 (0.0305) | 0.0916 (0.0076) |
| non-PH | 10% | 4 | 0.5812 (0.0301) | 0.5889 (0.0324) | 0.1164 (0.0093) |
| non-PH | 10% | 5 | 0.5801 (0.0314) | 0.5895 (0.0347) | 0.1387 (0.0103) |
| non-PH | 30% | 2 | 0.5586 (0.0313) | 0.5628 (0.0337) | 0.0651 (0.0043) |
| non-PH | 30% | 3 | 0.5581 (0.0318) | 0.5643 (0.0356) | 0.0923 (0.0064) |
| non-PH | 30% | 4 | 0.5574 (0.0322) | 0.5655 (0.0375) | 0.1168 (0.0078) |
| non-PH | 30% | 5 | 0.5568 (0.0332) | 0.5667 (0.0401) | 0.1388 (0.0091) |
Appendix A.6. PBC Out-of-Fold Evaluation
| Evaluation Metric | Evaluation Horizon (Years) | Mean | SD | 95% CI |
|---|---|---|---|---|
| 4 | 0.8339 | 0.0308 | 0.8146–0.8523 | |
| 6 | 0.7990 | 0.0295 | 0.7800–0.8154 | |
| 8 | 0.7680 | 0.0303 | 0.7490–0.7846 | |
| AUC | 4 | 0.8734 | 0.0327 | 0.8541–0.8911 |
| AUC | 6 | 0.8373 | 0.0396 | 0.8142–0.8609 |
| AUC | 8 | 0.8054 | 0.0414 | 0.7804–0.8285 |
| BS | 4 | 0.1266 | 0.0375 | 0.1063–0.1495 |
| BS | 6 | 0.1626 | 0.0489 | 0.1364–0.1942 |
| BS | 8 | 0.1878 | 0.0448 | 0.1627–0.2144 |
Appendix A.7. Clinical Interpretation of the Six Latent Risk States
| Clinical Characteristic | State 1 | State 2 | State 3 | State 4 | State 5 | State 6 |
|---|---|---|---|---|---|---|
| Risk-state label | Low-severity stable state | Intermediate-severity state | Rapid biochemical-progression state | High-bilirubin state with hepatic signs | Advanced high-severity state | Severe decompensated state |
| Patients, n (%) | 136 (43.6%) | 67 (21.5%) | 6 (1.9%) | 8 (2.6%) | 22 (7.1%) | 73 (23.4%) |
| Maximum component-assignment probability, median (IQR) | 0.34 (0.29, 0.41) | 0.31 (0.23, 0.43) | 0.25 (0.22, 0.32) | 0.29 (0.23, 0.37) | 0.32 (0.28, 0.36) | 0.38 (0.25, 0.53) |
| Baseline bilirubin, mg/dL | 0.90 (0.60, 1.40) | 1.30 (0.80, 2.55) | 3.35 (1.40, 5.45) | 4.20 (2.20, 5.38) | 3.35 (1.90, 6.23) | 5.20 (2.10, 11.40) |
| Annual log-bilirubin slope | 0.03 (0.00, 0.13) | 0.06 (0.00, 0.23) | 0.25 (0.09, 0.43) | 0.23 (0.14, 0.32) | 0.10 (0.02, 0.27) | 0.13 (0.00, 0.32) |
| Baseline albumin, g/dL | 3.67 (3.50, 3.89) | 3.60 (3.37, 3.87) | 3.40 (3.24, 3.67) | 3.56 (3.33, 3.69) | 3.45 (3.26, 3.60) | 3.20 (2.94, 3.45) |
| Baseline prothrombin time | 10.20 (9.80, 10.60) | 10.60 (10.00, 11.00) | 10.45 (10.30, 10.97) | 10.65 (10.23, 10.90) | 11.00 (10.43, 11.55) | 11.50 (11.00, 12.20) |
| Baseline histologic stage | 3.00 (2.00, 3.00) | 3.00 (2.00, 4.00) | 3.00 (3.00, 3.75) | 3.00 (3.00, 3.25) | 4.00 (3.00, 4.00) | 4.00 (3.00, 4.00) |
| Hepatomegaly, n (%) | 40 (29.4%) | 26 (38.8%) | 5 (83.3%) | 6 (75.0%) | 18 (81.8%) | 65 (89.0%) |
| Ascites, n (%) | 1 (0.7%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) | 0 (0.0%) | 23 (31.5%) |
| Any edema, n (%) | 13 (9.6%) | 9 (13.4%) | 0 (0.0%) | 0 (0.0%) | 5 (22.7%) | 38 (52.1%) |
| Deaths, n (%) | 26 (19.1%) | 27 (40.3%) | 5 (83.3%) | 7 (87.5%) | 13 (59.1%) | 62 (84.9%) |
References
- Diggle, P.J.; Heagerty, P.J.; Liang, K.Y.; Zeger, S.L. Analysis of Longitudinal Data; Oxford University Press: Oxford, UK, 2002. [Google Scholar]
- Asgari, S.; Khalili, D.; Zayeri, F.; Azizi, F.; Hadaegh, F. Dynamic Prediction Models Improved the Risk Classification of Type 2 Diabetes Compared with Classical Static Models. J. Clin. Epidemiol. 2021, 140, 33–43. [Google Scholar] [CrossRef]
- Achakzai, M.A.K.; Peng, J. Detecting Financial Statement Fraud Using Dynamic Ensemble Machine Learning. Int. Rev. Financ. Anal. 2023, 89, 102827. [Google Scholar] [CrossRef]
- Wulfsohn, M.S.; Tsiatis, A.A. A Joint Model for Survival and Longitudinal Data Measured with Error. Biometrics 1997, 53, 330–339. [Google Scholar] [CrossRef]
- van Houwelingen, H.C. Dynamic Prediction by Landmarking in Event History Analysis. Scand. J. Stat. 2007, 34, 70–85. [Google Scholar] [CrossRef]
- Lee, C.; Yoon, J.; van der Schaar, M. Dynamic-DeepHit: A Deep Learning Approach for Dynamic Survival Analysis With Competing Risks Based on Longitudinal Data. IEEE Trans. Biomed. Eng. 2020, 67, 122–133. [Google Scholar] [CrossRef] [PubMed]
- Howle, L.E.; Weber, P.W.; Nichols, J.M. Bayesian Approach to Decompression Sickness Model Parameter Estimation. Comput. Biol. Med. 2017, 82, 3–11. [Google Scholar] [CrossRef] [PubMed]
- Andrinopoulou, E.R.; Nasserinejad, K.; Szczesniak, R.; Rizopoulos, D. Integrating Latent Classes in the Bayesian Shared Parameter Joint Model of Longitudinal and Survival Outcomes. Stat. Methods Med. Res. 2020, 29, 3294–3307. [Google Scholar] [CrossRef] [PubMed]
- Rizopoulos, D.; Molenberghs, G.; Lesaffre, E.M.E.H. Dynamic Predictions with Time-Dependent Covariates in Survival Analysis Using Joint Modeling and Landmarking. Biom. J. 2017, 59, 1261–1276. [Google Scholar] [CrossRef] [PubMed]
- Rizopoulos, D.; Taylor, J.M.G. Optimizing Dynamic Predictions from Joint Models Using Super Learning. Stat. Med. 2024, 43, 1315–1328. [Google Scholar] [CrossRef] [PubMed]
- Nagpal, C.; Li, X.; Dubrawski, A. Deep Survival Machines: Fully Parametric Survival Regression and Representation Learning for Censored Data With Competing Risks. IEEE J. Biomed. Health Inform. 2021, 25, 3163–3175. [Google Scholar] [CrossRef] [PubMed]
- Nagpal, C.; Jeanselme, V.; Dubrawski, A. Deep Parametric Time-to-Event Regression with Time-Varying Covariates. In Proceedings of Machine Learning Research, Proceedings of the AAAI Spring Symposium on Survival Prediction—Algorithms, Challenges, and Applications, Stanford University, Palo Alto, CA, USA, 22–24 March 2021; PMLR: Cambridge, MA, USA, 2021; Volume 146, pp. 184–193. [Google Scholar]
- Zeng, L.; Zhang, J.; Chen, W.; Ding, Y. tdCoxSNN: Time-Dependent Cox Survival Neural Network for Continuous-Time Dynamic Prediction. J. R. Stat. Soc. Ser. C Appl. Stat. 2025, 74, 187–203. [Google Scholar] [CrossRef] [PubMed]
- Mesinovic, M.; Watkinson, P.; Zhu, T. DySurv: Dynamic Deep Learning Model for Survival Analysis with Conditional Variational Inference. J. Am. Med. Inform. Assoc. 2026, 33, 112–122. [Google Scholar] [CrossRef] [PubMed]
- Nagpal, C.; Yadlowsky, S.; Rostamzadeh, N.; Heller, K. Deep Cox Mixtures for Survival Regression. In Proceedings of Machine Learning Research, Proceedings of the 6th Machine Learning for Healthcare Conference, Virtual Event, 6–7 August 2021; PMLR: Cambridge, MA, USA, 2021; Volume 149, pp. 674–708. [Google Scholar]
- Dempster, A.P.; Laird, N.M.; Rubin, D.B. Maximum Likelihood from Incomplete Data via the EM Algorithm. J. R. Stat. Soc. Ser. B Stat. Methodol. 1977, 39, 1–22. [Google Scholar] [CrossRef]
- Wei, G.C.G.; Tanner, M.A. A Monte Carlo Implementation of the EM Algorithm and the Poor Man’s Data Augmentation Algorithms. J. Am. Stat. Assoc. 1990, 85, 699–704. [Google Scholar] [CrossRef]
- Kingma, D.P.; Welling, M. Auto-Encoding Variational Bayes. In Proceedings of the 2nd International Conference on Learning Representations, Banff, AB, Canada, 14–16 April 2014. [Google Scholar]
- Pickett, K.L.; Suresh, K.; Campbell, K.R.; Davis, S.; Juarez-Colunga, E. Random Survival Forests for Dynamic Predictions of a Time-to-Event Outcome Using a Longitudinal Biomarker. BMC Med. Res. Methodol. 2021, 21, 216. [Google Scholar] [CrossRef] [PubMed]
- Gerds, T.A.; Kattan, M.W.; Schumacher, M.; Yu, C. Estimating a Time-Dependent Concordance Index for Survival Prediction Models with Covariate Dependent Censoring. Stat. Med. 2013, 32, 2173–2184. [Google Scholar] [CrossRef] [PubMed]
- Hung, H.; Chiang, C.T. Optimal Composite Markers for Time-Dependent Receiver Operating Characteristic Curves with Censored Survival Data. Scand. J. Stat. 2010, 37, 664–679. [Google Scholar] [CrossRef]
- Rustand, D.; van Niekerk, J.; Krainski, E.T.; Rue, H.; Proust-Lima, C. Fast and Flexible Inference for Joint Models of Multivariate Longitudinal and Survival Data Using Integrated Nested Laplace Approximations. Biostatistics 2024, 25, 429–448. [Google Scholar] [CrossRef] [PubMed]
- Dickson, E.R.; Grambsch, P.M.; Fleming, T.R.; Fisher, L.D.; Langworthy, A. Prognosis in Primary Biliary Cirrhosis: Model for Decision Making. Hepatology 1989, 10, 1–7. [Google Scholar] [CrossRef] [PubMed]




| TCN-DCM | RDSM | DDH | JM | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Metric | Horizon | Mean | SD | Mean | SD | Mean | SD | Mean | SD |
| 0.7789 | 0.0538 | 0.7285 | 0.0729 | 0.5509 | 0.0788 | 0.8307 | 0.0606 | ||
| 0.7875 | 0.0438 | 0.7318 | 0.0731 | 0.5539 | 0.0762 | 0.8282 | 0.0616 | ||
| 0.7851 | 0.0479 | 0.7300 | 0.0750 | 0.5478 | 0.0829 | 0.8244 | 0.0627 | ||
| 0.7852 | 0.0493 | 0.7280 | 0.0755 | 0.5517 | 0.0838 | 0.8192 | 0.0644 | ||
| AUC | 0.7817 | 0.0535 | 0.7293 | 0.0740 | 0.5451 | 0.0784 | 0.8365 | 0.0616 | |
| 0.7915 | 0.0434 | 0.7333 | 0.0750 | 0.5460 | 0.0754 | 0.8362 | 0.0628 | ||
| 0.7898 | 0.0488 | 0.7325 | 0.0777 | 0.5353 | 0.0826 | 0.8347 | 0.0641 | ||
| 0.7908 | 0.0506 | 0.7300 | 0.0788 | 0.5344 | 0.0847 | 0.8321 | 0.0665 | ||
| BS | 0.0140 | 0.0036 | 0.0126 | 0.0029 | 0.0124 | 0.0027 | 0.0131 | 0.0025 | |
| 0.0228 | 0.0054 | 0.0197 | 0.0041 | 0.0197 | 0.0041 | 0.0202 | 0.0036 | ||
| 0.0315 | 0.0068 | 0.0268 | 0.0051 | 0.0272 | 0.0053 | 0.0269 | 0.0046 | ||
| 0.0404 | 0.0085 | 0.0344 | 0.0063 | 0.0354 | 0.0070 | 0.0339 | 0.0058 | ||
| TCN-DCM | RDSM | DDH | JM | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Metric | Horizon | Mean | SD | Mean | SD | Mean | SD | Mean | SD |
| 0.5977 | 0.0326 | 0.5777 | 0.0198 | 0.5351 | 0.0337 | 0.5264 | 0.0262 | ||
| 0.5975 | 0.0330 | 0.5796 | 0.0207 | 0.5346 | 0.0340 | 0.5285 | 0.0282 | ||
| 0.5968 | 0.0333 | 0.5801 | 0.0219 | 0.5339 | 0.0323 | 0.5297 | 0.0301 | ||
| 0.5962 | 0.0340 | 0.5796 | 0.0226 | 0.5343 | 0.0308 | 0.5301 | 0.0311 | ||
| AUC | 0.6036 | 0.0332 | 0.5849 | 0.0213 | 0.5140 | 0.0350 | 0.5302 | 0.0259 | |
| 0.6061 | 0.0340 | 0.5903 | 0.0229 | 0.5043 | 0.0358 | 0.5341 | 0.0279 | ||
| 0.6081 | 0.0347 | 0.5941 | 0.0250 | 0.4945 | 0.0344 | 0.5370 | 0.0300 | ||
| 0.6102 | 0.0358 | 0.5967 | 0.0264 | 0.4871 | 0.0331 | 0.5391 | 0.0312 | ||
| BS | 0.0629 | 0.0050 | 0.0617 | 0.0047 | 0.1246 | 0.0211 | 0.0617 | 0.0048 | |
| 0.0896 | 0.0071 | 0.0870 | 0.0065 | 0.2806 | 0.0571 | 0.0873 | 0.0066 | ||
| 0.1137 | 0.0093 | 0.1095 | 0.0079 | 0.2935 | 0.0554 | 0.1103 | 0.0081 | ||
| 0.1350 | 0.0115 | 0.1294 | 0.0092 | 0.3053 | 0.0541 | 0.1307 | 0.0093 | ||
| TCN-DCM | RDSM | DDH | JM | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Metric | Horizon | Mean | SD | Mean | SD | Mean | SD | Mean | SD |
| 0.8339 | 0.0308 | 0.8143 | 0.0461 | 0.6800 | 0.1321 | 0.7994 | 0.0390 | ||
| 0.7990 | 0.0295 | 0.7846 | 0.0453 | 0.6721 | 0.1071 | 0.7766 | 0.0428 | ||
| 0.7680 | 0.0303 | 0.7530 | 0.0423 | 0.6224 | 0.1422 | 0.7495 | 0.0463 | ||
| AUC | 0.8734 | 0.0327 | 0.8536 | 0.0543 | 0.6997 | 0.1529 | 0.8413 | 0.0395 | |
| 0.8373 | 0.0396 | 0.8254 | 0.0659 | 0.6959 | 0.1220 | 0.8246 | 0.0554 | ||
| 0.8054 | 0.0414 | 0.7897 | 0.0696 | 0.6318 | 0.1711 | 0.8061 | 0.0606 | ||
| BS | 0.1266 | 0.0375 | 0.1329 | 0.0401 | 0.2046 | 0.0720 | 0.1395 | 0.0306 | |
| 0.1626 | 0.0489 | 0.1602 | 0.0438 | 0.2519 | 0.0930 | 0.1652 | 0.0384 | ||
| 0.1878 | 0.0448 | 0.1891 | 0.0415 | 0.3055 | 0.1220 | 0.1822 | 0.0405 | ||
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hu, Y.; Su, G.; Hou, Y. A Temporal Convolutional Network Deep Cox Mixtures Model for Dynamic Risk Prediction. Mathematics 2026, 14, 2727. https://doi.org/10.3390/math14152727
Hu Y, Su G, Hou Y. A Temporal Convolutional Network Deep Cox Mixtures Model for Dynamic Risk Prediction. Mathematics. 2026; 14(15):2727. https://doi.org/10.3390/math14152727
Chicago/Turabian StyleHu, Youling, Guina Su, and Yawen Hou. 2026. "A Temporal Convolutional Network Deep Cox Mixtures Model for Dynamic Risk Prediction" Mathematics 14, no. 15: 2727. https://doi.org/10.3390/math14152727
APA StyleHu, Y., Su, G., & Hou, Y. (2026). A Temporal Convolutional Network Deep Cox Mixtures Model for Dynamic Risk Prediction. Mathematics, 14(15), 2727. https://doi.org/10.3390/math14152727

