Multiple Heads are Better than One: Few-shot Font Generation with Multiple Localized Experts

Song Park, Sanghyuk Chun, Junbum Cha, Bado Lee, Hyunjung Shim
4/2/2021
119 citations
cs.CV

Official code: clovaai/mxfont (188 stars, Python, PyTorch, last commit 2023-11-21).

Abstract

A few-shot font generation (FFG) method has to satisfy two objectives: the generated images should preserve the underlying global structure of the target character and present the diverse local reference style. Existing FFG methods aim to disentangle content and style either by extracting a universal representation style or extracting multiple component-wise style representations.

Show full abstract

However, previous methods either fail to capture diverse local styles or cannot be generalized to a character with unseen components, e.g., unseen language systems. To mitigate the issues, we propose a novel FFG method, named Multiple Localized Experts Few-shot Font Generation Network (MX-Font). MX-Font extracts multiple style features not explicitly conditioned on component labels, but automatically by multiple experts to represent different local concepts, e.g., left-side sub-glyph. Owing to the multiple experts, MX-Font can capture diverse local concepts and show the generalizability to unseen languages. During training, we utilize component labels as weak supervision to guide each expert to be specialized for different local concepts. We formulate the component assign problem to each expert as the graph matching problem, and solve it by the Hungarian algorithm. We also employ the independence loss and the content-style adversarial loss to impose the content-style disentanglement. In our experiments, MX-Font outperforms previous state-of-the-art FFG methods in the Chinese generation and cross-lingual, e.g., Chinese to Korean, generation. Source code is available at https://github.com/clovaai/mxfont.

View on arXivView PDF

Code Implementations(1)

clovaai/mxfontOfficial100%
PyTorch

Official PyTorch implementation of MX-Font (Multiple Heads are Better than One: Few-shot Font Generation with Multiple Localized Experts) ICCV 2021

18838Python, Jupyter NotebookApr 2, 20213 years agoNOASSERTION
deep-learningfontfont-generationgenerative-modelsiccv2021+4 more

Similar Papers

Cite this paper

@article{park2021multiple,
  title  = {Multiple Heads are Better than One: Few-shot Font Generation with Multiple Localized Experts},
  author = {Song Park and Sanghyuk Chun and Junbum Cha and Bado Lee and Hyunjung Shim},
  year   = {2021},
  eprint = {2104.00887},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.00887}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.00887.svg)](https://codeofpaper.com/paper/2104.00887)

Discussion