Abstract
Zero-shot Chinese character recognition has attracted rising attention in recent years. Existing methods for this problem are mainly based on either certain low-level stroke-based decomposition or medium-level radical-based decomposition. Considering that the stroke- and radical-level decompositions can provide different levels of information, we propose an effective zero-shot Chinese character recognition method by combining them. The proposed method consists of a training stage and an inference stage. In the training stage, we adopt two similar encoder-decoder models to yield the estimates of stroke and radical encodings, which together with the true encodings are then used to formalize the associated stroke and radical losses for training. A similarity loss is introduced to regularize stroke and radical encoders to yield features of the same characters with high correlation. In the inference stage, two key modules, i.e., the stroke screening module (SSM) and feature matching module (FMM) are introduced to tackle the deterministic and confusing cases respectively. In particular, we introduce an effective stroke rectification scheme in FMM to enlarge the candidate set of characters for final inference. Numerous experiments over three benchmark datasets covering the handwritten, printed artistic and street view scenarios are conducted to demonstrate the effectiveness of the proposed method. Numerical results show that the proposed method outperforms the state-of-the-art methods in both character and radical zero-shot settings, and maintains competitive performance in the traditional seen character setting.
Introduction
Recognizing Chinese characters presents a significant "long-tail" challenge. While standard datasets typically cover approximately 3,800 common characters, national standards list over 70,000. Collecting sufficient training samples for every character is logistically and economically unfeasible. To address this, researchers utilize Zero-Shot Learning (ZSL), enabling models to recognize characters not encountered during training.
Existing ZSL methods generally decompose characters into either radicals (structural components) or strokes (basic lines). However, both approaches have limitations: radical-based methods fail when encountering unseen radicals, and stroke-based methods can suffer from ambiguity when different characters share identical stroke sequences. The STAR (STroke- And Radical-level) framework addresses these issues by combining both levels of information.
Methodology
The STAR framework utilizes a dual-level decomposition strategy to capture both the fine-grained "alphabet" of strokes and the structural "grammar" of radicals.
Training Stage
The model employs two parallel encoder-decoder branches. Both branches use a CNN-based encoder to extract features from input images. A critical innovation is the Similarity Loss, which regularizes the stroke and radical encoders to produce highly correlated features for the same character, ensuring a consistent internal representation. Transformer-based decoders then predict sequences for 5 basic stroke categories and a set of 394 radicals.
Inference Stage
For character recognition, STAR employs two specialized modules:
- Stroke Screening Module (SSM): If the predicted stroke sequence uniquely identifies a character in the dictionary, it is output immediately.
- Feature Matching Module (FMM): For ambiguous or non-dictionary sequences, the FMM performs "Stroke Rectification." It identifies a set of candidate characters based on Levenshtein distance (edit distance) and compares the target image's visual features against these candidates to determine the best match.
Experimental Results
STAR was evaluated across three distinct scenarios: handwritten (ICDAR2013), printed artistic fonts, and real-world street view (CTW) datasets. It consistently outperformed state-of-the-art methods like DenseRAN, HDE, and SLD.
- Handwritten Zero-Shot: STAR achieved 43.86% accuracy, surpassing the previous best of 40.22%.
- Artistic Zero-Shot: In highly constrained settings (500 training characters), STAR showed a 99.03% relative improvement over previous benchmarks.
- Street View: On the challenging CTW dataset, STAR reached 11.27% accuracy in the character zero-shot setting, nearly doubling the performance of previous stroke-only methods.
- Seen Characters: The model maintained a high accuracy of 97.11% on characters present during training, demonstrating that zero-shot capability does not compromise general performance.
Conclusion
By integrating stroke-level and radical-level decompositions, STAR provides a robust solution for zero-shot Chinese character recognition. The combination of dual-branch training and a flexible inference scheme allows the model to handle both unseen radicals and ambiguous stroke sequences. Future work will focus on improving performance in complex real-world environments characterized by noise, poor lighting, and occlusions.
Summary updated