English

Not Only the Last-Layer Features for Spurious Correlations: All Layer Deep Feature Reweighting

Machine Learning 2024-09-24 v1 Artificial Intelligence

Abstract

Spurious correlations are a major source of errors for machine learning models, in particular when aiming for group-level fairness. It has been recently shown that a powerful approach to combat spurious correlations is to re-train the last layer on a balanced validation dataset, isolating robust features for the predictor. However, key attributes can sometimes be discarded by neural networks towards the last layer. In this work, we thus consider retraining a classifier on a set of features derived from all layers. We utilize a recently proposed feature selection strategy to select unbiased features from all the layers. We observe this approach gives significant improvements in worst-group accuracy on several standard benchmarks.

Keywords

Cite

@article{arxiv.2409.14637,
  title  = {Not Only the Last-Layer Features for Spurious Correlations: All Layer Deep Feature Reweighting},
  author = {Humza Wajid Hameed and Geraldin Nanfack and Eugene Belilovsky},
  journal= {arXiv preprint arXiv:2409.14637},
  year   = {2024}
}
R2 v1 2026-06-28T18:53:10.144Z