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

CF-Font: 面向少样本字体生成的内容融合方法

CF-Font: Content Fusion for Few-shot Font Generation

Zhejiang University(浙江大学);Alibaba Group(阿里巴巴集团)

Chi Wang, Min Zhou, Tiezheng Ge, Yuning Jiang, Hujun Bao, Weiwei Xu

AI总结:

针对少样本字体生成中内容特征提取非最优的问题,提出含内容融合模块、迭代风格向量精炼策略和投影字符损失的CF-Font方法,在300种字体的数据集上性能显著优于现有SOTA方法。

摘要:

内容与风格解耦是实现少样本字体生成的有效途径,它能够将源域字体图像的风格迁移到由目标域少量参考图像定义的风格上。然而,使用代表性字体提取的内容特征可能并非最优。针对这一问题,我们提出内容融合模块(CFM),将内容特征投影到由基准字体的内容特征定义的线性空间中,该模块可将不同字体导致的内容特征差异纳入考量。我们的方法还可通过轻量级迭代风格向量精炼(ISR)策略优化参考图像的风格表示向量。此外,我们将字符图像的一维投影视为概率分布,并利用两个分布之间的距离作为重建损失(即投影字符损失,PCL)。与L2或L1重建损失相比,分布距离更关注字符的整体形状。我们在包含300种字体、每种字体含6500个字符的数据集上评估了所提方法。实验结果表明,该方法的性能大幅优于现有最先进的少样本字体生成方法。源代码可访问https://github.com/wangchi95/CF-Font获取。

英文摘要:

Content and style disentanglement is an effective way to achieve few-shot font generation. It allows to transfer the style of the font image in a source domain to the style defined with a few reference images in a target domain. However, the content feature extracted using a representative font might not be optimal. In light of this, we propose a content fusion module (CFM) to project the content feature into a linear space defined by the content features of basis fonts, which can take the variation of content features caused by different fonts into consideration. Our method also allows to optimize the style representation vector of reference images through a lightweight iterative style-vector refinement (ISR) strategy. Moreover, we treat the 1D projection of a character image as a probability distribution and leverage the distance between two distributions as the reconstruction loss (namely projected character loss, PCL). Compared to L2 or L1 reconstruction loss, the distribution distance pays more attention to the global shape of characters. We have evaluated our method on a dataset of 300 fonts with 6.5k characters each. Experimental results verify that our method outperforms existing state-of-the-art few-shot font generation methods by a large margin. The source code can be found at https://github.com/wangchi95/CF-Font.

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

↑