Abstract
We propose a new approach for synthesizing fully detailed art-stylized images from sketches. Given a sketch, with no semantic tagging, and a reference image of a specific style, the model can synthesize meaningful details with colors and textures. The model consists of three modules designed explicitly for better artistic style capturing and generation. Based on a GAN framework, a dual-masked mechanism is introduced to enforce the content constraints (from the sketch), and a feature-map transformation technique is developed to strengthen the style consistency (to the reference image). Finally, an inverse procedure of instance-normalization is proposed to disentangle the style and content information, therefore yields better synthesis performance. Experiments demonstrate a significant qualitative and quantitative boost over baselines based on previous state-of-the-art techniques, adopted for the proposed process.
Introduction
Generating high-fidelity art from sparse sketches is a challenging "one-to-many" problem. A simple set of lines representing a landscape could be rendered in countless ways—as a realistic photograph, a charcoal drawing, or a vibrant Impressionist oil painting.
Existing solutions typically fall into two categories, both of which struggle with this specific task:
- Image-to-Image (I2I) Translation: While effective at mapping domains (e.g., maps to satellite views), these models often lack the ability to control the specific style of the output based on a dynamic reference image.
- Neural Style Transfer (NST): These models excel at applying textures to existing photos but fail with sketches. Sketches are too sparse; they lack the dense "content" information (like the inherent texture of a tree or the depth of a sky) that NST requires to anchor its style transformations.
The Sketch-to-Art framework addresses this by "filling in the blanks" of a sparse sketch with meaningful semantic details (colors, textures, brush strokes) while strictly adhering to a user-provided style reference.
Methodology
The proposed approach is built upon a Generative Adversarial Network (GAN) framework, utilizing a U-Net architecture enhanced by three specialized modules designed to bridge the gap between sparse content and dense style.
Core Modules
- Dual Mask Injection (DMI): To prevent the generator from losing the original sketch's structure, DMI uses the sketch as a binary mask. It separates feature maps into "contour areas" and "plain areas," applying different weights to each. This ensures the model respects the lines while understanding where to "paint" the textures.
- Feature Map Transformation (FMT): Unlike standard style transfer that relies on global statistics, FMT extracts style features from a reference image, filters them through the style image's own sketch, and then "refills" those features into the shape of the input sketch. This allows for fine-grained control over local brush-stroke details.
- Instance De-Normalization (IDN): This module is integrated into the Discriminator. While Instance Normalization is typically used to remove style to find content, IDN reverses this process to help the Discriminator better disentangle style from content, forcing the Generator to produce more accurate style representations.
Experimental Results
The model was primarily trained on the Wikiart dataset, which contains 10,000 images across 55 artistic styles. To demonstrate versatility, it was also evaluated on CelebA/FFHQ (faces) and fashion apparel datasets.
Key Findings
- Quantitative Improvement: The model achieved a 17% improvement in Frechet Inception Distance (FID) and an 18% higher style classification score compared to modified versions of SketchyGAN and Pix2pix.
- High Resolution: The lightweight architecture successfully synthesizes high-quality images at 512 x 512 resolution, a significant step up from the 128 x 128 limit of many previous sketch-to-image models.
- Implicit Semantics: Without explicit labels, the model learns that areas above horizontal lines in landscape sketches are likely skies and should receive appropriate textures from the reference style.
- Human Preference: In a survey of 100 participants, the proposed model was preferred 63.3% of the time over the strongest baseline.
Conclusion and Future Work
Sketch-to-Art represents a significant advancement in controlled artistic synthesis. By moving beyond global statistics to local feature transformations and improving discriminator style-awareness, the model produces results that are both structurally faithful and stylistically consistent.
Future work will address current limitations in handling highly specific textures, such as the tiny dots in Pointillism or the extremely flat, neat color patches found in some modern art styles, which currently tend to appear overly textured in the model's output.
Summary updated