Dual Orthogonal Guidance for Robust Diffusion-Based Handwritten Text GenerationShow others and affiliations
2025 (English)In: Proceedings - 2025 IEEE/CVF International Conference on Computer Vision Workshops, ICCV-W 2025, Institute of Electrical and Electronics Engineers Inc. , 2025, p. 7020-7029Conference paper, Published paper (Refereed)
Abstract [en]
Diffusion-based Handwritten Text Generation (HTG) approaches achieve impressive results on frequent, invocabulary words observed at training time and on regular styles. However, they are prone to memorizing training samples and often struggle with style variability and generation clarity. In particular, standard diffusion models tend to produce artifacts or distortions that negatively affect the readability of the generated text, especially when the style is hard to produce. To tackle these issues, we propose a novel sampling guidance strategy, Dual Orthogonal Guidance (DOG), that leverages an orthogonal projection of a negatively perturbed prompt onto the original positive prompt. This approach helps steer the generation away from artifacts while maintaining the intended content, and encourages more diverse, yet plausible, outputs. Unlike standard Classifier-Free Guidance (CFG), which relies on unconditional predictions and produces noise at high guidance scales, DOG introduces a more stable, disentangled direction in the latent space. To control the strength of the guidance across the denoising process, we apply a triangular schedule: weak at the start and end of denoising, when the process is most sensitive, and strongest in the middle steps. Experimental results on the state-of-the-art DiffusionPen and One-DM demonstrate that DOG improves both content clarity and style variability, even for out-of-vocabulary words and challenging writing styles.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers Inc. , 2025. p. 7020-7029
National Category
Computer graphics and computer vision Software Engineering
Research subject
Machine Learning
Identifiers
URN: urn:nbn:se:ltu:diva-117497DOI: 10.1109/ICCVW69036.2025.00725ISI: 001740020100725Scopus ID: 2-s2.0-105035150466OAI: oai:DiVA.org:ltu-117497DiVA, id: diva2:2066520
Conference
2025 International Conference on Computer Vision Workshops (ICCVW), Honolulu, Hawaii, USA, October 19-23, 2025
Funder
Knut and Alice Wallenberg Foundation
Note
ISBN for host publication: 979-8-3315-8988-2
2026-06-052026-06-052026-06-05Bibliographically approved