Classifying brain metastases by primary tumor etiology on MRI: Addressing limitations and lesion multiplicity
Figures
Abstract
Introduction
Brain metastases (BM) are the most common adult brain malignancies. In a subset of patients, the primary tumor is unknown upon BM diagnosis, creating a potential role for non-invasive, imaging-based prediction of tumor origin. We investigated a machine-learning framework utilizing MRI radiomics, clinical, and qualitative imaging features for primary tumor classification on a lesion-level and a patient-level.
Methods
We retrieved a total number of 228 patients with 933 metastases originating from six primary tumor sites. Magnetic resonance imaging with both contrast-enhanced T1-weighted (T1CE) and T2 fluid-attenuated inversion recovery (FLAIR) sequences were analyzed. Contrast-enhancing lesions on T1CE and associated FLAIR hyperintensities were manually segmented in three dimensions and radiomic features were then extracted from both masks. XGBoost classification was performed at the lesion level and, after feature aggregation across multiple metastases, at the patient level. The additional value of clinical and qualitative imaging features was then evaluated. Classification performance was evaluated using cross-validated analysis of One-Vs-Rest area under the receiver operating characteristic curve (AUC).
Results
Cross-validated class-wise AUC ranged from 0.52 (non-small cell lung cancer) to 0.69 (gastrointestinal cancer) for radiomics-based lesion-level classification. Melanoma classification improved from 0.55 (lesion-level) to 0.65 (patient-level) after radiomic feature aggregation. Overall, integration of clinical and qualitative imaging features showed little additional benefit for classification performance. For breast cancer, combined radiomics and clinical features achieved an AUC of 0.62 on a patient-level. Melanoma classification modestly improved from 0.65 (radiomics only) to 0.70 after addition of clinical and qualitative imaging features.
Citation: Jekel L, Maleki N, Kaur M, von Reppert M, Cassinelli Petersen G, Tillmanns N, et al. (2026) Classifying brain metastases by primary tumor etiology on MRI: Addressing limitations and lesion multiplicity. PLoS One 21(11): e0361690. https://doi.org/10.1371/journal.pone.0361690
Editor: Ming-Ching Lee, Taichung Veterans General Hospital, TAIWAN
Received: October 18, 2023; Accepted: October 13, 2026; Published: November 23, 2026
Copyright: © 2026 Jekel et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The code to reproduce the classification can be found on: https://github.com/jeleke/PTO_BM. 87.7% of data (200 out of 228 subjects) is publicly available; only 28 subjects are not publicly available. Data can be downloaded from The Cancer Imaging Archive (TCIA) public repository “Pretreat-MetsToBrain-Masks” (https://www.cancerimagingarchive.net, and https://doi.org/10.7937/6be1-r748).
Funding: MSA received funding from the National Cancer Institute of the National Institutes of Health (grant numbers R01CA275767-01A1 and R01CA275767-02), “PET Biomarker for Synaptic Density Changes After Radiation Therapy,” administered by the Children’s Hospital of Philadelphia; and R21CA259964-01A1, “Translation and Validation of Non-Invasive Measurement of PD-L1 Levels with Positron Emission Tomography (PET),” administered by Yale University. Visage Imaging, Inc. and Visage Imaging GmbH provided support in the form of salaries for ML and KB. The specific roles of these authors are articulated in the ‘author contributions’ section. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: ML. is an employee and stockholder of Visage Imaging, Inc. and is a board member of Tau Beta Pi engineering honor society. KB is an employee of Visage Imaging, GmbH.
1. Introduction
Brain metastases (BM) are the most common CNS malignancies in adults, with an incidence of 10–30% in adult systemic cancer patients [1]. The incidence of brain metastases is rising [2,3], a phenomenon attributable to the predominance of brain metastases in the elderly and the increasing life expectancy in this population. Despite an increase of overall survival (OS) among BM patients in recent years [4], likely as a result of novel therapies, their prognosis remains dismal with an average OS after diagnosis of 7 months [4].
Brain metastases can originate from various primary tumors, with non-small cell lung cancer being the most common source [5]. Other entities prone to metastasize to the brain include breast cancer and malignant melanoma [6]. The primary tumor type has been shown to affect the local failure rate of conventional therapies such as surgical resection and stereotactic radiosurgery [7]. Furthermore, the increasing use of precision targeted therapies requires knowledge of the underlying primary tumor for effective therapy [8,9]. While BM typically occur after prior extracranial disease manifestation [10], up to 36% of BM are detected even earlier, with the primary cancer unknown at the time of diagnosis [11]. In such cases, the diagnostic management may require a lengthy chain of further paraclinical investigations until the primary tumor location is identified. These commonly include full body imaging, such as CT of the chest, abdomen, and pelvis, and 18F-FDG PET/CT, gastrointestinal (GI) endoscopy, and mammography. However, if diagnosis remains uncertain, histopathological examination of a BM specimen is warranted [12,13].
Significant limitations of histopathological sampling through invasive biopsy include the risk of medical complications, such as secondary hemorrhage, as well as sampling error and incompleteness of diagnosis [14]. Moreover, the exact site of the primary remains opaque after an extensive standardized work-up in up to 11% of samples, even with histologically confirmed presence of metastatic cancer [15–17]. These cases constitute the subset of brain metastases of cancer of unknown primary (BMCUP) [16], representing between 1% and 15% of all BM patients [18], which is particularly challenging due to the absence of consensus recommendations and data from controlled clinical trials [12,18,19].
Thus, we need to reconsider other non-invasive methods to streamline diagnosis in BM with previously undiagnosed cancer, and to guide management of patients with BMCUP where conventional diagnostics reach their limit.
Magnetic resonance imaging (MRI) is commonly acquired for diagnosis and monitoring of BM patients, with common features of BM including rim-enhancement with central necrosis and predilection for the watershed areas of the brain and the grey-white matter junction [20]. Some imaging features have been described as characteristic for specific BM subtypes, including hyperintensity on native T1-weighted imaging and signal loss on susceptibility-weighted imaging (SWI) in melanoma metastases [21–23] or infratentorial predilection in BM from breast cancer [24,25]; however, these features lack sensitivity and specificity for reliable application in clinical practice. Potentially providing novel imaging biomarkers, radiomics have been leveraged for various tasks in neuroimaging studies [26,27], including differentiation of brain metastases by type of primary tumor: Models using handcrafted radiomics features reported by Ortiz-Ramón et al. [28] and Kniep et al. [29] achieved an AUC of 0.873 and 0.64–0.82, respectively, the latter effectively outperforming the radiologists’ reading. These studies, however, did not explicitly address the challenge of predicting the localization of the primary in BM patients with multiple synchronous metastases, especially when predictions for individual lesions diverge. Chang et al. [30] presented different mathematical approaches to radiomic feature aggregation of multiple lesions in a survival prediction and stratification problem, which might also be useful in the setting of BM classification.
Despite the utility of perilesional edema visualized on T2 fluid-attenuated inversion recovery (FLAIR) imaging for distinguishing brain metastases from other primary intracranial tumors [31,32], its relevance for subclassifying brain metastases remains uncertain. Integration of FLAIR segmentations of the perilesional environment into the machine learning (ML) framework has not been done by prior studies.
Overall, we aimed to investigate whether a radiomics-based ML model can classify the underlying primary tumor etiology in BM patients on MRI in a real-world institutional dataset, which includes diversity in imaging protocols, and surpasses previous studies in terms of number of patients and lesions included. We hypothesized that, through mathematical aggregation of radiomic features from multiple lesions, our model could accurately predict tumor etiology in patients with multiple BM. In a multimodal approach, we examined the contrast-enhancing lesions alongside their associated FLAIR hyperintensity that encompasses the perilesional edema, which, to our knowledge, is the first study to do so.
2. Methods
2.1. Dataset
2.2. Imaging protocol
MR imaging was acquired using a diversity of protocols, reflecting the inclusion of scans from multiple partner sites associated with YNHH (tabularized in S1 Fig). DICOM metadata were extracted through the application programming interface (API) of the PACS provider (Visage 7, Visage Imaging, Inc., San Diego, CA) and histograms for the range and distribution of image acquisition parameters were plotted (S1 Fig). The most common scanner model (n = 61) was a 3T field strength Siemens Verio (Siemens Healthineers AG, Erlangen, Germany) system, with imaging parameters as follows: FLAIR (Echo time (TE) = 84–97ms, Repetition time (TR) = 9000ms, Inversion time = 2500ms) and contrast-enhanced T1-weighted imaging (TE = 3ms, TR = 1530–1900ms, Inversion time = 900ms) after intravenous administration of gadolinium-based contrast agent. For T1-weighted imaging, only gradient-echo sequences were available in 73.7% of studies (168/228), spin-echo sequences were available in 14.0% (32/228) and both gradient-echo and spin-echo sequences were present in the remaining 12.3% (28/228). 124 patients were scanned on 1.5T systems, 97 on 3T systems, and four patients on 1.16T systems, while imaging acquisition parameters were not retrievable in three patients.
2.3. Image segmentation
Included imaging studies were DICOM sent and de-identified from the clinical production PACS to a research instance of our PACS (AI Accelerator, Visage Imaging, Inc.). Manual 3D lesion segmentation was performed by a medical student (LJ). On T1CE sequences, lesions were segmented individually, and the corresponding FLAIR hyperintensities were segmented and matched to the lesion. If both spin- and gradient-echo sequences were available, image annotation was performed on the latter. The segmentations were then reviewed by board-certified neuroradiologist attendings (SAF, MSA) and revised as needed.
2.4. Image pre-processing
To account for the scanner-dependent variability in signal intensity [33], all images were z-score normalized. Additionally, to account for differences in slice thickness of images and voxel size, isotropic voxel resampling to 1 x 1 x 1 mm3 was performed using trilinear interpolation on the volumes of interest prior to feature extraction. Subsequently, shape, intensity and texture features were extracted from the original image and transformed images using Laplacian-of-Gaussian and Wavelet filters, using PyRadiomics 3.0.1, resulting in 960 imaging features extracted for each mask, or 1920 features in total. The parameter file for the customized radiomics extraction can be found in the S1 Table. The retrieval of the annotated DICOM images, conversion to the NIfTI format and subsequent extraction of the radiomics features were achieved through the application programming interface (API) of the PACS provider (Visage 7, Visage Imaging, Inc., San Diego, CA).
2.5. Feature engineering
Radiomics features from T1CE and FLAIR, clinical features and qualitative imaging findings were leveraged for classification using an XGBoost classifier. A nested cross-validation scheme, as depicted in Fig 1, was used, with RandomSearch-based cross-validation (CV) for hyperparameter tuning in the inner loop, and 5-fold-CV for XGBoost model validation in the outer loop. This was run over 15 iterations to ensure result robustness. The hyperparameter search spaces and the optimal hyperparameters can be found in S2 Table.
CV = Cross-validation, GI cancer = Gastrointestinal cancer. SCLC = Small cell lung cancer. NSCLC = Non-small cell lung cancer.
To mitigate class imbalance during model training, we applied SMOTE [34]. This strategy ensured equitable representation of minority classes, reducing model overfitting to the majority classes. After each data partition, continuous features were normalized, and categorical features were encoded. Correlated features were removed using Pearson’s correlation with a threshold of 0.8 at default. Different feature selection approaches were tested, including a linear support vector machine, logistic regression (L1 penalty) and minimum redundancy maximum relevance (mRMR) with 20, 40 and 60 features. To avoid inter-record dependency and data leakage between the train and test set (‘pseudoreplication’) [35,36], lesions from the same subject were grouped and assigned to either the train or test set; to ensure representative distribution of target tumor classes in train and test sets given some class imbalance, cross-validation was stratified.
2.6. Model evaluation
Model prediction was assessed individually for each of the six prediction classes using a One-Vs-Rest wrapper approach [37]. The ten features with the highest mean feature importance were then identified for every base estimator, i.e., every prediction class (S3 Table, S3 Fig). Receiver operating characteristics (ROC) were then generated and the area under the ROC curve (AUC) was calculated as an average over all iterations. Sensitivity and specificity for every class were derived from the optimal ROC threshold, determined through the concordance probability method [38].
To extrapolate patient-level predictions, feature aggregation methods described by Chang et al. [30] were adopted. Features from multiple lesions were aggregated with three different mathematical approaches (Unweighted average, size-weighted average of radiomics, and biggest 3 lesions) and used for model training and validation. Prediction probabilities for the different class labels were summed and prediction was based on the class with the highest sum of probabilities.
Four models were then compared: one trained on radiomics features alone, another combining radiomics with clinical features, namely patient age and sex, (RC), another combining radiomics with qualitative imaging features (RQ) and a last combining radiomics, clinical and qualitative features (RCQ). The categorical qualitative imaging features included infratentorial involvement, cystic degeneration, number of metastases, rim-enhancement, presence of extranodal extracranial metastasis at time of BM diagnosis, presence of intratumoral susceptibility on SWI, which has previously been shown to be associated with specific primary tumor types [39,40]. “Rim enhancement” refers to a pattern characterized by a peripheral (rim-like) radiocontrast uptake. While not pathognomonic, rim-enhancement is most commonly seen in neoplasms, such as gliomas and brain metastases [41].
To assess feature heterogeneity and feature stability in smaller metastases, which may be less conclusive for texture analysis [42], we performed a subset analysis. Specifically, we examined the mean variance of all and the 10 highest-ranked features per tumor class across the entire cohort and within the subset of small metastases. Small metastases were defined as those below the volumetric threshold of 523 mm³, corresponding to a spherical lesion with a diameter of 10 mm, consistent with the lower boundary for reproducible lesion measurement as per the RANO-BM guideline [43]. The mean variance pairs were then compared using paired t-test.
2.7. Statistical analysis
Statistically significant differences in demographics, clinical features, and qualitative (i.e., descriptive) imaging features across the six classes were investigated, using ANOVA for continuous variables and Chi-Square-Test for categorical features, with the statistics library SciPy (Version 0.18.1) within Python3. Figures were generated using the tableone package (0.7.12) in Python3 and GraphPad Prism 8.3.4 (GraphPad Software, San Diego, California USA, www.graphpad.com). Missing values were not imputed, and descriptive and inferential analyses were performed using available cases. For classification, missing values were retained and handled natively by XGBoost. For statistical comparison of two ROC curves, the DeLong [44] test was applied using the WORC package (3.6.0) in Python3. Statistical significance was determined at an α-error of 0.05.
2.8. Model comparison to radiologist
To provide an exploratory clinical benchmark, the performance of a board-certified radiologist in predicting the primary tumor etiology was tested in a randomly selected subset of 43 patients. No predefined diagnostic rubric was applied, as this reader experiment was intended to reflect routine qualitative image interpretation based on commonly reported entity-associated imaging patterns, as cited in the Introduction and Discussion. The assessment was performed sequentially with increasing diagnostic information. First, the radiologist provided an initial prediction based on T1CE and FLAIR sequences alone, based on routine assessment of imaging characteristics (including lesion distribution, enhancement pattern, hemorrhaging components and degree of surrounding edema). Secondly, the prediction was repeated after disclosure of patient age and sex. Finally, the radiologist reviewed additional available sequences from standard neuro-oncological imaging protocols, such as apparent diffusion coefficient (ADC) maps and SWI, allowing assessment of, e.g., diffusion restriction and/or intratumoral susceptibility. Prediction metrics were then calculated and compared to the performance of the XGBoost model.
3. Results
3.1. Data
3.1.1. Patient demographics and clinical characteristics.
The highest number of patients was seen in the NSCLC cohort (106/228, 46.5%). Information on sex and presence of extranodal metastasis (i.e., extracranial and non-lymphonodular metastasis) could not be retrieved in two patients. Significant differences in age, sex distribution and pack-years were observed among primary tumor types, whereas the presence of extranodal metastasis did not reach statistical significance (Table 1).
3.1.2. Imaging characteristics.
SWI and, consequently, assessment of intratumoral susceptibility (ITSS) was unavailable in 57 patients (25.0%). Lack of SWI sequence did not differ significantly between tumor groups (X² = 4.59, p = 0.467). Out of all qualitative imaging features, only the presence of rim-enhancement reached statistical significance on a patient level, with BM patients with GI cancer almost exclusively displaying this feature (Table 2).
3.2. Classification results
3.2.1. Radiomics-based classifier.
Overall predictive performance of the radiomics classifier did not reach a diagnostically relevant level (Fig 2). The highest cross-validated AUC could be seen in the GI cancer group, with an area under the ROC curve of 0.69. Predictive performance approximated an AUC of 0.5, indicating no discriminatory ability in the remaining groups. Incorporation of all features after removal of correlated features yielded the best classification results, compared to mRMR, support vector machine (SVM) or LASSO-based feature selection.
3.2.2. Classification after radiomics feature aggregation.
Feature aggregation of all lesions per patient using different mathematical modelling approaches (UWA, WA, Big3) yielded the following results (Fig 3). Although the predictive performance of the model remained comparable to prior to feature aggregation (Fig 3, Table 3), it improved prediction in the melanoma cohort. Notably, this trend, while marginal, was observed both for the UWA and the Big3 approach.
The bar chart below displays the mean area under the ROC curve (AUC) over all cross-validation iterations. The whiskers indicate the standard deviation. UWA = Unweighted average. WA = Weighted average. Big3 = Consideration of three biggest metastases only.
3.2.3. Combined model with clinical and qualitative imaging features.
Finally, we examined how the incorporation of demographics and qualitative (descriptive) imaging features affects patient classification. As the features were ascertained categorically on patient level, feature aggregation (UWA) was performed before the addition of these features. Overall, the combined RC (radiomics + clinical), RQ (radiomics + qualitative imaging features) and RCQ models (radiomics + clinical + qualitative imaging features) showed performance comparable to the radiomics-only classifier. For breast cancer, the RC model achieved an AUC of 0.62, thereby modestly exceeding the radiomics-only model after UWA (AUC 0.52). For melanoma patients, combined models showed improved classification relative to the radiomics-only classifier, with AUCs of 0.67, 0.69 and 0.70 for the RC, RQ, and RCQ models, respectively (Fig 4). The ROC curves of the baseline models trained on clinical and/or qualitative imaging features alone can be found in S2 Fig.
3.2.4. Sensitivity analysis.
Mean feature variance across all radiomic features was significantly higher in smaller metastases compared to the entire cohort (S4 Table). However, this difference was not observed when focusing on the ten most salient features for classification, except in the NSCLC subgroup, where smaller metastases exhibited a slightly higher feature variance (p = 0.04). Notably, excluding small metastases from the analysis did not affect the overall classification performance.
3.3. Radiologist prediction
A neuroradiologist classified a subset of 43 patients, based on conventional structural imaging, additional review of clinical details, and additional review of further acquired imaging sequences (ADC, SWI). Notably, during the experiment, the radiologist cast no vote for the ‘Others’ group (comprising genitourinary and gynecological non-mammary cancer) and, except for one instance, the SCLC group. At baseline prediction, the radiologist was most sensitive (71.4%) for non-small cell lung cancer detection, the most common cause of brain metastases with the highest pre-test probability. Increasing level of information through review of clinical and additional sequences, that were part of the brain tumor imaging protocol, gradually reduced prediction performance for NSCLC (Table 4). The AUC for melanoma patients slightly increased from 0.53 to 0.61 after review of the additional imaging sequences.
The highest AUC was again observed in the GI cancer group. With a consistent sensitivity of 50% (correctly classifying one out of two gastrointestinal BM patients included in the test set) throughout the survey, additional information reduced false-positives, thereby resulting in an AUC of 0.73, which was slightly higher than that achieved by the multiclass XGBoost classifier (Figs 4, Fig 5).
Multiclass confusion matrices from the radiologist survey at three different levels of knowledge (Information from contrast-enhanced T1-weighted (T1CE) and FLAIR imaging, clinical information, and information from other imaging sequences (native T1, T2, DWI, ADC, SWI).
3.4. Radiomics quality score
Compliance to good scientific practice radiomics studies enables interinstitutional reproducibility and comparability of results. A recently published review [45] on radiomics application in brain metastasis imaging revealed that a large number of studies in the field do not comply with adherent reporting guidelines in place, a finding concordant with a systematic review conducted by our group. We provide our radiomics quality score in the appendix (S5 Table), enabling full and easy-to-access transparency regarding the conduct of our study.
4. Discussion
In a real-world dataset with heterogeneous imaging protocols, we demonstrate that MRI radiomics-based classification of brain metastases did not achieve clinically satisfactory performance for primary tumor prediction. This contrasts with prior studies reporting higher performances. Kniep et al. [29] reported AUCs of 0.64–0.82 using a Random Forest classifier, while Ortiz-Ramón et al. [28] achieved even higher performance in a framework limited to three tumor types (NSCLC, Melanoma, Breast). Similarly, Yang et al. [46] reported high discriminatory performance in a combined radiological and clinical model; again, relying on pairwise binary classification in three tumor classes (Lung, Breast, and GI), reducing methodological complexity and limiting the clinical generalizability. With 228 patients and 933 individual lesions, our dataset surpasses both studies in terms of sample size.
Recent deep learning approaches also have regularly been shown to outperform conventional machine learning frameworks [47]. For BM class prediction, Lyu et al. [48] achieved a cross-validated AUC of 0.873 in a large cohort of 1,399 cases. However, despite improved scalability, deep learning has notable drawbacks [49–51], being limited by a lack of interpretability [52] and biomarker transparency compared to engineered radiomics approaches.
Additional evidence supports the presence of imaging- and modality-specific value for BM classification: Cao et al. [53] reported a maximum AUC of 0.805 combining bi-modal radiomics from CT and MRI in a binary classification task. Salbas et al. [54] further demonstrated BM subtype-associated imaging characteristics on multiparametric MRI; thresholding by ADC values enabled discrimination of NSCLC (higher) from other BM types with an AUC of 0.775.
Overall, our findings indicate that handcrafted radiomics features from routine MRI alone may be insufficient to robustly capture tumor-specific phenotypes in heterogeneous BM multiclass classification. This is in line with prior work reporting limited performance for BM prediction using texture analysis or radiomics-based approaches [42]. In particular, Strotzer et al. failed to achieve satisfactory performance in a multiclass external validation framework, despite employing various class imbalance mitigation strategies.
Feature stability:
Prior work has shown increased feature variability in smaller lesions below defined size threshold for 2D texture analysis [42,55]. In our study, despite observing a higher feature variance in smaller metastases, excluding small metastases from classification had no impact on model performance, likely due to effective feature selection. These findings may suggest that small metastases contribute limited incremental information for classification in standard frameworks, and highlight the need for improved patient-level feature aggregation strategies in multimetastatic BM.
Tumor-specific findings:
Classification performance was highest for BM from GI tumors, which is especially clinically relevant given their disproportionate representation among cancers of unknown primary [16,56]. Low-gray level intensity was a highly informative feature for GI prediction, in line with prior observations by Kniep et al., linking this to the specific tumor composition and lower water content of GI [29]. These findings may support further investigation and prospective validation for potential radiomics-based stratification for GI cancer in BMCUP workups.
Patient-level modelling:
A key limitation of prior studies is the focus on lesion-level classification. Ours extends this by addressing lesion multiplicity and patient-level prediction, which is increasingly relevant in the era of automated segmentation. However, overall model performance was subpar at lesion level, indicating that improved aggregation strategies alone are insufficient without stronger baseline classifiers. Interestingly, melanoma classification showed consistent improvement with feature aggregation. Predictive features in a subset of melanoma metastases, potentially liaised with the content of melanin seen in some [57], could contain relevant signal possibly denoised through the technique of feature aggregation.
Peritumoral environment and additional features:
Our study is the first to include radiomic features extracted from the peritumoral edema signal on FLAIR. Perilesional edema morphology and extent have been linked to tumor-specific [58,59] vascular environments [60]. Histopathological studies have shown distinct alterations to the cerebral microenvironment, with high levels of lymphocellular infiltration implicated in metastases seen in SCLC patients [61], melanomas displaying T-cell predominant infiltration, and BM from breast cancers showing higher levels of neutrophilic infiltration [62]. Supporting the potential relevance of the peritumoral compartment, a recent study by Huang et al. [63] used, predominantly shape and first-order, radiomic features extracted from different peritumoral FLAIR margins to classify the target mutation status in BM from NSCLC, achieving an AUC of 0.756 in the best-performing model. Image-based analysis of the peritumoral compartment could, thus, contain biologically relevant information not captured by the contrast-enhancing lesion. However, inclusion of perilesional radiomics from anatomical imaging did not improve classification in our study.
Additionally, adding clinical variables (age, sex), lesion number and distribution pattern did not meaningfully enhance model prediction, despite SCLC being associated with a higher number of metastases [61], and posterior fossa localization being predominantly seen in GI and breast cancers [24]. Also, the inclusion of qualitative segmentation features did not significantly impact classification, despite certain imaging findings, such as intratumoral SWI signal dropout in melanoma [22], being relatively characteristic of specific BM subtypes. Notably, SWI signal dropout was assessed in a binary manner in our study, whereas prior studies [64] have used semiquantitative ordinal grading of intratumoral susceptibility signals to achieve a more nuanced characterization. Future studies should investigate whether genuinely multiparametric MRI, particularly with addition of diffusion- and perfusion-weighted imaging, provides complementary biological information that is not captured by T1CE and FLAIR radiomics alone.
This apparent insensitivity to incremental information was consistent with the neuroradiologist performance showing only modest gains with additional information in the exploratory survey conducted by a single reviewer. While certain clinical features might intuitively bias and lead clinicians to favor one diagnosis over the other, their role in accurate primary tumor prediction was minimal in our cohort, contrasting with other clinical radiomics nomograms, e.g., for brain metastasis prognostication [39].
One of the strengths of our study is the inclusion of real-world data with significant variability in imaging protocols, reflecting clinical practice. This might partially explain the relatively lower performance compared to other studies with more controlled inclusion criteria. Despite using standardized image preprocessing (z-score normalization and isotropic voxel resampling), this variability likely introduces scanner- and protocol-dependent noise that may obscure subtle, but relevant features for classification.
Limitations:
A limitation of our study is the class imbalance in our dataset, with a high proportion of patients presenting with lung cancer, followed by melanoma and breast cancer. Although this distribution broadly represents clinical reality, where these entities account for roughly 67% − 80% of all BM [65], the melanoma cohort was slightly overrepresented compared to population-level estimates ranging from 8–11% [65], likely reflecting institutional case-mix bias. In contrast, GI or genitourinary cancers remain underrepresented, consistent with their lower prevalence in the general population [66]. Also, the inclusion of both spin-echo and gradient-echo post-contrast acquisitions likely introduced additional imaging heterogeneity that may have affected radiomics feature stability. As a retrospective study, there is an inherent selection bias in our study cohort, and prospective validation in patients with unknown primary tumors is required to better characterize biologically driven imaging signatures. It should also be noted that the radiologist assessment was performed in a randomly sampled subset of 43 patients and involved assessments conducted by a single reviewer, without a second independent reader for interobserver comparison. Furthermore, as a deliberate design choice to reflect clinical decision-making, reading was not standardized and, thus, the reasoning behind the individual predictions was not systematically recorded. Importantly, information on prior systemic malignancy and tumor entity was withheld to simulate the diagnostic scenario of BMCUP.
5. Conclusion
In our institutional cohort of 228 patients with 933 brain metastases, radiomics-based classification of primary tumor etiology did not achieve clinically significant results with brain metastases of gastrointestinal cancer being predicted most accurately with an AUC of 0.69. Patient-level aggregation of features across multiple metastases did not significantly impact model performance, although classification performance improved for melanoma. Future studies should move further beyond standard MRI radiomics by incorporating genuinely multiparametric imaging, account for within-patient multiplicity of lesions, and ensure model generalizability by using multicenter datasets with real-world image acquisition variability and independent external validation.
Supporting information
S1 Fig. Distribution of imaging parameters and different image acquisition protocols included in dataset.
https://doi.org/10.1371/journal.pone.0361690.s001
(PDF)
S2 Fig. Performance of classifiers based on radiomics, clinical features and qualitative imaging features.
https://doi.org/10.1371/journal.pone.0361690.s002
(PDF)
S3 Fig. Top-ranked features by tumor class from combined model.
https://doi.org/10.1371/journal.pone.0361690.s003
(PDF)
S1 Table. Parameter file for customized radiomics extraction.
https://doi.org/10.1371/journal.pone.0361690.s004
(PDF)
S2 Table. Optimal hyperparameters for XGBoost classification.
https://doi.org/10.1371/journal.pone.0361690.s005
(PDF)
S3 Table. A) Top-ranked features by tumor class from radiomics-based model.
B) Mean normalized values for the top-ranked features for radiomics classification.
https://doi.org/10.1371/journal.pone.0361690.s006
(PDF)
S4 Table. Mean radiomics sample variance for all lesions and small, sub-centimeter lesions.
https://doi.org/10.1371/journal.pone.0361690.s007
(PDF)
S5 Table. RQS (Radiomics Quality Score) scoring.
https://doi.org/10.1371/journal.pone.0361690.s008
(PDF)
References
- 1. Ostrom QT, Wright CH, Barnholtz-Sloan JS. Brain metastases: epidemiology. Handb Clin Neurol. 2018;149:27–42. pmid:29307358
- 2. Soffietti R, Abacioglu U, Baumert B, Combs SE, Kinhult S, Kros JM, et al. Diagnosis and treatment of brain metastases from solid tumors: guidelines from the European Association of Neuro-Oncology (EANO). Neuro Oncol. 2017;19(2):162–74. pmid:28391295
- 3. Soffietti R, Ahluwalia M, Lin N, Rudà R. Management of brain metastases according to molecular subtypes. Nat Rev Neurol. 2020;16(10):557–74. pmid:32873927
- 4. Steindl A, Brunner TJ, Heimbach K, Schweighart K, Moser GM, Niziolek HM, et al. Changing characteristics, treatment approaches and survival of patients with brain metastasis: data from six thousand and thirty-one individuals over an observation period of 30 years. Eur J Cancer. 2022;162:170–81. pmid:34998049
- 5. Vuong DA, Rades D, Vo SQ, Busse R. Extracranial metastatic patterns on occurrence of brain metastases. J Neurooncol. 2011;105(1):83–90. pmid:21394486
- 6. Cagney DN, Martin AM, Catalano PJ, Redig AJ, Lin NU, Lee EQ, et al. Incidence and prognosis of patients with brain metastases at diagnosis of systemic malignancy: a population-based study. Neuro Oncol. 2017;19(11):1511–21. pmid:28444227
- 7. Black PJ, Page BR, Lucas JT Jr, Hughes RT, Laxton AW, Tatter SB, et al. Factors that determine local control with gamma knife radiosurgery: The role of primary histology. J Radiosurg SBRT. 2015;3(4):281–6. pmid:26478823
- 8. Steindl A, Brastianos PK, Preusser M, Berghoff AS. Precision medicine biomarkers in brain metastases: applications, discordances, and obstacles. Neurooncol Adv. 2021;3(Suppl 5):v35–42. pmid:34859231
- 9. Tawbi HA, Forsyth PA, Algazi A, Hamid O, Hodi FS, Moschos SJ, et al. Combined Nivolumab and Ipilimumab in Melanoma Metastatic to the Brain. N Engl J Med. 2018;379(8):722–30. pmid:30134131
- 10. Potthoff A-L, Heimann M, Lehmann F, Ilic I, Paech D, Borger V, et al. Survival after resection of brain metastasis: impact of synchronous versus metachronous metastatic disease. J Neurooncol. 2023;161(3):539–45. pmid:36695975
- 11. Agazzi S, Pampallona S, Pica A, Vernet O, Regli L, Porchet F, et al. The origin of brain metastases in patients with an undiagnosed primary tumour. Acta Neurochir (Wien). 2004;146(2):153–7. pmid:14963747
- 12. Le Rhun E, Guckenberger M, Smits M, Dummer R, Bachelot T, Sahm F, et al. EANO-ESMO Clinical Practice Guidelines for diagnosis, treatment and follow-up of patients with brain metastasis from solid tumours. Ann Oncol. 2021;32(11):1332–47. pmid:34364998
- 13. Yu KKH, Patel AR, Moss NS. The Role of Stereotactic Biopsy in Brain Metastases. Neurosurg Clin N Am. 2020;31(4):515–26. pmid:32921348
- 14. Shofty B, Artzi M, Shtrozberg S, Fanizzi C, DiMeco F, Haim O, et al. Virtual biopsy using MRI radiomics for prediction of BRAF status in melanoma brain metastasis. Sci Rep. 2020;10(1):6623. pmid:32313236
- 15. Mueller WC, Spector Y, Edmonston TB, St Cyr B, Jaeger D, Lass U, et al. Accurate classification of metastatic brain tumors using a novel microRNA-based test. Oncologist. 2011;16(2):165–74. pmid:21273512
- 16. Pavlidis N, Rassy E, Smith-Gagen J. Cancer of unknown primary: Incidence rates, risk factors and survival among adolescents and young adults. Int J Cancer. 2020;146(6):1490–8. pmid:31144291
- 17.
Ettinger D, Handorf C, Agulnik M. NCCN Guidelines. Occult primary version 2.2016. National Comprehensive Cancer Network; 2016.
- 18. Balestrino R, Rudà R, Soffietti R. Brain Metastasis from Unknown Primary Tumour: Moving from Old Retrospective Studies to Clinical Trials on Targeted Agents. Cancers (Basel). 2020;12(11):3350. pmid:33198246
- 19. Rassy E, Zanaty M, Azoury F, Pavlidis N. Advances in the management of brain metastases from cancer of unknown primary. Future Oncol. 2019;15(23):2759–68. pmid:31385529
- 20. Hoshide R, Jandial R. The role of the neural niche in brain metastasis. Clin Exp Metastasis. 2017;34(6–7):369–76. pmid:28905151
- 21. Enochs WS, Petherick P, Bogdanova A, Mohr U, Weissleder R. Paramagnetic metal scavenging by melanin: MR imaging. Radiology. 1997;204(2):417–23. pmid:9240529
- 22. Schwarz D, Niederle T, Münch P, Hielscher T, Hassel JC, Schlemmer H-P, et al. Susceptibility-weighted imaging in malignant melanoma brain metastasis. J Magn Reson Imaging. 2019;50(4):1251–9. pmid:30793419
- 23. Deike-Hofmann K, Thünemann D, Breckwoldt MO, Schwarz D, Radbruch A, Enk A, et al. Sensitivity of different MRI sequences in the early detection of melanoma brain metastases. PLoS One. 2018;13(3):e0193946. pmid:29596475
- 24. Schroeder T, Bittrich P, Kuhne JF, Noebel C, Leischner H, Fiehler J, et al. Mapping distribution of brain metastases: does the primary tumor matter?. J Neurooncol. 2020;147(1):229–35. pmid:32065345
- 25. Cardinal T, Pangal D, Strickland BA, Newton P, Mahmoodifar S, Mason J, et al. Anatomical and topographical variations in the distribution of brain metastases based on primary cancer origin and molecular subtypes: a systematic review. Neurooncol Adv. 2022;4(1):vdab170. pmid:35024611
- 26. Cassinelli Petersen GI, Shatalov J, Verma T, Brim WR, Subramanian H, Brackett A, et al. Machine Learning in Differentiating Gliomas from Primary CNS Lymphomas: A Systematic Review, Reporting Quality, and Risk of Bias Assessment. AJNR Am J Neuroradiol. 2022;43(4):526–33. pmid:35361577
- 27. Merkaj S, Bahar RC, Zeevi T, Lin M, Ikuta I, Bousabarah K, et al. Machine Learning Tools for Image-Based Glioma Grading and the Quality of Their Reporting: Challenges and Opportunities. Cancers (Basel). 2022;14(11):2623. pmid:35681603
- 28. Ortiz-Ramón R, Larroza A, Ruiz-España S, Arana E, Moratal D. Classifying brain metastases by their primary site of origin using a radiomics approach based on texture analysis: a feasibility study. Eur Radiol. 2018;28(11):4514–23. pmid:29761357
- 29. Kniep HC, Madesta F, Schneider T, Hanning U, Schönfeld MH, Schön G, et al. Radiomics of Brain MRI: Utility in Prediction of Metastatic Tumor Type. Radiology. 2019;290(2):479–87. pmid:30526358
- 30. Chang E, Joel MZ, Chang HY, Du J, Khanna O, Omuro A, et al. Comparison of radiomic feature aggregation methods for patients with multiple tumors. Sci Rep. 2021;11(1):9758. pmid:33963236
- 31. Zhang H, Zhang G, Oudkerk M. Brain Metastases from Different Primary Carcinomas: an Evaluation of DSC MRI Measurements. Neuroradiol J. 2012;25(1):67–75. pmid:24028878
- 32. Nguyen D-H, Nguyen D-M, Nguyen H-V, Nguyen-Thi V-A, Nguyen-Thi H-A, Nguyen T-X, et al. Discrimination between glioblastoma and solitary brain metastasis: a quantitative analysis based on FLAIR signal intensity. Eur Rev Med Pharmacol Sci. 2022;26(10):3577–84. pmid:35647839
- 33. Li Y, Ammari S, Balleyguier C, Lassau N, Chouzenoux E. Impact of Preprocessing and Harmonization Methods on the Removal of Scanner Effects in Brain MRI Radiomic Features. Cancers (Basel). 2021;13(12):3000. pmid:34203896
- 34. Chawla NV, Bowyer KW, Hall LO, Kegelmeyer WP. SMOTE: Synthetic Minority Over-sampling Technique. J Artif Intell Res. 2002;16:321–57.
- 35. Moen EL, Fricano-Kugler CJ, Luikart BW, O’Malley AJ. Analyzing Clustered Data: Why and How to Account for Multiple Observations Nested within a Study Participant? PLoS One. 2016;11(1):e0146721. pmid:26766425
- 36. Lazic SE. The problem of pseudoreplication in neuroscientific studies: is it affecting your analysis? BMC Neurosci. 2010;11:5. pmid:20074371
- 37. Hong J-H, Cho S-B. A probabilistic multi-class strategy of one-vs.-rest support vector machines for cancer classification. Neurocomputing. 2008;71(16–18):3275–81.
- 38. Liu X. Classification accuracy and cut point selection. Stat Med. 2012;31(23):2676–86. pmid:22307964
- 39. Zheng Y, Geng D, Yu T, Xia W, She D, Liu L, et al. Prognostic value of pretreatment MRI texture features in breast cancer brain metastasis treated with Gamma Knife radiosurgery. Acta Radiol. 2021;62(9):1208–16. pmid:32910684
- 40. Radbruch A, Graf M, Kramp L, Wiestler B, Floca R, Bäumer P, et al. Differentiation of brain metastases by percentagewise quantification of intratumoral-susceptibility-signals at 3Tesla. Eur J Radiol. 2012;81(12):4064–8. pmid:22795527
- 41. Smirniotopoulos JG, Murphy FM, Rushing EJ, Rees JH, Schroeder JW. Patterns of contrast enhancement in the brain and meninges. Radiographics. 2007;27(2):525–51. pmid:17374867
- 42. Béresová M, Larroza A, Arana E, Varga J, Balkay L, Moratal D. 2D and 3D texture analysis to differentiate brain metastases on MR images: proceed with caution. MAGMA. 2018;31(2):285–94. pmid:28939952
- 43. Lin NU, Lee EQ, Aoyama H, Barani IJ, Barboriak DP, Baumert BG, et al. Response assessment criteria for brain metastases: proposal from the RANO group. Lancet Oncol. 2015;16(6):e270-8. pmid:26065612
- 44. Sun X, Xu W. Fast Implementation of DeLong’s Algorithm for Comparing the Areas Under Correlated Receiver Operating Characteristic Curves. IEEE Signal Process Lett. 2014;21(11):1389–93.
- 45. Park CJ, Park YW, Ahn SS, Kim D, Kim EH, Kang S-G, et al. Quality of Radiomics Research on Brain Metastasis: A Roadmap to Promote Clinical Translation. Korean J Radiol. 2022;23(1):77–88. pmid:34983096
- 46. Yang WL, Su XR, Li S, Zhao KY, Yue Q. Utilizing machine-learning techniques on MRI radiomics to identify primary tumors in brain metastases. Front Neurol. 2025;15:1474461. pmid:39835148
- 47. Jekel L, Brim WR, von Reppert M, Staib L, Cassinelli Petersen G, Merkaj S, et al. Machine Learning Applications for Differentiation of Glioma from Brain Metastasis-A Systematic Review. Cancers (Basel). 2022;14(6):1369. pmid:35326526
- 48. Lyu Q, Namjoshi SV, McTyre E, Topaloglu U, Barcus R, Chan MD, et al. A transformer-based deep-learning approach for classifying brain metastases into primary organ sites using clinical whole-brain MRI images. Patterns (N Y). 2022;3(11):100613. pmid:36419451
- 49. Rudin C. Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Instead. Nat Mach Intell. 2019;1(5):206–15. pmid:35603010
- 50. Lipton ZC. The mythos of model interpretability: In machine learning, the concept of interpretability is both important and slippery. Queue. 2018;16(3):31–57.
- 51.
Chauhan NK, Singh K, editors. A review on conventional machine learning vs deep learning. 2018 International conference on computing, power and communication technologies (GUCON). IEEE; 2018.
- 52. Afshar P, Mohammadi A, Plataniotis KN, Oikonomou A, Benali H. From Handcrafted to Deep-Learning-Based Cancer Radiomics: Challenges and Opportunities. IEEE Signal Process Mag. 2019;36(4):132–60.
- 53. Cao G, Zhang J, Lei X, Yu B, Ai Y, Zhang Z, et al. Differentiating Primary Tumors for Brain Metastasis with Integrated Radiomics from Multiple Imaging Modalities. Dis Markers. 2022;2022:5147085. pmid:36199819
- 54. Salbas A, Coskun M, Cetinoglu YK, Horoz M, Yogurtcu M, Huvez A, et al. Multiparametric MRI characteristics for differentiating primary cancer origin in brain metastases. BMC Med Imaging. 2025;25(1):415. pmid:41094354
- 55. Strotzer QD, Wagner T, Angstwurm P, Hense K, Scheuermeyer L, Noeva E, et al. Limited capability of MRI radiomics to predict primary tumor histology of brain metastases in external validation. Neurooncol Adv. 2024;6(1):vdae060. pmid:38800697
- 56. Le Chevalier T, Smith FP, Caille P, Constans JP, Rouesse JG. Sites of primary malignancies in patients presenting with cerebral metastases. A review of 120 cases. Cancer. 1985;56(4):880–2. pmid:4016680
- 57. Isiklar I, Leeds NE, Fuller GN, Kumar AJ. Intracranial metastatic melanoma: correlation between MR imaging characteristics and melanin content. AJR Am J Roentgenol. 1995;165(6):1503–12. pmid:7484597
- 58. Alemany M, Domènech M, Argyriou AA, Vilariño N, Majós C, Naval-Baudin P, et al. Perilesional edema in brain metastases as predictive factor of response to systemic therapy in non-small cell lung cancer patients: a preliminary study. Ann Transl Med. 2021;9(8):648. pmid:33987346
- 59. Mampre D, Ehresman J, Alvarado-Estrada K, Wijesekera O, Sarabia-Estrada R, Quinones-Hinojosa A, et al. Propensity for different vascular distributions and cerebral edema of intraparenchymal brain metastases from different primary cancers. J Neurooncol. 2019;143(1):115–22. pmid:30835021
- 60. Tran TT, Mahajan A, Chiang VL, Goldberg SB, Nguyen DX, Jilaveanu LB, et al. Perilesional edema in brain metastases: potential causes and implications for treatment with immune therapy. J Immunother Cancer. 2019;7(1):200. pmid:31362777
- 61. Lukas RV, Gondi V, Kamson DO, Kumthekar P, Salgia R. State-of-the-art considerations in small cell lung cancer brain metastases. Oncotarget. 2017;8(41):71223–33. pmid:29050358
- 62. Klemm F, Maas RR, Bowman RL, Kornete M, Soukup K, Nassiri S, et al. Interrogation of the Microenvironmental Landscape in Brain Tumors Reveals Disease-Specific Alterations of Immune Cells. Cell. 2020;181(7):1643–60.e17. pmid:32470396
- 63. Huang Z, Tu X, Yu T, Zhan Z, Lin Q, Huang X. Peritumoural MRI radiomics signature of brain metastases can predict epidermal growth factor receptor mutation status in lung adenocarcinoma. Clin Radiol. 2024;79(2):e305–16. pmid:38000953
- 64. Park MJ, Kim HS, Jahng G-H, Ryu C-W, Park SM, Kim SY. Semiquantitative assessment of intratumoral susceptibility signals using non-contrast-enhanced high-field high-resolution susceptibility-weighted imaging in patients with gliomas: comparison with MR perfusion imaging. AJNR Am J Neuroradiol. 2009;30(7):1402–8. pmid:19369602
- 65. Nayak L, Lee EQ, Wen PY. Epidemiology of brain metastases. Curr Oncol Rep. 2012;14(1):48–54. pmid:22012633
- 66. Shibahara I, Kanamori M, Watanabe T, Utsunomiya A, Suzuki H, Saito R, et al. Clinical Features of Precocious, Synchronous, and Metachronous Brain Metastases and the Role of Tumor Resection. World Neurosurg. 2018;113:e1–9. pmid:29104152