NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Synthetic Rare Cases Inherit the Majority's Face: Auditing Guidance in Medical Generative Rebalancing

Medical datasets are skewed in two ways at once. Rare diseases are rare, and within a rare disease the patients who do appear are often concentrated in one demographic group. In one public chest CT benchmark, the squamous cell carcinoma class contains 91 men and 18 women. A common fix is generative rebalancing: train an image generator and use it to synthesize extra examples of the rare class. Work on bias amplification, meaning cases where a model's outputs are more skewed than its training data, gives a reason to worry about this fix. Diffusion models (generators that learn to turn random noise into images step by step) are known to drift toward the dominant mode of what they learned. The drift is controlled at sampling time, especially by classifier-free guidance, a knob that trades output diversity for how closely images match their conditioning label. When the rare class is asked for, the generator may return mostly its majority face. A classifier trained on this "rebalanced" data could then end up more unfair than one trained on the original data.

This proposal argues that the risk runs in two directions, and that it can be measured cheaply before any downstream classifier is trained. At low guidance, a request for a rare intersectional case ("female, squamous cell carcinoma") leaks toward the majority, and the demographic attribute is rendered weakly or not at all. At high guidance, the attribute is rendered, but the variety of presentations within that cell collapses onto its most common subtype. We will build an audit that scores a batch of synthetic data on both failures. It uses an attribute classifier and a clustering of the real minority cases into subtypes, which we call subconcepts. We will test whether the audit's score predicts downstream subgroup disparity across sampler settings, and whether choosing sampler settings by audit score produces fairer rare-class classifiers than standard generative rebalancing or than simply reweighting the loss.

Core Claim

The degree to which generative rebalancing amplifies demographic and subtype skew in medical classifiers is set largely by inference-time sampling choices. It is readable from the synthetic data alone, through two quantities. The first is an attribute amplification ratio within each class,

$$A(y) = \frac{\hat p_{\text{synth}}(a \mid y)}{p_{\text{real}}(a \mid y)},$$

where $y$ is the disease label, $a$ is the protected attribute (sex, or skin type 5–6 versus 1–2), $p_{\text{real}}$ is its frequency in the real training data, and $\hat p_{\text{synth}}$ is its frequency in synthetic samples as judged by an attribute classifier trained on real images. For jointly conditioned generation we instead report attribute fidelity: the fraction of samples requested as $(y, a)$ that the classifier reads as $a$. The second quantity is subconcept coverage: the divergence between how synthetic and real minority-cell images spread across clusters in a frozen encoder's feature space.

We predict three things. Guidance traces a U-shaped curve for downstream worst-subgroup performance. The two audit quantities rank sampler settings in the same order as their downstream disparity. And a setting chosen by the audit beats both default-guidance generation and the strongest loss-reweighting recipe on rare intersectional cells.

Relation to Prior Work

The closest work falls into two groups that have not met.

The first group studies generative rebalancing in medicine but never audits demographics. GAN-based Data Augmentation for Chest X-ray Classification uses a conditional GAN to raise rare CheXpert pathologies to 15% of the training data. It improves ROC-AUC in the 1% data regime, for example Fractures from 0.583 to 0.656, but the gains fade at full data and it reports no subgroup splits. Red-GAN conditions a GAN on masks and on global metadata such as acquisition center or lesion subtype, and reports about 4–5% accuracy gains. It does not check whether conditioning on sparse classes amplifies shortcuts. Both motivate this proposal by showing that the practice is common and unaudited. Both use GANs, which lack the inference-time controls we study.

The second group studies amplification mechanics, but not in medical imaging. How I Met Your Bias shows on BFFHQ that raising the guidance scale pushes generated attribute frequencies above dataset frequencies, while low guidance and few sampling steps can push them below. This paper supplies our mechanism and our knobs. We move its question from "does the generator amplify?" to "does amplification in synthetic rebalancing data carry over into downstream clinical classifiers, and can it be selected against?" Directional Bias Amplification separates attribute-to-task leakage from task-to-attribute leakage. It also shows that threshold calibration drops measured amplification on COCO from 0.040 to 0.001. That result constrains our design: every downstream comparison must be made after per-group threshold calibration, so that we do not mistake miscalibration for amplification. An Effective Theory of Bias Amplification shows in linear models that disparity can grow even with balanced groups, when the groups differ in covariance or label noise. This warns that balancing the attribute ratio alone, which is what joint conditioning does, need not remove disparity. That is why subconcept coverage is part of the audit.

Two further papers shape the metrics. Performance Estimation bias in Class Imbalance with Minority Subconcepts shows on tabular Keel data that SMOTE widens the gap between the largest and smallest minority subconcepts, from about 0.44 to about 0.70 in correlation terms. It proposes weighting minority instances by inverse subconcept frequency. We borrow those weighted metrics and ask whether the tabular finding reappears for diffusion synthesis in imaging. Rethinking Bias in Generative Data Augmentation for Medical AI removes high-frequency artifacts from synthetic images, raising Brain Tumor MRI AUC from 0.794 to 0.855. It states explicitly that it does not address semantic or attribute skew. We treat it as orthogonal and include it as an add-on control. We also test whether its real-data autoencoder, trained mostly on majority-group images, lowers subconcept coverage for minority cells.

Research Program

On each benchmark we train a latent diffusion model on the full training split, with conditioning on disease label and, where metadata exists, on the protected attribute. Label dropout is used during training so that classifier-free guidance can be applied at sampling time. Training on all classes lets rare cells borrow anatomy from common ones, which softens the pretraining problem that GAN-based Data Augmentation for Chest X-ray Classification and Red-GAN run into. We avoid starting from internet-scale models such as the SDXL used by Salient Concept-Aware Generative Data Augmentation, because they bring their own demographic priors. We will note this as a limitation rather than a tested condition.

We then sweep a grid of sampler settings, following the knobs identified by How I Met Your Bias: guidance scale, number of integration steps, and the amount and timing of fresh noise injection. We sweep under two conditioning modes. In the first, only the class is requested. In the second, class and attribute are requested jointly, targeting a balanced attribute ratio.

For every setting we compute the audit on 2,000 samples per rare cell. The attribute classifier's reading is corrected for its confusion matrix, estimated on held-out real data, so that $\hat p_{\text{synth}}$ is not distorted by classifier error. Subconcepts are defined by clustering real minority-cell images in a frozen self-supervised encoder. Coverage is scored as the divergence between cluster distributions plus the fraction of real clusters that receive no samples.

A downstream classifier is then trained on each augmented set under a fixed recipe. We ask two questions. Does audit score predict downstream disparity (rank correlation across settings)? And does selecting the setting by audit alone, without looking at downstream validation, recover most of the best achievable downstream fairness?

Baselines

The naive reference is standard training with no augmentation and no reweighting, calibrated with per-group out-of-fold thresholds. This shows how much any intervention buys.

The strongest discriminative competitor is the recipe from Fair Lung Disease Diagnosis from Chest CT. It combines focal loss with label smoothing, a weighted sampler over joint (class, sex) groups, out-of-fold threshold optimization, and a gradient-reversal head that strips sex information from features. On the PHAROS chest CT benchmark it reports a mean validation score of 0.685, which is the average of per-sex macro-F1 (female 0.691, male 0.679). Its squamous cell carcinoma F1 is 0.366. We rerun this recipe with the same backbone, folds, and tuning budget as every generative arm. On Fitzpatrick 17k and ISIC 2019 we port the same recipe. Beating it means a statistically reliable gain in worst-subgroup rare-class F1 or sensitivity across folds, with no loss in average-group score.

Alongside it we run the FBI-loss, a single-parameter cost-sensitive cross-entropy that upweights minority and attribute-mismatched samples. It reports parity with heavier fairness methods at 2x to 10x lower training cost, but it is defined only for binary tasks. We therefore apply it one-vs-rest to each rare target class and give its parameter the same search budget as the guidance grid.

On the dermatology benchmarks we include the multi-exit fairness network of Toward Fairness Through Fair Multi-Exit Framework. It reports ISIC 2019 equalized odds improving from 0.022 to 0.010, and a 7.5% relative gain in equal opportunity on Fitzpatrick 17k over FairPrune. For generative rebalancing on Fitzpatrick 17k subgroups, no reported result found on Lacuna.

The generative baselines include class-only diffusion at the default guidance commonly used, and jointly conditioned diffusion at that same default. Jointly conditioned diffusion is the strongest generative competitor. We add a rejection-filter variant of it, which discards samples the attribute classifier does not read as the requested attribute. We also add each of these followed by FreRec.

Two ablations isolate the key ingredient. The first selects the sampler setting by attribute ratio alone, without subconcept coverage. The second selects a setting at random from the grid. Every generative arm uses the same number of synthetic images per cell and the same downstream training budget.

Why not just…?

Why not just reweight the loss instead of generating anything? This is a real threat. Reweighting is cheap, and the FBI-loss reports parity with heavier methods. The best evidence against it is indirect: the full focal-loss, weighted-sampler, and adversarial recipe in Fair Lung Disease Diagnosis from Chest CT still leaves squamous cell carcinoma at F1 0.366. Reweighting 18 scans cannot show the model presentations it has never seen. If our audit-selected generation fails to beat the equally tuned reweighting recipe on worst-subgroup rare-class performance, we will report that generation is not worth its cost in this regime. That outcome is a useful result, not a failure to hide.

Why not just condition on the demographic attribute and ask for balanced samples? This is the most plausible competitor, and it is why joint conditioning is a baseline rather than a contribution. Conditioning fixes the requested ratio, not the rendered one. With 18 examples in the target cell, low guidance may produce images that do not actually carry the attribute, and high guidance may collapse onto one subtype. The effective theory of An Effective Theory of Bias Amplification predicts that disparity can persist even at a balanced ratio. The comparison with jointly conditioned default guidance, and with its rejection-filtered variant, settles whether the audit adds anything beyond conditioning.

Why not just lower the guidance scale, since high guidance is what amplifies? How I Met Your Bias does show de-amplification at low guidance. But in a rare conditional cell, low guidance also weakens the disease signal itself and pulls samples toward common classes, so a monotone "lower is fairer" rule should fail. The full guidance sweep tests this directly. If downstream disparity turns out to be monotone in guidance, the U-shape hypothesis is wrong, and the practical recommendation reduces to "use the lowest guidance that keeps class fidelity." We would state that plainly.

Why not just calibrate thresholds per group? Threshold calibration removed nearly all measured amplification on COCO in Directional Bias Amplification, so every arm here is calibrated before comparison. Calibration only moves the operating point along a fixed ROC curve, so the test is whether per-group AUC and weighted AUC differ between arms after calibration.

Why not just oversample the rare cell? Performance Estimation bias in Class Imbalance with Minority Subconcepts finds that oversampling widens subconcept gaps in tabular data. We include random oversampling as an arm to see whether the same holds in imaging, measured with subconcept-weighted metrics.

Proposed Experiments

The primary benchmarks are Fitzpatrick 17k, where the rare cells are skin types 5–6 within its less common conditions, and ISIC 2019, with sex as the attribute. The stress test is the PHAROS chest CT challenge, where the female squamous cell carcinoma cell has 18 scans. There, synthesis is done at the slice level and fed into the attention-based multiple-instance model. That model, from Fair Lung Disease Diagnosis from Chest CT, learns which slices of a 3D scan matter without slice-level labels. Fitzpatrick 17k has 3.6 times more images of skin types 1–2 than of types 5–6, according to Evaluating Deep Neural Networks Trained on Clinical Images in Dermatology With the Fitzpatrick 17k Dataset. Its dermatologist-verified subset of 312 images gives a small, clean check that attribute and subconcept labels are sound.

Downstream metrics are reported after per-group threshold calibration. They include per-subgroup sensitivity and F1 on rare classes, worst-group F1, the challenge's per-sex macro-F1 average, equalized odds, subconcept-weighted AUC and balanced accuracy, and directional task-to-attribute amplification.

Three results decide the proposal. First, under class-only conditioning, is the attribute amplification ratio reliably above 1 at default guidance on Fitzpatrick 17k and the CT benchmark? If it is not, the premise of Gap 1 is empty for these data. Second, across the sampler grid, does the combined audit score rank-correlate with downstream worst-group disparity? It must do so more strongly than the attribute ratio alone, or the subconcept component is unnecessary. Third, does the audit-selected setting, chosen without downstream labels, beat both jointly conditioned default guidance and the tuned reweighting recipe on worst-subgroup rare-class F1, at matched budget, across folds? A weak correlation or a loss to reweighting would falsify the claim that sampler-level auditing is the useful lever.