[Paper Review] Sketching without Worrying: Noise-Tolerant Sketch-Based Image Retrieval
This paper proposes a reinforcement learning-based stroke subset selector that identifies and removes noisy, irrelevant strokes from freehand sketches to improve fine-grained sketch-based image retrieval (FG-SBIR). By selecting only the most retrieval-relevant strokes before feeding them to a pre-trained FG-SBIR model, the method achieves a 8%-10% performance gain over baselines and sets a new state-of-the-art, while enabling robust on-the-fly retrieval and noise resistance.
Sketching enables many exciting applications, notably, image retrieval. The fear-to-sketch problem (i.e., "I can't sketch") has however proven to be fatal for its widespread adoption. This paper tackles this "fear" head on, and for the first time, proposes an auxiliary module for existing retrieval models that predominantly lets the users sketch without having to worry. We first conducted a pilot study that revealed the secret lies in the existence of noisy strokes, but not so much of the "I can't sketch". We consequently design a stroke subset selector that {detects noisy strokes, leaving only those} which make a positive contribution towards successful retrieval. Our Reinforcement Learning based formulation quantifies the importance of each stroke present in a given subset, based on the extent to which that stroke contributes to retrieval. When combined with pre-trained retrieval models as a pre-processing module, we achieve a significant gain of 8%-10% over standard baselines and in turn report new state-of-the-art performance. Last but not least, we demonstrate the selector once trained, can also be used in a plug-and-play manner to empower various sketch applications in ways that were not previously possible.
Motivation & Objective
- Address the 'fear-to-sketch' problem in sketch-based image retrieval, where users hesitate due to perceived poor sketching ability.
- Identify that the real issue is not sketch quality per se, but the presence of noisy, irrelevant strokes that degrade retrieval performance.
- Develop a pre-processing module that selects only the most informative strokes from a sketch to improve retrieval accuracy.
- Enable plug-and-play deployment of the selector across various sketch applications without retraining.
- Achieve state-of-the-art performance in FG-SBIR by combining the selector with pre-trained retrieval models.
Proposed method
- Design a hierarchical Recurrent Neural Network (RNN) with LSTM units to model the compositional structure of sketch strokes and their relationships.
- Formulate the stroke subset selection as a reinforcement learning (RL) problem, where the agent learns to select or reject each stroke based on its contribution to retrieval performance.
- Use a pre-trained FG-SBIR model as a reward function evaluator, providing dense feedback on how well a selected stroke subset retrieves the ground-truth image.
- Employ an actor-critic proximal policy optimization (PPO) framework with a clipped surrogate objective to stabilize training and improve sample efficiency.
- Integrate a multi-objective reward function combining ranking performance (top-k accuracy) and feature embedding loss (triplet loss) to guide the selector toward both accurate ranking and discriminative representations.
- Rasterize the selected stroke subset before passing it through the pre-trained FG-SBIR model, with the non-differentiable rasterization handled via RL policy gradient methods.

Experimental results
Research questions
- RQ1Can a pre-processing module that selects only the most relevant strokes from a noisy sketch significantly improve FG-SBIR performance?
- RQ2Does removing noisy strokes—rather than improving sketching skill—address the root cause of poor retrieval in sketch-based image retrieval?
- RQ3Can a reinforcement learning-based stroke subset selector outperform standard data augmentation and fine-tuning strategies in on-the-fly sketch retrieval?
- RQ4To what extent can the proposed selector generalize to handle synthetic and real-world sketch noise?
- RQ5How does hierarchical modeling of strokes compare to flat sequence modeling in terms of retrieval performance and robustness?
Key findings
- The proposed stroke subset selector improves top-1 accuracy by 8%-10% over standard baselines, achieving a new state-of-the-art performance on the QMUL-Shoe-V2 dataset.
- When tested under synthetic noise, the method improves top-1 accuracy from 13.4% (without selector) to 37.2% (with selector), demonstrating strong noise tolerance.
- The RL-based selector reduces the number of required rasterization and inference steps by 42.2% in on-the-fly retrieval by filtering out uninformative partial sketches.
- The method achieves competitive on-the-fly performance of r@A = 85.78 and r@B = 21.1, outperforming a prior RL-fine-tuned baseline (85.38, 21.24) on ShoeV2.
- Using a hierarchical LSTM outperforms a single-layer bidirectional LSTM by 4.9% in top-1 accuracy, confirming the importance of modeling compositional stroke structure.
- The PPO actor-critic with clipped surrogate objective yields the best performance, improving top-1 accuracy by 1.7% over the actor-only variant, and enables modeling of partial sketch retrieval ability.

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.