Adaptive Confidence Smoothing for Generalized Zero-Shot Learning.

Yuval Atzmon, Gal ChechikCVPR 2019 · DOI

TL;DR

This paper introduces COSMO, a novel probabilistic framework for Generalized Zero-Shot Learning (GZSL) that effectively combines classifiers for seen and unseen classes. COSMO achieves state-of-the-art results by adaptively smoothing expert predictions using a confidence-based gating mechanism, outperforming previous methods and even generative models while being significantly easier to train.

What Problem Does This Paper Address?

Generalized Zero-Shot Learning (GZSL) is a challenging task that requires a single model to classify data from two distinct sets of classes: "seen" classes, for which labeled training data is available, and "unseen" classes, for which only auxiliary information (like attributes or text descriptions) is provided. This dual nature presents several difficulties: training a model that performs well on both abundant seen data and scarce unseen data simultaneously, and handling situations where a model trained on one domain might produce unreliable predictions when presented with data from the other. Existing approaches often struggle with accurately estimating the likelihood of a sample belonging to an unseen class (as no direct training data exists) and can be overwhelmed by confident but incorrect predictions from the "wrong" expert.

Methods

COSMO tackles GZSL by decomposing the problem into three modular components:

  1. Seen-Class Expert: A standard supervised classifier trained on the seen classes.
  2. Unseen-Class Expert (ZSL Expert): A zero-shot learning model that leverages auxiliary information to classify unseen classes.
  3. Confidence-Based Gating (CBG) Model: A novel binary classifier that estimates the probability of an input image belonging to a seen or unseen class. This is crucial for deciding how to weigh the predictions of the two experts.

The core innovation lies in how these modules interact. Instead of a hard decision (hard gating), COSMO uses a soft combination of expert predictions, weighted by the CBG's confidence scores. To address the challenge of training the CBG without unseen class data, the authors propose using a held-out subset of seen classes as a proxy for "out-of-distribution" samples.

Furthermore, COSMO introduces Adaptive Confidence Smoothing. This technique addresses the tendency of classifiers to produce overconfident predictions, especially for out-of-distribution samples. It adaptively smooths the predictions of the experts based on the gating model's confidence, effectively incorporating a prior belief about class distributions. This smoothing is done using a Laplace-like prior, but the weight of this prior is dynamically adjusted based on the gating network's confidence in the sample belonging to a seen or unseen class.

Datasets

The paper evaluates COSMO on four standard GZSL benchmark datasets:

  • CUB (Caltech-UCSD Birds-200-2011): Fine-grained classification of bird species.
  • AWA (Animals with Attributes): Animal classes with attribute descriptions.
  • SUN (Scene Attributes): Complex visual scenes with semantic attributes.
  • FLOWER: Fine-grained classification of flowers.

The authors also define specific cross-validation splits (GZSL-Val, Gating-Train, Gating-Val) for hyperparameter tuning and model evaluation, as is common practice in GZSL research.

Key Insights and Ideas

  • Soft Gating is Key: Moving beyond hard gating, a soft combination of expert predictions, weighted by confidence, allows for more nuanced decision-making.
  • Leveraging "Out-of-Distribution" Data for Gating: The clever use of a held-out subset of seen classes to train the gating mechanism is a critical step in overcoming the lack of unseen training data.
  • Adaptive Smoothing for Robustness: Directly addressing the overconfidence problem in classifiers, especially for unseen data, is crucial. Adaptive smoothing, which dynamically adjusts the influence of prior beliefs, significantly improves performance.
  • Inter-module Information Exchange: The model's strength comes from the synergistic interaction between the gating and expert modules, where each informs and improves the others.
  • Closing the Generative Gap: COSMO demonstrates that a non-generative, lightweight model can achieve performance comparable to or better than complex generative models, making GZSL more accessible.

Key Results

COSMO, particularly when combined with the LAGO ZSL module (COSMO+LAGO), achieved state-of-the-art results on the AWA, SUN, and CUB datasets, significantly improving the harmonic mean accuracy (ACCH) over previous non-generative models. For instance, on AWA, COSMO+LAGO achieved 63.6% ACCH compared to 47.3% for baselines. It also closed the performance gap with generative models, winning on AWA and SUN, and performing competitively on CUB. COSMO+fCLSWGAN achieved a new state-of-the-art result on FLOWER (68.8% vs 65.6%). The paper also highlights that COSMO offers a tunable trade-off between seen and unseen class accuracy, allowing users to select an operating point along the seen-unseen curve.

Limitations and Future Work

  • Gating Model Training: While innovative, training the gating model still relies on a held-out set of seen classes, which might not perfectly represent the true distribution of unseen classes.
  • Generative Model Comparison: While COSMO+LAGO performs well, the paper notes that COSMO+fCLSWGAN sometimes achieved lower performance than fCLSWGAN alone on certain datasets, suggesting that the chosen operating point for the harmonic mean might not always be optimal for all combinations.
  • Future Work: The authors suggest that their approach can be extended by incorporating more sophisticated ZSL modules and exploring further ways to improve the confidence estimation and adaptive smoothing mechanisms. The ease of training and tuning COSMO makes it a promising direction for future research in GZSL and related areas like few-shot learning.

Summary updated

BibTeX
@inproceedings{atzmon2019adaptive,
  author = {Yuval Atzmon and Gal Chechik},
  title = {{Adaptive Confidence Smoothing for Generalized Zero-Shot Learning.}},
  booktitle = {CVPR},
  year = {2019},
  doi = {10.1109/cvpr.2019.01194},
}
Figure