Introduction
Generating high-quality traditional Chinese paintings from textual descriptions, particularly classical poetry, remains a significant challenge in computer vision. Unlike standard text-to-image tasks that focus on realistic objects, Chinese painting involves distinct artistic domains—such as monochrome ink wash and vibrant colored styles—and often relies on abstract, "weakly correlated" poetic metaphors. Furthermore, the field suffers from a lack of large-scale, high-quality datasets paired with descriptive text.
To address these issues, researchers have proposed a novel two-stage framework that combines a multi-domain Vector Quantized Generative Adversarial Network (VQGAN) with the WenLan vision-language model. This approach synthesizes high-resolution paintings without requiring expensive, manually labeled image-text pairs.
Methodology: A Two-Stage Framework
The proposed method operates in two distinct phases to handle stylistic nuance and semantic alignment.
Stage 1: Multi-domain VQGAN
Traditional VQGANs use a single codebook to reconstruct images. To accommodate multiple artistic styles, the authors developed a branching architecture. While the down-sampling and up-sampling layers are shared to capture general structural features, the model employs domain-specific branches for the encoder, codebook, and decoder. This design allows the system to learn the unique textures of ink wash and colored paintings simultaneously. By sharing structural knowledge across domains, the model can even "borrow" features (e.g., river structures) from one domain to improve the other. This integrated approach saved approximately 24 million parameters compared to training separate models.
Stage 2: WenLan-guided Generation
In the second stage, the system generates images based on classical poetry. Instead of direct text-to-image mapping, the process uses WenLan, a large-scale Chinese vision-language pre-training model. Starting from random noise, the system iteratively optimizes latent variables. WenLan acts as a semantic "critic," calculating the distance between the evolving image and the input poem. Through gradient descent, the image is refined over 1,000 iterations until it aligns with the "mood" and essence of the text.
Datasets and Implementation
The researchers curated two primary image datasets to train the multi-domain architecture:
- Colored Paintings: 2,925 high-quality images (512×512) curated from internet sources.
- Ink Wash Paintings: 2,811 high-resolution images from the Tang, Ming, and Qing dynasties, sourced from museum collections like the Smithsonian and the Met.
- Textual Input: 200 lines of classical Chinese poetry were used to evaluate the model's ability to interpret abstract metaphors.
Key Results
The "Complete Model" with multi-domain branches outperformed several baselines in both quantitative and qualitative metrics.
- Quantitative Performance: The model achieved superior Fréchet Inception Distance (FID) scores—136.03 for ink wash and 87.78 for colored paintings—indicating high image quality and diversity. It also led in R-precision, demonstrating strong alignment between the generated visuals and the source text.
- Qualitative Evaluation: In user studies involving seven volunteers, the model was consistently rated higher for "authenticity" and "semantic correlation" compared to other variants. When compared to CogView, the proposed method produced images with richer textures that better adhered to the aesthetic principles of traditional Chinese art.
Conclusion and Future Work
This research demonstrates that a multi-domain VQGAN guided by a vision-language model can effectively bridge the gap between abstract poetry and diverse artistic styles. While the current iterative process takes approximately 213 seconds per image on a Tesla V100, future work will focus on improving generation speed and scaling to even higher resolutions. Additionally, refining the vision-language model’s understanding of ancient Chinese vocabulary could further enhance the poetic accuracy of the generated works.
Summary updated