Hospitals increasingly move large medical images over slow links: a rural clinic uploading chest X-rays for remote reading, or a research group pulling a terabyte cohort to train a model. The usual fix is to send a smaller version of each image, either at lower resolution or with lossy compression. The same compression is applied to every image. This proposal starts from a suspicion: shrinking images this way acts like a blur. A blur leaves large, common findings intact, such as an enlarged heart. It erases the small, fine-grained signs that often mark rare conditions, such as a thin pneumothorax line, a small nodule, or early glaucomatous change. If that is true, standard bandwidth savings quietly cut sensitivity on exactly the minority classes that class-imbalance research works hardest to protect, and no downstream loss function can recover detail that was never transmitted.
We propose to measure this effect directly and then fix it with a receiver-driven protocol. Every image is first sent at a cheap, low resolution. A diagnostic model at the receiving hospital scores it. The receiver then asks for more resolution only for images where extra detail is likely to change a decision about a rare or high-cost class. The idea in two sentences: uniform compression spends bits evenly but hurts rare classes unevenly, so the extra bits should go where they are most likely to flip a minority-class decision. Because the full-quality master copy stays at the sender and refinement is always possible, the scheme never discards evidence permanently, unlike pruning or task-specific compression done at the sender.
Core Claim
At a fixed average number of bytes per study, a refinement policy that weighs each class by its rarity and clinical cost will give higher minority-class sensitivity at a clinically fixed specificity than three alternatives: uniform sub-resolution streaming, sender-side attention pruning, and class-agnostic uncertainty-driven refinement. The first part of the claim, that uniform streaming degrades rare classes disproportionately, is itself untested and is the foundation. If the audit finds no disproportionate harm, the rest of the proposal is unnecessary, and we will report that outcome.
Where This Sits
The transmission line of work supplies the substrate and motivates the gap. MIST stores pixels in High-Throughput JPEG 2000 (HTJ2K), a codec whose files can be read at several resolutions from one stored asset. It reports a 96.10% average transmission reduction at the smallest sub-resolution across eight benchmarks, but it streams every sample at the same level and evaluates only global accuracy. We reuse its storage and streaming design unchanged and add a per-image, class-sensitive request policy on top.
NEURAL prunes chest X-ray patches using attention from a report-generating vision-language model, keeping about 2.3% of the image and reaching pneumonia AUC of 0.88–0.95. It was tested on a deliberately balanced 10,000-image subset. Its pruning happens at the sender and cannot be undone, so a rare finding that the attention misses is lost for good. Our protocol differs in two ways: it runs no heavy model at the sender, and every decision can be reversed by a later request.
Lossy Compression for Lossless Prediction shows that the most efficient compressor for a given task keeps only what that task needs, with 1104× gains over JPEG on ImageNet. That result constrains our design. Compressing for a task optimized on average risk is exactly how rare-class variation gets thrown away, so we keep the master copy lossless and never commit to a single learned invariant. The ROI mammography coder shows that spending bits unevenly across space pays off, but it chooses regions by anatomy rather than by class risk.
The imbalance line of work supplies the receiver model. Imbalance-aware losses (soft F1 and soft MCC losses anchored with cross-entropy) and Deep AUC Maximization (min-max stochastic optimization of AUC, pretrained with cross-entropy first because of its feature-learning problem) both assume full-resolution inputs. We train the receiver with them on mixed-resolution inputs.
The closest bridging paper, Class-dependent Pruning, adds AUC and false-negative costs to compression. However, it compresses network weights, not the data being transmitted, so it leaves the transmission problem untouched. Pham et al. provide the CheXpert training recipe and reference numbers.
Research Program
The first stage is an audit. For each dataset we decode every HTJ2K resolution level and train a classifier at each level with the same recipe. We then plot per-class AUC and sensitivity at 95% specificity against bytes transmitted. The quantity of interest is the ratio between rare-class and common-class degradation at each level. We will also relate each class's degradation to its prevalence and to the typical physical size of its lesion, which separates "rare" from "small."
The second stage builds the receiver. It is a single classifier trained on randomly mixed resolution levels, which makes it valid at every level. It is trained with cross-entropy plus a soft F1 loss, followed by AUC fine-tuning in the style of Deep AUC Maximization. On top of it we add a small head that predicts whether a class decision will change if the next resolution level arrives. This head is trained on paired low- and high-resolution scores from the training set.
The request rule is simple. For image $i$ at current level $r$, the receiver computes a refinement value
$$V_i = \sum_c w_c \, \hat{p}_{i,c}(\text{flip} \mid r),$$
where $\hat{p}_{i,c}$ is the predicted probability that class $c$'s thresholded decision changes after refinement. The weight $w_c$ is the cost of a missed class-$c$ case, set by default to inverse prevalence times a clinical severity factor. The receiver requests level $r+1$ for the images with the highest $V_i$ until the average byte budget $B$ is used up. For studies arriving one at a time, a threshold on $V_i$ calibrated on validation data replaces the ranking.
A region-level extension then uses HTJ2K's ability to decode individual tiles. It requests full resolution only for the tiles that the class-specific saliency of high-weight classes points to.
Baselines
The naive reference point is uniform streaming at MIST's resolution levels, with the receiver trained on the matching level using the same imbalance-aware recipe. It is run at the byte budget that matches our method's average, and full-resolution lossless streaming serves as the upper bound. Beating it means higher minority-class sensitivity at 95% specificity at equal mean bytes, with no loss in macro AUC on common classes. MIST reports only transmission and quality figures (96.10% reduction, SSIM 0.83 ± 0.06 at the smallest level), and no reported per-class diagnostic result was found on Lacuna for MIST's sub-resolutions.
The strongest full-resolution classifier reference is the Pham et al. DenseNet-121 recipe, which reports CheXpert validation mean AUC 0.894 for a single model (0.940 for a six-model ensemble). We reproduce the single model at full resolution to anchor what "no loss" means. Deep AUC Maximization reports first place among more than 150 CheXpert teams, but the file gives no AUC value, so no reported number is available for it.
The strongest existing data-reduction method is NEURAL, which reports pneumonia AUC 0.88–0.95 at 97.7% data reduction on a balanced MIMIC-CXR subset. We rerun it on the naturally skewed label distribution at its reported patch budget. We give it the same imbalance-aware classifier head and the same number of tuning trials as our method, so any gap reflects where pixels are chosen rather than how the classifier is trained.
The key ablation replaces the class-weighted refinement value with class-agnostic predictive entropy under the same budget and receiver. A second ablation sets all $w_c$ equal while keeping the flip-prediction head. Together they isolate whether rarity weighting, rather than simply "refine when unsure," produces the gain. All methods share data splits, backbone, compute, and a fixed hyperparameter search budget.
Why not just…?
Why not just compress everything uniformly and fix imbalance downstream with a better loss? Losses such as soft F1 or AUC maximization reweight the evidence the model receives. They cannot restore a hairline pneumothorax that downsampling has erased. The audit tests this directly: if uniform streaming with an imbalance-aware receiver matches full resolution on rare classes, this alternative wins and we will say so.
Why not just send a somewhat higher uniform resolution? That is one point on the uniform rate curve, and our main comparison traces the entire curve. The proposal succeeds only if rarity-aware refinement sits strictly above that curve for minority classes at equal mean bytes. Otherwise uniform streaming is simply sufficient.
Why not just refine whatever the model is uncertain about? This is the real threat. With a well-calibrated receiver, entropy-driven requests may already concentrate on hard rare cases. The entropy ablation settles it. We expect a gap mainly when common classes produce many uncertain but low-cost borderline cases that use up the budget, and if no gap appears we will report class-agnostic refinement as the practical answer.
Why not just retrain NEURAL-style pruning with an imbalance loss? The pruning decision happens at the sender, before any receiver can object, and it requires a large vision-language model at the edge, which lymph-node semantic communication work already flags as a compute burden. The NEURAL baseline, run with an imbalance-aware head on skewed data, measures how much rare-class evidence its attention discards.
Proposed Experiments
We use datasets in the file that span resolution sensitivity and skew. NIH-ChestX-ray14 and LIDC-IDRI come from the MIST suite and cover multi-label chest findings and small nodules. CheXpert allows comparison with Pham et al., and MIMIC-CXR with its natural prevalence allows comparison with NEURAL. The glioma MRI and glaucoma fundus cohorts of Scholz et al. provide explicitly minority subtypes: oligodendroglioma at about 8% and early glaucoma. PatchCamelyon supplies the 1% positive-rate regime.
Metrics are bytes transmitted per study, per-class AUC, sensitivity at 95% specificity, balanced accuracy, and the ratio of rare-class to common-class degradation. For streamed operation we also report the number of round-trips needed per study.
The first decisive check is the audit: does rare-class sensitivity fall faster with resolution than common-class sensitivity, and does this track lesion size or prevalence? The second is the matched-budget comparison against uniform streaming, NEURAL, and entropy refinement at average transmission reductions of 90% and 96%. The third is a stress test on nodules and pneumothorax, where fine detail matters most. The protocol should recover near-lossless minority sensitivity while transmitting a small fraction of full-resolution bytes, and a failure there would falsify the core claim.
References
- Towards Resource-Efficient Streaming of Large-Scale Medical Image Datasets for Deep Learning
- NEURAL: Attention-Guided Pruning for Unified Multimodal Resource-Constrained Clinical Evaluation
- Lossy Compression for Lossless Prediction
- A New Diagnosis Loseless Compression Method for Digital Mammography Based on Multiple Arbitrary Shape ROIs Coding Framework
- Imbalance-aware loss functions improve medical image classification
- Deep AUC Maximization for Medical Image Classification: Challenges and Opportunities
- Class-dependent Pruning of Deep Neural Networks
- Interpreting chest X-rays via CNNs that exploit hierarchical disease dependencies and uncertainty labels
- Semantic-Attention Enhanced DSC-Transformer for Lymph Node Ultrasound Classification and Remote Diagnostics