Class Distribution Shifts in Zero-Shot Learning: Learning Robust Representations

Y. Slavutsky, Y. Benjamini
2/12/2026

No official code found. Best implementation: YuliSl/Zero_Shot_Robust_Representations (0 stars, last commit 2024-12-10).

Abstract

Zero-shot learning methods typically assume that the new, unseen classes encountered during deployment come from the same distribution as the the classes in the training set. However, real-world scenarios often involve class distribution shifts (e.g., in age or gender for person identification), posing challenges for zero-shot classifiers that rely on learned representations from training classes. In this work, we propose and analyze a model that assumes that the attribute responsible for the shift is unknown in advance. We show that in this setting, standard training may lead to non-robust representations. To mitigate this, we develop an algorithm for learning robust representations in which (a) synthetic data environments are constructed via hierarchical sampling, and (b) environment balancing penalization, inspired by out-of-distribution problems, is applied. We show that our algorithm improves generalization to diverse class distributions in both simulations and experiments on real-world datasets.

View on arXivView PDF

Code Implementations(1)

00Python, Jupyter NotebookOct 30, 20241 years ago

Similar Papers

Cite this paper

@article{slavutsky2026class,
  title  = {Class Distribution Shifts in Zero-Shot Learning: Learning Robust Representations},
  author = {Y. Slavutsky and Y. Benjamini},
  year   = {2026},
  eprint = {2311.18575},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.18575},
  journal = {NEURIPS 2023 2023}
}

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/2311.18575.svg)](https://codeofpaper.com/paper/2311.18575)

Discussion