A common fix for shortcut learning is to generate synthetic examples of the cases a model rarely sees, for example a diffusion-generated waterbird standing on land, and mix them into the real training set. Shortcut learning means the model relies on an easy but non-causal cue such as the background instead of the bird. Practitioners then tune how much the synthetic data "counts" by giving it a loss weight. This proposal argues that, for large networks trained until they fit every training example, that weight is mostly illusory. Once every example is fit, the weighted gradients go to zero. The network then finds the easiest way to separate the synthetic minority examples, and that is often the generator's own artifacts. Real minority examples stay misclassified however the mixing weight is set.
The core claim is that synthetic counterfactuals help the real minority only to the extent that the network cannot tell them apart from real data. This can be measured and predicted before training. We will test it with a quantitative prediction about when loss weighting stops working, and with a margin-based loss that keeps per-(class, source) control even after the training loss reaches zero.
Core Claim
Three findings in the file point to one mechanism. What is the Effect of Importance Weighting in Deep Learning? and Training Over-parameterized Models with Non-decomposable Objectives show that importance weights stop shaping the final decision boundary once a network interpolates its training data. Overparameterization hurts worst-group accuracy with spurious correlations shows that a wide model then fits the majority with the low-noise spurious feature and memorizes the few minority exceptions. It calls this the "path of least memorization." From Fake to Real (FFR) observes that models trained jointly on real and Stable-Diffusion data latch onto the joint attribute of bias and source. It sidesteps the problem with a sequential pipeline: pretrain on synthetic data, then fine-tune on real data.
We claim FFR's failure case is the path of least memorization with one new feature, the "is synthetic" indicator. Generator artifacts are a nearly noise-free feature. An interpolating model therefore uses them to fit the synthetic minority cells instead of learning the core feature those cells were meant to teach.
This yields a sharp, falsifiable prediction. Thumb on the Scale proves for last-layer retraining that, with overparameterization ratio $\delta = d/n$ (feature dimension over sample count) and minority proportion $\pi_+$, no loss weight can balance per-class errors once $\delta > 2\pi_+$. We hypothesize that when synthetic minority examples are added, the relevant minority proportion is an effective one:
$$\pi_+^{\text{eff}} = \frac{n_+^{\text{real}} + \alpha \, n_+^{\text{syn}}}{n}.$$
Here $n_+^{\text{real}}$ and $n_+^{\text{syn}}$ are the real and synthetic minority counts, and $n$ is the total sample count. The term $\alpha \in [0,1]$ is a "transfer coefficient" measuring how indistinguishable synthetic minority features are from real minority features in the frozen representation. We will estimate it as one minus the excess accuracy of a linear real-vs-synthetic probe restricted to minority examples.
If $\alpha \approx 0$, as the near-100% source probes in A Mechanistic Analysis of Sim-and-Real Co-Training in Generative Robot Policies would suggest, synthetic data does not move the hard limit, and adding more of it is wasted. This extension of the Thumb on the Scale analysis to a two-source mixture is our hypothesis, not an established result. Deriving and checking it is part of the work.
Research Program
The program has three parts.
The first part is diagnostic. On real spurious-correlation benchmarks augmented with diffusion-generated minority counterfactuals, we train joint real-plus-synthetic models across a grid of network widths, synthetic loss weights, and training lengths. We record whether the synthetic weight affects real worst-group accuracy. The vanishing-weight account predicts a specific pattern: the weight matters in narrow or early-stopped models and becomes inert in wide models trained to zero loss. The account fails if the weight's effect persists at interpolation.
The second part is quantitative. In the last-layer regime, we fit linear heads on frozen features. Following Thumb on the Scale, we use PCA to estimate effective dimension, and we sweep the real minority fraction and the synthetic augmentation size. We then check whether the point where loss weighting stops balancing errors tracks $2\pi_+^{\text{eff}}$ rather than $2\pi_+^{\text{real}}$. To vary $\alpha$ deliberately, we use generators of different fidelity and partially strip artifacts with JPEG and resize normalization.
The third part is an intervention. Additive margin offsets per (class, source) cell are the logit-adjusted loss of Training Over-parameterized Models with Non-decomposable Objectives. Multiplicative logit scaling is the Vector-Scaling loss. On how to avoid exacerbating spurious correlations when models are overparameterized proves that multiplicative scaling still reshapes the max-margin solution when additive offsets wash out. That proof covers linear binary models at extreme dimension, so applying it to deep multi-class networks is an empirical bet.
Our intervention applies multiplicative scaling at the level of (class, source) cells. The logit for class $c$ on an example from source $s \in \{\text{real}, \text{syn}\}$ becomes $\Delta_{c,s} z_c + \iota_{c,s}$, where $z_c$ is the raw logit and $\Delta_{c,s}$, $\iota_{c,s}$ are per-cell scale and offset. The intended effect is that real minority cells keep a demanded margin after interpolation, while synthetic cells cannot be fit cheaply through an artifact direction. The method needs source labels, which are free, and class labels. It needs group labels only on a small real validation set for tuning, the same requirement as Just Train Twice and SELF.
This work differs from three neighbors. FFR keeps sources temporally separate and never analyzes why joint training fails or whether its own real-data fine-tuning stage suffers from vanishing weights. We keep joint training and target the margin dynamics directly. The robot co-training paper argues that domain discernibility is necessary and that reweighting is secondary to representation geometry. We take the opposite side of that tension for classification. Discernibility is exactly what prevents synthetic counterfactuals from counting, and we expect the answer to depend on whether the task needs domain-specific outputs; robot actions do and class labels do not. Malign Overfitting proves that interpolating linear classifiers must use spurious features. That result constrains us: we do not expect any loss alone to buy full invariance at interpolation, only to move worst-group error. Its two-stage environment-combination method is a natural comparison.
Baselines
The naive reference is ERM on real data only, and ERM on the unweighted real-plus-synthetic mixture. Both use the same ResNet backbone, the same augmentation, and training to zero loss. They anchor the scale of the problem. Distributionally Robust Neural Networks reports ERM worst-group accuracy of 60.0% on Waterbirds and 41.1% on CelebA. FFR reports 38.5% on SpuCo Animals.
The strongest synthetic-data competitor is FFR itself, run with our generator outputs and our real splits so the synthetic pool is identical. FFR reports 72.6% worst-group accuracy on SpuCo Animals. No standalone FFR number on UTK-Face or CelebA-HQ was found on Lacuna. On SpuCo Animals, beating FFR means exceeding its worst-group accuracy under our reproduction with the same synthetic budget and the same validation tuning budget. On the other datasets we compare against our own reproduction.
The strongest group-robustness competitor is Group DRO with heavy weight decay and group adjustments, applied to the six or eight (class, bias, source) cells. It reports 90.5% worst-group accuracy on Waterbirds and 86.7% on CelebA. Last-layer reweighting (DFR) reports 92.55% on Waterbirds in Is Last Layer Re-Training Truly Sufficient for Robustness to Spurious Correlations?. Both get the same hyperparameter search budget as our method, counted in configurations tried against the real worst-group validation set.
Majority subsampling is the data-hungry competitor. Overparameterization hurts worst-group accuracy reports 15.1% worst-group error on CelebA using 3.4% of the data. JTT and Malign Overfitting's environment-combination method are the label-light competitors.
The ablations isolate the key ingredient in four steps. The first is a plain per-cell loss weight with no logit scaling, predicted to be inert at interpolation. The second is additive per-cell offsets alone, predicted to wash out. The third is multiplicative scaling with source ignored, which tests whether the source dimension matters. The fourth is the full method with early stopping instead of training to zero loss, which tests whether the gain comes from margin control or from simply not interpolating.
Why not just…?
Why not just use FFR's sequential pipeline? It works, and it is the bar to beat. But its second stage is ordinary fine-tuning on biased real data. If that stage reaches zero loss, the vanishing-weight and memorization arguments apply to it as well. FFR also needs a fully balanced synthetic set, which is hard when biases are sparse or unknown, as Towards Real World Debiasing argues. Our width sweep runs on FFR too. If FFR's advantage disappears as models widen and train longer, the sequential trick is not a durable fix. If it holds, FFR is the right answer, and our contribution narrows to the diagnosis.
Why not just run Group DRO with heavy weight decay on (class, bias, source) cells? This is the real threat. Source labels are free, so the group-annotation objection does not apply to the source dimension. Training-group bias labels are still needed, though, which our method does not require. We will run this baseline at full strength. If it matches the scaled loss, the defensible conclusion is that preventing interpolation and keeping margins are interchangeable here. The diagnostic and threshold findings would still stand, and we would report it that way.
Why not just subsample, or retrain the last layer? Subsampling discards most of the data. On CelebA it keeps 3.4% of the training set, which defeats the purpose of generating synthetic data. Last-layer retraining inherits both the hard limit of Thumb on the Scale and the mixed-neuron ceiling reported for DFR. Our threshold experiment tests directly whether synthetic data relaxes that limit, so the experiment shows exactly when last-layer retraining with synthetic augmentation is enough.
Decisive Experiments
The main suite uses Waterbirds, CelebA, SpuCo Animals, and UTK-Face, each with Stable Diffusion minority counterfactuals generated as in FFR. A secondary sim-to-real check uses VisDA-C (VisDA): a small labeled slice of real COCO images joins the full CAD-rendering source, and we ask whether the sim:real mixing weight is inert at interpolation. The VisDA challenge figures (28% unadapted, 92.8% for the winning method) come from unsupervised adaptation with no real labels, so they are context, not a comparable baseline. All metrics are reported on real test data: worst-group accuracy, average accuracy, the source-probe estimate of $\alpha$, and PCA effective dimension.
Four checks decide the outcome.
The first check is the width-by-weight grid. It must show the synthetic weight's effect collapsing at interpolation in wide models. If the effect persists, the mechanism is wrong.
The second check concerns the last-layer threshold. The point where weighting fails must move with $\pi_+^{\text{eff}}$, and $\alpha$ must be the variable doing the work. Raising generator fidelity, or normalizing away artifacts to lower probe accuracy, should push the threshold outward. If the threshold ignores $\alpha$, the counting hypothesis fails.
The third check isolates the intervention. Source-aware multiplicative scaling must beat plain weighting and additive offsets at zero training loss. It must also at least match FFR on SpuCo Animals (72.6% reported) with the same synthetic pool.
The fourth check is the head-to-head against Group DRO with weight decay. This comparison determines whether margin control adds anything beyond avoiding interpolation.
References
- What is the Effect of Importance Weighting in Deep Learning?
- Training Over-parameterized Models with Non-decomposable Objectives
- Overparameterization hurts worst-group accuracy with spurious correlations
- From Fake to Real: Pretraining on Balanced Synthetic Images to Prevent Spurious Correlations in Image Recognition
- Thumb on the Scale: Optimal Loss Weighting in Last Layer Retraining
- A Mechanistic Analysis of Sim-and-Real Co-Training in Generative Robot Policies
- On how to avoid exacerbating spurious correlations when models are overparameterized
- Just Train Twice: Improving Group Robustness without Training Group Information
- Towards Last-layer Retraining for Group Robustness with Fewer Annotations
- Malign Overfitting: Interpolation and Invariance are Fundamentally at Odds
- Distributionally Robust Neural Networks
- Is Last Layer Re-Training Truly Sufficient for Robustness to Spurious Correlations?
- Towards Real World Debiasing: A Fine-grained Analysis On Spurious Correlation
- VisDA: The Visual Domain Adaptation Challenge