[Paper Review] DG-Font: Deformable Generative Networks for Unsupervised Font Generation
This paper proposes DG-Font, a novel unsupervised font generation model that uses deformable generative networks to synthesize high-quality characters without paired training data. By introducing a Feature Deformation Skip Connection (FDSC) that predicts displacement maps for deformable convolutions and employing deformable convolutions in the content encoder, DG-Font effectively transfers geometric style while preserving structural integrity, achieving state-of-the-art results in Chinese font generation with improved perceptual quality and structural fidelity.
Font generation is a challenging problem especially for some writing systems that consist of a large number of characters and has attracted a lot of attention in recent years. However, existing methods for font generation are often in supervised learning. They require a large number of paired data, which is labor-intensive and expensive to collect. Besides, common image-to-image translation models often define style as the set of textures and colors, which cannot be directly applied to font generation. To address these problems, we propose novel deformable generative networks for unsupervised font generation (DGFont). We introduce a feature deformation skip connection (FDSC) which predicts pairs of displacement maps and employs the predicted maps to apply deformable convolution to the low-level feature maps from the content encoder. The outputs of FDSC are fed into a mixer to generate the final results. Taking advantage of FDSC, the mixer outputs a high-quality character with a complete structure. To further improve the quality of generated images, we use three deformable convolution layers in the content encoder to learn style-invariant feature representations. Experiments demonstrate that our model generates characters in higher quality than state-of-art methods. The source code is available at https://github.com/ecnuycxie/DG-Font.
Motivation & Objective
- To address the challenge of unsupervised font generation, especially for logographic scripts like Chinese with large character sets, where paired data is expensive to collect.
- To overcome the limitations of existing image-to-image translation models that define style as texture and color, which are inadequate for capturing geometric style in fonts.
- To enable high-fidelity font generation by disentangling content and style representations while preserving structural details such as stroke tips and thickness variations.
- To develop a method that generalizes well to unseen fonts without requiring paired examples or annotated labels like strokes or radicals.
Proposed method
- Proposes a Feature Deformation Skip Connection (FDSC) module that predicts pairs of displacement maps to apply deformable convolution to low-level features from the content encoder.
- Uses deformable convolution layers in the content encoder to learn style-invariant feature representations, improving robustness to geometric variations.
- Employs a multi-task discriminator to ensure discriminative style representation and enable independent style discrimination.
- Introduces an offset normalization loss in the FDSC module to constrain learned offsets, enhancing alignment between source and target character structures.
- Applies two reconstruction losses (L1 and perceptual) and a multi-scale perceptual loss to preserve structural and semantic details in generated characters.
- Uses a mixer network to combine content and style features, generating final output images with complete and realistic character structures.
Experimental results
Research questions
- RQ1Can a generative model achieve high-quality unsupervised font generation without relying on paired training data?
- RQ2How can geometric deformation between source and target fonts be effectively modeled and transferred in an unsupervised setting?
- RQ3Can deformable convolution and displacement maps improve structural fidelity in font generation compared to standard skip connections?
- RQ4Does the use of style-invariant features and offset constraints lead to better generalization and visual quality in unseen font styles?
Key findings
- The FDSC module significantly improves structural preservation, generating characters with complete and coherent shapes, as shown in qualitative comparisons with baseline models.
- The inclusion of deformable convolution layers in the content encoder leads to measurable improvements in L1 loss, RMSE, and SSIM, indicating better feature representation and reconstruction.
- Offset normalization in the FDSC module enhances style transfer quality, making generated characters more similar to the target font in appearance and structure.
- Replacing FDSC with standard skip-connections results in degraded performance, confirming that FDSC’s deformable feature transfer is essential for geometric style modeling.
- Visualizations confirm that learned offsets primarily affect stroke regions and guide sampling locations from source to target strokes, validating the model’s ability to learn meaningful spatial deformations.
- The full model with two FDSC modules achieves the best quantitative and qualitative results, producing characters with rich details such as stroke tips, thickness variation, and joined-up writing.
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.