---
title: CASIA-OLHWDB1.1 Chinese Handwriting Dataset
url: https://www.emergentmind.com/topics/casia-olhwdb1-1-dataset
type: topic
---

# CASIA-OLHWDB1.1 Chinese Handwriting Dataset

The CASIA-OLHWDB1.1 dataset is a large-scale, publicly available repository of online handwritten Chinese characters widely utilized for evaluating algorithms in online handwritten Chinese character recognition (HCCR). Designed and released by the Institute of Automation, Chinese Academy of Sciences (CASIA), the dataset targets the GBK Level-1 set of simplified Chinese characters and has become a foundational benchmark for the development and assessment of deep neural architectures, domain-specific feature extraction, and novel training strategies in the HCCR domain.

## 1. Dataset Composition and Structure

CASIA-OLHWDB1.1 comprises 3,755 character classes corresponding to the standard GBK Level-1 subset. Data collection involved 300 distinct writers, each contributing a single instance of every character, resulting in an aggregate of 1,126,500 samples. The dataset is partitioned as follows:

| Set        | Writers   | Samples per Class | Total Samples |
|------------|-----------|-------------------|---------------|
| Training   | 240       | 240               | 901,200       |
| Test       | 60        | 60                | 225,300       |

No official validation split is provided; protocol details may differ across studies, but most reserve the training pool for hyperparameter selection or carve out a subset of writers for cross-validation [1409.6070][1702.07508][1711.02809][1505.07675].

Each sample consists of a variable-length sequence of pen-tip coordinates, represented by $(x_t, y_t)$ pairs. Some approaches append a monotonic timestamp $t$ for path signature feature extraction, while the canonical format is a series of segment-ordered, writer-normalized pen strokes [1702.07508][1711.02809].

## 2. Preprocessing and Feature Representations

The CASIA-OLHWDB1.1 data is distributed as raw pen trajectory sequences, with preprocessing pipelines differing by research objective and model type. Common stages include:

- **Scaling and Centering**: Trajectories are rescaled along both axes to fit a defined window size (e.g., $[0, 64]$, $48 \times 48$, or $64 \times 64$) and mean-centered to the grid center [1711.02809][1505.07675].
- **Rasterization**: For convolutional architectures, raw trajectories are rendered to sparse binary bitmaps or multi-channel tensors. The rendering may include one-pixel-wide binary strokes or extended multi-channel grids embedding additional structure (e.g., 8-direction compass histograms, path signatures, or "imaginary strokes") [1409.6070][1505.07675].
- **Domain-Specific Feature Augmentation**: Several works incorporate domain-specific channels:
  - *Path signature maps*: Iterated integrals of the trajectory, typically up to order $k=2$ or $k=4$, producing up to 121 feature maps [1505.07675][1702.07508].
  - *Directional feature maps*: 8-bin histograms quantifying local stroke orientation per grid cell [1409.6070][1505.07675].
  - *Imaginary strokes*: Linear interpolations between pen-up and next pen-down points, rendered as auxiliary bitmap channels [1505.07675].
- **Affine and Elastic Distortions**: Applied online during training for data augmentation, including scaling, rotation, translation, global shear, and nonlinear deformations [1409.6070][1505.07675][1702.07508].

The resulting network inputs thus vary from 1- to 121-channel tensors at spatial resolutions such as $50 \times 50$, $96 \times 96$, or $192 \times 192$, with the vast majority of grid cells set to zero (spatial sparsity $\geq 89\%$ is reported in bitmap cases) [1409.6070][1505.07675].

## 3. Benchmark Architectures and Training Protocols

Research leveraging CASIA-OLHWDB1.1 spans a range of neural architectures and training paradigms. Representative models include:

- **Deep Convolutional Networks**: The DeepCNet($\ell,k$) architecture processes spatially-sparse inputs through sequential layers of convolutions and max-pooling, with ReLU activations, dropout regularization (rates per layer typically increasing towards deeper layers), and cross-entropy loss. For $\ell=6,k=100$, six blocks of pooling and convolution reduce a $192 \times 192$ input to $3 \times 3$ in spatial extent, terminating in a softmax classifier over 3,755 classes [1409.6070].
- **Domain-Specific DCNNs**: Composite networks integrate discrete domain knowledge—such as path signature features, 8-directional maps, and nonlinear normalization—with standard DCNN pipelines. These may be fused using hybrid serial-parallel ensembling, where an array of DCNNs, each ingesting distinct feature sets, yields robust consensus predictions [1505.07675].
- **Recurrent Neural Networks**: Sequence models (GRU, LSTM, and Hybrid-parameter RNNs with Memory Pool Units) operate directly on normalized $[x_t,y_t]$ sequences. Axis-wise scaling and mean-centering standardize temporal samples, and outputs from stacked RNNs are pooled for classification. Hybrid-parameter RNNs halve parameter count and accelerate inference while increasing accuracy over conventional bidirectional RNNs [1711.02809].
- **Enhanced CNN Pipelines**: Recent studies introduce DropDistortion (scheduled reduction of random affine distortions during training) in conjunction with higher-order path signature input and spatial stochastic max-pooling (SSMP, with fractional stride and elastic feature-map deformation), further boosting generalization [1702.07508].

Training protocols consistently employ stochastic gradient optimization (e.g., SGD with momentum, RMSProp, or Nesterov momentum), batch sizes typically in the range of 96–256, and dropout. Early stopping on training or carved-out validation writer subsets is common [1409.6070][1505.07675][1702.07508][1711.02809].

## 4. Benchmark Results and Comparative Analysis

CASIA-OLHWDB1.1 has served as a competitive testbed for both architectural innovations and auxiliary representation schemes. Notable reported results include:

| Architecture/Approach                          | Input Features (Channels)           | Test Accuracy (%)      | Source         |
|------------------------------------------------|-------------------------------------|-----------------------|----------------|
| DeepCNet(6,100)                                | Bitmap + 8-direction histograms (9) | 96.18                 | [1409.6070]    |
| DeepCNet(6,100)                                | Bitmap only (1)                     | 94.88                 | [1409.6070]    |
| DropDistortion+CNN+SSMP                        | Truncated path signature (121)      | 97.30                 | [1702.07508]   |
| HSP DCNN Ensemble                              | Bitmap, signature, direction, etc.  | 96.87                 | [1505.07675]   |
| Hybrid-parameter RNN, 5 layers (MPU)           | Normalized trajectory               | 96.5                  | [1711.02809]   |

Performance improvements with feature-rich representations (e.g., 121-channel path signatures) and advanced ensemble strategies are significant, with top-1 error rates reaching as low as 2.7–3.1%. The relative error reduction between basic bitmap-based DCNNs and multi-stream or distortion-augmented architectures can exceed 48% [1505.07675][1702.07508].

## 5. Significance in HCCR Research and Methodological Trends

CASIA-OLHWDB1.1’s scope—large class count, writer diversity, and standardized splits—makes it a de facto benchmark for modern HCCR algorithms. Key methodological trends that emerged and are continuously refined on this dataset include:

- **Exploitation of Spatial Sparsity**: High-resolution, one-pixel stroke rendering exploits input sparsity for computational efficiency in deep CNNs while preserving character detail [1409.6070].
- **Embrace of Domain Knowledge**: Integrating path signatures, imaginary strokes, and directional histograms captures both topological and dynamic properties of handwriting, consistently improving recognition beyond raw bitmaps [1505.07675][1702.07508].
- **Progressive Data Augmentation**: Randomized affine, elastic, and piecewise linear distortions (DropDistortion, ED) are crucial for generalization, especially in large-class regimes [1505.07675][1702.07508].
- **Ensemble and Averaging Techniques**: HSP ensembles and SSMP-based model averaging provide effective variance reduction in predictions [1505.07675][1702.07508].
- **Efficient Sequence Modeling**: Direct RNN operation on standardized trajectories, using parameter-sharing schedules (hybrid-parameter RNN) and compact hidden units (MPU), achieves competitive performance with reduced inference and memory cost [1711.02809].

## 6. Open Questions and Ongoing Directions

While accuracy on CASIA-OLHWDB1.1 continues to improve, several avenues remain active:

- Misclassified samples are frequently attributed to illegibility or annotation errors; detailed per-character or per-stroke breakdowns remain scarce in the literature [1702.07508].
- The generalizability of domain-specific augmentations (e.g., path signature order selection, optimal composition of channels) is still an area of empirical exploration.
- Model scaling, particularly regarding the balance between increased channel count and train-time efficiency, presents ongoing optimization challenges.
- The absence of official validation splits prompts the need for standardized protocol reporting to ensure result reproducibility.

A plausible implication is that future systems leveraging CASIA-OLHWDB1.1 are likely to incorporate increasingly sophisticated domain representations, ensemble averaging, and progressive data augmentation strategies as part of a state-of-the-art HCCR pipeline [1702.07508][1505.07675].

---

**References:**  
[1409.6070] Spatially-sparse convolutional neural networks  
[1505.07675] Improved Deep Convolutional Neural Network For Online Handwritten Chinese Character Recognition using Domain-Specific Knowledge  
[1702.07508] Toward high-performance online HCCR: a CNN approach with DropDistortion, path signature and spatial stochastic max-pooling  
[1711.02809] A New Hybrid-parameter Recurrent Neural Networks for Online Handwritten Chinese Character Recognition

Source: https://www.emergentmind.com/topics/casia-olhwdb1-1-dataset