Cancer imaging studies increasingly find that the most prognostic signal sits just outside the visible tumor. That rim holds swelling, infiltrating tumor cells, abnormal vessels and tissue pushed aside by the growing mass. Yet the standard way to measure it is crude. Researchers draw rings of fixed width around a hand-drawn or automatic tumor outline and compute texture statistics inside each ring. Those rings ignore anatomy. They inherit every error in the outline. They cannot tell whether a textural change comes from fluid, from invasion, or from normal tissue that has simply been displaced. Where the tumor fades gradually into brain tissue with no clear edge, the rings are anchored to a boundary that does not really exist.
We propose replacing the rings with a continuous, patient-specific map of how far each voxel around the tumor sits from healthy tissue. The map comes from a generative model trained only on healthy brains. The model is a diffusion model, a generator that learns to turn random noise into realistic images by removing noise step by step. We partly corrupt the tissue around the tumor with noise at several strengths and let the healthy-trained model restore it. Tissue that is truly normal comes back unchanged at every strength. Tissue that is abnormal gets "healed" once the noise is strong enough to erase its abnormality. Recording how the restoration error grows with noise strength gives each voxel a graded score, which we call its healing depth. A smooth deformation fitted between the restored image and the real scan then splits that score into two parts: displacement, meaning tissue that is normal but pushed aside, and residual change in intensity, meaning tissue that looks different. The test is whether these two maps predict glioblastoma survival better than fixed rings, better than the edema label that radiologists already draw, and better than atlas-based deformation measures.
Core Claim
Diffusion-based anomaly detection has a known failure. Denoising Diffusion Models for Anomaly Localization in Medical Images reviews diffusion models that restore a pseudo-healthy version of an image and flag differences, and it describes a "noise paradox." Too little noise and the model reproduces the anomaly. Too much and it forgets the patient's own anatomy, producing false alarms in healthy tissue.
Our claim is that for a gradually infiltrating tumor boundary, this paradox is information to measure, not a hyperparameter to tune. A strongly abnormal voxel is healed at low noise. A faintly abnormal one is healed only at high noise. A normal voxel is never healed, because there is nothing to heal. Sweeping the noise strength and calibrating each voxel's error against healthy subjects produces a continuous boundary field. That field does not need an annotated edge, because it never commits to one.
Displacement from mass effect would contaminate this score, since pushed-aside tissue also "looks wrong" pixel by pixel. We therefore separate the two parts with a patient-specific deformation, rather than registering the patient to a population atlas.
Let $x$ be the patient scan and $\hat{x}_k$ the pseudo-healthy restoration at noise level $k$ (one of $K$ levels). We fit a smooth, invertible warp $\phi_k$ so that
$$x \approx \hat{x}_k \circ \phi_k + r_k,$$
where $r_k$ is the leftover intensity residual after the warp has explained displacement. The healing-depth score of voxel $v$ is the depth-averaged, healthy-calibrated residual
$$h(v) = \frac{1}{K}\sum_{k=1}^{K} \frac{|r_k(v)| - \mu_k(v)}{\sigma_k(v)},$$
where $\mu_k(v)$ and $\sigma_k(v)$ are the mean and standard deviation of $|r_k|$ at the atlas-matched location in held-out healthy subjects. The companion map is the warp magnitude $|\phi_K - \mathrm{id}|$, which measures how far tissue has been pushed from where the patient's own healthy anatomy would place it.
Relation to Prior Work
Three kinds of prior work shape the proposal: work that shows the gap, work that constrains the design, and work that supplies the method.
Work that shows the gap. Peritumoral imaging studies show there is real signal beyond the visible edge but measure it heuristically. A 2024 PET/CT study found that deliberately loose, expanded contours in head and neck cancer improved prognosis models, which means tight outlines throw away edge information. R-DepTH goes furthest. It registers glioblastoma MRI to a healthy atlas with a classical diffeomorphic method (ANTs SyN), measures tissue displacement in 12 concentric rings out to 60 mm, and combines this with texture disorder inside the tumor to stratify survival across three cohorts. Our proposal keeps R-DepTH's insight that displacement matters. It changes three things. The atlas becomes a counterfactual of the patient's own healthy brain, so normal differences between people are not mistaken for mass effect. The rings become a continuous field. And R-DepTH's displacement alone is supplemented by a separate intensity-residual map. Habitat methods, which cluster voxels by their multi-sequence signal (breast pCR habitat fusion; cervical PET habitat transformer), also divide tissue without rings. They cluster by appearance, however, with no reference to what normal tissue should look like, so they cannot separate displacement from change.
Work that supplies the pseudo-healthy machinery but leaves the rim alone. Pseudo-healthy synthesis has deliberately left the peritumoral rim untouched. The BraTS 2023 inpainting challenge fills in only the masked tumor region and treats everything outside the mask as known. Generator Versus Segmentor forces tissue outside a binary lesion label to be reproduced unchanged. Pathology factorization splits a scan into healthy anatomy plus a binary lesion mask. All three assume a hard edge between tumor and normal tissue, which is exactly the assumption our proposal drops. We reuse inpainting for the core. We do not reuse the hard-edge assumption for the rim.
Work that constrains the design. Two negative results limit which designs are worth trying. Generalizing Unsupervised Anomaly Detection shows that standard autoencoders miss non-bright T1-weighted pathology, including edema and structural shifts. Its reversed autoencoder raises detection substantially, but the authors report that subtle low-contrast lesions remain hard. This rules out plain autoencoder subtraction and tells us to calibrate residuals rather than threshold them. DRÆM and DeScarGAN show that naive image subtraction produces halos at soft interfaces. DRÆM fixes this with a learned discriminator, and DeScarGAN allows global shape change by removing a skip connection. We answer the halo problem differently, by explaining displacement explicitly with a warp. Otherwise a warp-shaped error at the interface would be misread as tissue change.
Supervised boundary methods. Methods such as MISNet, Bounding Maps and RecycleNet sharpen or soften boundaries using annotated edges. They inherit disagreement between annotators and stop at the lesion. We use none of their supervision. Bounding Maps' finding that graded targets outperform hard ones is indirect support for a graded field.
Research Program
Healthy model. We will train a 3D latent diffusion model on healthy T1- and T2-weighted brain MRI from IXI. We use T1 and T2 because IXI provides these sequences but not FLAIR, a limitation we state openly because FLAIR is the usual sequence for seeing edema.
Restoring the patient's healthy brain. For each glioblastoma patient, we first inpaint the tumor core (enhancing tumor plus necrosis, taken from BraTS labels or an automatic segmentation), following the BraTS inpainting setup. We then run a masked partial-noising sweep. Tissue beyond 60 mm, matching R-DepTH's outer ring, is held fixed as known context. A band of $K$ noise levels is applied to everything between the core and that limit, and the model restores it at each level. Each level is run with several random seeds so that the model's own sampling variability can be estimated and subtracted from the calibration.
Separating displacement from change. At each noise level, a smooth diffeomorphic warp is fitted from the restoration to the input. We will use ANTs SyN first for comparability with R-DepTH, and a learned registration network as a faster variant. This yields two outputs per patient: the healing-depth map $h$ and the displacement map.
Summarizing the maps. We will extract features from each map in two ways. The first is iso-level regions of $h$ in place of rings, meaning regions bounded by contours of equal healing depth. The second is simple summary statistics of $h$ and of displacement. These feed a Cox survival model, the standard regression model for time-to-event outcomes.
Checking the model on healthy brains. A necessary sanity check is the healthy-subject false-positive rate. On held-out IXI subjects, $h$ should stay near zero everywhere. If it does not, the calibration is broken.
Baselines
Fixed rings (the naive reference). The naive reference point is fixed concentric rings: 5, 10 and 20 mm shells, plus R-DepTH's 12-ring scheme to 60 mm. These are drawn around the same tumor-core masks, with the same radiomic feature set and the same Cox model. Any added complexity must beat this.
R-DepTH (the strongest existing method). The strongest existing method is R-DepTH, which combines atlas-registration displacement with intratumoral texture disorder. It reports concordance indices of 0.60 to 0.75 across test sets. The concordance index (C-index) measures how often a model correctly orders two patients by survival, with 0.5 meaning chance. R-DepTH also reports hazard ratios of 24 and 12 on Cohorts 1 and 2 when trained on Cohort 3. We will reimplement it on identical splits with the same feature-selection budget, and we will compare against our own rerun rather than against the reported range, because cohort access differs. Beating it means a higher C-index on held-out cohorts, with bootstrap confidence intervals that exclude no improvement, when our maps replace R-DepTH's ring and atlas features while the intratumoral texture term is kept fixed.
The BraTS edema label. A competitor specific to this setting is the expert edema label that BraTS already provides. Radiomic features computed inside that label, and inside a 5 mm shell beyond it, form a baseline that uses the radiologist's own answer to where the peritumoral zone is.
Supervised softmax band. A segmentation network's intermediate-probability zone, with probabilities between 0.2 and 0.8, is used as the peritumoral region. This tests whether ordinary supervised uncertainty already captures the graded boundary.
Reversed-autoencoder residual. The reversed-autoencoder residual map from Generalizing Unsupervised Anomaly Detection is used in place of $h$. This tests whether any good healthy-trained reconstruction suffices, independent of the depth sweep.
Ablations. Two ablations isolate the key ingredients. The first uses a single noise level instead of the sweep, tuned on validation data. The second computes $h$ without the warp. All baselines share the tumor-core masks, the healthy training data where applicable, and a matched hyperparameter search budget.
Why not just…?
Why not just dilate the segmentation by fixed margins? It is the field's default and costs almost nothing. The 2024 PET/CT study suggests fixed tight boundaries miss prognostic signal. That evidence is indirect, though, because loosening boundaries helped there and rings are one form of loosening. Our survival comparison settles the question directly. If fixed rings match healing-depth regions in C-index, the generative machinery is not justified, and we would report that outcome.
Why not just use the edema label radiologists already draw? This is the most serious threat. In glioblastoma, the labeled edema region is already a physiologically defined peritumoral zone. We address it with two tests. The first is the incremental C-index of healing-depth features added on top of edema-label features. The second asks whether $h$ carries survival signal outside the labeled edema, in tissue that appears normal. If all of $h$'s value lies inside the label, the method only automates something annotators already provide, and the claim narrows to a label-free proxy for edema.
Why not just take the softmax uncertainty of a segmentation network? Softmax scores reflect the annotation noise the network was trained on, and Bounding Maps shows that hard-label training degrades graded behavior at low-contrast margins. Softmax bands also stay near the labeled edge by construction and cannot reach tissue 30 mm away. The softmax-band baseline tests this directly.
Why not just register to an atlas, as R-DepTH does? Atlas registration conflates each patient's normal anatomical variation with mass effect, and it yields displacement only, with no intensity-change channel. The paired comparison of patient-specific versus atlas-based warps, holding everything else fixed, isolates this difference. If the atlas-based warp performs equally well, the case for the counterfactual approach rests only on the added residual map.
Proposed Experiments
Synthetic ground truth. The first decisive check uses synthetic data where the true answer is known. On held-out IXI healthy scans, we will implant three kinds of change. The first is smooth intensity gradients with a known falloff width, standing in for infiltration. The second is known smooth displacements, standing in for mass effect. The third is both together, at contrasts spanning the low end where Generator Versus Segmentor reports residual artifacts. We will measure four things: the rank correlation of $h$ with the implanted intensity change, the error of the displacement map against the implanted warp, and the cross-leakage in each direction (displacement appearing in $h$, and intensity change appearing in the warp). The method passes if leakage stays small while single-depth and no-warp ablations leak substantially. If the decomposition fails on synthetic data, the clinical results cannot be interpreted.
Reconstruction fidelity in the core. The second check confirms the restorations are sound. Core inpainting quality on the BraTS 2023 inpainting task should be close to the top reported entry, a median SSIM of 0.91 and PSNR of 23.59 (BraTS 2023 inpainting), so that restorations are credible. For the rim itself no ground truth exists, and we report the healthy-subject false-positive rate instead.
Survival prediction. The main experiment is survival prediction on the public TCIA glioblastoma cohort used by R-DepTH (75 cases). If collaboration allows, we will add the CCF and MCW cohorts in a leave-one-cohort-out design. Every baseline above is compared by C-index and hazard ratio across risk groups, with bootstrap intervals. The edema-conditioned incremental analysis is reported separately.
Secondary checks. We will test whether $h$ detects the edema and structural cases in the FastMRI+ T1-weighted set, comparing against the reversed autoencoder's reported 86.0% local detection rate (Generalizing Unsupervised Anomaly Detection). This shows whether the calibrated sweep works as a general anomaly detector. The prognostic claim does not depend on it.
Decision rule. The idea is supported only if two conditions hold. Healing-depth and displacement maps must beat both fixed rings and the rerun R-DepTH on held-out cohorts. And they must retain signal beyond the expert edema label. Failing the first means the method adds nothing. Failing only the second reduces the contribution to label-free edema mapping.
References
- Denoising Diffusion Models for Anomaly Localization in Medical Images
- Prediction of Recurrence Free Survival of Head and Neck Cancer Using PET/CT Radiomics and Clinical Information
- Radiomic Deformation and Textural Heterogeneity (R-DepTH) Descriptor to Characterize Tumor Field Effect: Application to Survival Prediction in Glioblastoma
- Fusion model integrating multi-sequence MRI radiomics and habitat imaging for predicting pathological complete response in breast cancer treated with neoadjuvant therapy
- Habitat-based transformer model in pretreatment 18F-FDG PET imaging for predicting prognosis in cervical cancer: a two-center retrospective study
- The Brain Tumor Segmentation (BraTS) Challenge 2023: Local Synthesis of Healthy Brain Tissue via Inpainting
- Generator Versus Segmentor: Pseudo-healthy Synthesis
- Adversarial Pseudo Healthy Synthesis Needs Pathology Factorization
- Generalizing Unsupervised Anomaly Detection: Towards Unbiased Pathology Screening
- DRÆM - A discriminatively trained reconstruction embedding for surface anomaly detection
- DeScarGAN: Disease-Specific Anomaly Detection with Weak Supervision
- Multi-scale information sharing and selection network with boundary attention for polyp segmentation
- Bounding Maps for Universal Lesion Detection
- Abstract: RecycleNet - Latent Feature Recycling Leads to Iterative Decision Refinement