paper-with-me

홈 › Papers

Avoiding spurious correlations via logit correction

2022-12-02 · Sheng Liu, Xu Zhang, Nitesh Sekhar, Yue Wu, Prateek Singhal, Carlos Fernandez-Granda

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.

📄 PDF Abstract BibTeX arXiv:2212.01433

Code (1)

shengliu66/lc 공식 구현 pytorch

Tasks

Attribute

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Mitigating Spurious Correlations with Causal Logit Perturbation

2025-05-21 · Xiaoling Zhou, Wei Ye, Rui Xie, Shikun Zhang

Deep learning has seen widespread success in various domains such as science, industry, and society. However, it is acknowledged that certain approaches suffer from non-robustness, relying on spurious correlations for pr…

counterfactualLong-tail LearningMeta-Learning

UnLearning from Experience to Avoid Spurious Correlations

2024-09-04 · Jeff Mitchell, Jesús Martínez del Rincón, Niall McLaughlin

While deep neural networks can achieve state-of-the-art performance in many tasks, these models are more fragile than they appear. They are prone to learning spurious correlations in their training data, leading to surpr…

Reasoning in Transformers - Mitigating Spurious Correlations and Reasoning Shortcuts

2024-03-17 · Daniel Enström, Viktor Kjellberg, Moa Johansson

Transformer language models are neural networks used for a wide variety of tasks concerning natural language, including some that also require logical reasoning. However, a transformer model may easily learn spurious pat…

Language ModelingLanguage ModellingLogical Reasoning

The Pitfalls of Memorization: When Memorization Hurts Generalization

2024-12-10 · Reza Bayat, Mohammad Pezeshki, Elvis Dohmatob, David Lopez-Paz 외

Neural networks often learn simple explanations that fit the majority of the data while memorizing exceptions that deviate from these explanations.This behavior leads to poor generalization when the learned explanations …

Memorization

Generative Classifiers Avoid Shortcut Solutions

2025-12-31 · Alexander C. Li, Ananya Kumar, Deepak Pathak arxiv

Discriminative approaches to classification often learn shortcuts that hold in-distribution but fail even under minor distribution shift. This failure mode stems from an overreliance on features that are spuriously corre…