StableSketcher: Enhancing Diffusion Model for Pixel-based Sketch Generation via Visual Question Answering Feedback
Jiho Park, Sieun Choi, Jaeyoon Seo, Jihie Kim
TL;DR
This work targets the challenge of generating pixel-based, hand-drawn sketches with diffusion models. It introduces StableSketcher, which (i) fine-tunes the VAE for improved latent reconstruction and (ii) employs a VQA-guided DDPO framework to maximize prompt fidelity, using a novel VQA reward that leverages SketchDUO’s instance-level QA signals. A first-of-its-kind SketchDUO dataset provides 35.8K positive/negative sketches with fine-grained captions and 54.37K QA triplets to support instance-level sketch learning and contrastive modeling. Empirical results show StableSketcher achieves superior FID and TIFAScore compared to Stable Diffusion baselines, with user studies confirming improved sketch quality and alignment to prompts. The work advances practical abstract sketch generation and offers a dataset and methodology for fine-grained multimodal control in diffusion-based sketch synthesis, with potential for broader sketch-guided creative applications.
Abstract
Although recent advancements in diffusion models have significantly enriched the quality of generated images, challenges remain in synthesizing pixel-based human-drawn sketches, a representative example of abstract expression. To combat these challenges, we propose StableSketcher, a novel framework that empowers diffusion models to generate hand-drawn sketches with high prompt fidelity. Within this framework, we fine-tune the variational autoencoder to optimize latent decoding, enabling it to better capture the characteristics of sketches. In parallel, we integrate a new reward function for reinforcement learning based on visual question answering, which improves text-image alignment and semantic consistency. Extensive experiments demonstrate that StableSketcher generates sketches with improved stylistic fidelity, achieving better alignment with prompts compared to the Stable Diffusion baseline. Additionally, we introduce SketchDUO, to the best of our knowledge, the first dataset comprising instance-level sketches paired with captions and question-answer pairs, thereby addressing the limitations of existing datasets that rely on image-label pairs. Our code and dataset will be made publicly available upon acceptance.
