FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator

Huynh Tong Dang Khoa, Dang Hoai Nam, Vo Nguyen Le Duy
8/28/2025
cs.CVcs.LG

Official code: DAIR-Group/FW-GAN (11 stars, MIT, last commit 2026-03-20).

Abstract

Labeled handwriting data is often scarce, limiting the effectiveness of recognition systems that require diverse, style-consistent training samples. Handwriting synthesis offers a promising solution by generating artificial data to augment training. However, current methods face two major limitations. First, most are built on conventional convolutional architectures, which struggle to model long-range dependencies and complex stroke patterns. Second, they largely ignore the crucial role of frequency information, which is essential for capturing fine-grained stylistic and structural details in handwriting. To address these challenges, we propose FW-GAN, a one-shot handwriting synthesis framework that generates realistic, writer-consistent text from a single example. Our generator integrates a phase-aware Wave-MLP to better capture spatial relationships while preserving subtle stylistic cues. We further introduce a frequency-guided discriminator that leverages high-frequency components to enhance the authenticity detection of generated samples. Additionally, we introduce a novel Frequency Distribution Loss that aligns the frequency characteristics of synthetic and real handwriting, thereby enhancing visual fidelity. Experiments on Vietnamese and English handwriting datasets demonstrate that FW-GAN generates high-quality, style-consistent handwriting, making it a valuable tool for augmenting data in low-resource handwriting recognition (HTR) pipelines. Official implementation is available at https://github.com/DAIR-Group/FW-GAN

View on arXivView PDF

Code Implementations(1)

DAIR-Group/FW-GANOfficial100%
MIT

(Expert Systems with Applications) This repository contains the reference code and dataset for the paper "FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator"

116PythonAug 13, 20257 months agoMIT

Similar Papers

Cite this paper

@article{khoa2025fwgan,
  title  = {FW-GAN: Frequency-Driven Handwriting Synthesis with Wave-Modulated MLP Generator},
  author = {Huynh Tong Dang Khoa and Dang Hoai Nam and Vo Nguyen Le Duy},
  year   = {2025},
  eprint = {2508.21040},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.21040v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.21040.svg)](https://codeofpaper.com/paper/2508.21040)

Discussion