CycleGAN with auxiliary classifier for chinese calligraphy style transfer and font classification
Abstract
As a minor field that remains traditional, few have tried to integrate machine learning with Chinese calligraphy. This ancient form of visual art, on the contrary, is a considerable stage for computer vision. The numerous preservations of Chinese calligraphy make the rich context for machine learning studies that potentially make the field more valuable both aesthetically and pedagogically. This study transfers between stone inscriptions and ink marks, two unique forms of Chinese calligraphy, and classifies the fonts of the pieces. The model of this study is based on the outline of CycleGAN, a powerful generative algorithm for image style transfer. An auxiliary classifier, whose loss is trained together with the GAN loss and the cycle consistency loss, is deployed on the discriminator of CycleGAN, enabling the network to function as a classifier simultaneously. The model succeeds to convert the forms of stone inscriptions and ink marks, with the properties of each style vividly presented. It also successfully optimizes both the discriminator loss and the classification loss, showing the practicability of an auxiliary classifier on CycleGAN. This study points to a decent potential for further combinations of machine learning techniques with Chinese calligraphy studies, to make the job more versatile and detailed.
References
- Gatys L A Ecker A S Bethge M A 2015 Neural algorithm of artistic style arXiv:1508.0657
- Goodfellow I Pouget-Abadie J Mirza M et al. 2014 Generative adversarial nets Advances in neural information processing systems 2672-2680.
- Isola P Zhu J Y Zhou T et al. 2018 Image-to-Image Translation with Conditional Adversarial Networks arXiv:1611.07004v
- Zhu J Y Park T Isola P et al. 2017 Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Network
- Karras T Laine S Aila T 2019 A Style-Based Generator Architecture for Generative Adversarial Networks arXiv:1812.04948v3
- Karras T Aila T Laine S et al. 2018 Progressive Growing of GANs for Improved Quality, Stability, and Variatio
- Li Y Tai Y W Tang C K 2018 Attribute-Guided Face Generation Using Conditional CycleGA arXiv:1705.09966v2
- Mirza M Osindero S 2014 Conditional Generative Adversarial Nets arXiv:1411.1784v1
- Odena A Olah C Shlens J 2017 Conditional Image Synthesis with Auxiliary Classifier GANs arXiv:1610.09585v4
- Eveningglow 2017 Multitask-CycleGAN URL: https://github.com/eveningglow/multitask CycleGAN