Papers › Handwritten Text Generation from Visual Archetypes

Handwritten Text Generation from Visual Archetypes

27 Mar 2023CVPR 2023 1arXiv:2303.15269archive 2025-07-28

Vittorio Pippi, Silvia Cascianelli, Rita Cucchiara

Generating synthetic images of handwritten text in a writer-specific style is a challenging task, especially in the case of unseen styles and new words, and even more when these latter contain characters that are rarely encountered during training. While emulating a writer's style has been recently addressed by generative models, the generalization towards rare characters has been disregarded. In this work, we devise a Transformer-based model for Few-Shot styled handwritten text generation and focus on obtaining a robust and informative representation of both the text and the style. In particular, we propose a novel representation of the textual content as a sequence of dense vectors obtained from images of symbols written as standard GNU Unifont glyphs, which can be considered their visual archetypes. This strategy is more suitable for generating characters that, despite having been seen rarely during training, possibly share visual details with the frequently observed ones. As for the style, we obtain a robust representation of unseen writers' calligraphy by exploiting specific pre-training on a large synthetic dataset. Quantitative and qualitative results demonstrate the effectiveness of our proposal in generating words in unseen styles and with rare characters more faithfully than existing approaches relying on independent one-hot encodings of the characters.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.15269")

Code

Syntology Ran 18 of 28 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 3 ran · fixture could not drive it; 10 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 14 ran; community (archive-listed): 8 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

aimagelab/vatr officialmentioned in papermentioned on GitHubpytorchMIT report
hnam-1765/writevit mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

28 samples harvested; 18 ran; 1 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
4ran · our draft was wrong
3ran · fixture could not drive it
10ran
10unverified

Licence: 0 of the 28 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Conv2dBlock aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic MIT (permissive) · f0b7cc93962197b3 · report
FCNDecoder aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 0ce0d022419871d3 · report
FIDInceptionA aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 2648187d673104a6 · report
FIDInceptionC aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 643d4a526326f581 · report
FIDInceptionE_1 aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · db29adb344f73366 · report
FIDInceptionE_2 aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · cd5dedb4fdac4f23 · report
PositionalEncoding1D aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 9e410fe607bac90c · report
ResBlock aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 22c73a1beb759d7d · report
ResBlocks aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 4dbb6df05fa94399 · report
UnifontModule aimagelab/VATr/models/model.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 367b22529423f3f6 · report
get_emb aimagelab/VATr/models/model.py official repository ran · honoured contract fingerprinted MIT (permissive) · 33805df68cb6892e · report
loss_hinge_dis aimagelab/VATr/models/model.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · d5932c9e19a8f551 · report
loss_hinge_gen aimagelab/VATr/models/model.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 20ede13d7691fddd · report
make_one_hot aimagelab/VATr/models/model.py official repository ran · our draft was wrong MIT (permissive) · 39075c27b258d2c3 · report
AdaptiveInstanceNorm2d aimagelab/VATr/models/model.py official repository unverified MIT (permissive) · 5db4f1182b19d9c5 · report
Generator aimagelab/VATr/models/model.py official repository unverified MIT (permissive) · 1ff1bc3eaf943f05 · report
InceptionV3 aimagelab/VATr/models/model.py official repository unverified MIT (permissive) · e66d36581525af67 · report
VATr aimagelab/VATr/models/model.py official repository unverified MIT (permissive) · 818355b6821b8174 · report
fid_inception_v3 aimagelab/VATr/models/model.py official repository unverified MIT (permissive) · 99c0f27938d0a636 · report
toggle_grad aimagelab/VATr/models/model.py official repository unverified MIT (permissive) · c31ec2e6a64fbcac · report
calculate_frechet_distance hnam-1765/writevit/models/inception.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 4cee7c1861294d59 · report
conv3x3 hnam-1765/writevit/models/backbone.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 583f9780bdd00a45 · report
get_scheduler hnam-1765/writevit/models/networks.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 62a8cdfdb51ec275 · report
gram_schmidt hnam-1765/writevit/models/BigGAN_layers.py community (archive-listed) ran · our draft was wrong MIT (permissive) · c41836f3e51fa8f1 · report
D_arch hnam-1765/writevit/models/BigGAN_networks.py community (archive-listed) unverified MIT (permissive) · d5e0c4c475f7d0ea · report
G_arch hnam-1765/writevit/models/BigGAN_networks.py community (archive-listed) unverified MIT (permissive) · eeee154bc306d46b · report
power_iteration hnam-1765/writevit/models/BigGAN_layers.py community (archive-listed) unverified MIT (permissive) · 28d3a35157f2916d · report
proj hnam-1765/writevit/models/BigGAN_layers.py community (archive-listed) unverified MIT (permissive) · 4015ab1f3ab9b881 · report

Tasks

Text Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections