Pith. sign in

REVIEW 4 major objections 5 minor 28 references

Focusing Image Generation to Mitigate Spurious Correlations

T0 review · 4 major / 5 minor · reviewed 2026-08-11 · deepseek-v4-flash

Pith's one-line read A group-label-free data augmentation method, SCGS, uses misclassification-guided image synthesis to reduce classifiers' reliance on spurious background cues, improving worst-group accuracy by 9.1-13.1 points over standard training on…

desk verdict Plausible group-label-free augmentation with real benchmark gains, but the mechanism is untested: no random-mask control, no generated-image verification. read the letter →

arxiv 2412.19457 v1 pith:3Z6OUGZI submitted 2024-12-27 cs.CV

classification cs.CV
keywords spuriouscorrelationsdataaugmentationimagegenerationStableDiffusionGrad-CAM++worst-groupaccuracygroup-label-freedebiasingclassification
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

The paper proposes SCGS, a data-augmentation method that weakens a classifier's reliance on spurious correlations without needing group labels. It first trains a standard classifier, collects the training images it misclassifies, and clusters them by the type of background attribute that likely caused the error. It then extracts masks from the misclassified examples using Grad-CAM++ and asks Stable Diffusion to redraw the masked background regions while keeping the foreground object and the true label. The new images are added to the training set so that rare but informative combinations, such as a dog on a bed, become more common. On MetaShift, Waterbirds, and CelebA, SCGS raises worst-group accuracy over standard training by 13.1, 9.1, and 9.7 percentage points, and combined with JTT it exceeds comparison methods on MetaShift by 4.9 points.

What carries the argument

The central object is the binary mask produced from a Grad-CAM++ class activation map over the classifier's wrong prediction. The mask's white regions mark the spurious background cues the biased model relied on, and its black regions are exactly what Stable Diffusion is asked to redraw, with the true class label as the text prompt. K-means clustering of the misclassified images and Gaussian sampling decide which images enter this pipeline, so different spurious attributes within a class are represented without generating the entire misclassified set. The mask is what turns an ordinary generative model into a targeted debiasing tool: it fixes what to preserve, what to change, and what semantic content the new image should have.

What would settle it

Generate SCGS's new images for a small test split and have annotators check two things: whether the true object and label survive the edit, and whether the masked background was actually replaced; if a random sample reveals many examples with missing objects or unchanged spurious backgrounds, the reported worst-group gains cannot be attributed to the proposed mask-and-repaint mechanism.

Watch

Extended reading notes

Core claim

The paper claims that a classifier's reliance on spurious correlations can be weakened by synthesizing the very image combinations the classifier gets wrong. SCGS runs a standard ERM model on the training set, collects the misclassified images, clusters them per class, and samples a Gaussian-distributed subset. For each sampled image it computes a Grad-CAM++ map over the model's incorrect prediction and thresholds it into a binary mask marking the high-contribution background regions; Stable Diffusion then regenerates the masked-out areas while keeping the object and true label. These new images are added to the training set and the classifier is retrained. The paper reports worst-group accuracy gains over ERM of 13.1 points on MetaShift, 9.1 points on Waterbirds, and 9.7 points on CelebA, and a 4.9-point gain when SCGS is combined with JTT on MetaShift.

Load-bearing premise

The method assumes that the attention mask taken from a wrong prediction pinpoints exactly the spurious background, and that the generative model redraws that region while preserving the object and the label, so the synthesized images enlarge the dataset with correct, bias-breaking examples rather than noise.

Editorial extensions

If this is right

  • Because SCGS needs no group labels or concept bank, it can be applied to datasets where the spurious attributes are unknown or too costly to annotate.
  • SCGS can be wrapped around existing debiasing methods; on MetaShift, JTT+SCGS beats comparison methods by 4.9 points in worst-group accuracy.
  • Retrained models show Grad-CAM++ attention moving from background to the instance, indicating the augmentation changes what the classifier uses for prediction.
  • The gains replicate across three domains—cats/dogs, birds, and faces—so the mechanism is not tuned to a single image type.
  • The authors note gains shrink on very large datasets, so the method's benefit depends on dataset scale.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • A direct control the paper leaves implicit is regenerating the same number of images without masks; if that control matched SCGS's worst-group gains, the Grad-CAM++ mask would not be the operative ingredient.
  • SCGS inherits the failure modes of the base classifier: if a spurious attribute is so dominant that the ERM model's misclassified set is small or homogeneous, clustering and Gaussian sampling may under-represent rare sub-shortcuts, capping the benefit.
  • Because the pipeline is label-conditioned diffusion, its ceiling should rise as generators render rare object-context combinations more faithfully; the method may also transfer to segmentation or multi-label tasks if the prompt encodes all present labels.
Share X Bluesky LinkedIn Reddit HN

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

4 major / 5 minor

Summary. The paper proposes SCGS, a data augmentation method that uses Stable Diffusion to generate new training images aimed at reducing a classifier's reliance on spurious correlations, without requiring group labels. The method first trains an ERM model, identifies misclassified training images, clusters and samples them, computes Grad-CAM++ masks from the incorrect prediction, preserves the high-attention (putatively spurious) regions, and regenerates the remaining regions conditioned on the true class label. The augmented data are added to the training set and used to retrain the classifier. Experiments on MetaShift, Waterbirds, and CelebA report improved worst-group accuracy over ERM and competitive performance when combined with JTT.

Significance. If the reported results hold, SCGS is a practical, group-label-free augmentation approach that improves worst-group accuracy on standard benchmarks, and the paper includes error bars and comparisons with several strong baselines. The method is simple and could be combined with existing debiasing methods. However, the paper does not yet establish that the spurious-attention guidance is causally responsible for the gains, and reproducibility details on generation and clustering are incomplete.

major comments (4)
  1. [Section III.B, Table II] The ablation in Table II compares Grad-CAM++ masks only to Grad-CAM masks and to maskless img2img; it does not include a control with random masks of matched size and location. Without such a control, the reported worst-group gains cannot be attributed to the spurious-correlation guidance: they could arise from generic masked inpainting or added data diversity. This control is load-bearing for the paper's central claim that the incorrect-attention masks are what make the method effective.
  2. [Section II.E and Section III.A] The Stable Diffusion configuration is not reported (model checkpoint, prompt template, guidance scale, number of steps, inpainting strength, seed), nor are any generated-image examples shown or any automatic or human verification that the generated images preserve the class label and are semantically plausible. Since the entire pipeline rests on the quality of the generated training data, the manuscript should provide these details and at least a label-accuracy check of the synthetic images.
  3. [Section II.C] The clustering and sampling procedure is under-specified: the feature extractor used for k-means is not stated, and Eq. (3) gives a Gaussian density but not how it is used to select a fixed 20% of misclassified images per class across clusters (e.g., by ranking within clusters or by sampling from the density). The manuscript should specify the feature source and the exact sampling protocol to make the method reproducible.
  4. [Section III.A] The number of clusters K, sampled fraction, generation ratio, and mask threshold are fixed ad hoc with no sensitivity analysis; since these parameters directly control the augmentation, a small study on at least one dataset would strengthen the claim that the gains are not an artifact of specific settings.
minor comments (5)
  1. [Section II.D, Eq. (5)] The notation H(x) = Grad − CAM(...) is inconsistent with the text, which says Grad-CAM++ is used; please correct this to avoid confusion.
  2. [Section III.A] The mask threshold is described only as 'red and orange regions', which is not an objective criterion; please report the numeric threshold or the heatmap percentile used to define the mask.
  3. [Table I and text] The dataset name is misspelled as 'Metashift' in the table header and in several places in the text; it should be 'MetaShift'.
  4. [References] Reference [21] contains a typo: 'CLIP []]' should be 'CLIP]' or similar.
  5. [Section II.C, Eq. (4)] The symbol D_i(k)_sam is used in Eq. (4) but has not been defined in the text; please define it explicitly.

Circularity Check

0 steps flagged · score 0.0 of 10

No significant circularity: SCGS's training-time augmentation pipeline is evaluated on held-out test data, and no step reduces to its own input.

full rationale

SCGS's pipeline is a training-time augmentation: train an ERM model, collect its misclassified training images, cluster and sample them, compute Grad-CAM++ masks from the ERM's incorrect prediction, inpaint those regions with Stable Diffusion using the true label, add the generated images to the training set, and retrain. None of these steps defines the target quantity (worst-group test accuracy) in terms of itself. The masks are derived from a pre-trained ERM's incorrect attention, but that is an input signal to the augmentation, not the evaluation metric; the reported worst-group accuracies are measured on held-out test splits of MetaShift, Waterbirds, and CelebA and are not constrained to equal the training-set misclassification statistics. No parameter is fitted so as to force a particular test result; cluster counts and sampling ratios are stated as fixed hyperparameters. The paper cites external methods (Grad-CAM++, Stable Diffusion, JTT, Group DRO) and contains no self-citations that carry the argument, no imported uniqueness theorem, and no renamed known result. The skeptic's point about a missing random-mask control would test whether the mask's spatial content is causally responsible for the gains, but that is an experimental-control concern, not a circularity under the definitional-equivalence standard. No equation in the paper reduces to an input by construction, and no fitted parameter is renamed as a prediction. Under the requested standard, no circular step is present.

Assumptions & free parameters 4 free parameters · 4 assumptions · 0 invented entities

The method introduces several hand-chosen hyperparameters and relies on domain assumptions about the reliability of misclassification signals, CAM localization, and generative image quality. No new physical or conceptual entities are posited.

free parameters (4)
  • Number of clusters K = 4 (MetaShift), 2 (Waterbirds, CelebA)
    Chosen per dataset by hand; controls granularity of spurious-attribute grouping.
  • Sampled misclassified fraction = 20%
    Images sampled per cluster via Gaussian probability; fraction set to 20% without sensitivity analysis.
  • Generation ratio = 40% (MetaShift, Waterbirds), 20% (CelebA)
    Number of generated images per class relative to other-class size; tuned per dataset, lower for large CelebA.
  • Mask threshold (red/orange regions) = unquantified
    High-contribution regions from Grad-CAM++ are thresholded by color, but the exact threshold value is not stated.
assumptions (4)
  • domain assumption Misclassified images under ERM are predominantly caused by spurious correlations, not label noise or other biases.
    The entire method depends on selecting images that ERM gets wrong and attributing those errors to spurious attributes (Section II.C).
  • domain assumption Grad-CAM++ maps using the incorrect predicted class localize the spurious attribute regions.
    The paper assumes the high-gradient regions correspond to the spurious features driving the wrong prediction (Section II.D).
  • domain assumption Stable Diffusion can faithfully render the preserved instance with a new background while keeping the class identity.
    Generated images are added as training data; if they are mislabeled or unrealistic, training would be hurt (Section II.E).
  • domain assumption Clustering in feature space groups images by the type of spurious attribute.
    K-means on feature vectors is assumed to separate distinct spurious correlations (Section II.C).

how reviews work

0 comments
Cite this review

Pith. "Pith review of Focusing Image Generation to Mitigate Spurious Correlations." pith.science (2026). https://pith.science/paper/3Z6OUGZI

@misc{pith2026241219457,
  author       = {Pith},
  title        = {Pith review of: Focusing Image Generation to Mitigate Spurious Correlations},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/3Z6OUGZI}},
  note         = {Machine review of arXiv:2412.19457}
}
read the original abstract

Instance features in images exhibit spurious correlations with background features, affecting the training process of deep neural classifiers. This leads to insufficient attention to instance features by the classifier, resulting in erroneous classification outcomes. In this paper, we propose a data augmentation method called Spurious Correlations Guided Synthesis (SCGS) that mitigates spurious correlations through image generation model. This approach does not require expensive spurious attribute (group) labels for the training data and can be widely applied to other debiasing methods. Specifically, SCGS first identifies the incorrect attention regions of a pre-trained classifier on the training images, and then uses an image generation model to generate new training data based on these incorrect attended regions. SCGS increases the diversity and scale of the dataset to reduce the impact of spurious correlations on classifiers. Changes in the classifier's attention regions and experimental results on three different domain datasets demonstrate that this method is effective in reducing the classifier's reliance on spurious correlations.

Figures

Figures reproduced from arXiv: 2412.19457 by the authors.

Figure 1
Figure 1. (a) Existing DISC [6] method generates new images based on a [PITH_FULL_IMAGE:figures/full_fig_p001_1.png] view at source ↗
Figure 2
Figure 2. Overview of our SCGS. It considers that each element on the gradient map contributes differently, so an additional weight is applied to the elements on the gradient map to achieve more accurate localization. The process of obtaining the class activation maps can be represented as: H (x) = Grad − CAM (x, fθ (x), θ) where fθ (x) ̸= y,(x, y) ∈ Dsam (5) For the sample image x, the prediction result from ERM model differ… view at source ↗
Figure 3
Figure 3. Grad-CAM++ comparison of ERM and SCGS. improves worst-group accuracy (by 13.1%, 9.1%, and 9.7% for each dataset), while also enhancing average accuracy on Metashift and Waterbirds (by 5.8% and 3.5%). For the JTT+SCGS model, compared to the JTT model, there are notable improvements in worst-group accuracy across datasets (by 12.2%, 1.9%, and 1%). These results clearly demonstrate that SCGS has excellent debiasing cap… view at source ↗

Discussion (0). Continue with ORCID to comment.

Reference graph

Works this paper leans on

28 extracted references · 19 canonical work pages

  1. [1]

    Learning de-biased representations with biased representations,

    H. Bahng, S. Chun, S. Yun, J. Choo, and S. J. Oh, “Learning de-biased representations with biased representations,” in International Conference on Machine Learning . PMLR, 2020, pp. 528–539

  2. [3]

    Spuriousness-aware meta- learning for learning robust classifiers,

    G. Zheng, W. Ye, and A. Zhang, “Spuriousness-aware meta- learning for learning robust classifiers,” in Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, ser. KDD ’24. New York, NY , USA: Association for Computing Machinery, 2024, p. 4524–4535. [Online]. Available: https://doi.org/10.1145/3637528.3672006

  3. [4]

    Spurious correlations in machine learning: A survey,

    W. Ye, G. Zheng, X. Cao, Y . Ma, X. Hu, and A. Zhang, “Spurious correlations in machine learning: A survey,” CoRR, vol. abs/2402.12715,

  4. [5]

    Towards accuracy-fairness paradox: Adversarial example-based data augmentation for visual debiasing,

    Y . Zhang and J. Sang, “Towards accuracy-fairness paradox: Adversarial example-based data augmentation for visual debiasing,” in Proceedings of the 28th ACM International Conference on Multimedia , ser. MM ’20. New York, NY , USA: Association for Computing Machinery, 2020, p. 4346–4354. [Online]. Available: https://doi.org/10.1145/3394171. 3413772

  5. [6]

    Discover and cure: Concept-aware mitigation of spurious correlation,

    S. Wu, M. Yuksekgonul, L. Zhang, and J. Zou, “Discover and cure: Concept-aware mitigation of spurious correlation,” in Proceedings of the 40th International Conference on Machine Learning , ser. Proceedings of Machine Learning Research, A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett, Eds., vol. 202. PMLR, 23–29 Jul 2023, pp. 37...

  6. [7]

    High- resolution image synthesis with latent diffusion models,

    R. Rombach, A. Blattmann, D. Lorenz, P. Esser, and B. Ommer, “High- resolution image synthesis with latent diffusion models,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recogni- tion (CVPR) , June 2022, pp. 10 684–10 695

  7. [8]

    Learning not to learn: Training deep neural networks with biased data,

    B. Kim, H. Kim, K. Kim, S. Kim, and J. Kim, “Learning not to learn: Training deep neural networks with biased data,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), June 2019

  8. [9]

    Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization,

    S. Sagawa, P. W. Koh, T. B. Hashimoto, and P. Liang, “Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization,” 2020. [Online]. Available: https://arxiv.org/abs/1911.08731

Show all 28 references
  1. [10]

    Semanticadv: Gen- erating adversarial examples via attribute-conditioned image editing,

    H. Qiu, C. Xiao, L. Yang, X. Yan, H. Lee, and B. Li, “Semanticadv: Gen- erating adversarial examples via attribute-conditioned image editing,” in Computer Vision – ECCV 2020 , A. Vedaldi, H. Bischof, T. Brox, and J.-M. Frahm, Eds. Cham: Springer International Publishing, 2020,...

  2. [11]

    Last layer re-training is sufficient for robustness to spurious correlations,

    P. Kirichenko, P. Izmailov, and A. G. Wilson, “Last layer re-training is sufficient for robustness to spurious correlations,” ArXiv, vol. abs/2204.02937, 2022. [Online]. Available: https://api.semanticscholar. org/CorpusID:247996741

  3. [12]

    Environment inference for invariant learning,

    E. Creager, J.-H. Jacobsen, and R. Zemel, “Environment inference for invariant learning,” in Proceedings of the 38th International Conference on Machine Learning , ser. Proceedings of Machine Learning Research, M. Meila and T. Zhang, Eds., vol. 139. PMLR, 18–24 Jul 2021, pp. 2189–2200

  4. [13]

    Just train twice: Improving group robustness without training group information,

    E. Z. Liu, B. Haghgoo, A. S. Chen, A. Raghunathan, P. W. Koh, S. Sagawa, P. Liang, and C. Finn, “Just train twice: Improving group robustness without training group information,” in Proceedings of the 38th International Conference on Machine Learning , ser. Proceedings of Mach...

  5. [14]

    Learning debiased representation via disentangled feature augmentation,

    J. Lee, E. Kim, J. Lee, J. Lee, and J. Choo, “Learning debiased representation via disentangled feature augmentation,” in Advances in Neural Information Processing Systems , M. Ranzato, A. Beygelzimer, Y . Dauphin, P. Liang, and J. W. Vaughan, Eds., vol. 34. Curran Associates,...

  6. [15]

    Learning deep features for discriminative localization,

    B. Zhou, A. Khosla, A. Lapedriza, A. Oliva, and A. Torralba, “Learning deep features for discriminative localization,” inProceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , June 2016

  7. [16]

    Metashift: A dataset of datasets for evaluating contextual distribution shifts and training conflicts,

    W. Liang and J. Zou, “Metashift: A dataset of datasets for evaluating contextual distribution shifts and training conflicts,” in International Conference on Learning Representations , 2022. [Online]. Available: https://openreview.net/forum?id=MTex8qKavoS

  8. [17]

    Deep learning face attributes in the wild,

    Z. Liu, P. Luo, X. Wang, and X. Tang, “Deep learning face attributes in the wild,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV) , December 2015

  9. [18]

    Grad-cam++: Generalized gradient-based visual explanations for deep convolutional networks,

    A. Chattopadhay, A. Sarkar, P. Howlader, and V . N. Balasubramanian, “Grad-cam++: Generalized gradient-based visual explanations for deep convolutional networks,” in 2018 IEEE Winter Conference on Applica- tions of Computer Vision (WACV) , 2018, pp. 839–847

  10. [19]

    Some methods for classification and analysis of multi- variate observations,

    J. Macqueen, “Some methods for classification and analysis of multi- variate observations,” in Proceedings of 5-th Berkeley Symposium on Mathematical Statistics and Probability/University of California Press , 1967

  11. [20]

    Grad-cam: Visual explanations from deep networks via gradient-based localization,

    R. R. Selvaraju, M. Cogswell, A. Das, R. Vedantam, D. Parikh, and D. Batra, “Grad-cam: Visual explanations from deep networks via gradient-based localization,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV) , Oct 2017

  12. [21]

    Learning transferable visual models from natural language supervi- sion,

    A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever, “Learning transferable visual models from natural language supervi- sion,” in Proceedings of the 38th International Conference on Machine...

  13. [22]

    U-net: Convolutional networks for biomedical image segmentation,

    O. Ronneberger, P. Fischer, and T. Brox, “U-net: Convolutional networks for biomedical image segmentation,” in Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015 , N. Navab, J. Horneg- ger, W. M. Wells, and A. F. Frangi, Eds. Cham: Springer International ...

  14. [23]

    Improving out-of-distribution robustness via selective augmentation,

    H. Yao, Y . Wang, S. Li, L. Zhang, W. Liang, J. Zou, and C. Finn, “Improving out-of-distribution robustness via selective augmentation,” in Proceedings of the 39th International Conference on Machine Learn- ing, ser. Proceedings of Machine Learning Research, K. Chaudhuri, S. J...

  15. [24]

    Learning from failure: De-biasing classifier from biased classifier,

    J. Nam, H. Cha, S. Ahn, J. Lee, and J. Shin, “Learning from failure: De-biasing classifier from biased classifier,” in Advances in Neural Information Processing Systems , H. Larochelle, M. Ranzato, R. Hadsell, M. Balcan, and H. Lin, Eds., vol. 33. Curran Associates, Inc., 2020...

  16. [25]

    Masktune: Mitigating spurious correlations by forc- ing to explore,

    S. Asgari, A. Khani, F. Khani, A. Gholami, L. Tran, A. Mahdavi Amiri, and G. Hamarneh, “Masktune: Mitigating spurious correlations by forc- ing to explore,” in Advances in Neural Information Processing Systems , S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh...

  17. [26]

    Deep residual learning for image recognition,

    K. He, X. Zhang, S. Ren, and J. Sun, “Deep residual learning for image recognition,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) , June 2016

  18. [139]

    6781–6792

    PMLR, 18–24 Jul 2021, pp. 6781–6792. [Online]. Available: https://proceedings.mlr.press/v139/liu21f.html

  19. [162]

    25 407–25 437

    PMLR, 17–23 Jul 2022, pp. 25 407–25 437

  20. [2024]

    Available: https://doi.org/10.48550/arXiv.2402.12715

    [Online]. Available: https://doi.org/10.48550/arXiv.2402.12715

Pith tools

Reviewed August 11, 2026 · model on record in the stance chip above.