HYPO: Hyperspherical Out-of-Distribution Generalization

Yifei Ming, Haoyue Bai, Julian Katz-Samuels, Yixuan Li
2/1/2024

No official code found. Best implementation: deeplearning-wisc/hypo (19 stars, last commit 2024-05-10).

Abstract

Out-of-distribution (OOD) generalization is critical for machine learning models deployed in the real world. However, achieving this can be fundamentally challenging, as it requires the ability to learn invariant features across different domains or environments. In this paper, we propose a novel framework HYPO (HYPerspherical OOD generalization) that provably learns domain-invariant representations in a hyperspherical space. In particular, our hyperspherical learning algorithm is guided by intra-class variation and inter-class separation principles -- ensuring that features from the same class (across different training domains) are closely aligned with their class prototypes, while different class prototypes are maximally separated. We further provide theoretical justifications on how our prototypical learning objective improves the OOD generalization bound. Through extensive experiments on challenging OOD benchmarks, we demonstrate that our approach outperforms competitive baselines and achieves superior performance. Code is available at https://github.com/deeplearning-wisc/hypo.

View on arXivView PDF

Code Implementations(1)

191Shell, PythonFeb 9, 20242 years ago

Similar Papers

Cite this paper

@article{ming2024hypo,
  title  = {HYPO: Hyperspherical Out-of-Distribution Generalization},
  author = {Yifei Ming and Haoyue Bai and Julian Katz-Samuels and Yixuan Li},
  year   = {2024},
  eprint = {2402.07785},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.07785},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.07785.svg)](https://codeofpaper.com/paper/2402.07785)

Discussion