[Paper Review] Exploiting Unlabelled Photos for Stronger Fine-Grained SBIR
This paper proposes a strong, plug-and-play baseline for fine-grained sketch-based image retrieval (FG-SBIR) by introducing intra-modal triplet loss for improved latent space geometry and a novel knowledge distillation module that leverages unlabelled photos to boost performance. The method achieves a 10-11% accuracy gain over prior SOTA by stabilizing training via exponential moving average (EMA) and using a multi-level distillation token in a PVT backbone, outperforming existing methods on both in-domain and zero-shot generalization benchmarks.
This paper advances the fine-grained sketch-based image retrieval (FG-SBIR) literature by putting forward a strong baseline that overshoots prior state-of-the-arts by ~11%. This is not via complicated design though, but by addressing two critical issues facing the community (i) the gold standard triplet loss does not enforce holistic latent space geometry, and (ii) there are never enough sketches to train a high accuracy model. For the former, we propose a simple modification to the standard triplet loss, that explicitly enforces separation amongst photos/sketch instances. For the latter, we put forward a novel knowledge distillation module can leverage photo data for model training. Both modules are then plugged into a novel plug-n-playable training paradigm that allows for more stable training. More specifically, for (i) we employ an intra-modal triplet loss amongst sketches to bring sketches of the same instance closer from others, and one more amongst photos to push away different photo instances while bringing closer a structurally augmented version of the same photo (offering a gain of ~4-6%). To tackle (ii), we first pre-train a teacher on the large set of unlabelled photos over the aforementioned intra-modal photo triplet loss. Then we distill the contextual similarity present amongst the instances in the teacher's embedding space to that in the student's embedding space, by matching the distribution over inter-feature distances of respective samples in both embedding spaces (delivering a further gain of ~4-5%). Apart from outperforming prior arts significantly, our model also yields satisfactory results on generalising to new classes. Project page: https://aneeshan95.github.io/Sketch_PVT/
Motivation & Objective
- To address the lack of holistic latent space geometry in existing FG-SBIR models trained with standard triplet loss.
- To mitigate sketch data scarcity by leveraging large-scale unlabelled photos for knowledge distillation.
- To stabilize training of FG-SBIR models, which often suffers from oscillating evaluation accuracy.
- To enable effective zero-shot generalization to unseen categories without paired sketch-photo data.
- To design a novel distillation token compatible with the PVT architecture’s hierarchical feature reshaping operation.
Proposed method
- Proposes an intra-modal triplet loss for both sketch and photo modalities to enforce instance-level separation and improve latent space geometry.
- Uses morphologically augmented photo versions as positive samples in the intra-modal photo triplet loss to emphasize shape-relevant visual attributes.
- Introduces a multi-level distillation token in the PVT backbone that preserves contextual similarity via inter-feature distance distribution matching between teacher and student.
- Employs exponential moving average (EMA) on model parameters to stabilize training, inspired by GAN training techniques.
- Pre-trains a teacher model solely on unlabelled photos using the intra-modal photo triplet loss before distilling knowledge to the student model.
- Designs the distillation token to be injected at every transformer layer level and reconnected via residual connection post-reshaping, preserving the PVT’s hierarchical inductive bias.
![Figure 1 : (left) A strong FG-SBIR baseline with strong PVT [ 80 ] backbone trained on intra-modal triplet loss, stabilised by EMA. (right) It additionally leverages unlabelled photos to enrich its latent space by distilling instance-wise discriminative knowledge of a teacher pre-trained on unlabell](https://ar5iv.labs.arxiv.org/html/2303.13779/assets/x1.png)
Experimental results
Research questions
- RQ1Can intra-modal triplet loss improve the discriminative geometry of the embedding space in FG-SBIR beyond standard cross-modal triplet loss?
- RQ2How can unlabelled photos be effectively leveraged to improve FG-SBIR performance when sketch data is limited?
- RQ3Can knowledge distillation from a pre-trained photo-only model enhance generalization to unseen categories in FG-SBIR?
- RQ4What architectural modifications are required to integrate knowledge distillation into the PVT backbone without disrupting its feature reshaping mechanism?
- RQ5Does the use of EMA stabilize training in FG-SBIR, and how does it affect convergence and performance?
Key findings
- The proposed method achieves a 10.5% absolute gain in Acc@1 on QMUL-ShoeV2 compared to prior SOTA, with a 45.31% Acc@1 on Chair-V2.
- The intra-modal triplet loss alone improves performance by approximately 4-6% by enhancing instance-level separation in the embedding space.
- Knowledge distillation from unlabelled photos yields an additional 4-5% gain in performance, demonstrating the effectiveness of leveraging large-scale unlabelled data.
- The multi-level distillation token design outperforms both a single-stage token and no dedicated token by 3.04% on Acc@1, confirming its architectural significance.
- The method generalizes well to unseen categories, achieving 30.24% Acc@1 on Sketchy dataset’s 21 unseen classes, outperforming methods that rely on synthetic sketches or few-shot adaptation.
- Despite being larger than prior SOTA models, the method maintains similar inference time (0.37ms per image) and reduces training time per step to 44.1ms, outperforming SOTA methods like StyleMeUP (56.83ms per step).

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.