Skip to main content
QUICK REVIEW

[Paper Review] Stroke-based Character Reconstruction

Zhewei Huang, Wen Heng|arXiv (Cornell University)|Jun 23, 2018
Digital Media Forensic DetectionComputer Science14 references3 citations
TL;DR

This paper proposes a stroke-based character reconstruction (SCR) method that uses weighted quadratic Bézier curves (WQBC) to represent character strokes, enabling robust reconstruction of noisy or adversarially perturbed character images. Trained solely on synthetic data, the method achieves 89% reconstruction success on real-world SVHN images and significantly improves defense against adversarial attacks on MNIST, outperforming existing defenses in multiple attack scenarios.

ABSTRACT

Background elimination for noisy character images or character images from real scene is still a challenging problem, due to the bewildering backgrounds, uneven illumination, low resolution and different distortions. We propose a stroke-based character reconstruction(SCR) method that use a weighted quadratic Bezier curve(WQBC) to represent strokes of a character. Only training on our synthetic data, our stroke extractor can achieve excellent reconstruction effect in real scenes. Meanwhile. It can also help achieve great ability in defending adversarial attacks of character recognizers.

Motivation & Objective

  • To address the challenge of character recognition in noisy, low-resolution, or distorted real-world images where background interference and image distortions hinder performance.
  • To improve robustness against adversarial attacks on handwritten digit classifiers by leveraging stroke-level representation instead of raw pixel classification.
  • To develop a differentiable, end-to-end trainable stroke extraction and reconstruction pipeline that generalizes well to real-world data without requiring real annotated training data.
  • To enable background elimination and clean image reconstruction from complex scenes using stroke-based decomposition, improving downstream recognition and document restoration tasks.

Proposed method

  • The method uses a weighted quadratic Bézier curve (WQBC) with three weighted control points to model individual strokes, enabling smooth and differentiable stroke representation.
  • A differentiable decoder network is pre-trained to render images from WQBC parameters, allowing backpropagation through the reconstruction process.
  • An end-to-end stroke extractor network is trained using a supervised loss based on L2 distance between reconstructed and ground-truth images, without exposing stroke sequences during training.
  • The model is trained exclusively on synthetic data generated by augmenting MNIST and SVHN-like images with diverse distortions including rotation, blur, noise, and affine transformations.
  • The stroke extractor is integrated with character recognizers to improve robustness, enabling both image reconstruction and stroke-sequence-based recognition.
  • Image augmentation is applied during training using the imgaug library, with random application of distortions such as Gaussian noise, blur, sharpening, embossing, and perspective transforms.

Experimental results

Research questions

  • RQ1Can a stroke-based reconstruction method trained only on synthetic data generalize effectively to real-world, noisy character images like those in SVHN?
  • RQ2To what extent can stroke-level representation improve robustness against adversarial attacks on handwritten digit classifiers?
  • RQ3Can a differentiable decoder learn to deconstruct characters into meaningful stroke parameters without explicit supervision on stroke sequences?
  • RQ4How effective is the proposed method in reconstructing clean character images from highly distorted inputs compared to traditional image restoration or classification-based approaches?

Key findings

  • The proposed SCR method achieves a reconstruction success rate of 89% on real-world SVHN images, despite being trained only on synthetic data without any fine-tuning on real SVHN data.
  • On MNIST, the method achieves 94% accuracy against FGSM attacks, 97% against CW∞ attacks, and 91% overall defense performance across all attack types, outperforming feature squeezing and median smoothing.
  • The model maintains strong performance under diverse adversarial attacks, including L∞, L2, and L0 attacks, with 88.6% average defense accuracy, closely matching human performance (88.9%).
  • The differentiable decoder successfully learns to reconstruct characters from stroke parameters without explicit stroke sequence supervision, indicating implicit learning of structural character representation.
  • The stroke extractor generalizes well to real scene images, enabling effective background elimination and clean image reconstruction even under severe distortions.
  • The integration of the stroke extractor with character recognizers enhances robustness, demonstrating that stroke-level representation provides a viable defense mechanism against adversarial examples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.