Breaking the Detection-Generalization Paradox on Out-Of-Distribution Data
Abstract
This work studies the trade-off between out-of-distribution (OOD) detection and generalization. We identify the Detection-Generalization Paradox in OOD data, where optimizing one objective can degrade the other. We investigate this paradox by analyzing the behaviors of models trained under different paradigms, focusing on representation, logits, and loss across in-distribution, covariate-shift, and semantic-shift data. Based on our findings, we propose Distribution-Robust Sharpness-Aware Minimization (DR-SAM), an optimization framework that balances OOD detection and generalization. Extensive experiments demonstrate the method's effectiveness, offering a clear, empirically validated approach for improving detection and generalizationability in different benchmarks.
BibTeX
@misc{li2025breaking,
author = {Xuan Li and Zhanke Zhou and YiXiao ZHENG and Jiangchao Yao and Lu Zhang and Bo Han},
title = {{Breaking the Detection-Generalization Paradox on Out-Of-Distribution Data}},
year = {2025},
url = {https://openreview.net/forum?id=w0jk3L3IjV},
howpublished = {OpenReview},
note = {Submitted to ICLR 2025},
}Ask Althea to put this paper to the test.