Class Normalization for (Continual?) Generalized Zero-Shot Learning

ICLR 2021

Ivan Skorokhodov·Mohamed Elhoseiny

KAUSTMIPT

# abstract

In the paper, we start by investigating some popular normalization techniques used in zero-shot learning and find out that they work as expected only for linear models and do not provide normalization properties for the deep ones. This means that the activations inside your model might have too large or too small a variance, which can potentially spoil the training (as we observed in practice to some extent). This limitation is easily mitigated via class normalization: an analog of BatchNorm applied across the class dimension instead of the batch dimension. We show that it stabilizes the variance of the activations in the model and smooths out its loss surface.

Current SotA ZSL algorithms are quite sophisticated: they either use generative models (GANs/VAEs/flow-based models/etc) with many hand-crafted losses or some intricate learning pipelines like episode-based training or meta-learning. Also, the optimization for them is very slow and takes up to several hours (yes, for traditional ZSL it is somewhat a lot). Plugging in class normalization into a simple 3-layer MLP, we outperformed modern ZSL SotA on the common datasets without any bells and whistles. Moreover, since our method is so simple, it trains in just 20-30 seconds!

Encouraged, we decided to formulate a harder ZSL setup: continual zero-shot learning. In this setup, your model is trained sequentially on different ZSL tasks, and each time its performance is evaluated on all the future tasks combined. We formulated a couple of benchmarks and evaluation metrics for it, tested a bunch of common lifelong-learning methods, and tried our class normalization with them. To our surprise, it gave an even larger boost than for traditional ZSL: about 40% on average (in mean harmonic accuracy).

# bibtex

@inproceedings{class-norm,
  title={Class Normalization for (Continual)? Generalized Zero-Shot Learning},
  author={Ivan Skorokhodov and Mohamed Elhoseiny},
  booktitle={International Conference on Learning Representations},
  year={2021},
  url={https://openreview.net/forum?id=7pgFL2Dkyyy}
}

← back