Predicting Which Classes Data Augmentation Will Harm Before Training
The same augmentation can help one class and harm another. Measurements on road-damage detection (dacl10k) show the pattern clearly: contrast augmentation improves Crack and Hollowareas, while degrading Rust, Efflorescence, Graffiti, Weathering, Restformwork and ExposedRebars — consistently, across all three seeds.
That raises a practical question: which classes will an augmentation harm, and can that be known before spending the training budget to find out? The mechanism behind the harm is published. The open question is whether the harmed classes can be predicted from the data alone, with no training.
Augmentation is not class-neutral
The effect was first documented by Balestriero, Bottou and LeCun (2022). Take a ResNet-50 on ImageNet, introduce random-crop augmentation, and one class — "barn spider" — falls from 68% to 46% accuracy. The same augmentation, the same model, the same training run, and one class loses more than twenty points while the average accuracy goes up.
Kirichenko et al. (NeurIPS 2023) measured the same effect systematically. The left panel of their Figure 1 shows average accuracy against Random Resized Crop strength: the overall average rises, while the average of the 50 most-affected classes falls. The damage is concentrated, not spread evenly.
The mechanism: invasion
Kirichenko et al. (NeurIPS 2023) identified the mechanism. Data augmentation creates overlap between the distributions of different classes. The example in the paper: take a "car" image and crop it hard, and the result looks like a typical "wheel" image. The model sees enough cropped cars during training that it learns to predict "car" on wheel images — and "wheel" accuracy drops.
The direction of the harm matters. The harmed class is the one being invaded — the class whose territory the augmented samples wander into. The donor class, whose augmented samples do the invading, is unaffected. As a result, the direct fix fails: turning augmentation down on the harmed classes does not address the problem. The augmentation must be turned down on the donor classes, whose augmented samples cause the confusion.
Kirichenko et al. demonstrated this with a donor-class policy: reduce augmentation strength on the classes whose false positives grew the most with stronger augmentation. With the top 50 donors treated, affected-class accuracy improved by 2.5% at a cost of 0.1% average accuracy.
The cost of the fix
The donor-class policy requires an oracle. To identify the donor classes, models must be trained at every augmentation strength — 10 seeds per strength, 88 epochs each — and the confusions measured from the trained models. That is about 5,000 GPU hours of training, solely to decide which classes to treat. In practice, that cost makes the policy unusable.
Other approaches have the same structure. CLAM (Jiang, Weng & Ban, 2025) reweights classes during training, acting on measured per-class performance. Every existing approach diagnoses the harm after training, or during it. None predicts it before training starts.
The proposal: measure the overlap before training
The mechanism described by Kirichenko et al. concerns the data: augmented samples from one class landing in another class's territory. If that overlap is a property of the data and the augmentation, rather than something training creates, it should be measurable without training anything at all.
The proposal is as follows:
- Take a frozen, ImageNet-pre-trained ResNet-50. Nothing is trained on the task.
- Pass clean samples and randomly-cropped samples through it, and build a feature cloud for each class in both versions.
- For each class, measure how much other classes' augmented clouds overlap its clean cloud. Classes whose clean cloud is invaded are predicted to be the harmed ones. Reading the score the other way gives the predicted donor ranking.
- Compare the predicted ranking against Kirichenko et al.'s published per-class accuracy drops — their 50 most-affected classes, and their false-positive ranking.
Evaluation criteria, stated before any result
This is a proposal, not a result: no results exist yet. The evaluation criteria are fixed in advance:
- Spearman correlation of 0.5 or more between the predicted harm ranking and the paper's measured per-class drops, together with good precision@50 against their 50 most-affected classes. That is the score working.
- Below 0.3, the proposal fails. Frozen features would not capture what the trained model learns, and the overlap mechanism could not be measured before training.
- The score must beat three cheap baselines: overlap of the clean clouds (plain class similarity), a WordNet-distance proxy for ambiguous classes, and a random ranking. If augmented overlap adds nothing over clean overlap, the claim is not about augmentation at all — it is only that similar classes confuse each other, which the paper already establishes.
The controls are the point of the design. The claim is that the augmentation-induced part of the overlap is the predictor, not class similarity in general. If the score only reproduces the ambiguous, multi-label classes and fails on the fine-grained confusions, it adds nothing where the mechanism matters.
Scope and limitations
The honest limitation is stated in the design. Frozen features may not reflect what a trained model learns. Training reshapes the feature space, so the overlap a frozen extractor sees may correlate weakly with the overlap the trained model acts on. A weak correlation would still be an informative negative result: it would show that the overlap mechanism is something training creates, not a property of the data that can be measured in advance. Either outcome answers the question, and the test is cheap — feature extraction on a frozen checkpoint, hours of GPU time at most.
The same test also ports beyond ImageNet classification. The class-dependence pattern appears in object detection as well: the dacl10k measurement cited above shows contrast augmentation helping some damage classes and harming others. Applied to detection data, the same procedure would use per-object crops instead of per-image ones.
Discussion prompt for readers: Has augmentation ever improved an average metric while quietly harming one class? How was it found — and was the augmentation kept anyway?



Top comments (0)