VecGlypher: 一种基于语言模型的统一向量图形单元生成方法
VecGlypher: Unified Vector Glyph Generation with Language Models
AI总结:
VecGlypher通过多模态语言模型直接生成高质量向量图形,无需位图中间步骤,显著提升字体创建效率和可编辑性。
摘要:
向量图形单元是数字排版的基本单位,但大多数基于学习的流程仍然依赖于精心编纂的示例表和位图到向量的后处理,这限制了可访问性和可编辑性。我们介绍了VecGlypher,这是一种单一的多模态语言模型,可以直接从文本描述或图像示例生成高质量的向量图形。给定一个风格提示、可选的参考图形图像和目标字符,VecGlypher 自回归地发射 SVG 路径令牌,避免位图中间产物,并在一次通过中生成可编辑且封闭的轮廓。一种排版意识的数据和训练配方使这成为可能:(i) 在 39,000 个嘈杂的 Envato 字体上进行大规模延续阶段以掌握 SVG 语法和长距离几何,随后是 (ii) 在 2,500 个专家注释的 Google Fonts 上进行后训练,使用描述性标签和示例对齐语言和图像与几何;预处理规范坐标框架、规范化路径、去重家族并量化坐标以实现稳定的长序列解码。在跨家族OOD评估中,VecGlypher在纯文本生成中显著优于通用目的LLM和专门的向量字体基线,而图像参考生成达到最先进的性能,明显优于DeepVecFont-v2和DualVector。消融实验显示,模型规模和两阶段配方是关键,绝对坐标序列化产生最佳几何。VecGlypher通过允许用户用单词或示例设计来降低字体创建的门槛,并提供了一个可扩展的基础,为未来的多模态设计工具铺平道路。
英文摘要:
Vector glyphs are the atomic units of digital typography, yet most learning-based pipelines still depend on carefully curated exemplar sheets and raster-to-vector postprocessing, which limits accessibility and editability. We introduce VecGlypher, a single multimodal language model that generates high-fidelity vector glyphs directly from text descriptions or image exemplars. Given a style prompt, optional reference glyph images, and a target character, VecGlypher autoregressively emits SVG path tokens, avoiding raster intermediates and producing editable, watertight outlines in one pass. A typography-aware data and training recipe makes this possible: (i) a large-scale continuation stage on 39K noisy Envato fonts to master SVG syntax and long-horizon geometry, followed by (ii) post-training on 2.5K expert-annotated Google Fonts with descriptive tags and exemplars to align language and imagery with geometry; preprocessing normalizes coordinate frames, canonicalizes paths, de-duplicates families, and quantizes coordinates for stable long-sequence decoding. On cross-family OOD evaluation, VecGlypher substantially outperforms both general-purpose LLMs and specialized vector-font baselines for text-only generation, while image-referenced generation reaches a state-of-the-art performance, with marked gains over DeepVecFont-v2 and DualVector. Ablations show that model scale and the two-stage recipe are critical and that absolute-coordinate serialization yields the best geometry. VecGlypher lowers the barrier to font creation by letting users design with words or exemplars, and provides a scalable foundation for future multimodal design tools.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。