NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Label-Embedding for Image Classification

Zeynep Akata, Florent Perronnin, Zaïd Harchaoui, Cordelia SchmidIEEE TPAMI 2015 · DOI

TL;DR

This paper introduces "Attribute Label Embedding" (ALE), a novel framework for image classification that treats class labels as embeddings in an attribute space. ALE significantly outperforms existing methods like Direct Attribute Prediction (DAP) in zero-shot learning scenarios by directly optimizing for class ranking and can flexibly incorporate various side information sources beyond attributes.

What Problem Does This Paper Address?

The core challenge addressed is zero-shot learning (ZSL), where the goal is to classify images from classes that were not seen during training. This is crucial because collecting labeled data for every possible visual concept is impractical. Traditional attribute-based methods, like Direct Attribute Prediction (DAP), often involve a two-step process (predicting attributes, then classes) which can be suboptimal. Furthermore, DAP struggles with incremental learning and incorporating diverse side information (like class hierarchies or text descriptions) alongside attributes. This paper aims to bridge this gap by proposing a unified framework that directly learns a compatibility function between images and embedded class labels, overcoming these limitations.

Methods

The paper proposes Attribute Label Embedding (ALE), framing image classification as a label-embedding problem. Instead of predicting attributes and then classes, ALE embeds each class into a Euclidean space defined by attributes. A compatibility function $F(x, y; W)$ is introduced, which measures how well an image $x$ matches a class $y$ given learned parameters $W$. This function is typically a bilinear form: $F(x, y; W) = \phi(x)^T W \phi(y)$, where $\phi(x)$ is an image feature embedding and $\phi(y)$ is the label embedding.

Key methodological contributions include:

  • Direct Class Ranking Objective: ALE optimizes a ranking loss, ensuring correct classes are ranked higher than incorrect ones, directly addressing the classification task.
  • Label Embedding: Classes are embedded into an attribute space using side information (e.g., attribute-class association matrices). This embedding $\phi(y)$ can be learned or fixed.
  • Flexibility in Side Information: While attributes are the primary focus, the framework is generalizable to other side information like class hierarchies or textual descriptions.
  • Learning Framework: The compatibility function parameters $W$ are learned using optimization techniques like Stochastic Gradient Descent (SGD), inspired by methods like WSABIE.

Datasets

The proposed framework is evaluated on two widely-used benchmarks:

  • Animals With Attributes (AWA): Contains approximately 30,000 images across 50 animal classes, with associated attribute annotations.
  • Caltech-UCSD-Birds (CUB): Contains about 11,800 images of 200 bird classes, also with attribute annotations.

Key Insights and Ideas

  • Label Embedding is Powerful: Embedding class labels into a meaningful space (like attributes) is a more principled approach to leveraging side information for classification than traditional multi-step methods.
  • Direct Ranking Beats Indirect Prediction: Optimizing directly for class ranking leads to better performance than indirect methods that first predict intermediate representations (like attributes).
  • Attributes are Just One Piece of the Puzzle: The ALE framework is versatile and can incorporate various forms of side information, not just attributes, opening doors for richer representations.
  • Continuous Embeddings are Superior: Using continuous attribute embeddings (rather than binary) provides a significant boost in accuracy, as they capture the strength of associations more effectively.
  • Dimensionality Reduction is Feasible: The attribute embedding space can be significantly reduced (e.g., via SVD) with minimal loss in accuracy, making the approach more efficient.

Key Results

  • Zero-Shot Learning Performance: ALE significantly outperforms the standard Direct Attribute Prediction (DAP) baseline. For example, on AWA with 64K-dim FV, ALE achieves 48.5% accuracy compared to DAP's 41.0%. On CUB, ALE reaches 26.9% vs. DAP's 12.3%.
  • Attribute Prediction: While DAP might achieve slightly higher attribute prediction AUC, ALE's performance is still competitive and its primary goal is image classification accuracy.
  • Few-Shot Learning: ALE shows improved performance over WSABIE (which learns embeddings from data) when training data is scarce, highlighting the benefit of prior information.
  • Learning Algorithms: Ranking-based objectives (like WSABIE's) and multi-class SSVM perform better than simple ridge regression for learning the mapping.
  • Output Encodings: Continuous embeddings generally outperform binary ones. L2-normalization is consistently beneficial, while mean-centering has a smaller impact.
  • Combining Side Information: Combining attributes with class hierarchies (AHLE) further improves performance, with late fusion of scores showing a slight edge.

Limitations and Future Work

  • Attribute Interpretability: While ALE achieves better classification accuracy, it might slightly sacrifice the direct interpretability of attribute classifiers compared to DAP. The authors acknowledge this and show that attribute prediction accuracy is still reasonable.
  • Computational Cost of Learning Embeddings: For data-dependent embeddings (like WSABIE), learning the embedding can be computationally intensive, especially with high-dimensional spaces.
  • Future Work: The authors suggest exploring learning to combine different input modalities and further investigating the "learning to combine outputs" problem, which is currently less explored. They also highlight the potential of their unified framework for comparing various label embedding approaches.

Summary updated

BibTeX
@article{akata2015label,
  author = {Zeynep Akata and Florent Perronnin and Zaïd Harchaoui and Cordelia Schmid},
  title = {{Label-Embedding for Image Classification}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2015},
  doi = {10.1109/tpami.2015.2487986},
}
Figure