English

CharGen: High Accurate Character-Level Visual Text Generation Model with MultiModal Encoder

Computer Vision and Pattern Recognition 2024-12-24 v1

Abstract

Recently, significant advancements have been made in diffusion-based visual text generation models. Although the effectiveness of these methods in visual text rendering is rapidly improving, they still encounter challenges such as inaccurate characters and strokes when rendering complex visual text. In this paper, we propose CharGen, a highly accurate character-level visual text generation and editing model. Specifically, CharGen employs a character-level multimodal encoder that not only extracts character-level text embeddings but also encodes glyph images character by character. This enables it to capture fine-grained cross-modality features more effectively. Additionally, we introduce a new perceptual loss in CharGen to enhance character shape supervision and address the issue of inaccurate strokes in generated text. It is worth mentioning that CharGen can be integrated into existing diffusion models to generate visual text with high accuracy. CharGen significantly improves text rendering accuracy, outperforming recent methods in public benchmarks such as AnyText-benchmark and MARIO-Eval, with improvements of more than 8% and 6%, respectively. Notably, CharGen achieved a 5.5% increase in accuracy on Chinese test sets.

Keywords

Cite

@article{arxiv.2412.17225,
  title  = {CharGen: High Accurate Character-Level Visual Text Generation Model with MultiModal Encoder},
  author = {Lichen Ma and Tiezhu Yue and Pei Fu and Yujie Zhong and Kai Zhou and Xiaoming Wei and Jie Hu},
  journal= {arXiv preprint arXiv:2412.17225},
  year   = {2024}
}
R2 v1 2026-06-28T20:45:56.153Z