Few-shot Font Generation with Weakly Supervised Localized Representations

Song Park, Sanghyuk Chun, Junbum Cha, Bado Lee, Hyunjung Shim

Research output: Contribution to journalArticlepeer-review

1 Citation (Scopus)


Automatic few-shot font generation aims to solve a well-defined, real-world problem because manual font designs are expensive and sensitive to the expertise of designers. Existing methods learn to disentangle style and content elements by developing a universal style representation for each font style. However, this approach limits the model in representing diverse local styles because it is unsuitable for complicated letter systems. For example, Chinese characters consist of a varying number of components (often called &#x201C;radical&#x201D;) with a highly complex structure. In this paper, we propose a novel font generation method that learns localized styles, namely component-wise style representations, instead of universal styles. The proposed style representations enable synthesizing complex local details in text designs. However, learning component-wise styles solely from a few reference glyphs is infeasible when a target script has a large number of components, for example, over 200 for Chinese. To reduce the number of required reference glyphs, we represent component-wise styles by a product of component and style factors inspired by low-rank matrix factorization. Owing to the combination of strong representation and a compact factorization strategy, our method shows remarkably better few-shot font generation results (with only eight reference glyphs) than other state-of-the-art methods. Moreover, strong locality supervision was not utilized, such as the location of each component, skeleton, or strokes. The source code is available at <uri>https://github.com/clovaai/lffont</uri>.

Original languageEnglish
Pages (from-to)1-17
Number of pages17
JournalIEEE transactions on pattern analysis and machine intelligence
Publication statusAccepted/In press - 2022

Bibliographical note

Publisher Copyright:

All Science Journal Classification (ASJC) codes

  • Software
  • Computer Vision and Pattern Recognition
  • Computational Theory and Mathematics
  • Artificial Intelligence
  • Applied Mathematics


Dive into the research topics of 'Few-shot Font Generation with Weakly Supervised Localized Representations'. Together they form a unique fingerprint.

Cite this