Look Closer to Supervise Better: One-Shot Font Generation via Component-Based Discriminator
About
Automatic font generation remains a challenging research issue due to the large amounts of characters with complicated structures. Typically, only a few samples can serve as the style/content reference (termed few-shot learning), which further increases the difficulty to preserve local style patterns or detailed glyph structures. We investigate the drawbacks of previous studies and find that a coarse-grained discriminator is insufficient for supervising a font generator. To this end, we propose a novel Component-Aware Module (CAM), which supervises the generator to decouple content and style at a more fine-grained level, i.e., the component level. Different from previous studies struggling to increase the complexity of generators, we aim to perform more effective supervision for a relatively simple generator to achieve its full potential, which is a brand new perspective for font generation. The whole framework achieves remarkable results by coupling component-level supervision with adversarial learning, hence we call it Component-Guided GAN, shortly CG-GAN. Extensive experiments show that our approach outperforms state-of-the-art one-shot font generation methods. Furthermore, it can be applied to handwritten word synthesis and scene text image editing, suggesting the generalization of our approach.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Font Generation | Collected Chinese font dataset Unseen styles and Unseen contents | SSIM0.7568 | 13 | |
| Handwriting generation | IAM (test) | FID19.03 | 9 | |
| Font Generation | Collected Chinese font dataset (Seen styles and Unseen contents) | SSIM0.7703 | 8 | |
| Handwriting generation | IAM (IV-S) | FID102.2 | 7 | |
| Handwriting generation | IAM (OOV-S) | FID104.8 | 7 | |
| Handwriting generation | IAM (OOV-U) | FID113 | 7 | |
| Font Generation | Chinese Font Dataset (Seen Fonts) | L1 Error0.0798 | 7 | |
| Handwriting generation | IAM (IV-U) | FID110.1 | 7 |