Fine-Tuned but Zero-Shot 3D Shape Sketch View Similarity and Retrieval

Gianluca Berardi, Yulia Gryaditskaya

Introduction

Sketch-based 3D shape retrieval—finding a specific 3D model based on a hand-drawn sketch—is a challenging task due to the significant "domain gap." A 3D model is a precise geometric entity, whereas a human sketch is abstract, sparse, and varies wildly based on the artist's skill and style. While large-scale foundation models like CLIP have shown incredible zero-shot capabilities, they often struggle with the fine-grained structural details needed to distinguish between similar 3D instances.

This paper demonstrates that foundation models can be effectively adapted for fine-grained 3D shape retrieval by fine-tuning them on synthetic data from just a single object category. Surprisingly, this "one-class" training generalizes across diverse object types and sketch styles, often outperforming fully supervised methods.

Methodology: Synthetic Data and Layer Selection

The researchers propose a "Fine-Tuned but Zero-Shot" framework that avoids the need for expensive human-drawn training data. Instead, they leverage synthetic sketches generated from 3D models in ShapeNet.

Comparison of freehand sketches with synthetic NPR and Anime-style renderings across different object categories.

The method involves several key components:

  1. Synthetic Sketch Generation: The team generated Non-Photorealistic Renderings (NPR) and Anime-style sketches from 3D models to serve as proxies for human drawings.
  2. Contrastive Fine-Tuning: Using a CLIP-pretrained Vision Transformer (ViT) or ResNet, the model is trained to produce similar embeddings for the same 3D viewpoint across different rendering styles.
  3. Layer Selection: The authors discovered that intermediate layers, specifically the 6th layer of a ViT, provide the optimal balance of structural information and abstraction, outperforming the final semantic layers.
  4. Cross-Category Generalization: Crucially, models are fine-tuned on only one category (e.g., boats) and then tested on entirely different ones (e.g., chairs), proving the model learns general structural features.

Key Results and Insights

The approach achieved state-of-the-art results on the AmateurSketch benchmark. A ViT-CLIP (Layer 6) model achieved 74.79% Acc@1 for chairs and 73.27% Acc@1 for lamps without any category-specific fine-tuning. After fine-tuning on synthetic data from other classes, performance improved further to 77.11% and 78.38% respectively, significantly outperforming previous supervised baselines.

Top-5 retrieval results showing the model's ability to match sketches to 3D shapes across different categories and fine-tuning conditions.

Several key insights emerged from the study:

  • The Power of One: Fine-tuning on a single, unrelated class (like airplanes) boosts performance on others, suggesting the model learns a general "sketch-to-structure" mapping rather than memorizing specific shapes.
  • Structural Sensitivity: Accuracy is highly sensitive to object scale and line thickness. Aligning these factors between the query and the gallery is a simple but vital step for high performance.
  • NPR as a Bridge: NPR renderings serve as a superior proxy for human sketches compared to standard RGB renderings because they focus on the same edge-based features humans use when drawing.

Limitations and Future Work

Despite its success, the model faces challenges with extremely sparse sketches, where Vision Transformer patches may contain no information. Future research could explore vector-based encoders to understand pen stroke sequences or integrate multi-modal data, such as textual descriptions, to further align the sketch and 3D domains.

Summary updated

BibTeX
@inproceedings{berardi2023fine,
  author = {Gianluca Berardi and Yulia Gryaditskaya},
  title = {{Fine-Tuned but Zero-Shot 3D Shape Sketch View Similarity and Retrieval}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
  doi = {10.1109/iccvw60793.2023.00193},
}
Figure