mlsanityData to 7 Oct 2026

Handwriting Trajectory Recovery with Diffusion Models

arXiv 2607.03422 ↗First posted 3 Jul 2026cs.CVcited by 0

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Recovering online pen trajectories from offline handwriting images, often referred to as handwriting trajectory recovery (stroke recovery), is an offline-to-online conversion task with applications in stroke-level editing and forensic analysis. We propose, to the best of our knowledge, the first diffusion-model-based framework for this task. Our method formulates trajectory recovery as image-conditioned generation and uses a denoising diffusion model to sample pen trajectories consistent with the observed ink trace. Through extensive quantitative evaluations on CASIA-OLHWDB (1.0-1.1), we verify that the proposed approach enables accurate recovery even for complex multi-stroke characters, substantially improving both temporal similarity (DTW/LDTW) and shape fidelity (AIoU) over representative prior methods such as PEN-Net and Cross-VAE. We further show that the model captures general stroke-order tendencies and generalizes to classes unseen during training, exemplified by cross-script transfer: a model trained on Chinese characters can recover reasonable stroke orders for Latin letters to some extent.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 11 of its 18 references that are in the map. First posted on arXiv 3 Jul 2026.

Builds on

11 of 18 references.

References · 11

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  4. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  5. 2022Flow Matching for Generative Modelingcited by 5,426
  6. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  7. 2022Complex Handwriting Trajectory Recovery: Evaluation Metrics and Algorithmcited by 9
  8. 2019Modality Conversion of Handwritten Patterns by Cross Variational Autoencoderscited by 8
  9. 2020Online trajectory recovery from offline handwritten Japanese kanji characterscited by 8
  10. 2018Handwriting Trajectory Recovery using End-to-End Deep Encoder-Decoder Networkcited by 7
  11. 2024Writing Order Recovery in Complex and Long Static Handwritingcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Bridging Online and Offline Handwriting via Differentiable Physical Rendering
  2. 2025Layout Stroke Imitation: A Layout Guided Handwriting Stroke Generation for Style Imitation with Diffusion Model
  3. 2023Calliffusion: Chinese Calligraphy Generation and Style Transfer with Diffusion Modeling
  4. 2026Mixture-of-experts for handwriting trajectory reconstruction from IMU sensors
  5. 2024Zero-Shot Paragraph-level Handwriting Imitation with Latent Diffusion Models
  6. 2020Diffusion models for Handwriting Generation
  7. 2026CONSTANT: Towards High-Quality One-Shot Handwriting Generation with Patch Contrastive Enhancement and Style-Aware Quantization
  8. 2025DiffInk: Glyph- and Style-Aware Latent Diffusion Transformer for Text to Online Handwriting Generation