Online Writer Retrieval With Chinese Handwritten Phrases: A Synergistic Temporal-Frequency Representation Learning Approach

Peirong Zhang, Lianwen Jin

Abstract

Online writer retrieval is a critical task in digital forensics, requiring the identification of all samples from a specific writer within a large database. This paper introduces DOLPHIN, a novel deep learning architecture that synergistically combines temporal and frequency-domain features to extract robust stylistic fingerprints from handwriting. To address the lack of large-scale benchmarks, the authors present OLIWER, a dataset containing over 670,000 Chinese handwritten phrases. Experimental results demonstrate that DOLPHIN significantly outperforms existing methods, achieving a mean Average Precision (mAP) of 69.83% while maintaining high computational efficiency.

Introduction

Writer retrieval differs from simple writer identification by focusing on the exhaustive search of relevant samples in massive collections rather than just assigning a label to a query. This task is particularly challenging due to the dynamic nature of online handwriting data (sequences of coordinates and pressure) and the prevalence of short phrases in modern digital communication, which offer limited stylistic information.

Comparison between writer identification and writer retrieval.

Current research faces three primary obstacles: data scarcity for online dynamic data, the difficulty of extracting features from short snippets, and the domain gap caused by varying hardware sampling rates.

The DOLPHIN Architecture

The proposed DOLPHIN model is a 1D CNN-based framework designed to capture the "stylistic fingerprint" of a writer. Its architecture integrates two core components to handle the complexities of handwriting dynamics:

  1. Channel Activation Inverted Residual (CAIR): This module focuses on temporal feature learning. By employing a channel split-concat scheme and shuffle operations, it reduces information redundancy and highlights discriminative writing traits.
  2. High Frequency Gated Attention (HFGA): This component utilizes Discrete Wavelet Transform (DWT) to isolate high-frequency sub-bands, which correspond to the "fine-grained jitters" and sharp turns characteristic of individual writing styles. A gated cross-attention mechanism then fuses these details back into the temporal sequence.
The overall architecture of the DOLPHIN model, featuring the Temporal Backbone and Frequency Network.

Additionally, a Context-Aware Feature Pyramid Network (FPN) is used to capture multi-scale context, ensuring that both fine stroke details and broader phrase structures are represented in the final feature vector.

The OLIWER Dataset

To support large-scale retrieval research, the authors introduced OLIWER (OnLIne WritEr Retrieval). Aggregated from three existing sources (CASIA-OLHWDB, DCOH, and SCUT-COUCH2009), OLIWER consists of 674,017 phrases from 1,731 writers. Unlike previous datasets focusing on isolated characters, OLIWER emphasizes consecutively written phrases (2-5 characters), providing a more realistic benchmark for real-world applications like digital note-taking and signature verification.

Key Insights and Results

The study revealed several critical factors in effective writer retrieval:

  • Frequency Domain Importance: High-frequency components, often dismissed as noise, contain essential stylistic information regarding pressure variations and stroke transitions.
  • Sampling Rate Consistency: The performance gap between datasets is often a result of differing sampling frequencies. Upsampling data to a consistent, higher frequency (e.g., 120Hz) significantly improves cross-domain robustness.
  • Efficiency: DOLPHIN is highly optimized, featuring only 2.14 million parameters and a processing time of approximately 9.95ms per sample.

In performance benchmarks on the OLIWER dataset, DOLPHIN achieved a mAP of 69.83%, an 8.82% improvement over the previous state-of-the-art model.

Conclusion

DOLPHIN represents a significant advancement in online writer retrieval by effectively bridging temporal and frequency-domain representations. While currently focused on Chinese handwriting, the model's architecture is fundamentally language-agnostic. Future research will aim to extend these methodologies to a broader range of global scripts and further explore the impact of multi-modal handwriting data.

Summary updated

BibTeX
@article{zhang2024online,
  author = {Peirong Zhang and Lianwen Jin},
  title = {{Online Writer Retrieval With Chinese Handwritten Phrases: A Synergistic Temporal-Frequency Representation Learning Approach}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2024},
  doi = {10.1109/tifs.2024.3493594},
}
Figure