All models

MX-Font

MX-Font, a few-shot font generation network that extracts style with multiple localized experts.

Diffusion and generative · 1,394 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (163 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
22.8M
Operations
1,394
Framework
PyTorch
Recurrent
No
Published
ICCV 2021
Cited by
107 (as of 27 October 2026)
Authors
Song Park, Sanghyuk Chun, Junbum Cha and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18280
Graph hash
479ab19ae2f331d7f8fdeba72e244dbae00f170db51d9ad4583fb37a761dd22c
Skeleton hash
7d1453c66e437263c70b9ec8f35976ae0c514db8f1ee8dfe4dbcd80b60abede8
Architecture hash
fe985d8e23bc08004500f426c4a2c44cdfd5604f76a8eccafd5f584f2f82a359
Diagram SHA-256
362f71a0b31957dafb8841e935d06dae2dc0a62d58f1271c39a39dc462f25e10
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MX-Font, short for Multiple Localized Experts Few-shot Font Generation Network, is a model for few-shot font generation (FFG). Such a model has two goals: the generated images should keep the global structure of the target character and show the diverse local style of the reference.

According to the paper, earlier methods either miss diverse local styles or cannot generalize to characters with unseen components, such as unseen language systems. MX-Font extracts multiple style features with multiple experts, each representing a different local concept such as a left-side sub-glyph, without conditioning them explicitly on component labels. During training, component labels serve as weak supervision that guides each expert to specialize in different local concepts. Assigning components to experts is posed as a graph matching problem and solved with the Hungarian algorithm. An independence loss and a content-style adversarial loss enforce the separation of content and style.

The paper reports that MX-Font outperformed earlier FFG methods in Chinese generation and in cross-lingual generation, for example Chinese to Korean. The released code is based on two earlier projects, clovaai/dmfont and clovaai/lffont.

Key idea. MX-Font extracts multiple style features through multiple experts that represent different local concepts, without explicit conditioning on component labels.

  • mx-font
  • mxfont
  • few-shot font generation
  • font generation
  • ffg
  • multiple localized experts
  • glyph generation
  • chinese font generation
  • cross-lingual font generation
  • content style disentanglement

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{park2021multipleheadsbetterone,
      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},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2104.00887}, 
}