ReDraw:用SVG代码生成与编辑修复汉代简牍残损汉字
From Restoration to Redrawing: Revitalizing Ancient Chinese Characters by SVG Code Generation and Editing
ReDraw 是一个两阶段视觉语言模型,将汉字修复重构为 SVG 代码生成与编辑:第一阶段忠实矢量化可观测笔画,第二阶段借助骨架链式推理与结构感知强化学习,先预测骨架再补全轮廓,重绘严重残缺笔画且不改动已有 SVG 路径。团队构建多层数据合成管线生成 1.2M 样本,并从 320 个标注真实字形中导出最多 6,400 对适配数据,实验验证了合成修复效果及对真实汉简字形的适应性。
arXiv:2611.24084v1 Announce Type: new Abstract: Hanjian manuscripts written on Han Dynasty bamboo and wooden slips are invaluable heritage of ancient Chinese writing but suffer from damaged ink and incomplete strokes. Existing image-to-image restoration methods may alter observed strokes and offer limited control over stroke geometry. Inspired by experts' manual redrawing practices, we address these issues by introducing \textbf{ReDraw}, a two-stage vision-language model(VLM) that reformulates character restoration as Scalable Vector Graphics(SVG) code generation and editing. Stage one targets faithful vectorization of observed strokes geometry or conservative tracing of mildly degraded strokes. Guided by skeleton chain-of-thought reasoning and reinforcement learning with structure-aware rewards, stage two predicts skeletons before contours to redraw severely incomplete strokes by appending paths while keeping existing SVG paths unchanged. To support training, we develop a multi-layer data synthesis pipeline that disentangles ink, material, and degradation to generate 1.2M samples, and derive up to 6,400 adaptation pairs from 320 annotated real glyphs. Experiments demonstrate synthetic restoration performance and adaptability to real Hanjian glyphs. Code and demo will be available upon acceptance.
来源:arXiv (AI + Vision + Imaging) · arxiv.org