arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.02103cs.CVcs.LG
收藏

CASHG:基于上下文的风格化在线手写生成

BoundInk: Boundary-Aware Online Handwriting Generation

Sungkyunkwan University(成均馆大学)

Jinsu Shin, Sungeun Hong, JinYeong Bak

AI总结:

本文提出CASHG,通过显式建模字符间连接性,实现风格一致的句子级轨迹生成,改进了在线手写生成的鲁棒性和评价方法。

摘要:

在线手写将笔画表示为时间有序轨迹,便于在广泛应用中转换和重用 handwritten 内容。然而,生成自然句子级在线手写仍具挑战,因句子合成需依赖上下文相关的字符,具有笔画连续性和间距。先前方法将这些边界属性视为序列建模的隐含结果,在句子尺度和有限组合多样性下不可靠。我们提出CASHG,一种基于上下文的风格化在线手写生成器,显式建模字符间连接性以实现风格一致的句子级轨迹合成。CASHG使用字符上下文编码器获得字符身份和句子依赖的上下文记忆,并在双元组意识滑动窗口Transformer解码器中融合,强调局部前驱-当前转换,辅以门控上下文融合以实现句子级上下文。训练通过从孤立字到完整句子的三阶段课程进行,提高稀疏转换覆盖下的鲁棒性。我们进一步引入连接性和间距度量(CSM),一种边界意识的评估套件,量化连笔连接性和间距相似性。在基准匹配的评估协议下,CASHG在CSM上持续优于对比方法,同时在基于DTW的轨迹相似性上保持竞争力,其收益由人类评估验证。

英文摘要:

Realistic online handwriting depends not only on individual character shapes, but also on how a writer connects, spaces, and aligns adjacent characters. Existing methods rely primarily on long-range sequence modeling and capture these inter-character behaviors only implicitly. This often produces plausible glyphs accompanied by broken cursive joins, inconsistent spacing, or writer-inconsistent transitions. We introduce BoundInk, a writer-conditioned framework that treats inter-character boundaries as explicit generation units. By jointly modeling local transitions and surrounding text context, BoundInk preserves writer-specific glyph appearance while improving connectivity and spacing across complete text lines. We further introduce a boundary-aware evaluation framework that directly assesses cursive continuity and spatial relationships between characters beyond conventional trajectory similarity. Across three benchmark-matched settings, BoundInk improves all applicable boundary-quality measures and reduces normalized dynamic time warping by 17.6--47.8%. In blind human evaluations, BoundInk outputs are preferred in 78.0--82.6% of valid criterion-wise judgments.

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

↑