[Paper Review] Interactive Sketch & Fill: Multiclass Sketch-to-Image Translation
This paper proposes an interactive GAN-based sketch-to-image system that completes partial user-drawn outlines and generates class-specific images in real time. Using a two-stage process—first completing the shape via a shape completion network, then generating photorealistic images conditioned on both the completed outline and a class label via a gating-based conditional generator—it enables accurate, multi-class image synthesis from sparse sketches, outperforming naive concatenation and achieving near-per-class performance with a single shared generator.
We propose an interactive GAN-based sketch-to-image translation method that helps novice users create images of simple objects. As the user starts to draw a sketch of a desired object type, the network interactively recommends plausible completions, and shows a corresponding synthesized image to the user. This enables a feedback loop, where the user can edit their sketch based on the network's recommendations, visualizing both the completed shape and final rendered image while they draw. In order to use a single trained model across a wide array of object classes, we introduce a gating-based approach for class conditioning, which allows us to generate distinct classes without feature mixing, from a single generator network. Video available at our website: https://arnabgho.github.io/iSketchNFill/.
Motivation & Objective
- To enable novice users to create photorealistic images of simple objects through interactive, incremental sketching.
- To address the challenge of generating diverse, class-specific images from incomplete, sparse sketches without requiring dense edge maps.
- To develop a single, scalable generator that supports multiple object classes without feature mixing, using a novel gating mechanism for effective class conditioning.
- To provide real-time feedback during sketching by suggesting plausible shape completions and corresponding image results.
Proposed method
- A two-stage framework: first, a shape completion network predicts a complete, plausible outline from sparse user strokes.
- Second, a multi-class conditional GAN generates photorealistic images conditioned on both the completed outline and a user-provided class label.
- A gating mechanism—specifically channel-wise soft-gating (e.g., ChannelGate)—is applied to the generator to enable class-specific feature modulation, preventing feature mixing across classes.
- The gating mechanism is applied across layers (e.g., in residual blocks) and includes a learnable bias, allowing the network to focus on class-relevant activations.
- The system uses a single shared generator and discriminator across all classes, trained on a diverse dataset of 10 object classes including round and complex shapes.
- The interface provides real-time visual feedback: completed shape (gray), synthesized image (color), and user edits (green/red), enabling interactive refinement.
Experimental results
Research questions
- RQ1Can a single conditional GAN generator effectively generate diverse, class-specific images from incomplete sketches without feature mixing?
- RQ2Does a two-stage approach—shape completion followed by image generation—improve training stability and user feedback compared to direct sketch-to-image translation?
- RQ3How effective is a gating-based conditioning mechanism compared to naive concatenation or adaptive instance normalization for multi-class sketch-to-image translation?
- RQ4Can the model generalize to unseen shape-class combinations, such as a circular outline generating a pineapple or cupcake?
- RQ5Does the proposed method achieve performance comparable to per-class generators while maintaining a single, deployable model?
Key findings
- The gating-based conditioning mechanism (especially ChannelGate) achieved a classification accuracy of 99.6% on the test set, outperforming naive concatenation (64.5%) and approaching per-class generator performance (97.0%).
- The proposed SkinnyResNet architecture with gating achieved a fooling rate of 23.4% in human evaluation, outperforming the per-class generator (17.7%) in realism, suggesting better generalization and fewer artifacts.
- The two-stage approach significantly improved performance over direct mapping from partial outlines to images, as the intermediate shape completion provided crucial geometric supervision.
- The model successfully generated distinct, class-specific images from the same outline (e.g., a circle) for diverse classes like basketball, watermelon, cupcake, and pineapple, even without structural cues for parts like crowns or bottoms.
- The system demonstrated generalization to complex shapes such as faces and shoes, indicating robustness beyond simple, round objects.
- The gating mechanism enabled clean separation of classes, allowing a single generator to produce high-quality, diverse outputs across 10 object classes without performance degradation.
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.