The Group Robustness is in the Details: Revisiting Finetuning under Spurious Correlations
<|reference_start|>The Group Robustness is in the Details: Revisiting Finetuning under Spurious Correlations: Modern machine learning models are prone to over-reliance on spurious correlations, which can often lead to poor performance on minority groups. In this paper, we identify surprising and nuanced behavior of finetuned models on worst-group accuracy via comprehensive experiments on four well-established benchmarks across vision and language tasks. We first show that the commonly used class-balancing techniques of mini-batch upsampling and loss upweighting can induce a decrease in worst-group accuracy (WGA) with training epochs, leading to performance no better than without class-balancing. While in some scenarios, removing data to create a class-balanced subset is more effective, we show this depends on group structure and propose a mixture method which can outperform both techniques. Next, we show that scaling pretrained models is generally beneficial for worst-group accuracy, but only in conjuction with appropriate class-balancing. Finally, we identify spectral imbalance in finetuning features as a potential source of group disparities -- minority group covariance matrices incur a larger spectral norm than majority groups once conditioned on the classes. Our results show more nuanced interactions of modern finetuned models with group robustness than was previously known. Our code is available at https://github.com/tmlabonte/revisiting-finetuning.<|reference_end|>
@article{labonte2024the,
    title={The Group Robustness is in the Details: Revisiting Finetuning under
  Spurious Correlations},
    author={Tyler LaBonte, John C. Hill, Xinchen Zhang, Vidya Muthukumar and
  Abhishek Kumar},
    journal={arXiv preprint arXiv:2407.13957},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.13957},
    primaryClass={cs.LG}
}