[Paper Review] StyleMeUp: Towards Style-Agnostic Sketch-Based Image Retrieval
This paper proposes StyleMeUp, a style-agnostic sketch-based image retrieval framework that disentangles sketch content into shared semantic features and user-specific style components using a meta-learned cross-modal variational autoencoder. By introducing style-adaptive feature transformation layers and a disentanglement regularizer via model-agnostic meta-learning, the model generalizes to unseen user styles without retraining, achieving state-of-the-art performance on both category-level and instance-level SBIR benchmarks.
Sketch-based image retrieval (SBIR) is a cross-modal matching problem which is typically solved by learning a joint embedding space where the semantic content shared between photo and sketch modalities are preserved. However, a fundamental challenge in SBIR has been largely ignored so far, that is, sketches are drawn by humans and considerable style variations exist amongst different users. An effective SBIR model needs to explicitly account for this style diversity, crucially, to generalise to unseen user styles. To this end, a novel style-agnostic SBIR model is proposed. Different from existing models, a cross-modal variational autoencoder (VAE) is employed to explicitly disentangle each sketch into a semantic content part shared with the corresponding photo, and a style part unique to the sketcher. Importantly, to make our model dynamically adaptable to any unseen user styles, we propose to meta-train our cross-modal VAE by adding two style-adaptive components: a set of feature transformation layers to its encoder and a regulariser to the disentangled semantic content latent code. With this meta-learning framework, our model can not only disentangle the cross-modal shared semantic content for SBIR, but can adapt the disentanglement to any unseen user style as well, making the SBIR model truly style-agnostic. Extensive experiments show that our style-agnostic model yields state-of-the-art performance for both category-level and instance-level SBIR.
Motivation & Objective
- Address the critical challenge of user-specific sketch style variations in sketch-based image retrieval (SBIR), which existing models fail to generalize to.
- Overcome the limitation of current SBIR models that focus only on shared semantic content and ignore modality-specific sketching styles.
- Develop a framework that dynamically adapts to unseen user drawing styles without retraining, enabling true style-agnostic retrieval.
- Enable effective disentanglement of sketch content into invariant (shared) and variant (style-specific) components for improved generalization.
- Achieve state-of-the-art performance in both category-level and instance-level sketch-based image retrieval under style diversity.
Proposed method
- Employ a cross-modal variational autoencoder (VAE) to jointly encode sketches and photos into disentangled latent representations: a modal-invariant semantic code and a modal-specific style code.
- Introduce a set of learnable feature transformation (FT) layers between the encoder layers to enable dynamic adaptation of the encoder to unseen sketch styles.
- Design a novel regularizer that adapts the disentanglement level of the invariant semantic code based on the input sketch, ensuring robust separation of content and style.
- Train the entire model using a model-agnostic meta-learning (MAML) framework with episodic training, where each episode samples a new user style and object category.
- Use a joint loss combining reconstruction, translation, and triplet ranking objectives to preserve semantic consistency across modalities and improve retrieval accuracy.
- Leverage the disentangled invariant code from the encoder as a feature representation for retrieval, making the model robust to style variations.

Experimental results
Research questions
- RQ1Can a sketch-based image retrieval model generalize effectively to unseen user sketching styles without retraining?
- RQ2How can a disentangled representation of sketch content and style be learned in a way that supports dynamic adaptation to new styles?
- RQ3What components are necessary to enable meta-learned adaptation of the disentanglement process for unseen user styles?
- RQ4Does explicit disentanglement of sketch style improve retrieval performance under high style variability?
- RQ5Can the proposed framework achieve state-of-the-art performance on both category-level and instance-level SBIR benchmarks?
Key findings
- The proposed model achieves an accuracy of 36.47% on QMUL Shoe-V2 and 81.83% on Sketchy (ext), outperforming prior state-of-the-art methods.
- The model achieves a mean average precision (mAP) of 0.905 on QMUL Shoe-V2 and 0.927 on Sketchy (ext), significantly surpassing existing baselines.
- Ablation studies show that removing the feature transformation layers reduces accuracy by 3.19%, confirming their necessity for style-agnostic adaptation.
- Removing the disentanglement regularizer causes a 3.9% drop in Acc@1 on Shoe-V2, demonstrating its role in dynamically controlling disentanglement.
- The model achieves a retrieval inference time of 0.18ms per query on QMUL ChairV2, comparable to the baseline B-Basic-SN (0.14ms), indicating efficiency.
- In a sketch-to-sketch retrieval setup on QuickDraw, the model achieves 75.81% accuracy, outperforming Sketch-A-Net (68.71%), validating the generality of the learned representation.

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.