Expert-drawn outlines distinguish cancerous breast lesions within the same suspicious ultrasound category
You are reading version 1. Read the latest version (2).
Why it matters
In this breast-ultrasound dataset, an expert-drawn lesion outline helped distinguish cancers among patients given the same broad assessment category. Some predictive information available to an image model therefore comes from the outline supplied by a person. The finding helps researchers test what their models add, but does not show that biopsies can safely be avoided.
Expert-drawn lesion outlines alone distinguished malignant from benign breast lesions among 392 BUS-BRA patients assigned the same broad radiologist assessment, BI-RADS 4. A model given only the filled binary outlines achieved an area under the receiver operating characteristic curve (AUC) of 0.824 in patient-disjoint validation; five simple outline measurements achieved 0.786. Ultrasound crops achieved 0.806. The result matters because an image model supplied with an expert outline already receives information beyond the recorded assessment category. Outline-only predictions provide a strong comparator for measuring what that model adds.
Results
The BUS-BRA release provides ultrasound images, expert lesion masks, pathology labels and Breast Imaging Reporting and Data System (BI-RADS) categories [1,2]. We analyzed 1,875 views from 1,064 patients, including 722 benign and 342 malignant cases. The prespecified category-4 subgroup contained 159 benign and 233 malignant patients. Models were trained across all categories, with each patient's views kept together throughout training, tuning and testing.
Our main discrimination measure compares malignant–benign patient pairs in the same held-out fold. An AUC of 0.824 means that the outline model ranked the malignant patient higher in 82.4% of these pairs. The category-only comparator assigns the same score to everyone in category 4 within a fold, giving AUC 0.500. We also report pooled AUC across all held-out predictions and the Brier score, the mean squared error of predicted malignancy probabilities, for which lower is better.
| Model | Within-fold AUC (95% interval) | Pooled AUC | Brier score |
|---|---|---|---|
| Category only | 0.500 (0.500–0.500) | 0.466 | 0.2416 |
| Ultrasound crop | 0.806 (0.758–0.850) | 0.801 | 0.1801 |
| Binary expert outline | 0.824 (0.782–0.865) | 0.829 | 0.1674 |
| Five outline measurements | 0.786 (0.736–0.829) | 0.790 | 0.1955 |
| Crop + outline | 0.842 (0.800–0.880) | 0.838 | 0.1620 |
| Category + outline | 0.824 (0.782–0.865) | 0.825 | 0.1655 |
| Category + crop + outline | 0.842 (0.800–0.880) | 0.834 | 0.1603 |
Table 1. Performance in the same 392 category-4 patients. Intervals use 1,000 patient bootstraps within test folds, without refitting. Category-only pooled AUC is below 0.5 because the training-fold category prevalences differ; its ranking within each fold is exactly chance. Category stacking preserves within-fold rankings here because each fitted image-score coefficient is positive. Generated table.
The binary-outline model achieved within-fold AUC 0.824 (95% interval 0.782–0.865). Five geometric measurements achieved 0.786 (0.736–0.829), showing that readily measured shape properties recover much of this discrimination. Adding outline predictions to category reduced category-4 Brier score from 0.2416 to 0.1655, a reduction of 0.0761 (0.0575–0.0965).

Figure 1. Within-fold AUC among category-4 patients. Blue intervals condition on the fitted models. Orange points come from refitting on a second patient split of the same cohort; they are a sensitivity analysis, not independent replication.
Outline discrimination persisted on the second split (AUC 0.829), as did the five-measurement result (0.792). Excluding the one patient with discordant categories across views and refitting gave outline AUC 0.824. An exploratory comparison restricted to pairs sharing both scanner and test fold gave outline AUC 0.807 (0.756–0.856). Thus between-scanner differences alone cannot account for the ranking, although scanner-held-out performance remains untested.
Crop and outline features together achieved AUC 0.842. Their increment over outlines alone was 0.0179 (0.0001–0.0342) for within-fold AUC and 0.0095 (−0.0061–0.0234) for pooled AUC. After category stacking, the joint model's Brier change relative to category plus outline was −0.0052 (−0.0116–0.0027). On the second split, the within-fold AUC increment shrank to 0.0035. These results suggest complementary crop information in this fitted model, with a small, split-sensitive gain over the outline baseline. They do not establish that ultrasound intensities add nothing.
Methods
We used BUS-BRA version 1.0 and treated its case identifier as the patient grouping variable. Each case had consistent pathology across views. One case, 856, had both category 4 and 5 labels; we assigned its maximum category, 5. The remaining category counts were 304 in category 2, 279 in category 3 and 89 in category 5. No 4A/B/C subdivisions are released. The source describes biopsy-proven cases [1,2]; clinical records were unavailable for independent verification.
The released five outer folds were patient-disjoint. We replaced the released inner-validation flags with patient-level splits because some original inner flags divided views from the same patient. The image audit found no exactly identical image arrays across cases. Preprocessing used actual image dimensions rather than metadata dimensions.
The image representations were 512-dimensional frozen ImageNet ResNet18 V1 features. Inputs were either a grayscale ultrasound crop or its filled binary lesion mask, both using the expert mask's bounding box plus a 10-pixel margin. Inputs were edge-padded to square, bilinearly resized to 224 × 224 pixels, repeated across three channels and ImageNet-normalized. We averaged features across each patient's views. The mask representation contains no ultrasound intensities, though the fixed pixel margin may retain scale information. The joint representation concatenates crop and mask features. The geometric baseline uses log bounding-box width/height, occupancy, solidity, grid-perimeter compactness and covariance eccentricity, averaged across views, without absolute-size inputs.
Each representation entered standardized L2-penalized logistic regression. Three-fold inner validation selected C from {0.0001, 0.001, 0.01, 0.1, 1, 10} by log loss. The category-only model used training-fold category prevalence with Jeffreys smoothing: (malignant count + 0.5)/(patient count + 1). Category-plus-feature models used logistic stacking with C = 1 on category indicators and feature-model log odds. Four-fold cross-fitting generated stack-training scores; scaling and penalty selection were repeated inside each cross-fit training subset. Held-out labels therefore entered neither tuning nor stacking. No model used class reweighting.
Within-fold AUC weights each fold's AUC by its number of malignant–benign pairs. Paired 95% percentile intervals resample patients within outer folds 1,000 times. They omit model-training uncertainty and dependence induced by overlapping training sets. The second analysis refitted all representations on an outcome-stratified five-fold patient split (seed 20261030); a separate sensitivity analysis excluded case 856. The category-4 question preceded the initial results. Joint features, simple geometry and split-sensitivity analyses were specified after observing the initial mask result; their timing is recorded in analysis/PLAN.md.
Interpretation and limits
Expert outlines carry substantial pathology-associated information within the released broad BI-RADS category. A model that receives those annotations should be compared with an outline-only predictor when estimating the added value of ultrasound appearance. This is a new conditional prediction analysis. The original benchmark fine-tunes a network and supplies masks as image channels [3]; our frozen-feature analysis does not reproduce its reported numbers.
This is a single-source retrospective study with expert masks supplied at test time. We could not establish whether contour annotators were blinded to pathology, so the signal may reflect morphology, annotation practices or both. Missing BI-RADS subdivisions and clinical context prevent comparison with a radiologist's full assessment. Sampled ultrasound crops retained calipers or other marks, and no overlay-removal analysis was completed; crop gains cannot be attributed solely to tissue appearance. The results do not measure an automatic segmentation pipeline or justify avoiding biopsies. External validation with known annotation timing is needed before interpreting these scores as pre-biopsy predictions.
Reproducibility
Analysis instructions give the download, environment and execution commands. fetch.py checks the release checksum; feature_provenance.json records feature and pretrained-weight hashes. model.py and extend.py generate patient-level held-out predictions; evaluate_extension.py computes the main metrics and paired intervals; plot_results.py generates Figure 1 and Table 1 into results/. Scanner checks use scanner_check.py. Raw images and cached features are fetched or generated locally and are not committed.
References
- Gómez-Flores W, Gregorio-Calas MJ, de Albuquerque Pereira WC. BUS-BRA: A breast ultrasound dataset for assessing computer-aided diagnosis systems. Medical Physics. 2024;51:3110–3123. doi:10.1002/mp.16812.
- Gómez-Flores W, Gregorio-Calas MJ, de Albuquerque Pereira WC. BUS-BRA dataset, version 1.0. Zenodo. doi:10.5281/zenodo.8231412.
- Gómez-Flores W and colleagues. BUS-BRA benchmark source code.