arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.06065cs.CV
收藏

DiffusionPen:迈向控制手写文本生成的风格

DiffusionPen: Towards Controlling the Style of Handwritten Text Generation

Luleå University of Technology(吕勒奥理工大学);National Technical University of Athens(雅典国立技术大学);University of West Attica(西阿提卡大学)

Konstantina Nikolaidou, George Retsinas, Giorgos Sfikas, Marcus Liwicki

AI总结:

本文提出基于潜在扩散模型的 5-shot 方法 DiffusionPen,通过混合风格提取器及多风格混合、带噪嵌入策略生成逼真手写文本,并在 IAM 上验证其可提升 HTR 性能。

摘要:

以文本和风格为条件的手写文本生成(HTG)是一项具有挑战性的任务,原因在于用户间特征的可变性,以及构成训练期间未见过的新单词的字符组合具有无限性。扩散模型最近在 HTG 中展现出良好效果,但仍未得到充分探索。我们提出 DiffusionPen(DiffPen),这是一种基于潜在扩散模型的 5-shot 风格手写文本生成方法。通过利用结合度量学习和分类的混合风格提取器,我们的方法能够捕捉已见和未见单词及风格的文本特征与风格特征,从而生成逼真的手写样本。此外,我们探索了多种数据变化策略,包括多风格混合和带噪嵌入,以增强生成数据的鲁棒性和多样性。使用 IAM 离线手写数据库进行的大量实验表明,我们的方法在定性和定量方面均优于现有方法,并且其额外生成的数据能够提升手写文本识别(HTR)系统的性能。代码可在 https://github.com/koninik/DiffusionPen 获取。

英文摘要:

Handwritten Text Generation (HTG) conditioned on text and style is a challenging task due to the variability of inter-user characteristics and the unlimited combinations of characters that form new words unseen during training. Diffusion Models have recently shown promising results in HTG but still remain under-explored. We present DiffusionPen (DiffPen), a 5-shot style handwritten text generation approach based on Latent Diffusion Models. By utilizing a hybrid style extractor that combines metric learning and classification, our approach manages to capture both textual and stylistic characteristics of seen and unseen words and styles, generating realistic handwritten samples. Moreover, we explore several variation strategies of the data with multi-style mixtures and noisy embeddings, enhancing the robustness and diversity of the generated data. Extensive experiments using IAM offline handwriting database show that our method outperforms existing methods qualitatively and quantitatively, and its additional generated data can improve the performance of Handwriting Text Recognition (HTR) systems. The code is available at: https://github.com/koninik/DiffusionPen.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑