Paper Reading AI Learner

CASHG: Context-Aware Stylized Online Handwriting Generation

2026-04-02 14:32:31
Jinsu Shin, Sungeun Hong, Jin Yeong Bak

Abstract

Online handwriting represents strokes as time-ordered trajectories, which makes handwritten content easier to transform and reuse in a wide range of applications. However, generating natural sentence-level online handwriting that faithfully reflects a writer's style remains challenging, since sentence synthesis demands context-dependent characters with stroke continuity and spacing. Prior methods treat these boundary properties as implicit outcomes of sequence modeling, which becomes unreliable at the sentence scale and under limited compositional diversity. We propose CASHG, a context-aware stylized online handwriting generator that explicitly models inter-character connectivity for style-consistent sentence-level trajectory synthesis. CASHG uses a Character Context Encoder to obtain character identity and sentence-dependent context memory and fuses them in a bigram-aware sliding-window Transformer decoder that emphasizes local predecessor--current transitions, complemented by gated context fusion for sentence-level this http URL proceeds through a three-stage curriculum from isolated glyphs to full sentences, improving robustness under sparse transition coverage. We further introduce Connectivity and Spacing Metrics (CSM), a boundary-aware evaluation suite that quantifies cursive connectivity and spacing similarity. Under benchmark-matched evaluation protocols, CASHG consistently improves CSM over comparison methods while remaining competitive in DTW-based trajectory similarity, with gains corroborated by a human evaluation.

Abstract (translated)

在线手写将笔迹表示为时间有序的轨迹,这使得手写内容在众多应用中更易于转换和复用。然而,生成能忠实反映书写者风格的、自然的句子级在线手写仍具挑战性,因为句子合成需要具备笔划连贯性和间距的、依赖上下文的字符。先前方法将这些边界特性视为序列建模的隐式结果,这在句子尺度上及组合多样性有限时变得不可靠。我们提出了CASHG,一个上下文感知的、风格化的在线手写生成器,它通过显式建模字符间连接性,来实现风格一致的句子级轨迹合成。CASHG使用一个字符上下文编码器来获取字符身份和句子依赖的上下文记忆,并在一个关注二元组的滑动窗口Transformer解码器中融合它们,该解码器强调局部前字-当前字过渡,并辅以门控上下文融合以实现句子级一致性。训练通过一个从独立字形到完整句子的三阶段渐进式方案进行,提高了稀疏过渡覆盖下的鲁棒性。我们还引入了连通与间距度量(CSM),一个边界感知的评估套件,用于量化草书连接性和间距相似性。在匹配基准的评估协议下,CASHG在CSM上持续优于对比方法,同时在基于动态时间规整的轨迹相似度上保持竞争力,这些提升也通过人工评估得到了证实。

URL

https://arxiv.org/abs/2604.02103

PDF

https://arxiv.org/pdf/2604.02103.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot