Multi-Implicit Neural Representation for Fonts
A font model that stores each glyph as three learned distance fields combined by a median to keep corners sharp.
3D and point clouds · 32 operations Checked
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
- Task
- 3D and point clouds
- Parameters
- 954.7K
- Operations
- 32
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS 2021
- Cited by
- 12 (as of 24 October 2026)
- Authors
- Pradyumna Reddy, Zhifei Zhang, Matthew Fisher and others
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18569
- Graph hash
- ad7c6b3ef6d25f26c02062d5c8c40af9dbdf2173ca92ddeff944c93d9569a780
- Skeleton hash
- 2580e61c6fd1d8dfd3a8e710f76ef50e1a6b485e045b2be77c8bf34fd91133d4
- Architecture hash
- 5f7a4872658ea38af081543b5bc44f13f81bf42cd213a3dfcb5655a7a9647eaf
- Diagram SHA-256
- ae5c958ca21a6279528f0669407e7ef5c5c04a4418236cc956434adf20587e13
- 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
This model represents fonts as a set of learned implicit functions instead of a vector outline or a fixed-resolution image. The paper argues that a single implicit function, such as a signed distance field, works for simple fonts but can fail to retain edges and corners on complex ones.
The implicit network is an auto-decoder, trained with a latent vector for the font style and a one-hot glyph label concatenated to the spatial location as input. It outputs three channels of signed distance values for each queried point. Each channel is rasterized and a median over the three renders the final shape, a choice the paper makes because the median gives sharp corners and does not depend on the order of the channels. A corner is therefore stored as an intersection of smooth curves, and the paper notes that the intersection stays sharp even when the network smooths the individual curves.
Training uses three losses on the glyph shape, including a global shape loss and a corner template loss that supervises curve intersections locally. For font generation the paper trains on 1,000 font families, which is 52,000 images, and tests on 100 font families.
Key idea. The paper represents each glyph as a permutation-invariant set of learned implicit functions, which preserves edges and corners that a single implicit function can lose.
- Multi-Implicit Neural Representation for Fonts
- multi-implicits
- multi_implicit_fonts
- font generation
- glyph completion
- font interpolation
- signed distance field
- implicit neural representation
- vector fonts
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{reddy2022multiimplicitneuralrepresentationfonts,
title={A Multi-Implicit Neural Representation for Fonts},
author={Pradyumna Reddy and Zhifei Zhang and Matthew Fisher and Hailin Jin and Zhaowen Wang and Niloy J. Mitra},
year={2022},
eprint={2106.06866},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2106.06866},
}