Introduction
Fine-Grained Sketch-Based Image Retrieval (FG-SBIR) represents a significant challenge in computer vision: the goal is to use a free-hand sketch to retrieve a specific instance of an object from a gallery of photos (e.g., finding a specific pair of shoes rather than any shoe). Researchers from SketchX at the University of Surrey have introduced a new baseline that achieves a substantial ~11% performance boost over previous state-of-the-art models. By prioritizing fundamental training objectives and addressing data scarcity over complex architectural additions, this work establishes a new standard for the field.
The Core Challenges: Geometry and Scarcity
Existing FG-SBIR models typically struggle with two primary hurdles:
- Latent Space Geometry: The standard cross-modal triplet loss—designed to pull a sketch closer to its matching photo while pushing it away from others—often results in a "cluttered" embedding space. It fails to ensure that different photos or different sketches are sufficiently separated from one another within their own modalities.
- Data Scarcity: While massive datasets of unlabelled photos are available online, high-quality, paired sketch-photo datasets are rare and expensive to produce. Training high-accuracy models on these limited pairs often leads to overfitting and poor generalization.
Methodology: Building a Stronger Baseline
The authors propose three key innovations to overcome these limitations and refine the retrieval process.
1. Multi-Scale Feature Extraction with PVT
Unlike standard Convolutional Neural Networks (CNNs) or global Vision Transformers (ViT), the model utilizes a Pyramid Vision Transformer (PVT) backbone. PVT processes images at multiple scales, allowing the model to capture both fine-grained local details and global structural information. This multi-scale approach is particularly effective for matching the abstract, sparse nature of sketches to the dense, detailed information in photos.
2. Refining Geometry via Intra-modal Triplet Loss
To improve the organization of the latent space, the authors introduced intra-modal losses alongside the traditional cross-modal objectives:
- Sketch-to-Sketch: Ensures sketches of the same object are closer to each other than to sketches of different objects.
- Photo-to-Photo: To handle unlabelled data where pairs do not exist, the authors use morphological augmentations (random rotations and perspective shifts). By treating the original photo as an anchor and the warped version as a positive sample, the model is forced to learn structural "bones"—shape and geometry—rather than relying on color or texture.
3. Knowledge Distillation from Unlabelled Data
To leverage the vast amount of unlabelled photos available, the authors employed a Teacher-Student Knowledge Distillation (KD) framework. A Teacher model is first trained on a large-scale photo dataset. The Student (the FG-SBIR model) is then trained to mimic the Teacher's contextual similarity.
A novel distillation token was introduced into the PVT architecture to facilitate this. Because PVT uses spatial reshaping operations that typically conflict with additional tokens, the authors designed a mechanism to feed the token through transformer layers while bypassing spatial reshaping steps. This allows the token to "imbibe" the teacher’s knowledge without disrupting the model's structural integrity.
4. Stability through EMA
To mitigate the "jittery" training performance common in triplet-loss-based models, the authors applied an Exponential Moving Average (EMA) to the model parameters. This technique significantly stabilized evaluation accuracy throughout the training process.
Experimental Results
The model was evaluated on several benchmark datasets, including QMUL-Chair-V2, QMUL-Shoe-V2, and the extended Sketchy dataset. The results demonstrate a clear superiority over previous methods:
- Shoe-V2: Achieved 48.35% Top-1 accuracy, outperforming the previous state-of-the-art (Semi-sup-SN at 39.12%) by over 9%.
- Chair-V2: Reached 74.68% Top-1 accuracy, a significant increase from the previous 60.20%.
- Generalization: In cross-category tests (e.g., training on shoes and testing on chairs), the model maintained a competitive 30.24% accuracy, suggesting it learns generalizable sketch-to-photo concepts rather than simple shape memorization.
Conclusion
This research demonstrates that significant gains in FG-SBIR can be achieved by focusing on the fundamentals of how models learn geometry and how they utilize unlabelled data. By prioritizing structural features over stylistic details and leveraging a robust distillation process, the authors have created a powerful, efficient baseline that moves the field closer to practical, real-world application. Future work may further explore the "abstraction gap"—the varying ways humans simplify sketches—to further refine retrieval accuracy.
Summary updated