Mammogram Mass Detection: What 108 Resolution Runs Actually Buy You
Among detectors already reaching mAP50 above 0.60, moving from 512x416 to 1600x1280 raises median mAP50 only from 0.626 to 0.660, but nearly all of that gain lands on the small masses that are hardest to find, at 1.40 hours of training and 113.7 ms per image.
On this page
A team has 219 mass-positive mammograms, one RTX 3090, and a single decision to make, but the input resolution it picks will shape every number that follows. Should the whole image be squashed to 512x416 and trained cheaply, or pushed to 1600x1280 and paid for? The usual advice is to downsample, because the accuracy loss is assumed to be small and nobody has measured it cleanly. That assumption is exactly what this paper tests: hold the preprocessing, the initialization, the augmentation and the evaluation protocol fixed, turn only the resolution dial, and watch what accuracy and runtime do.
Eighteen detectors at six resolutions: how the controls were built
On the model side there are 18 detectors. Four backbones, ResNet-50, Swin-T, HRNet-W32 and ConvNeXt-S, are each paired with four detection networks, Cascade R-CNN, TOOD, FCOS and DINO, giving 16 models; DINO uses its own channel mapper regardless of backbone, while the other combinations attach an FPN neck except HRNet-W32, which uses HRFPN. Two more models, YOLO11-M and RTMDet-M, keep their native architecture. Parameter counts run from 20.1M to 94.5M and stay fixed within each model.
On the input side there are six resolutions: 512x416, 640x512, 800x640, 1024x832, 1280x1024 and 1600x1280, which multiplies out to 108 model-resolution combinations. Each combination was run under five learning-rate and batch-size settings, for 540 planned runs. Every model sees whole mammograms, with no tiling, no cross-view fusion, no test-time augmentation and no ensembling.
Preprocessing is identical at every resolution: DICOM to floating point, polarity corrected where needed, values normalized to the 0 to 1 range, no cropping, no mirroring, no histogram equalization or CLAHE, no lesion cropping and no tiling. Images are zero padded to 3584x2816, the nearest size divisible by 32, then resized with aspect ratio preserved, right-padded to a multiple of 32, and the grayscale channel is copied into three channels. Initialization uses official ImageNet or COCO weights with the one-class output layer reinitialized, and every run uses seed 42 on a single RTX 3090, at most 25 epochs, with early stopping after ten epochs without a 0.002 validation mAP50 improvement.
The data is VinDr-Mammo v1.0.0: 20,000 mammograms from 5,000 exams, with 1,226 mass boxes annotated on 1,113 images. The official 1,000-exam test split is held out and 15 percent of training exams become validation, leaving 743 mass-positive training images, 151 validation images and 219 test images, plus 186 mass-negative images added to training so the models learn what normal tissue looks like.
0.626 to 0.660: how much, and at which setting
The metric is mAP50, mean average precision at a bounding-box overlap threshold of 0.50, which roughly means how completely and how cleanly masses are found once boxes are reasonably tight. It is computed on the 219 mass-positive test images while false positives on the 3,781 mass-negative official test images are excluded. The authors dropped 51 combinations with test mAP50 below 0.60, leaving 57 for analysis, and the number of retained models per resolution ranges from 9 to 10.
| Metric | 512x416 | 1600x1280 |
|---|---|---|
| Median mAP50 | 0.626 | 0.660 |
| Best mAP50 | 0.670 | 0.709 |
| Median training time | 0.45 h | 1.40 h |
| Median inference time per image | 23.6 ms | 113.7 ms |
Two cautions belong here. The trend is not monotonic: median mAP50 rises from 0.626 to 0.660 but wobbles between the endpoints, and the per-resolution best score does not climb at every step. So higher resolution is a tendency in this data, not a law. The single best result, 0.709, comes from DINO with a ConvNeXt-S backbone at 1600x1280.
The authors also place 0.709 against prior numbers reported on mass-positive VinDr-Mammo images: 0.700 from Bhat et al. on the official split with image count not reported, 0.690 from Trang et al. on a random split, 0.671 from Bulatovic et al. on the official split, and 0.580 from Mammo-CLIP/FM on the official split of 219 images. They stress that the result came from a standard whole-image detector with no architectural changes, no patch-based inference and no mammography-specific pretraining.
Almost all of the gain goes to small masses
The 219 positive test images contain 237 ground-truth boxes. The authors split them into three roughly equal groups by box area as a fraction of the whole image, using thresholds of 0.280 percent and 0.709 percent, which yields 77 to 81 boxes per group, and then compute mAP50 separately for each group.
| Mass size group | Median mAP50 change | Start to end |
|---|---|---|
| Smallest third | +0.074 | 0.367 to 0.441 |
| Middle third | +0.007 | endpoints not reported |
| Largest third | +0.032 | endpoints not reported |
This is the most useful table in the paper. Going from the lowest to the highest resolution lifts median mAP50 for the smallest third by 0.074, which is more than ten times the middle group and more than twice the large group. The extra compute did not sharpen masses that were already easy to find; it mostly bought the small ones that were being missed.
A worked example makes it concrete. On one mammogram with two adjacent small masses covering 0.20 percent and 0.15 percent of the image, the number of models detecting both rises at every resolution step, from 1 of 9 at 512x416 to 7 of 9 at 1600x1280, under a confidence threshold of 0.15 and an IoU threshold of 0.50. The stated mechanism is that at a fixed stride a larger input gives each mass more pixels and more feature-map locations without adding parameters.
The cost column: 1.40 hours and 113.7 milliseconds
The compute accounting is explicit. Median training time rises from 0.45 to 1.40 hours and median per-image inference time rises from 23.6 to 113.7 milliseconds. Training is a one-time cost, and 1.40 hours on a single RTX 3090 is not hard to absorb; at 113.7 milliseconds per image the authors argue inference will not bottleneck a radiology reading pipeline.
One caveat is worth stating plainly. Both figures were measured on one GPU, one image at a time, without the full preprocessing and downstream chain, and inference time is an average over test images. A deployed system that pairs views or batches at workstation scale will see a different end-to-end latency. That last sentence is my own reasoning, not a number from the paper, so do not put it in a procurement document.
It also matters that resolution does not change parameter counts, which stay inside the 20.1M to 94.5M range for a given model. What you pay for at 1600x1280 is denser feature-map sampling, not a larger model.
Where this stops being true
First, the evidence comes from one dataset under one annotation regime. VinDr-Mammo is a multi-centre Vietnamese collection, and a different vendor, imaging protocol or reading convention could shift the optimal resolution. No cross-dataset validation is reported, so the method does not apply when your images come from a distribution the sweep never saw.
Second, the analysed sample was filtered. Of 108 combinations, 51 fell below a test mAP50 of 0.60 and were excluded, leaving 57. The conclusion therefore describes detectors that already work; whether resolution rescues a model stuck at 0.3 is out of scope, and this paper fails to answer it.
Third, the sweep stops at 1600x1280 while the native images are around 3584x2816, so the study measures how far you can shrink, not whether full resolution is worth its price. Nothing here says what happens above 1600x1280.
Fourth, the metric is mAP50 on positive images only, which captures box overlap and ranking quality rather than clinical detection rate, recall per thousand cases, or reader performance. No radiologist reading study was run, so the numbers do not transfer to clinical claims.
Put together, the defensible reading is narrow: on whole mammograms like VinDr-Mammo, with an already tuned whole-image detector, going from 512x416 to 1600x1280 yields roughly 0.034 in median mAP50 and 0.039 in the best score, concentrated on small masses, at a cost that stays practical [1]. Outside that box, the paper promises nothing.
