[Paper Review] Latent Embeddings for Zero-shot Classification
This paper proposes Latent Embeddings (LatEm), a novel piecewise linear compatibility model for zero-shot image classification that uses latent variables to select from multiple learned bilinear maps, improving performance by modeling diverse visual attributes. The method achieves state-of-the-art results on three benchmark datasets, including 66.2% accuracy on AWA with unsupervised embeddings and 34.9% on CUB, with improved generalization and interpretability through learned clusters of object properties.
We present a novel latent embedding model for learning a compatibility function between image and class embeddings, in the context of zero-shot classification. The proposed method augments the state-of-the-art bilinear compatibility model by incorporating latent variables. Instead of learning a single bilinear map, it learns a collection of maps with the selection, of which map to use, being a latent variable for the current image-class pair. We train the model with a ranking based objective function which penalizes incorrect rankings of the true class for a given image. We empirically demonstrate that our model improves the state-of-the-art for various class embeddings consistently on three challenging publicly available datasets for the zero-shot setting. Moreover, our method leads to visually highly interpretable results with clear clusters of different fine-grained object properties that correspond to different latent variable maps.
Motivation & Objective
- To address the challenge of fine-grained zero-shot classification where traditional linear compatibility functions fail to capture complex visual variations.
- To improve compatibility learning between image and class embeddings by introducing latent variables that allow dynamic selection of specialized linear maps.
- To enable effective use of unsupervised text embeddings (e.g., word2vec, GloVe) in zero-shot learning without relying on manual attributes.
- To develop a scalable, efficient training method using stochastic gradient descent and a pruning-based model selection strategy for optimal number of latent maps.
- To provide visual interpretability by showing that learned latent maps correspond to distinct object properties like color or beak shape.
Proposed method
- The model introduces a latent variable per image-class pair to select among K learned bilinear compatibility matrices, enabling a piecewise linear decision boundary.
- Each compatibility map is parameterized by a matrix W_i, and the final compatibility score is computed as y = x^T W_i z, where x is the image embedding and z is the class embedding.
- The model is trained using a ranking-based objective that minimizes the margin between the true class and all incorrect classes, encouraging correct relative ordering.
- An efficient stochastic gradient descent (SGD) algorithm is used to optimize the model parameters and latent variable assignments jointly.
- A novel pruning-based method is proposed for automatic selection of the number of latent maps, reducing model size and training time compared to cross-validation.
- The method supports both supervised (e.g., attributes) and unsupervised (e.g., word2vec, GloVe) class embeddings, enabling flexible zero-shot learning.
Experimental results
Research questions
- RQ1Can a latent variable-based compatibility model improve zero-shot classification performance on fine-grained datasets compared to single-bilinear models?
- RQ2Does the use of multiple, dynamically selected bilinear maps lead to better disentanglement of visual attributes such as color or shape?
- RQ3How does the number of latent maps (K) affect model performance and generalization across different datasets and embeddings?
- RQ4Can a pruning-based method for model selection outperform cross-validation in terms of efficiency and performance for latent embedding models?
- RQ5To what extent do the learned latent maps correspond to interpretable visual properties of objects?
Key findings
- LatEm achieves 66.2% zero-shot accuracy on the AWA dataset using unsupervised word2vec embeddings, a significant improvement over the prior state-of-the-art of 60.1%.
- On the fine-grained CUB dataset, LatEm reaches 34.9% accuracy with word2vec embeddings, surpassing the previous SOTA of 29.9%.
- On the Dogs dataset, LatEm achieves 36.3% accuracy with word2vec embeddings, outperforming the prior SOTA of 35.1%.
- With supervised attributes on AWA, LatEm achieves 76.1% accuracy, exceeding the prior SOTA of 73.9%.
- The model shows strong generalization, with stable performance across five-fold cross-validation splits and low standard errors.
- Qualitative analysis confirms that different latent maps correspond to interpretable visual properties such as color, beak shape, and wing pattern, enhancing model interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.