# MRI appearance adds an uncertain IDH-prediction increment in a strongly mixed TCGA cohort

Interim report. The planned second external evaluation remains blocked by unverified mask-code semantics.

A segmentation-based model using age and 19 quantitative measures of tumor location and burden achieved an IDH-mutation AUC of 0.915 in 130 TCGA patients. That high score was measured in a combination of two historical collections with very different mutation frequencies: three of 69 TCGA-GBM patients and 51 of 61 TCGA-LGG patients were mutant. A rule ranking every LGG case above every GBM case would itself score 0.906. Adding 24 MRI intensity and texture measurements to the quantitative baseline raised AUC to 0.934, but the change in probability prediction error remained uncertain: log loss changed by −0.046 (95% interval −0.143 to +0.046). The pooled score therefore provides limited evidence about prediction among patients with similar tumor types, and the appearance increment remains unresolved.

## Background

Mutations in isocitrate dehydrogenase (IDH) distinguish major biological groups of diffuse glioma, a family of infiltrating brain tumors. Integrated molecular profiling of these tumors established the importance of IDH-associated groups across conventional histological categories. Predicting mutation status from a scan is therefore an appealing preoperative goal. [Ceccarelli et al., 2016](https://doi.org/10.1016/j.cell.2015.12.028).

MRI prediction need not depend entirely on subtle tissue texture. In a study of grade II/III astrocytomas, Hyare and colleagues found that age, anatomical involvement and an MRI signal ratio were informative about IDH status. Their work motivates a demanding comparator for appearance-based prediction: age together with where the tumor lies and how much abnormal tissue it contains. [Hyare et al., 2019](https://doi.org/10.1016/j.ejrad.2019.03.003). Here, *burden* means the volume of the entire segmented abnormality, including surrounding abnormal signal, and the volume and fraction that enhance after contrast injection. *Appearance* means additional measurements of signal intensity and variation between neighboring voxels.

We asked whether appearance improves prediction beyond age, broad location and burden when a model moves from UCSF to TCGA. The UCSF-PDGM release supplies preoperative MRI, molecular labels and reviewed tumor segmentations. The processed TCGA releases supply corresponding structural sequences and segmentations from the TCGA-GBM and TCGA-LGG collections. [Calabrese et al., 2022](https://doi.org/10.1148/ryai.220058); [Bakas et al., 2017](https://doi.org/10.1038/sdata.2017.117). We compared three nested feature sets with development confined to UCSF. This is a new exploratory comparison, not a reconstruction or correction of a published predictor.

## Results

### Performance in the combined TCGA collections

The age–location–burden model achieved high discrimination in the combined TCGA collections. Development included 424 UCSF patients, 90 IDH-mutant and 334 wildtype. The external test included 130 TCGA patients, 54 mutant and 76 wildtype. Thus mutation prevalence rose from 21.2% to 41.5% between development and testing.

Table 1 shows that age alone transferred less well than the larger feature sets. Its AUC was 0.907 in development and 0.781 externally. Adding broad location and burden yielded an external AUC of 0.915 and reduced log loss from 0.687 to 0.409. AUC measures ranking: 0.5 corresponds to chance and 1 to perfect ordering of mutant above wildtype cases. Log loss measures the quality of predicted probabilities, penalizing confident errors especially strongly; smaller values are better. The Brier score is the mean squared error of those probabilities, also with smaller values better.

Table 1. Prediction performance. Development values are predictions from held-out patients in nested cross-validation (424 patients); external values use the final UCSF-trained models without refitting (130 patients).

| Model | Development AUC | Development log loss | External AUC | External log loss | External Brier score |
|---|---:|---:|---:|---:|---:|
| Age | 0.907 | 0.295 | 0.781 | 0.687 | 0.218 |
| Age, location and burden | 0.946 | 0.219 | 0.915 | 0.409 | 0.121 |
| Baseline plus appearance | 0.941 | 0.220 | 0.934 | 0.363 | 0.114 |

The baseline is not an age-only or imaging-free comparator. It uses 20 inputs, including automated spatial summaries and supplied tumor segmentations. Its performance therefore describes a quantitative MRI-based baseline, rather than the accuracy obtainable from a brief clinical history alone.

### The appearance increment was imprecisely estimated

Appearance improved external point estimates, but the paired intervals included both improvement and worsening. The appearance-minus-baseline log-loss difference was −0.046 (95% interval −0.143 to +0.046). The corresponding AUC difference was +0.019 (−0.016 to +0.059), and the Brier difference was −0.007 (−0.037 to +0.024). In development, appearance gave nearly unchanged out-of-fold log loss, 0.220 versus 0.219, and slightly lower AUC, 0.941 versus 0.946.

![Paired log-loss changes overall and within each TCGA collection.](results/appearance_increment.png)

Figure 1. Change in log loss after adding appearance, with 95% paired patient-bootstrap intervals. Negative values favor appearance. The overall comparison is the primary analysis; the collection-specific rows describe its composition and use subsets of the same patients. Intervals condition on the fitted models and do not include uncertainty from retraining or sampling new hospitals.

Coarsening location coordinates, relaxing external eligibility and shifting coordinate summaries left the appearance increment uncertain. These overlapping checks probe measurement and eligibility choices; they do not supply independent replication.

### Collection composition matters for the pooled score

The pooled external AUC combines two collections with very different mutation frequencies. TCGA-GBM contributed 69 patients, only three mutant, whereas TCGA-LGG contributed 61, of whom 51 were mutant. These are historical collection labels. They were not supplied to the models. Of the 4,104 possible mutant–wildtype pairs, 3,396 (82.7%) cross the collection boundary. Baseline concordance was 0.948 for those cross-collection pairs and 0.757 for within-collection pairs, weighted by their available pair counts. Ranking solely by collection gives AUC 0.906. This retrospective case-mix diagnostic describes the ranking comparisons contributing to AUC. It does not identify what the model learned or estimate a causal effect of collection membership.

Table 2. Discrimination and the appearance increment within the external collections. Log-loss changes are appearance minus baseline. Collection-specific estimates are descriptive; the GBM AUCs depend on only three mutant patients.

| External group | Patients | IDH-mutant | Baseline AUC | With appearance AUC | Log-loss change (95% interval) |
|---|---:|---:|---:|---:|---:|
| All TCGA | 130 | 54 | 0.915 | 0.934 | -0.046 (-0.143 to +0.046) |
| TCGA-GBM | 69 | 3 | 0.859 | 0.884 | +0.003 (-0.082 to +0.101) |
| TCGA-LGG | 61 | 51 | 0.718 | 0.773 | -0.102 (-0.268 to +0.063) |

Within LGG, baseline AUC was 0.718 and increased to 0.773 with appearance. Its log-loss change was −0.102, with an interval spanning −0.268 to +0.063. Within GBM, the log-loss change was close to zero. The overall AUC of 0.915 therefore should not be read as the baseline's discrimination within either subgroup. The seven tissue-source groups also had appearance increments in both directions; their small and sometimes single-class samples preclude a reliable site-level conclusion.

Predicted probabilities also shifted between cohorts. Descriptive external calibration intercepts and slopes were 0.529/0.780 for the baseline and 0.393/0.678 with appearance, compared with ideal values of 0/1. Slopes below one indicate predictions that are too spread out on the log-odds scale. Intercepts estimated with slope fixed at one were positive, 0.740 and 0.663, indicating underprediction of mutation frequency overall. We did not recalibrate the predictions using TCGA outcomes.

### The second external test stopped at a mask-compatibility check

We attempted the separately planned UTSW test during revision. All five required files for each of 359 candidates were downloaded and verified; all four MRI grids agreed with their corrected masks and all arrays were finite. However, 120 corrected masks contained numeric codes 3 or 5, outside the fixed extractor's expected set of 0, 1, 2 and 4. Thirty masks contained only background and code 3. The release describes manual refinement of enhancing tumor, necrotic core and edema, but we could not verify how these additional codes map to those regions from the collection documentation or dataset report. The downloaded mask headers contained no descriptions or extensions supplying that mapping. [Reddy et al., 2026](https://doi.org/10.1038/s41597-026-07274-4); [UTSW-Glioma release](https://doi.org/10.7937/DFAE-1B86).

This is a compatibility barrier for our enhancement-burden measurement, not evidence that the released annotations are wrong. We left UTSW unscored rather than guess the mapping, substitute automatic masks or selectively evaluate the 239 cases using expected codes. Numeric compatibility alone also cannot confirm that code 4 denotes enhancing tumor in the other 239 masks. Restarting requires release-specific anatomical meanings for all corrected-mask codes, including any patient-specific assignments, followed by a frozen adapter amendment before scoring. The independent comparison, including its overlap audit and assay sensitivity, remains incomplete.

## Interpretation

The high pooled IDH discrimination was measured in collections with sharply different mutation frequencies. The comparison gives a concrete estimate of how much a fixed family of intensity and texture features added: a modest favorable point estimate with uncertainty wide enough to include a useful gain or worse predictions. An AUC of 0.934 for the augmented model cannot by itself resolve that incremental question. Nor does an interval crossing zero establish equivalence between the models.

The main constraints are the small external sample, its strong collection–mutation association and the restriction to one 24-feature appearance family. Broad affine-registered location summaries are imperfect anatomical adjustment; they do not isolate a biological mechanism. Tissue source does not prove imaging institution, and anonymized identities limit the overlap audit. TCGA scans are preoperative but not confirmed pre-biopsy, unlike development. Supplied segmentations are another requirement for applying either larger model. These results neither establish a clinical replacement for tissue testing nor settle the value of richer MRI representations. The separately planned UTSW test requires verified mask-code semantics before it can address this gap; further tuning against the TCGA outcomes would answer a different question.

## Methods

### Cohorts, labels and independence checks

We used the open UCSF-PDGM release and the official processed TCGA-GBM/LGG releases. We treated the latter as TCGA data, without counting a BraTS derivative as an additional cohort. Of 501 UCSF examinations, six marked follow-ups were removed to retain 495 baseline patients. Excluding 69 patients with prior biopsy left 426; two gross registration failures left 424. IDH labels came from the supplied clinical table. The UCSF dataset report describes sequencing-based IDH ascertainment. [Calabrese et al., 2022](https://doi.org/10.1148/ryai.220058).

The downloaded TCGA packages contained 167 patients. Primary eligibility required known age, an explicit IDH label in the cBioPortal Ceccarelli clinical table, agreement with the MONET molecular subtype curation, known non-UCSF tissue source, all four structural sequences, one released examination and a mask whose release name indicated manual correction. Unknown IDH was not treated as wildtype. These restrictions retained 131 patients; one gross registration failure left 130. The two molecular curations share underlying evidence and do not constitute independent laboratory validation. The source molecular study is [Ceccarelli et al., 2016](https://doi.org/10.1016/j.cell.2015.12.028); the corroborating table is available in the [MONET data archive](https://github.com/sysbiomed/MONET/tree/177a5a42cd6abe17b9debbead59edb5d61d2bfd1/Scripts-for-reproducibility).

Canonical same-modality voxel hashes found no exact duplicate images across the 593 downloaded patients. Coarse cross-collection image-similarity screening and visual inspection of the highest-scoring cross-collection pair found no obvious duplicate in that pair. These checks reduce detectable overlap but cannot establish complete patient independence.

### MRI measurements and quality control

We used the supplied skull-stripped, aligned, 1-mm structural images: T1 before and after contrast, T2 and fluid-attenuated inversion recovery (FLAIR). Whole-abnormality volume included all positive segmentation labels; enhancing volume used label 4. Volumes in milliliters were transformed as the natural logarithm of one plus volume. Enhancing fraction was enhancing volume divided by whole-abnormality volume.

Location was measured in the MNI152 reference brain. T1 images underwent rigid followed by affine registration to the 2-mm template, using mutual information and excluding the tumor plus a five-voxel face-connected dilation from the moving-image registration mask. Registration used three resolution levels, shrink factors 4/2/1, smoothing 2/1/0 mm, 32 histogram bins and 20% random metric sampling. Each stage used regular-step gradient descent with up to 400 iterations per level. The inverse transform mapped native tumor-voxel coordinates to the reference. For each axis we calculated the mean, standard deviation and 10th, 50th and 90th percentiles, plus the fraction of tumor voxels in the left hemisphere, giving 16 spatial features. Volumes remained in native space.

Whole-brain overlap below a Dice coefficient of 0.80 and other technical flags triggered review rather than automatic exclusion. All 56 flagged or deterministically sampled cases were visually reviewed in three planes without using IDH labels. Three catastrophic failures were excluded before fitting. Residual cortical and inferior mismatch was accepted for these broad spatial measurements; no lobe-level accuracy was assumed.

For each sequence, signal was centered on the median and divided by the interquartile range of supported non-tumor brain outside a five-iteration face-connected tumor dilation. Constant padding was identified from image boundaries. Within supported tumor voxels we measured the 10th, 50th and 90th percentiles and interquartile range. Two texture measurements used intensities clipped to −4 through 8 and discretized into 48 bins of width 0.25. Contrast was the mean squared bin difference between face-adjacent tumor voxels; homogeneity was the mean reciprocal of one plus that squared difference. Pairs were pooled over the three axes. The six measurements per sequence yielded 24 appearance inputs.

Appearance QC required at least 1,000 reference voxels, a positive reference interquartile range, no more than 5% of tumor voxels outside image support, and at least 100 neighboring pairs per sequence. All downloaded patients passed. Unsupported voxels were omitted from appearance measurements but retained in mask-based burden. No cohort-level harmonization used external data.

### Model selection and evaluation

The nested feature sets contained age alone, age plus the 16 location features and three burden measures, and those 20 baseline inputs plus 24 appearance measurements. Each set could select additive cubic-spline ridge logistic regression or shallow histogram gradient boosting. Spline models used four quantile knots, constant extrapolation, standardized basis terms and inverse penalty strengths of 0.01, 0.1, 1 or 10. Boosting used 150 iterations, learning rate 0.05, minimum leaf size 20, three or seven leaf nodes and L2 penalties of 1 or 10.

Five outer and four inner stratified patient folds, shared across feature sets, estimated development performance and selected models by log loss. Knots, scaling and tuning were fitted within training folds. Final four-fold selection on all development patients chose spline logistic regression for every feature set, with inverse penalty strength 1 for age and 0.1 for the larger models. Histological grade, collection and tissue source were excluded from prediction. Model fitting used scikit-learn 1.9.1; registration used SimpleITK 2.5.6.

Models, input tables and analysis choices were hash-locked before external scoring. The protocol was a dated internal plan, not an external preregistration. The primary endpoint was paired appearance-minus-baseline mean log loss, using natural logarithms. Secondary measures were AUC, Brier score and descriptive logistic calibration of outcome against predicted log odds. We resampled patients with replacement 5,000 times, preserving paired predictions, and took the 2.5th and 97.5th percentiles for intervals. AUC resamples containing only one class were omitted for that metric. Uncertainty is conditional on the fitted models. After review, we decomposed pooled AUC into mutant–wildtype pairs within and across collections, assigning half credit to tied predictions. The collection-only diagnostic ranks LGG above GBM with ties within collections. This descriptive calculation uses the already evaluated cohort and was not prespecified.

The coarsened-location sensitivity rounded coordinate means and percentiles to 10 mm before development-only refitting. Six further sensitivities shifted those summaries by ±10 mm on each axis using the primary fitted models, leaving spatial standard deviations and laterality unchanged. They are feature perturbations, not complete simulations of registration error. Eligibility sensitivities relaxed the manual-correction mask-name requirement, then label corroboration, while retaining an explicit IDH label. No external score selected a feature, model or registration exclusion.

## References

1. Ceccarelli M, et al. Molecular Profiling Reveals Biologically Discrete Subsets and Pathways of Progression in Diffuse Glioma. *Cell*. 2016;164:550–563. [doi:10.1016/j.cell.2015.12.028](https://doi.org/10.1016/j.cell.2015.12.028).
2. Hyare H, et al. Modelling MR and clinical features in grade II/III astrocytomas to predict IDH mutation status. *European Journal of Radiology*. 2019;114:120–127. [doi:10.1016/j.ejrad.2019.03.003](https://doi.org/10.1016/j.ejrad.2019.03.003).
3. Calabrese E, et al. The University of California San Francisco Preoperative Diffuse Glioma MRI Dataset. *Radiology: Artificial Intelligence*. 2022;4:e220058. [doi:10.1148/ryai.220058](https://doi.org/10.1148/ryai.220058). [UCSF-PDGM data](https://doi.org/10.7937/tcia.bdgf-8v37).
4. Bakas S, et al. Advancing The Cancer Genome Atlas glioma MRI collections with expert segmentation labels and radiomic features. *Scientific Data*. 2017;4:170117. [doi:10.1038/sdata.2017.117](https://doi.org/10.1038/sdata.2017.117).

5. Reddy DD, et al. The University of Texas Southwestern Glioma Dataset – MRI, Molecular Markers and Segmentations. *Scientific Data*. 2026;13:934. [doi:10.1038/s41597-026-07274-4](https://doi.org/10.1038/s41597-026-07274-4). [UTSW-Glioma data, version 1](https://doi.org/10.7937/DFAE-1B86).
