[Paper Review] Pyramid Embedded Generative Adversarial Network for Automated Font Generation
This paper proposes Pyramid Embedded Generative Adversarial Network (PEGAN), a U-Net-based model with cascaded refinement and mirror skip connections that embeds multi-scale feature pyramids to improve Chinese font generation. PEGAN outperforms baseline methods like zi2zi in PSNR (17.52 vs. 17.45), SSIM (0.84 vs. 0.83), UQI (0.27 vs. 0.26), and character recognition accuracy (96% vs. 95%), while achieving lower human classification accuracy (65% vs. 73%) in a Visual Turing Test, indicating more realistic outputs.
In this paper, we investigate the Chinese font synthesis problem and propose a Pyramid Embedded Generative Adversarial Network (PEGAN) to automatically generate Chinese character images. The PEGAN consists of one generator and one discriminator. The generator is built using one encoder-decoder structure with cascaded refinement connections and mirror skip connections. The cascaded refinement connections embed a multiscale pyramid of downsampled original input into the encoder feature maps of different layers, and multi-scale feature maps from the encoder are connected to the corresponding feature maps in the decoder to make the mirror skip connections. Through combining the generative adversarial loss, pixel-wise loss, category loss and perceptual loss, the generator and discriminator can be trained alternately to synthesize character images. In order to verify the effectiveness of our proposed PEGAN, we first build one evaluation set, in which the characters are selected according to their stroke number and frequency of use, and then use both qualitative and quantitative metrics to measure the performance of our model comparing with the baseline method. The experimental results demonstrate the effectiveness of our proposed model, it shows the potential to automatically extend small font banks into complete ones.
Motivation & Objective
- To address the high cost and time consumption of manual Chinese font design, especially for large character sets.
- To develop an automated method that can extend small font banks into complete, stylistically consistent font libraries.
- To improve image quality and realism in font generation by integrating multi-scale features and multiple loss functions.
- To evaluate model performance using a curated dataset based on stroke count and character frequency, ensuring realistic and diverse test cases.
Proposed method
- The generator uses a U-Net architecture enhanced with cascaded refinement connections that embed multi-scale downsampled input features into encoder layers at different depths.
- Mirror skip connections transfer multi-scale encoder features to corresponding decoder layers, preserving spatial and structural details.
- Four loss functions are used: adversarial loss for realism, pixel-wise loss for pixel-level accuracy, perceptual loss for structural similarity, and category loss for multi-style learning during pre-training.
- The training is split into a pre-training stage using category loss and a tuning stage with all four losses to stabilize and refine generation.
- The model is trained end-to-end using a minmax policy, where the generator and discriminator are updated alternately.
- A custom evaluation set is constructed based on stroke number and character frequency to ensure balanced and representative testing.
Experimental results
Research questions
- RQ1Can a GAN-based model with multi-scale feature embedding generate high-quality, realistic Chinese character images that match target font styles?
- RQ2How does the integration of cascaded refinement and mirror skip connections improve the generation of fine-grained stroke details compared to standard U-Net?
- RQ3To what extent does combining adversarial, pixel-wise, perceptual, and category losses enhance both visual quality and structural fidelity in font generation?
- RQ4Can the model generalize to unseen characters and extend small font banks into complete, usable font libraries?
Key findings
- PEGAN achieved a PSNR of 17.52, surpassing the baseline zi2zi's 17.45, indicating better pixel-level reconstruction accuracy.
- The SSIM score of 0.84 for PEGAN exceeds zi2zi's 0.83, showing improved structural similarity in generated images.
- PEGAN achieved a perceptual quality score (UQI) of 0.27, slightly higher than zi2zi's 0.26, indicating better preservation of perceptual features.
- The character recognition model correctly classified 96% of PEGAN-generated images, compared to 95% for zi2zi, suggesting improved legibility and style consistency.
- In the Visual Turing Test, human raters misclassified PEGAN-generated images 65% of the time, compared to 73% for zi2zi, indicating PEGAN produces more realistic and indistinguishable outputs.
- PEGAN successfully extended three small font banks—Baizhou KaiTi (670 chars), ZhaoHeTi (2000 chars), and ZCool KuHei (3563 chars)—to full sets, generating high-quality, style-consistent characters not in the training data.
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.