Skip to Content
DiagnosticsDiagnostics
  • Article
  • Open Access

28 July 2026

16 Pages

A Practical Machine Learning Model for Predicting Neoadjuvant Response in HER2-Positive Breast Cancer

,
,
,
,
and
1
Centro Singular de Investigación en Tecnoloxías Intelixentes da USC (CiTIUS), Universidade de Santiago de Compostela, 15705 Santiago de Compostela, Spain
2
Radiology Department, Hospital Lucus Augusti Lugo, 27003 Lugo, Spain
3
Breast Pathology Group, Hospital Universitario Lucus Augusti, 27003 Lugo, Spain
4
Institute for Research in Global Health and Sustainable Development, iTERRA, Inorganic Chemistry Department, Faculty of Sciences, Campus Terra, University of Santiago de Compostela, 27002 Lugo, Spain

Abstract

Background/Objectives: Pathological complete response (pCR) after neoadjuvant chemotherapy (NAC) is an important prognostic marker in HER2-positive breast cancer (BC). However, reliable pre-treatment predictors based on routinely available clinical data remain limited. This study evaluated whether clinicopathologic and baseline magnetic resonance imaging (MRI) variables could predict NAC response using classical machine learning (ML) approaches. Methods: A retrospective cohort of 112 patients with HER2-positive BC treated with NAC was analysed, including 57 patients who achieved pCR and 55 who did not. Fourteen pre-treatment variables were evaluated, including hormone receptor (HR) status, tumour grade, ER and PR expression, Ki67, nodal status, age, and baseline MRI characteristics. Seventy ML classifiers were compared using a fully nested leave-one-out cross-validation (LOOCV) framework. Performance was assessed using accuracy, area under the receiver operating characteristic curve (AUROC), Cohen’s kappa, sensitivity, specificity, and F1-score. Results: A support vector machine (SVM) with a radial basis function (RBF) kernel achieved the highest observed accuracy (82.1%) among the 70 evaluated classifiers. The corresponding AUROC was 83.3%, Cohen’s kappa was 64.2%, and sensitivity, specificity, and F1-score were 87.7%, 76.4%, and 83.3%, respectively. HR-related variables, particularly PR and ER expression, together with Ki67 and baseline MRI features, ranked among the most influential predictors. Despite relying exclusively on routinely available pre-treatment variables, the model demonstrated meaningful predictive performance. Conclusions: ML applied to routinely available clinicopathologic and baseline MRI variables showed promising ability to predict pCR before treatment initiation in HER2-positive BC. The proposed approach may support pre-treatment clinical risk assessment using information already generated during routine clinical assessment. Nevertheless, prospective multicentre external validation, calibration assessment, and evaluation of clinical utility are required before implementation in routine clinical practice.

1. Introduction

Human epidermal growth factor receptor 2 (HER2)-positive BC accounts for approximately 15–20% of BCs and is characterised by aggressive biological behaviour. The introduction of NAC combined with HER2-targeted therapy has markedly improved clinical outcomes, and pCR is now widely accepted as an early surrogate marker associated with favourable long-term prognosis [1]. Patients achieving pCR generally experience significantly better event-free and overall survival, particularly in biologically aggressive BC subtypes [2]. Nevertheless, despite major therapeutic advances, a substantial proportion of patients do not achieve pCR and remain at increased risk of disease recurrence. Moreover, patients with residual invasive disease after NAC may benefit from post-neoadjuvant treatment escalation, highlighting the clinical value of identifying likely responders and non-responders before treatment initiation [3,4,5].
Predicting response to neoadjuvant therapy remains challenging because HER2-positive BC is biologically heterogeneous. Several routinely available clinicopathologic variables, including HR status, estrogen receptor (ER) and progesterone receptor (PR) expression, proliferative activity (Ki-67), tumour grade, and nodal status, have been associated with treatment response. However, the predictive value of individual biomarkers remains limited, suggesting that more comprehensive models integrating complementary sources of information may improve patient stratification [6,7].
Breast MRI provides additional information on tumour characteristics before treatment and has become an important component of response assessment. Previous studies have demonstrated that baseline MRI features, particularly diffusion-weighted imaging (DWI) and ADC measurements, may contribute to predicting pathological response. Furthermore, multiparametric MRI approaches combining morphologic and functional information have shown improved predictive performance compared with isolated imaging biomarkers [8,9,10,11].
In recent years, ML has emerged as a promising strategy for integrating clinicopathologic and imaging information into predictive models. Several studies have reported encouraging results by combining routine clinical variables with MRI-derived features or radiomic descriptors to predict pCR following neoadjuvant therapy in HER2-positive BC [12,13,14]. However, many published models rely on complex radiomic pipelines or advanced image-processing techniques that limit their applicability in everyday clinical practice, highlighting the need for simpler and more reproducible prediction models [11].
Therefore, the aim of the present study was to develop and evaluate an ML model for predicting pCR after NAC in HER2-positive BC using exclusively routinely available pre-treatment clinicopathologic and baseline MRI variables. By restricting the model to information obtained during the standard diagnostic work-up, we sought to develop a practical and reproducible prediction tool that could support future individualised treatment planning and risk stratification.

2. Materials and Methods

2.1. Study Population

Patients were retrospectively recruited between March 2013 and January 2025 at Hospital Universitario Lucus Augusti (HULA), Lugo, Spain. All patients received anthracycline- and/or taxane-based NAC combined with HER2-targeted therapy according to institutional protocols in force at the time of treatment. Of the 112 patients included, 96 (85.7%) received dual HER2 blockade with trastuzumab plus pertuzumab, generally in combination with anthracycline- and/or taxane-based chemotherapy, whereas 16 (14.3%) received trastuzumab-based therapy without pertuzumab. The variability in treatment regimens reflects the evolution of clinical practice during the study period and individualised treatment decisions.

2.2. Materials

A total of 14 pre-treatment predictor variables were selected before model development (Table 1). Predictor selection was based on two complementary criteria: (i) previous evidence supporting the variables’ association with pCR after neoadjuvant therapy in HER2-positive BC and (ii) their routine availability during the standard pre-treatment diagnostic work-up. Accordingly, only variables available before treatment initiation were included, while longitudinal imaging biomarkers such as ΔADC were intentionally excluded to ensure the model could be applied at the time of initial therapeutic decision-making. No data-driven feature selection procedure was performed before model training in order to preserve clinical interpretability and avoid selection bias.
Table 1. List of features: name, description, type and range of values.
Prior to model development, the dataset was reviewed for completeness. All predictor variables were complete for all included patients; therefore, no missing-data imputation or other missing-data handling procedures were required.
MRI-derived variables, including ADC measurements, lesion type, and enhancement curve, were retrospectively extracted from the original baseline MRI reports generated during routine clinical assessment by dedicated breast radiologists following the institutional breast MRI protocol and the American College of Radiology Breast Imaging Reporting and Data System (BI-RADS®) MRI lexicon [15]. Lesion type and enhancement curve were defined according to the BI-RADS MRI descriptors and extracted directly from the original clinical reports without additional image reinterpretation for the purposes of this study. ADC measurements were performed on DWI using the corresponding ADC maps. A manually drawn region of interest (ROI) was placed on the solid component of the primary tumour while carefully avoiding cystic, necrotic, haemorrhagic, or biopsy-related changes. All MRI examinations were acquired according to the same institutional breast MRI acquisition protocol throughout the study period to ensure consistency in image acquisition and interpretation. No additional tumour segmentation, image reinterpretation, or dedicated radiomic analysis was performed specifically for this study. Because all MRI-derived variables were retrospectively obtained from routine clinical reports, formal interobserver agreement was not evaluated. This approach was intentionally adopted to evaluate the predictive value of imaging variables routinely available in standard clinical practice, thereby maximising the transparency, reproducibility, and potential clinical applicability of the proposed ML model, in accordance with current recommendations for reporting artificial intelligence (AI) studies in medical imaging [16].
All MRI examinations were acquired according to the same institutional breast MRI acquisition protocol throughout the study period to ensure consistency in image acquisition and interpretation. All MRI measurements were performed by an experienced breast radiologist as part of routine clinical reporting. Because ADC values were retrospectively extracted from routine clinical reports, formal interobserver agreement was not evaluated.
MRI1 refers to baseline MRI performed before initiation of NAC. Only baseline MRI-derived variables were included to ensure a pre-treatment predictive framework. Note that pCR was defined as the absence of residual invasive carcinoma in both the breast and axillary lymph nodes at surgery (ypT0/is ypN0). Patients with any residual invasive disease were classified as non-pCR. The dataset includes 112 cases, each corresponding to a patient, distributed in 55 patients with partial or no-response (non-pCR) and 57 responding patients (pCR), so both classes were fairly balanced.
Because the present study exclusively included HER2-positive breast cancers, tumour subtype (luminal B HER2-positive versus HER2-enriched) was directly determined by hormone receptor (HR) status. Consequently, Feature 14 represents an alternative clinical categorisation derived from HR status rather than an independent biological variable. It was retained because this classification is routinely used in breast oncology to distinguish the two principal HER2-positive clinical subtypes. Therefore, HR status and tumour subtype should not be interpreted as independent predictors, but rather as two alternative clinical representations of the same underlying biological information.

2.3. Machine Learning (ML)

To explore the predictive signal across different modelling strategies, we evaluated a broad panel of 70 classical ML classifiers from several algorithmic families. This comparison was intended as a benchmarking analysis rather than as evidence of clinical superiority of a specific software implementation. Detailed classifier-level results, including the complete list of the 70 evaluated classifiers and their corresponding accuracy values, are provided in Supplementary Table S1 [17].
The dataset was standardised to zero mean and unit variance for each feature. Standardisation parameters were estimated exclusively from the training partition within each inner cross-validation loop and subsequently applied to the corresponding validation or test sample. This procedure was repeated independently for every fold to prevent information leakage. Consequently, model performance estimates were obtained using a fully nested validation framework designed to minimise information leakage.
Given the relatively small sample size (N = 112), classifier performance was evaluated using nested leave-one-out cross-validation (LOOCV). For each outer-loop iteration, one patient was held out as the test case, while the remaining N − 1 patients constituted the training set. Classifiers were trained on the training subset and evaluated on the held-out patient. This process was repeated N times so that each patient served once as an independent test case.
For classifiers requiring hyperparameter optimisation, an inner cross-validation loop was performed exclusively within the training data of each outer-loop iteration. The optimal hyperparameter values were selected from a list of values, reported in the Description column of Table S1, through grid search using internal training and validation subsets. The classifier with the best-performing hyperparameter configuration was subsequently retrained on the complete outer-loop training set and evaluated on the held-out test patient.
Performance metrics were calculated by comparing the true and predicted class labels across all outer-loop test predictions. Additional experiments using dummy-variable encoding for categorical features were also performed. Because these approaches consistently produced lower classification performance, they are not reported further.
The 70 classifiers were trained and evaluated independently using the same fully nested LOOCV framework, thereby avoiding information leakage and ensuring an unbiased performance estimate for each individual classifier. However, selecting the classifier with the highest observed accuracy among the 70 evaluated models may introduce a degree of selection bias because the maximum observed performance is influenced by random sampling variability. Therefore, the highest accuracy reported in this study should be interpreted as the best observed result within the evaluated classifier collection rather than as the expected performance of the selected classifier on future independent datasets.

2.4. Use of Artificial Intelligence

During the preparation of this manuscript, OpenAI ChatGPT (GPT-5.5, ChatGPT, OpenAI, San Francisco, CA, USA) was used exclusively to assist with language editing, improvement of grammar, readability, and scientific writing style in selected sections of the manuscript. The AI tool was not used for study design, data collection, data analysis, interpretation of results, generation of scientific conclusions, or reference selection. All outputs were critically reviewed, verified, and edited by the authors, who take full responsibility for the final content of the manuscript.

3. Results

3.1. Baseline Characteristics of the Study Cohort

The baseline clinicopathologic and MRI characteristics of the study cohort are summarised in Table 2. Categorical variables are presented as frequencies and percentages, whereas continuous variables are reported as minimum, maximum, mean, and standard deviation. Several variables showed an uneven distribution, particularly histological subtype and baseline MRI lesion type, reflecting the clinical characteristics of HER2-positive BC in routine practice. Among continuous variables, ADC displayed an approximately Gaussian distribution, whereas ER and PR expression exhibited marked skewness. The complete distributions of all evaluated variables, and of the class labels, are presented in Supplementary Figure S1.
Table 2. Percentage of patients with each value of discrete features. For each numeric feature, the minimum, maximum, mean and standard deviation are also reported.
The distributions of the principal continuous variables are illustrated in Figure 1. ER and PR expression showed a markedly skewed distribution, whereas ADC displayed a more symmetric distribution.
Figure 1. Box plots of numeric features.
Exploratory comparison of predictor distributions according to treatment response, plotted in Supplementary Figure S2, revealed biologically plausible differences between responders (pCR in Figure S2) and non-responders (non-pCR). Among all evaluated variables, ER and PR expression showed the greatest separation between response groups, with higher expression levels observed in non-responders. In contrast, most clinicopathologic and MRI-derived variables displayed substantial overlap between classes. These descriptive analyses were performed for visualisation purposes only and were not used for feature selection or model development.

3.2. Comparison of ML Classifiers

The usual performance metrics for binary classification problems were evaluated, including accuracy, Cohen’s kappa, AUROC, precision, recall (sensitivity), specificity, and F1-score (Dice coefficient). Supplementary Table S1 reports the accuracy values achieved by the 70 evaluated ML classifiers used to predict response. These values range from 52.7% (NBC in Octave 9.2.0 and NB in Python 3.11) to 82.1% using SVM in Matlab R2024a.
Table 3 summarises the highest accuracy achieved by each classifier family across the evaluated programming environments, while a comprehensive comparison of all 70 classifiers is provided in Supplementary Table S1. The highest observed accuracy among the 70 evaluated classifiers was obtained by the Matlab implementation of the SVM (82.1%; 95% Wilson confidence interval: 73.8–88.3%) [18]. This value represents the best observed result within the evaluated classifier collection and should not be interpreted as an unbiased estimate of the expected predictive performance of the selected classifier. Among the remaining approaches, the extreme learning machine (ELM) achieved the highest accuracy in Octave (73.2%), the Random Feature Gaussian Kernel Classifier (RFGKC) was the second-best Matlab model (77.7%), stochastic gradient descent (SGD) achieved the best result in Python (74.1%), and random forest together with the ensemble of multilayer perceptrons (avNNet) obtained the highest accuracy in R 4.4 (70.5%). Although several of the highest-performing models were implemented in Matlab, these differences should not be interpreted as evidence that a particular programming language is intrinsically superior. Rather, the observed performance variations are more likely attributable to differences in algorithmic implementation, hyperparameter optimisation, and the characteristics of the present dataset.
Table 3. Best accuracy achieved by a classifier of each language. Each line corresponds to a family, e.g., 1st line in Octave is the best Bayesian classifier; see Table S1. The best overall result is in bold.
This interpretation is supported by three complementary observations. First, implementations of the same SVM algorithm in different software environments produced accuracies ranging from approximately 70% to 74%, indicating some variability across implementations. Second, the difference between the best-performing SVM and the second-best classifier (RFGKC) was not statistically significant, as discussed in Section 3.4. Third, the 95% Wilson confidence interval around the observed accuracy indicates substantial uncertainty in the performance estimate. Collectively, these findings suggest that the highest observed accuracy should be interpreted with appropriate caution and regarded as the best observed result among the evaluated classifiers rather than as the expected performance of the selected model on future independent datasets.

3.3. Performance of the Highest-Performing Classifier Among the Evaluated Models

Table 4 reports the confusion matrix (T = true, F = false, N = negative or non-pCR, and P = positive or pCR) corresponding to the classifier that achieved the highest observed accuracy among the 70 evaluated classifiers, namely the Matlab implementation of the SVM with an RBF kernel, using nested LOOCV.
Table 4. Confusion matrix achieved by the SVM implemented in Matlab.
This classifier achieved the highest observed accuracy (82.1%) among the 70 evaluated classifiers, together with a Cohen’s kappa of 64.2%, which, according to [19], indicates good agreement between true and predicted responses. As discussed in the previous section, this result should be interpreted as the best observed performance among the evaluated classifiers rather than as an unbiased estimate of the expected predictive performance of the selected classifier. Precision (=100·TP/(TP + FP)) and recall (=100·TP/(TP + FN)) were 79.4% and 87.7%, respectively, whereas specificity (=100·TN/(TN + FP)) was 76.4%. The corresponding F1-score (Dice coefficient) was 83.3%. The classifier produced more false-positive predictions (13) than false-negative predictions (7), corresponding to a false-positive rate (FPR) of 23.6% and a false-negative rate (FNR) of 7.6%.
Figure 2 shows the receiver operating characteristic (ROC) curve achieved by the Matlab implementation of the SVM. The ROC curve is clearly separated from the diagonal line representing random classification, and the operating point is located close to the upper-left corner, indicating a favourable balance between sensitivity and specificity. Consistent with this visual assessment, the classifier achieved a high AUROC of 83.3%.
Figure 2. ROC (blue line) and working point (red square) of the best classifier.

3.4. Statistical Comparison of Classifier Performance

Table 5 reports the p-values of three statistical tests comparing the classifier achieving the highest observed accuracy (SVM, 82.1%) with the classifier achieving the second-highest observed accuracy (RFGKC, 77.7%) and with a baseline classifier (Logreg, 70.5%). These tests are the two-proportions test, the resampled paired t-test and McNemar’s test. The null hypothesis is that the difference between SVM and RFGKC or Logreg has a mean equal to zero. For a tolerance of 5%, this hypothesis is accepted (i.e., the difference is not statistically significant) if p > 0.05 and rejected (i.e., the difference is statistically significant) otherwise. When comparing the classifier achieving the highest observed accuracy (SVM) with RFGKC, p > 0.05 for all three tests; therefore, the null hypothesis was not rejected, because the observed accuracy difference (82.1% − 77.7% = 4.4 percentage points) was not statistically significant given the limited sample size (N = 112). However, all three p-values were below 0.05 for Logreg, indicating that the difference relative to SVM (82.1% − 70.5% = 11.6 percentage points) was statistically significant in this dataset.
Table 5. The p-values of three statistical tests comparing the accuracies of SVM and RFGKC.

3.5. Descriptive Calibration Assessment and Feature Importance

Figure 3 shows the calibration plot (left) and lift chart (right) of the SVM. The calibration plot reports the predicted probabilities versus true probabilities. In a well-calibrated model, the points should lie close to the diagonal. This happens for all the points except for the two on the left, indicating overall good agreement despite some deviations. The lift chart plots the percentage of cases predicted as positive versus the per-centage of true-positive cases. An ideal lift chart is characterised by a curve located close to the left boundary of the shaded triangle. In this case, most of the line is near the left side of the triangle, but the curve progressively shifts towards the right for horizontal coordinates above 80, corresponding to the points far from the diagonal in the calibration plot.
Figure 3. Calibration plot and lift chart of SVM.
To facilitate the clinical interpretation of the predictors included in the final model, an exploratory feature importance analysis was performed using a random forest classifier trained on the same set of clinicopathologic and MRI variables. Because the final prediction model was based on an SVM with an RBF kernel, this analysis was not intended to explain the internal decision process of the SVM but rather to provide an approximate ranking of predictor relevance. Furthermore, impurity-based feature importance measures are known to favour continuous or high-cardinality variables and should therefore be interpreted as descriptive and exploratory. The resulting feature importance profile is presented in Figure 4.
Figure 4. Importance of features according to the exploratory random forest analysis. Because tumour subtype is derived from HR status in this HER2-positive cohort, the contributions of these two variables should not be interpreted as independent.
According to the random forest feature importance ranking, ER, age, MRI1 timing, tumour size, Ki67, ADC and PR were among the most influential predictors. The prominent contribution of ER, Ki67 and PR is consistent with the class-stratified distributions shown in Supplementary Figure S2.
Because tumour subtype is directly derived from HR status in a cohort exclusively composed of HER2-positive breast cancers, Feature 14 should not be interpreted as an independent predictor. Its inclusion simply reflects the alternative clinical categorisation routinely used in breast oncology and explains its overlapping contribution with HR-related variables in the exploratory feature importance analysis.

4. Discussion

The present study demonstrates that routinely available pre-treatment clinicopathologic and breast MRI variables contain clinically relevant predictive information to identify patients with HER2-positive breast cancer who are unlikely to achieve pathological complete response (pCR) after neoadjuvant systemic therapy. Rather than proposing a tool for immediate treatment adaptation, our findings indicate that machine learning may support pre-treatment clinical risk assessment using data already generated during standard clinical assessment. This practical approach is aligned with the growing interest in developing clinically interpretable and implementation-oriented machine learning models that can be integrated into routine oncological workflows without requiring specialised image-processing pipelines or extensive molecular profiling [6,12,14,19,20,21]. Among the 70 evaluated classifiers, the highest observed accuracy was 82.1%. However, this value represents the best observed performance within the evaluated classifier collection and should therefore be interpreted with appropriate caution. The observed variability across software implementations, the absence of statistically significant superiority over the second-best classifier, and the corresponding confidence interval indicate that this result should not be interpreted as an unbiased estimate of the expected predictive performance of the selected classifier.
The exploratory feature importance analysis presented in the Results section provides a biologically plausible ranking of predictor relevance and is broadly consistent with established predictors of response in HER2-positive disease. Because the feature importance analysis was derived from a random forest model rather than the final SVM classifier, the results should be interpreted as descriptive instead of as a direct explanation of the SVM decision process. Furthermore, impurity-based importance measures are known to favour continuous predictors and should therefore be interpreted cautiously. HR expression, particularly ER and PR, emerged among the most influential variables, consistent with previous evidence indicating that HR-negative or HR-low HER2-positive tumours are more likely to achieve pCR following anti-HER2 neoadjuvant therapy. It should also be noted that the tumour subtype variable included in the model corresponds to the routine clinical classification of HER2-positive tumours into luminal B HER2-positive and HER2-enriched disease, which is directly derived from HR status in this cohort and therefore should not be interpreted as an independent source of predictive information. MRI1 timing also contributed to prediction, although its importance is more likely to reflect differences in imaging workflow, clinical scheduling, and temporal changes in treatment practice than intrinsic tumour biology [8].
Our findings should be interpreted within the context of the evolving management of HER2-positive BC. Patients included in this study were recruited between March 2013 and January 2025, a period during which neoadjuvant treatment progressively evolved following the incorporation of dual HER2 blockade into routine clinical practice. Consequently, most patients in the present cohort received trastuzumab plus pertuzumab (96/112, 85.7%), whereas a smaller proportion received trastuzumab without pertuzumab (16/112, 14.3%), reflecting the standard of care at the time of treatment as well as individual clinical considerations. Therefore, the therapeutic composition of the present cohort should be considered when interpreting the performance and generalisability of the proposed prediction model. Large clinical trials have established both the prognostic relevance of pCR and the therapeutic implications of residual disease, demonstrating that patients who do not achieve pCR have a poorer prognosis but may benefit from post-neoadjuvant treatment escalation [2,5]. Consequently, accurate pre-treatment identification of patients unlikely to achieve pCR remains clinically valuable, particularly in view of the therapeutic opportunities currently available for patients with residual disease. In this context, predictive ML models have the potential to support early risk stratification before treatment initiation, provided that their clinical usefulness is assessed not only by discrimination metrics but also by the consequences of potential misclassification. Prediction models should therefore be judged not only by their discrimination performance but also by the potential clinical consequences of incorrect treatment stratification.
Beyond the available clinical evidence, our findings are also consistent with previous ML studies demonstrating that the integration of clinicopathologic and MRI-derived information improves prediction of pCR in HER2-positive BC [10,12,14]. However, many published models rely on high-dimensional radiomic features or complex image-processing pipelines that may limit reproducibility and hinder implementation in routine clinical practice. These challenges are common to many AI applications in breast imaging, where external validation, transparency, regulatory approval and integration into radiological workflows remain major barriers to widespread clinical implementation [22]. In contrast, the present model deliberately prioritised routinely available pre-treatment variables to maximise interpretability, reproducibility and potential clinical applicability, while maintaining clinically meaningful predictive performance [10,12]. This pragmatic strategy is increasingly recognised as essential for successful clinical translation, as recent reviews have highlighted that successful implementation of AI in breast imaging requires robust validation, transparency, reproducibility, and integration into routine clinical workflows [23,24].
Another important consideration for future clinical implementation is model interpretability. Although highly complex AI algorithms may achieve excellent predictive performance, their adoption in clinical practice depends increasingly on the ability to provide transparent and understandable predictions that clinicians can confidently incorporate into therapeutic decision-making. Consequently, prediction models based on routinely available clinicopathologic and imaging variables may facilitate clinician acceptance while preserving clinically meaningful predictive accuracy [25].
From a translational perspective, the principal advantage of the proposed model is its exclusive reliance on routinely available clinicopathologic and MRI variables, making implementation considerably simpler than approaches requiring radiomics pipelines or molecular assays. Given its current error profile, however, the model should primarily be viewed as a tool for escalation-oriented risk stratification rather than treatment de-escalation. Patients predicted to have a high probability of residual disease could potentially benefit from closer imaging surveillance, earlier multidisciplinary review or prioritisation for clinical trials. In contrast, any application supporting treatment reduction would require prospective external validation, calibration analysis and optimisation of decision thresholds to minimise false responder classifications before safe clinical implementation [18,26]. This emphasis on practicality and clinical interpretability represents one of the principal distinguishing features of the proposed model.
Beyond external validation, future studies should also assess the robustness of the proposed model under real-world conditions, including variability in MRI acquisition protocols, patient demographics, and institutional clinical practice. Improving the transportability and generalisability of prediction models across different healthcare systems has become one of the major priorities for the successful translation of AI into routine BC care. These aspects are particularly relevant for models intended for widespread clinical implementation, where consistent performance across diverse imaging environments is essential [27,28].
The relatively modest contribution of baseline MRI variables (MRI1 timing, lesion type, tumour size, ADC and enhancement curve) in the present model may reflect the deliberate use of simple, routinely acquired imaging descriptors rather than advanced quantitative imaging biomarkers. Previous studies have shown that longitudinal MRI information, particularly early treatment-induced changes in DWI and ADC, together with standardised radiomic features, can improve prediction of pCR beyond baseline imaging alone [10,12,18,29]. Nevertheless, incorporation of these advanced imaging biomarkers should be carefully balanced against the need for reproducibility, harmonisation of image acquisition and processing, and external transportability across institutions. Future versions of the model could therefore benefit from integrating longitudinal imaging information while preserving the simplicity and clinical applicability that represent the principal strengths of the present approach [8,10,12,30].
This study presents several important strengths. The predictive model was developed exclusively from routinely available pre-treatment clinicopathologic and MRI variables, increasing its potential applicability in routine clinical practice while avoiding the need for dedicated radiomics pipelines or molecular profiling. This deliberate design improves reproducibility and facilitates future implementation in centres with different levels of technological resources. In addition, the use of a fully nested validation framework reduced the risk of optimistic bias associated with hyperparameter optimisation and provided an unbiased performance estimate for each individual classifier. However, because the final model was selected as the highest-performing classifier among the 70 evaluated algorithms, some optimism due to this model-selection process cannot be completely excluded. Another strength is that the cohort spans a relatively long recruitment period (March 2013–January 2025), reflecting the real-world evolution of neoadjuvant HER2-targeted therapy in routine clinical practice. Consequently, by the end of the recruitment period, most patients (96/112, 85.7%) received the current standard dual HER2 blockade with trastuzumab plus pertuzumab, whereas 16 patients (14.3%) received trastuzumab-based therapy without pertuzumab, reflecting changes in treatment availability and individualised clinical decision-making over time.
Nevertheless, several limitations should be acknowledged. The study was conducted in a relatively small single-centre cohort. Calibration was explored descriptively using an internal calibration plot but was not formally quantified using calibration metrics (e.g., calibration slope or intercept) or evaluated in an external validation cohort. Consequently, the predicted probabilities should be interpreted with caution, and the proposed model should currently be regarded as a clinical decision-support tool rather than a standalone risk prediction model. Furthermore, because both quantitative (ADC) and qualitative MRI variables were retrospectively extracted from routine clinical practice, formal interobserver reproducibility was not assessed. The inclusion of patients treated with different HER2-targeted regimens may also have influenced response rates and should therefore be considered when extrapolating the model to populations treated exclusively with contemporary therapeutic protocols. Finally, future multicentre studies following current reporting recommendations, including Transparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis + Artificial Intelligence (TRIPOD+AI) and Checklist for Artificial Intelligence in Medical Imaging (CLAIM), together with formal external validation, calibration assessment and evaluation of clinical utility, will be essential before clinical implementation [16,21]. Future validation studies should also evaluate the robustness of the proposed model across different institutions, MRI acquisition protocols and patient populations, since dataset shift remains one of the principal obstacles limiting the generalisability of AI models in medical imaging [31].

5. Conclusions

Among the 70 evaluated classifiers, the highest observed accuracy (82.1%) was obtained using a support vector machine with a radial basis function (RBF) kernel. However, this value represents the best observed performance among the evaluated classifiers and should not be interpreted as an unbiased estimate of the expected predictive performance of the selected model. Consequently, the proposed model should currently be regarded as a promising proof-of-concept requiring external validation in independent multicentre cohorts before clinical implementation.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/diagnostics16152374/s1, Figure S1: Distributions of clinicopathologic and baseline MRI features; Figure S2: Class-stratified feature distributions according to pathological response (pCR versus non-pCR); Table S1: Complete list of the 70 machine learning classifiers evaluated and their classification performance.

Author Contributions

Conceptualisation, M.F.-D., E.C. and C.N.; methodology, M.F.-D. and E.C.; software, M.A., M.F.-D. and E.C.; formal analysis, M.A., M.F.-D. and E.C.; investigation, M.A., L.G.-L., M.F.-D., E.C., M.M. and C.N.; resources, E.C., M.F.-D. and C.N.; data curation, L.G.-L.; writing—original draft preparation, M.A., L.G.-L., E.C., M.F.-D., M.M. and C.N.; writing—review and editing, all authors; visualisation, E.C., M.F.-D., M.M. and C.N.; supervision, E.C., M.F.-D., M.M. and C.N.; project administration, M.F.-D. and C.N.; funding acquisition, M.F.-D. and C.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ministerio de Ciencia e Innovación, Instituto de Salud Carlos III (ISCIII, Spain), grant PI22/00025; by the Ministerio de Ciencia, Innovación y Universidades through the Consolidación Investigadora 2024 programme (grant CNS2024-154855); and by the Consellería de Cultura, Educación, Formación Profesional e Universidades, Xunta de Galicia, through grants ED431G-2023/04, GRC GI-1636 (2022-PG053), and GRC GI-1584 (ED431C 2023/02), all co-funded by the European Union through the European Regional Development Fund (ERDF).

Institutional Review Board Statement

The study was conducted in accordance with the Declaration of Helsinki and approved by the Comité de Ética de la Investigación con Medicamentos de Galicia (CEIm-G) (protocol code 2024/204; approval date: 30 May 2024).

Data Availability Statement

The datasets generated and/or analysed during the current study are not publicly available due to ethical and privacy restrictions associated with patient data but are available from the corresponding authors on reasonable request and subject to approval by the relevant ethics committee and institutional regulations.

Acknowledgments

The authors would like to thank the patients who participated in this study and the clinical staff of the Radiology and Breast Pathology Units of Hospital Universitario Lucus Augusti (HULA) for their collaboration and support. During the preparation of this manuscript, the authors used OpenAI ChatGPT (GPT-5.5, ChatGPT) to assist with language editing and improvement of scientific writing. The authors reviewed and edited all AI-generated suggestions and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ADCApparent Diffusion Coefficient
ACRINAmerican College of Radiology Imaging Network
AIArtificial Intelligence
ANBCAveraged n-Dependence Bayesian Classifier
AUROCArea Under the Receiver Operating Characteristic Curve
BCBreast Cancer
BI-RADSBreast Imaging Reporting and Data System
CEIm-GComité de Ética de la Investigación con Medicamentos de Galicia
CLAIMChecklist for Artificial Intelligence in Medical Imaging
DCE-MRIDynamic Contrast-Enhanced Magnetic Resonance Imaging
DLDADiagonal Linear Discriminant Analysis
DWIDiffusion-Weighted Imaging
ELMExtreme Learning Machine
EREstrogen Receptor
FDAFlexible Discriminant Analysis
HER2Human Epidermal Growth Factor Receptor 2
HRHormone Receptor
IDCInvasive Ductal Carcinoma
ILCInvasive Lobular Carcinoma
KNNK-Nearest Neighbours
LASSOLeast Absolute Shrinkage and Selection Operator
LDALinear Discriminant Analysis
LOOCVLeave-One-Out Cross-Validation
MLMachine Learning
MRIMagnetic Resonance Imaging
NACNeoadjuvant Chemotherapy
NBNaïve Bayes
NBCNaïve Bayes Classifier
pCRPathological Complete Response
PNNProbabilistic Neural Network
PRProgesterone Receptor
RBFRadial Basis Function
RDARegularised Discriminant Analysis
RFGKCRandom Feature Gaussian Kernel Classifier
ROIRegion of Interest
SGDStochastic Gradient Descent
SVMSupport Vector Machine
TRIPOD+AITransparent Reporting of a Multivariable Prediction Model for Individual Prognosis or Diagnosis + Artificial Intelligence
USUltrasound

References

  1. Loibl, S.; Poortmans, P.; Morrow, M.; Denkert, C.; Curigliano, G. Breast cancer. Lancet 2021, 397, 1750–1769. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Cortazar, P.; Zhang, L.; Untch, M.; Mehta, K.; Costantino, J.P.; Wolmark, N.; Bonnefoi, H.; Cameron, D.; Gianni, L.; Valagussa, P.; et al. Pathological complete response and long-term clinical benefit in breast cancer: The CTNeoBC pooled analysis. Lancet 2014, 384, 164–172. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Gianni, L.; Pienkowski, T.; Im, Y.H.; Roman, L.; Tseng, L.M.; Liu, M.C.; Lluch, A.; Staroslawska, E.; De La Haba-Rodriguez, J.; Im, S.-A.; et al. Efficacy and safety of neoadjuvant pertuzumab and trastuzumab in women with locally advanced, inflammatory, or early HER2-positive breast cancer (NeoSphere): A randomised multicentre, open-label, phase 2 trial. Lancet Oncol. 2012, 13, 25–32. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Schneeweiss, A.; Chia, S.; Hickish, T.; Harvey, V.; Eniu, A.; Hegg, R.; Tausch, C.; Seo, J.H.; Tsai, Y.-F.; Ratnayake, J.; et al. Pertuzumab plus trastuzumab in combination with standard neoadjuvant anthracycline-containing and anthracycline-free chemotherapy regimens in patients with HER2-positive early breast cancer: A randomized phase II cardiac safety study (TRYPHAENA). Ann. Oncol. 2013, 24, 2278–2284. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. von Minckwitz, G.; Huang, C.-S.; Mano, M.S.; Loibl, S.; Mamounas, E.P.; Untch, M.; Wolmark, N.; Rastogi, P.; Schneeweiss, A.; Redondo, A.; et al. Trastuzumab emtansine for residual invasive HER2-positive breast cancer. N. Engl. J. Med. 2019, 380, 617–628. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Meisel, J.L.; Zhao, J.; Suo, A.; Zhang, C.; Wei, Z.; Taylor, C.; Aneja, R.; Krishnamurti, U.; Li, Z.; Nahta, R.; et al. Clinicopathologic factors associated with response to neoadjuvant anti-HER2-directed chemotherapy in HER2-positive breast cancer. Clin. Breast Cancer 2020, 20, 19–24. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  7. Zheng, G.; Peng, J.; Shu, Z.; Jin, H.; Han, L.; Yuan, Z.; Qin, X.; Hou, J.; He, X.; Gong, X. Predicting Pathological Complete Response to Neoadjuvant Chemotherapy in Breast Cancer Patients: Use of MRI Radiomics Data from Three Regions with Multiple Machine Learning Algorithms. J. Cancer Res. Clin. Oncol. 2024, 150, 147. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Partridge, S.C.; Zhang, Z.; Newitt, D.C.; Gibbs, J.E.; Chenevert, T.L.; Rosen, M.A.; Bolan, P.J.; Marques, H.S.; Romanoff, J.; Cimino, L.; et al. Diffusion-weighted MRI findings predict pathologic response in neoadjuvant treatment of breast cancer: The ACRIN 6698 multicenter trial. Radiology 2018, 289, 618–627. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. van der Voort, A.; van der Hoogt, K.J.J.; Wessels, R.; Schipper, R.J.; Wesseling, J.; Sonke, G.S.; Mann, R.M. Diffusion-weighted imaging in addition to contrast-enhanced MRI in identifying complete response in HER2-positive breast cancer. Eur. Radiol. 2024, 34, 7994–8004. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Li, W.; Newitt, D.C.; Gibbs, J.; Wilmes, L.J.; Jones, E.F.; Arasu, V.A.; Strand, F.; Onishi, N.; Nguyen, A.A.-T.; Kornak, J.; et al. Predicting breast cancer response to neoadjuvant treatment using multi-feature MRI: Results from the I-SPY 2 trial. npj Breast Cancer 2020, 6, 63. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Lin, Y.; Cheng, M.; Wu, C.; Huang, Y.; Zhu, T.; Li, J.; Gao, H.; Wang, K. MRI-based artificial intelligence models for post-neoadjuvant surgery personalization in breast cancer: A narrative review of evidence from Western Pacific. Lancet Reg. Health West. Pac. 2025, 57, 101254. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  12. Bitencourt, A.G.V.; Gibbs, P.; Saccarelli, C.R.; Daimiel, I.; Gullo, R.L.; Fox, M.J.; Thakur, S.; Pinker, K.; Morris, E.A.; Morrow, M.; et al. MRI-based machine learning radiomics can predict HER2 expression level and pathologic response after neoadjuvant therapy in HER2 overexpressing breast cancer. EBioMedicine 2020, 61, 103042. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Tang, W.; Jin, C.; Kong, Q.; Liu, C.; Chen, S.; Ding, S.; Liu, B.; Feng, Z.; Li, Y.; Dai, Y.; et al. Development and validation of an MRI spatiotemporal interaction model for early noninvasive prediction of neoadjuvant chemotherapy response in breast cancer: A multicentre study. EClinicalMedicine 2025, 85, 103298. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Li, Q.; Xiao, Q.; Li, J.; Wang, Z.; Wang, H.; Gu, Y. Value of Machine Learning with Multiphases CE-MRI Radiomics for Early Prediction of Pathological Complete Response to Neoadjuvant Therapy in HER2-Positive Invasive Breast Cancer. Cancer Manag. Res. 2021, 13, 5053–5067. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Morris, E.A.; Comstock, C.E.; Lee, C.H.; Lehman, C.D.; Ikeda, D.M.; Newstead, G.M.; Sickles, E.A.; Burnside, E.S.; Butler, P.F.; D’Orsi, C.J.; et al. ACR BI-RADS® Atlas, Breast Imaging Reporting and Data System: Magnetic Resonance Imaging, 5th ed.; American College of Radiology: Reston, VA, USA, 2013. [Google Scholar]
  16. Mongan, J.; Moy, L.; Kahn, C.E., Jr.; Cadrin-Chênevert, A.; Hunink, M.G.M.; Zafar, H.M.; Abbasi, M.; Chung, M.; Do, S.; Dreyer, K.J.; et al. Checklist for Artificial Intelligence in Medical Imaging (CLAIM): A Guide for Authors and Reviewers. Radiol. Artif. Intell. 2020, 2, e200029. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Fernández-Delgado, M.; Cernadas, E.; Barro, S.; Amorim, A. Do we need hundreds of classifiers to solve real world classification problems? J. Mach. Learn. Res. 2014, 15, 3133–3181. [Google Scholar]
  18. Wilson, E.B. Probable Inference, the Law of Succession, and Statistical Inference. J. Am. Stat. Assoc. 1927, 22, 209–212. [Google Scholar] [CrossRef]
  19. Zhang, T.; Tan, T.; Samperna, R.; Li, Z.; Gao, Y.; Wang, X.; Han, L.; Yu, Q.; Beets-Tan, R.G.H.; Mann, R.M. Radiomics and Artificial Intelligence in Breast Imaging: A Survey. Artif. Intell. Rev. 2023, 56, 857–892. [Google Scholar] [CrossRef] [Scilit]
  20. Collins, G.S.; Moons, K.G.M.; Dhiman, P.; Riley, R.D.; Beam, A.L.; Van Calster, B.; Ghassemi, M.; Liu, X.; Reitsma, J.B.; van Smeden, M.; et al. TRIPOD+AI Statement: Updated Guidance for Reporting Clinical Prediction Models That Use Regression or Machine Learning Methods. BMJ 2024, 385, e078378. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Carini, C.; Seyhan, A.A. Tribulations and future opportunities for artificial intelligence in precision medicine. J. Transl. Med. 2024, 22, 411. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Ozcan, B.B.; Patel, B.K.; Banerjee, I.; Dogan, B.E. Artificial Intelligence in Breast Imaging: Challenges of Integration into Clinical Practice. J. Breast Imaging 2023, 5, 248–257. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  23. Lokaj, B.; Pugliese, M.T.; Kinkel, K.; Lovis, C.; Schmid, J. Barriers and Facilitators of Artificial Intelligence Conception and Implementation for Breast Imaging Diagnosis in Clinical Practice: A Scoping Review. Eur. Radiol. 2024, 34, 2096–2109. [Google Scholar] [CrossRef] [Scilit]
  24. You, C.; Shen, Y.; Sun, S.; Zhou, J.; Li, J.; Su, G.; Michalopoulou, E.; Peng, W.; Gu, Y.; Guo, W.; et al. Artificial Intelligence in Breast Imaging: Current Situation and Clinical Challenges. Exploration 2023, 3, 20230007. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Kelly, C.J.; Karthikesalingam, A.; Suleyman, M.; Corrado, G.; King, D. Key Challenges for Delivering Clinical Impact with Artificial Intelligence. BMC Med. 2019, 17, 195. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Van Calster, B.; Wynants, L.; Verbeek, J.F.M.; Verbakel, J.Y.; Christodoulou, E.; Vickers, A.J.; Roobol, M.J.; Steyerberg, E.W. Reporting and Interpreting Decision Curve Analysis: A Guide for Investigators. BMJ 2018, 363, k3529. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Lo Gullo, R.; Brunekreef, J.; Marcus, E.; Han, L.K.; Eskreis-Winkler, S.; Thakur, S.B.; Mann, R.; Groot Lipman, K.; Teuwen, J.; Pinker, K. AI Applications to Breast MRI: Today and Tomorrow. J. Magn. Reson. Imaging 2024, 60, 2290–2308. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  28. Lee, A.Y.; Friedewald, S.M. Clinical Implementation of AI in Screening Mammography: The Essential Role of Prospective Evaluation. Radiology 2024, 311, e241124. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  29. Reig, B.; Heacock, L.; Lewin, A.A.; Cho, N.; Moy, L. Role of MRI to Assess Response to Neoadjuvant Therapy for Breast Cancer. J. Magn. Reson. Imaging 2020, 52, 1587–1608. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Zwanenburg, A.; Vallières, M.; Abdalah, M.A.; Aerts, H.J.W.L.; Andrearczyk, V.; Apte, A.; Ashrafinia, S.; Bakas, S.; Beukinga, R.J.; Boellaard, R.; et al. The Image Biomarker Standardization Initiative: Standardized Quantitative Radiomics for High-Throughput Image-Based Phenotyping. Radiology 2020, 295, 328–338. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Willemink, M.J.; Koszek, W.A.; Hardell, C.; Wu, J.; Fleischmann, D.; Harvey, H.; Folio, L.R.; Summers, R.M.; Rubin, D.L.; Lungren, M.P. Preparing Medical Imaging Data for Machine Learning. Radiology 2020, 295, 4–15. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.