eess.IVNov 20, 2026

Duplicate- and Patient-Overlap Leakage in Brain MRI Tumor Classification: A Multi-Model Evaluation

Authors: Xin Li, Samson Oluwadare

Organizations: University of Southern California, USA · Independent Researcher, Lagos, Nigeria

Abstract

Background. Repeated MRI images and distinct slices from the same patient can both compromise evaluation of brain tumor classifiers. Objective. We audited image duplication and examined how patient overlap relates to discrimination, probability error and model ranking. Methods. The Cheng/Figshare dataset contains 3,064 contrast-enhanced T1 MRI slices, three tumor classes and 233 recorded patient IDs. The dataset author advised treating the IDs as individuals, but original DICOM records were unavailable for verification. Four CNN architectures were trained under image-level and recorded-ID-disjoint protocols with five folds matched on size and class counts (40 original runs). A patient-cluster bootstrap quantified uncertainty. The extension added 60 split-seed runs, 40 training-seed runs and 72 fixed-test sibling-exposure runs with class-matched other-patient controls. Results. We found no exact duplicate images and little evidence of cross-patient near-duplicates among screened pairs. Image-level minus recorded-ID-disjoint balanced accuracy ranged from +0.0318 to +0.0462 across models. Expected calibration error and multiclass Brier scores were lower on the image-level evaluation sample. The balanced-accuracy difference persisted across new seeds for ResNet50 and DenseNet121, but their original ranking reversal did not replicate. Only ResNet50 in fold 2 passed Holm correction in the five-test exposure family. All 16 correlated exploratory subgroup estimates were positive, with no consistent dose-response. Conclusions. Patient overlap was associated with higher apparent performance on this benchmark. Fixed-test comparisons could not isolate patient identity from shared anatomy or acquisition characteristics. No independent external clinical validation was performed.

Explore similar work

Sep 30, 2026

Scores That Hold, Benchmarks That Leak: Measuring Dataset Contamination in Public Brain-Tumor MRI Classification

Automated classification of brain tumors from MRI is a heavily published application of deep learning in medical imaging, with reported accuracies on public benchmarks routinely exceeding 98%. However, accuracy does not capture a critical dimension of benchmark quality: dataset integrity, defined as the independence of test from training data at the image, patient, and acquisition-source levels. We introduce a three-layer contamination framework comprising duplicate, patient, and source-label leakage to assess the public corpora on which this literature rests. We audit the three most widely used corpora against a chest-radiograph negative control and quantify each layer's effect on measured performance across nine architectures and three evaluation conditions. Contamination is severe at every layer: 28.8% of the dominant corpus's official test split has a near-twin in its own training split, a second corpus leaks 22.3% of its test images byte-identically, 95.5% of traceable test images share a patient with training, and file-header features containing no anatomy separate tumor from no-tumor at 0.959 balanced accuracy, at parity with fine-tuned ResNet backbones. The unexpected result is that removing every identified leaked test image leaves balanced accuracy essentially unchanged: stable performance after deduplication does not establish benchmark integrity. Our findings establish dataset integrity as a distinct, measurable axis of benchmark quality that a stable leaderboard cannot certify. For biomedical research, reported accuracy on these corpora alone does not establish that a model has learned to recognize tumors rather than exploit dataset-specific cues. We release the contaminated-file lists, recovered patient identifiers, and deduplicated splits.
Nov 9, 2026

Benchmarking CNNs, Vision Transformers, and Foundation Models for Explainable Brain Tumor MRI Classification: Calibration, Decision Analysis, and External Validation

Deep learning models for brain tumor MRI classification are usually compared by accuracy alone, on public datasets whose independence is rarely checked. We benchmarked six architectures: two convolutional networks (EfficientNetV2-M and ConvNeXt-V2-Tiny), two vision transformers (Swin-V2-S and ViT-L/16), and two foundation models (DINOv2-L and MedSigLIP-448), for four-class classification of 7,216 public MRI images. We assessed accuracy, calibration, explainability, ensembles, and decision curves, with every fitted quantity estimated on validation data only. Pixel-verified duplicate screening showed that 36% of the test images had a near-duplicate in the training data. Test accuracy ranged from 94.5% to 95.6%, with no pairwise difference after Holm correction, and fell to 90.3% to 91.7% on the 773 test images free of duplicates and shared patients. Ensembles did not outperform the best single model. Attribution maps passed a model-randomization test but localized expert-annotated tumors poorly. On 1,675 external BDNeuro-MRI images that did not duplicate the training data, accuracy ranged from 77.6% (MedSigLIP-448) to 95.0% (ViT-L/16), and 12 of 15 pairwise differences were significant. Internal accuracy on this public collection therefore did not distinguish the architectures, whereas the duplicate-filtered external test did.
Jul 21, 2026

Cross-Dataset Generalization in Breast MRI Tumor Classification via Class-Wise Dataset Mixing

Breast MRI is highly sensitive for detecting breast tumors, but exams contain many slices and require substantial reading time. Deep learning models often perform well on internal splits but can fail across institutions because of domain shift and dataset-origin bias. We study this failure mode for binary breast MRI tumor classification. EfficientNet-B3 and WaveViT-Small are trained using Duke Breast Cancer MRI and fastMRI, and evaluated only on the independent multi-center MAMA-MIA cohort. In a deliberately confounded setup, where label is perfectly correlated with dataset origin, external accuracy is near chance (0.5048--0.5265), despite very high recall. We then construct a mixed training set in which each class contains samples from both Duke and fastMRI, while preserving patient-level splitting, augmentation, and leakage controls. On MAMA-MIA, dataset mixing improves accuracy/F1 to 0.8463/0.8625 for WaveViT-Small and 0.8884/0.8994 for EfficientNet-B3. These results show that controlling dataset-origin bias is important for reliable breast MRI classification.