[Paper Review] A Zero-Shot Framework for Sketch-based Image Retrieval
This paper proposes a zero-shot sketch-based image retrieval (ZS-SBIR) framework to address the limitation of existing SBIR models that learn class-specific mappings rather than shape-based alignments. By introducing a benchmark using the Sketchy dataset with unseen classes at test time and employing conditional variational autoencoders (CVAE) and conditional adversarial autoencoders (CAAE) for generative sketch-to-image translation, the authors show that generative models significantly outperform discriminative baselines in zero-shot generalization, achieving a precision of 0.333 with CVAE.
Sketch-based image retrieval (SBIR) is the task of retrieving images from a natural image database that correspond to a given hand-drawn sketch. Ideally, an SBIR model should learn to associate components in the sketch (say, feet, tail, etc.) with the corresponding components in the image having similar shape characteristics. However, current evaluation methods simply focus only on coarse-grained evaluation where the focus is on retrieving images which belong to the same class as the sketch but not necessarily having the same shape characteristics as in the sketch. As a result, existing methods simply learn to associate sketches with classes seen during training and hence fail to generalize to unseen classes. In this paper, we propose a new benchmark for zero-shot SBIR where the model is evaluated in novel classes that are not seen during training. We show through extensive experiments that existing models for SBIR that are trained in a discriminative setting learn only class specific mappings and fail to generalize to the proposed zero-shot setting. To circumvent this, we propose a generative approach for the SBIR task by proposing deep conditional generative models that take the sketch as an input and fill the missing information stochastically. Experiments on this new benchmark created from the "Sketchy" dataset, which is a large-scale database of sketch-photo pairs demonstrate that the performance of these generative models is significantly better than several state-of-the-art approaches in the proposed zero-shot framework of the coarse-grained SBIR task.
Motivation & Objective
- To address the flaw in current SBIR evaluation, which encourages class-specific learning due to coarse-grained, class-based retrieval metrics.
- To propose a realistic zero-shot setting where models are tested on novel classes unseen during training, promoting generalization beyond class labels.
- To develop a new benchmark using a careful split of the Sketchy dataset to enable zero-shot evaluation of SBIR models.
- To demonstrate that generative models can learn meaningful shape-based alignments between sketches and images, improving zero-shot generalization.
- To show that conditional generative models (CVAE, CAAE) outperform state-of-the-art discriminative SBIR models in the proposed zero-shot setting.
Proposed method
- Propose a zero-shot SBIR benchmark by splitting the Sketchy dataset into seen and unseen classes, ensuring no overlap between training and test classes.
- Adapt conditional variational autoencoders (CVAE) and conditional adversarial autoencoders (CAAE) to generate image features from sketch inputs in a latent space.
- Train the models using a reconstruction loss and adversarial training to encourage realistic and diverse image generation from sketches.
- Use the generated image features to retrieve images from the database, evaluating performance via mean precision at k (mP@k).
- Apply the same generative framework to the zero-shot image classification task, demonstrating broader applicability.
- Evaluate models using automatic, human-free metrics to avoid biases and labor-intensive annotation.
Experimental results
Research questions
- RQ1Can existing SBIR models generalize to unseen classes when evaluated under a zero-shot setting?
- RQ2Does a generative approach to SBIR lead to better zero-shot generalization than discriminative models?
- RQ3Can conditional generative models learn meaningful shape-based alignments between sketches and images, even without seeing the same classes during training?
- RQ4How do reconstruction loss and adversarial training affect the performance of generative SBIR models in the zero-shot setting?
- RQ5Can the proposed framework be extended to other zero-shot learning tasks beyond sketch-based retrieval?
Key findings
- Existing SBIR models trained in a discriminative setting perform poorly in the zero-shot setting, with precision dropping to 0.066 for direct regression, indicating strong class-specific learning.
- The proposed CVAE model achieves a mean precision of 0.333 in the ZS-SBIR benchmark, significantly outperforming all prior state-of-the-art methods.
- The CAAE model achieves a precision of 0.260, showing that generative models with adversarial training are effective but less stable than CVAE.
- The CVAE model shows smoother training convergence and a 3% improvement in precision when using reconstruction loss, highlighting its training stability.
- Qualitative results show that retrieved images closely match the sketch outline, and false positives often have plausible shape similarity, indicating robust alignment learning.
- Feature visualization via t-SNE confirms that generated features are close to real image features and capture multiple modes of the distribution, indicating effective latent space modeling.
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.