Lune

ICLR2023Top-tier venue

Avoiding spurious correlations via logit correction

Sheng Liu, Xu Zhang, Nitesh Sekhar, Yue Wu, Prateek Singhal, Carlos Fernandez-Granda

Abstract

Empirical studies suggest that machine learning models trained with empirical risk minimization (ERM) often rely on attributes that may be spuriously correlated with the class labels. Such models typically lead to poor performance during inference for data lacking such correlations. In this work, we explicitly consider a situation where potential spurious correlations are present in the majority of training data. In contrast with existing approaches, which use the ERM model outputs to detect the samples without spurious correlations and either heuristically upweight or upsample those samples, we propose the logit correction (LC) loss, a simple yet effective improvement on the softmax cross-entropy loss, to correct the sample logit. We demonstrate that minimizing the LC loss is equivalent to maximizing the group-balanced accuracy, so the proposed LC could mitigate the negative impacts of spurious correlations. Our extensive experimental results further reveal that the proposed LC loss outperforms state-of-the-art solutions on multiple popular benchmarks by a large margin, an average 5.5% absolute improvement, without access to spurious attribute labels. LC is also competitive with oracle methods that make use of the attribute labels. † Code is available at https://github.com/shengliu66/LC .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DeNetDM: Debiasing by Network Depth Modulation cites Just Train Twice: Improving Group Robustness without Training Group Information
  • Complexity Matters: Feature Learning in the Presence of Spurious Correlations cites An Investigation of Why Overparameterization Exacerbates Spurious Correlations
  • Complexity Matters: Feature Learning in the Presence of Spurious Correlations cites Just Train Twice: Improving Group Robustness without Training Group Information
  • Just Train Twice: Improving Group Robustness without Training Group Information cites An Investigation of Why Overparameterization Exacerbates Spurious Correlations
  • Group Robust Classification Without Any Group Information cites An Investigation of Why Overparameterization Exacerbates Spurious Correlations
  • Group Robust Classification Without Any Group Information cites Long-tail learning via logit adjustment
  • Group Robust Classification Without Any Group Information cites Just Train Twice: Improving Group Robustness without Training Group Information
  • Group Robust Classification Without Any Group Information cites Distributionally Robust Neural Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Group Robust Classification Without Any Group InformationChristos Tsirigotis, João Monteiro, Pau Rodríguez, David Vázquez et al.NeurIPS 2023 · 34 citations
  2. Visual Multi-Agent System: Mitigating Hallucination Snowballing via Visual FlowXinlei Yu, Chengming Xu, Guibin Zhang, Yongbo He et al.ICLR 2026 · 15 citations
  3. Amend to Alignment: Decoupled Prompt Tuning for Mitigating Spurious Correlation in Vision-Language ModelsJie Zhang, Xiaosong Ma, Song Guo, Peng Li et al.ICML 2024 · 10 citations
  4. Complexity Matters: Feature Learning in the Presence of Spurious CorrelationsGuanwen Qiu, Da Kuang, Surbhi GoelICML 2024 · 10 citations
  5. DeNetDM: Debiasing by Network Depth ModulationSilpa Vadakkeeveetil Sreelatha, Adarsh Kappiyath, Abhra Chaudhuri, Anjan DuttaNeurIPS 2024 · 8 citations

Builds on20

  1. Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 citations
  2. Long-tail learning via logit adjustmentAditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain et al.ICLR 2021 · 937 citations
  3. Early-Learning Regularization Prevents Memorization of Noisy LabelsSheng Liu, Jonathan Niles-Weed, Narges Razavian, Carlos Fernandez-GrandaNeurIPS 2020 · 798 citations
  4. Just Train Twice: Improving Group Robustness without Training Group InformationEvan Zheran Liu, Behzad Haghgoo, Annie S. Chen, Aditi Raghunathan et al.ICML 2021 · 683 citations
  5. An Investigation of Why Overparameterization Exacerbates Spurious CorrelationsShiori Sagawa, Aditi Raghunathan, Pang Wei Koh, Percy LiangICML 2020 · 436 citations

Related papers

  1. Correct-N-Contrast: a Contrastive Approach for Improving Robustness to Spurious CorrelationsMichael Zhang, Nimit Sharad Sohoni, Hongyang R. Zhang, Chelsea Finn et al.ICML 2022 · 230 citations
  2. Improving Group Robustness on Spurious Correlation Requires Preciser Group InferenceYujin Han, Difan ZouICML 2024 · 13 citations
  3. Gradient Extrapolation for Debiased Representation LearningIhab Asaad, Maha Shadaydeh, Joachim DenzlerICCV 2025 · 4 citations
  4. Boosting Test Performance with Importance Sampling-a Subpopulation PerspectiveHongyu Shen, Zhizhen ZhaoAAAI 2025
  5. Let Samples Speak: Mitigating Spurious Correlation by Exploiting the Clusterness of SamplesWeiwei Li, Junzhuo Liu, Yuanyuan Ren, Yuchen Zheng et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines