Bayesian Invariant Risk Minimization
Lin Yong, Hanze Dong, Hao Wang et al. · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · 2022
Generalization under distributional shift is an open challenge for machine learning. Invariant Risk Minimization (IRM) is a promising framework to tackle this issue by extracting invariant features. However, despite the potential and popularity of IRM, recent works have reported negative results of it on deep models. We argue that the failure can be primarily attributed to deep models' tendency to overfit the data. Specifically, our theoretical analysis shows that IRM degenerates to empirical risk minimization (ERM) when overfitting occurs. Our empirical evidence also provides supports: IRM methods that work well in typical settings significantly deteriorate even if we slightly enlarge the model size or lessen the training data. To alleviate this issue, we propose Bayesian Invariant Risk Min-imization (BIRM) by introducing Bayesian inference into the IRM. The key motivation is to estimate the penalty of IRM based on the posterior distribution of classifiers (as opposed to a single classifier), which is much less prone to overfitting. Extensive experimental results on four datasets demonstrate that BIRM consistently outperforms the existing IRM baselines significantly.
Cited by 52 works. doi:10.1109/cvpr52688.2022.01555
Authors
References
- Deep Residual Learning for Image Recognition
- Neural Machine Translation by Jointly Learning to Align and Translate
- Speech recognition with deep recurrent neural networks
- Auto-Encoding Variational Bayes
- Effective Approaches to Attention-based Neural Machine Translation
- Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
- Keeping the neural networks simple by minimizing the description length of the weights
- Variational Inference: A Review for Statisticians
- Probabilistic machine learning and artificial intelligence
- Understanding deep learning (still) requires rethinking generalization