CaMeWM: A Causal Medical World Model for Generative Tumor Evolution and Treatment Planning
Organizations: School of Electronic Information, Northwest University, No. 1 Xuefu Avenue, Xi’an, 710127, China · Xi’an Key Lab of Radiomics and Intelligent Perception, Northwest University, No. 1 Xuefu Avenue, Xi’an, 710127, China
Abstract
Treatment planning is intrinsically counterfactual: clinicians must compare how a patient's tumor and survival would evolve under competing regimens, whereas a retrospective cohort records only the regimen received and one follow-up scan. A treatment-conditioned generator trained on such data can therefore reproduce historical treatment allocation rather than simulate the interventional disease dynamics needed to rank regimens. We introduce CaMeWM, a causal medical world model for supported post-TACE tumor evolution and treatment planning. CaMeWM implements one intervention-to-decision loop rather than three independent prediction tasks: it first admits a queried regimen only for clinically comparable histories with empirical treatment support; it then generates a distribution of lesion-local follow-up worlds through an action-conditioned response descriptor, deterministic anchor, and residual 3D diffusion transition; and it finally maps sampled worlds to restricted mean survival time (RMST) with a response-Cox utility model. Under pre-treatment adjustment and positivity, this loop estimates a prespecified, support-restricted g-formula target; all selection and nuisance estimation are fold-local, and the induced policy is evaluated by cross-fitted, censoring-adjusted doubly robust estimation. Across 79 paired out-of-fold episodes, CaMeWM achieves 0.618 SSIM and 0.528 change-map SSIM for follow-up CT transition, while its generated-world survival pathway attains a 0.615 C-index; factual-only AIPW estimates a 9.60-week RMST gain (95% CI 0.61--18.13) for the frozen policy. CaMeWM provides an inspectable basis for retrospective, support-restricted treatment planning.
Figures & tables
| Method | Tumor HU-MAE | SSIM | PSNR | SSIM |
|---|---|---|---|---|
| Persistence | 57.192 [52.069, 63.049] | 0.157 [0.135, 0.180] | 16.877 [16.148, 17.661] | 0.469 [0.443, 0.497] |
| 3D U-Net | 26.944 [23.224, 31.104] | 0.523 [0.481, 0.566] | 19.157 [18.359, 19.974] | 0.610 [0.584, 0.637] |
| CVAE-3D | 32.300 [28.065, 37.105] | 0.508 [0.464, 0.549] | 18.815 [18.027, 19.670] | 0.587 [0.562, 0.612] |
| Mask-DDPM | 63.721 [58.270, 69.962] | 0.051 [0.026, 0.080] | 16.665 [15.966, 17.362] | 0.451 [0.425, 0.477] |
| MeWM ∗ | 62.910 [57.562, 68.555] | 0.074 [0.048, 0.102] | 16.684 [15.993, 17.373] | 0.438 [0.412, 0.465] |
| CaMeWM | 27.145 [23.139, 31.534] | 0.528 [0.484, 0.569] | 19.193 [18.353, 20.112] | 0.618 [0.591, 0.645] |
| Planning method | Observed-regimen agreement | Macro-F1 | Balanced accuracy | CaMeWM-only support † | CaMeWM-only abstention † |
| CoxPH | 0.367 [0.266, 0.468] | 0.269 [0.210, 0.319] | 0.500 [0.500, 0.500] | – | – |
| DeepSurv | 0.342 [0.241, 0.443] | 0.310 [0.223, 0.409] | 0.429 [0.337, 0.516] | – | – |
| IPTW-Cox | 0.367 [0.266, 0.468] | 0.269 [0.210, 0.319] | 0.500 [0.500, 0.500] | – | – |
| MeWM ∗ | 0.367 [0.266, 0.468] | 0.269 [0.210, 0.319] | 0.500 [0.500, 0.500] | – | – |
| CaMeWM | 0.506 [0.392, 0.620] | 0.503 [0.388, 0.610] | 0.523 [0.401, 0.631] | 0.597 [0.561, 0.634] | 0.000 [0.000, 0.000] |
| CaMeWM factual-only AIPW: Observed RMST weeks; AIPW policy value [102.34, 124.84] weeks. | |||||
| Variant | Normalized tumor MAE | SSIM | Global HU-MAE | SSIM |
|---|---|---|---|---|
| Full CaMeWM | 0.070 [0.059, 0.082] | 0.618 [0.591, 0.644] | 61.102 [54.384, 68.512] | 0.528 [0.483, 0.570] |
| Causal anchor only | 0.070 [0.060, 0.081] | 0.612 [0.585, 0.637] | 61.139 [54.508, 68.499] | 0.526 [0.482, 0.569] |
| w/o response-code conditioning | 0.071 [0.060, 0.082] | 0.618 [0.591, 0.643] | 61.198 [54.274, 68.508] | 0.528 [0.485, 0.571] |
| w/o direct action path | 0.075 [0.064, 0.087] | 0.617 [0.591, 0.644] | 62.239 [55.086, 69.746] | 0.524 [0.480, 0.566] |
| w/o confidence weighting | 0.070 [0.060, 0.082] | 0.618 [0.592, 0.644] | 61.197 [54.610, 68.239] | 0.527 [0.482, 0.570] |
| Method | Uno C | IBS | RMST MAE | C-index 95% CI |
|---|---|---|---|---|
| CoxPH | 0.580 | 0.202 | 39.28 | 0.581 [0.500, 0.661] |
| DeepSurv | 0.592 | 0.200 | 39.17 | 0.597 [0.525, 0.670] |
| IPTW-Cox | 0.603 | 0.200 | 38.73 | 0.609 [0.531, 0.689] |
| MeWM ∗ | 0.461 | 0.242 | 44.53 | 0.462 [0.390, 0.540] |
| CaMeWM factual | 0.589 | 0.211 | 40.80 | 0.592 [0.521, 0.662] |
| CaMeWM generated worlds | 0.612 | 0.202 | 39.23 | 0.615 [0.546, 0.688] |
| Main-paper contribution | Formal support | Required implementation and evidence |
|---|---|---|
| Support-restricted interventional world distribution | Theorem S1 and its complete proof | Joint-regimen propensity, explicit support set, response-factorized g-formula, overlap diagnostics, and semi-synthetic identification recovery. |
| Response-factorized residual transition | Theorem S2 and Corollary S3 | Operational response proxies, lesion-local residual DDPM, controlled component ablations, factor-wise errors, and empirical bound coverage. |
| RMST world integration and supported policy | Lemma S4 and Theorem S7 | Response-Cox RMST, worlds per action, sampling-convergence analysis, and support abstention. The current score is not claimed to be a calibrated finite-sample confidence bound. |
| Cross-fitted factual policy evaluation | Theorem S6 , its proof, and the censoring identity | Outer-fold predictions, IPCW RMST pseudo-outcomes, factual-only AIPW value, overlap/balance/ESS diagnostics, and patient-level bootstrap intervals. |
| Claim boundaries | Proposition S8 and Remark S2 | Hidden-confounding sensitivity and explicit exclusion of unique individual CT and prospective-benefit claims. |
| Symbol | Meaning |
|---|---|
| Pre-treatment history: baseline CT, baseline lesion mask, and clinical covariates. | |
| , | Observed joint regimen and a candidate intervention, respectively. |
| Treatment-conditioned response descriptor predicted from . | |
| , | Observed registered follow-up CT and its potential follow-up state under . |
| , | Joint-regimen propensity and the support-restricted candidate set satisfying . |
| , | Response-descriptor and follow-up-state transition distributions in the g-formula. |
| Module | Checkpoint criterion | Safeguard |
|---|---|---|
| Follow-up segmenter | Maximum validation Dice | Minimum 40 epochs; patience 20 |
| Response predictor | Minimum standardized validation MAE | Minimum 40 epochs; patience 25 |
| Joint propensity | Minimum validation cross-entropy | Minimum 30 epochs; patience 20 |
| Residual DDPM | Minimum sampled tumor-region MAE, checked every 10 epochs | Minimum 60 epochs; patience 5 checks |
| Response-Cox survival | Maximum validation C-index; validation loss only when C-index is undefined | Minimum 50 epochs; patience 30 |
| Planner | No test-set tuning; , support threshold 0.05 | Same locked values for every fold and method |
| Analytical stage | Reproducible input or operation | Required evidence |
|---|---|---|
| Image-state construction | label semantics, scan pairing, registration, common physical crop | cohort flow, exclusions, label and registration QC |
| Fold-local model fitting | training/validation partitions, fixed selection criteria, frozen outer test fold | selection records and fold-level predictions |
| Response and transition estimation | response descriptor, causal anchor, residual transition, world sampling | module evaluations, sampled worlds, and qualitative cases |
| Survival and planning | factual-state survival fit, supported action scoring, factual-only AIPW | survival, planning, support, and policy-value summaries |
| OOF aggregation | patient-level pooling and paired bootstrap resampling | reported tables, figures, and confidence intervals |
| Stage | Episodes |
|---|---|
| Public HCC-TACE-Seg release | 105 |
| Longitudinal local manifest with required imaging and clinical records | 99 |
| Two predeclared supported complete joint regimens | 80 |
| Empty released source label-2 tumor mask excluded | 1 |
| Final patient-level OOF cohort | 79 |
| Item | Final specification |
|---|---|
| Tumor semantics | Source label 2 (Mass/HCC tumor); empty source masks excluded |
| Spatial preprocessing | Rigid physical-grid registration; 1-mm isotropic spacing; shared baseline-tumor physical crop |
| Image scale | HU window followed by the common normalization used for all methods |
| Follow-up lesion state | Fold-local segmenter, validation Dice selection, four-view test-time aggregation, recorded fallback QC |
| Treatment support | Two complete joint regimens; support threshold |
| World integration | diffusion worlds per candidate regimen |
| Covariate | Release representation | Missing, (%) | Fold-local processing |
|---|---|---|---|
| Age | Continuous baseline age | 0 (0.0) | Training median-centering and SD scaling |
| Sex | Binary release code | 0 (0.0) | Training median-centering and SD scaling |
| AFP | Continuous reported baseline value | 0 (0.0) | , then training median-centering and SD scaling |
| Child–Pugh class | Ordinal release code | 0 (0.0) | Training median-centering and SD scaling |
| BCLC stage | Ordinal release code | 0 (0.0) | Training median-centering and SD scaling |
| Tumor count | Binary release code | 0 (0.0) | Training median-centering and SD scaling |
| Quantity | OOF estimate |
|---|---|
| Patients | 79 |
| Factual observed-regimen RMST (weeks) | 103.62 |
| Factual-only AIPW policy value (weeks) | 113.22 [102.34, 124.84] |
| Factual-only AIPW gain (weeks) | 9.60 [0.61, 18.13] |
| Policy effective sample size | 37.4 |
| Mean recommended-action support | 0.597 |
Causal World Models
Causal world models represent how entities and environments change under actions, enabling prediction, planning, and counterfactual reasoning.
See all 46 papers