Abstract
Despite having promising results, style transfer, which requires preparing style images in advance, may result in lack of creativity and accessibility. Following human instruction, on the other hand, is the most natural way to perform artistic style transfer that can significantly improve controllability for visual effect applications. We introduce a new task—language-driven artistic style transfer (LDAST)—to manipulate the style of a content image, guided by a text. We propose contrastive language visual artist (CLVA) that learns to extract visual semantics from style instructions and accomplish LDAST by the patch-wise style discriminator. The discriminator considers the correlation between language and patches of style images or transferred results to jointly embed style instructions. CLVA further compares contrastive pairs of content images and style instructions to improve the mutual relativeness. The results from the same content image can preserve consistent content structures. Besides, they should present analogous style patterns from style instructions that contain similar visual semantics. The experiments show that our CLVA is effective and achieves superb transferred results on LDAST.
The Challenge of Artistic Control
Traditional artistic style transfer typically requires a pair of images: a content source and a style reference. This dependency limits accessibility, as users may not have a specific image that captures the exact texture or emotional "vibe" they envision. While natural language is the most intuitive way for humans to describe artistic intent—such as "make this look like a charcoal sketch" or "peaceful and sunny"—mapping abstract text to complex visual patterns is a significant technical challenge.
Existing attempts to bridge this gap often rely on CLIP-guided optimization. However, these methods require hundreds of iterations per image, making them too slow for real-time applications. Furthermore, they often struggle to capture fine-grained style details or the emotional nuances described in human text.
Methodology: The CLVA Framework
The authors propose the Contrastive Language Visual Artist (CLVA), a feed-forward network designed for high-quality, controllable stylization. Unlike optimization-based methods, CLVA performs stylization in a single "shot" once trained.
CLVA consists of two primary components:
- Language Visual Artist (LVA): This core architecture utilizes a visual encoder for content features and a text encoder for style semantics. A patch-wise style discriminator is employed during training to ensure that local textures in the generated image match the linguistic description. This allows the model to learn specific correlations between words (e.g., "metallic," "hairy," or "peaceful") and visual patterns.
- Contrastive Reasoning (CR): To improve robustness, the model is trained on pairs of images and instructions. It learns that a single content image must maintain a consistent structure across different styles, while similar style instructions should produce analogous patterns across different content images.
Key Insights and Relational Learning
A critical innovation in CLVA is the focus on patches over pixels. By using a patch-wise discriminator, the model prioritizes local texture synthesis—brushstrokes, material textures, and grain—rather than simple global color shifts. This is essential for authentic "artistic" styles.
Furthermore, the model moves beyond literal attributes to connect emotional keywords (e.g., "scary," "peaceful") to visual representations. For instance, it learns that "scary" might involve darker, high-contrast charcoal tones, while "peaceful" might invoke softer, green-hued painterly textures. By comparing how different instructions affect the same image, the model gains a deeper understanding of the relational impact of specific words.
Results and Performance
CLVA demonstrates significant improvements over existing baselines in both speed and quality:
- Efficiency: CLVA is approximately 1000x faster than the state-of-the-art CLIPstyler, processing an image in roughly 0.03 seconds compared to 30–100 seconds for optimization-based methods.
- Quality and Fidelity: In human evaluations, CLVA was consistently ranked higher than baselines like ManiGAN or SANet in terms of both content preservation and instruction following. It achieved the highest SSIM (Structural Similarity Index) and the lowest FAD (Fréchet Activation Distance), indicating its results are both structurally sound and stylistically authentic.
- Controllability: The model supports smooth interpolation between different text prompts (e.g., transitioning from "colorful" to "transparent"), allowing for fine-tuned artistic control.
Conclusion and Future Directions
CLVA represents a significant step forward in making artistic style transfer more accessible and controllable through natural language. While the model currently excels at emotional and textural prompts, future work may focus on handling more complex, multi-sentence instructions that require spatial reasoning or expanding the training data to include even more diverse artistic domains.
Summary updated