Abstract
Handwritten Chinese Character Error Correction (HCCEC) is a challenging task that involves both the assessment of character correctness and the correction of identified errors. Traditional encoder-decoder models often suffer from "linguistic bias," where they prioritize learned linguistic patterns over visual evidence, leading to the "hallucination" of correct characters when presented with misspelled inputs. This paper introduces the Count, Decode and Fetch (CDF) framework, which decouples radical counting from sequence decoding. By utilizing a Counter module to provide global constraints and a Fetcher module for transductive transfer learning, the CDF framework achieves a significant 18.7% improvement in correction rates over previous state-of-the-art methods.
The Challenge of Linguistic Bias
HCCEC models typically decompose characters into Ideographic Description Sequences (IDS). However, because these models are primarily trained on correctly written characters, they develop a strong internal "grammar" for how radicals should be arranged. When encountering a misspelled character—such as one with a missing stroke or an extra radical—the model's linguistic bias often overrides the visual input, causing it to output the IDS of a correct character instead of reflecting the actual error. This makes the detection of subtle, unseen misspellings extremely difficult.
The CDF Framework
The proposed CDF framework addresses these limitations through a modular architecture designed to "mute" linguistic bias during the assessment phase:
- The Counter: This module predicts the frequency of each radical class in the input image independently of their sequence. By ignoring the order, the Counter avoids linguistic rules and provides an objective inventory of the character's components.
- The Decoder: An attention-based module that generates the IDS sequence step-by-step. It uses the "counting vector" from the Counter as a global constraint; as each radical is predicted, it is subtracted from the count, ensuring the final sequence remains faithful to the visual evidence.
- The Fetcher: When a generated IDS does not correspond to a valid character in the official dictionary (GB18030-2005), the Fetcher module is activated. It uses radical features to predict the intended "ideal" character. To bridge the gap between misspelled inputs and correct targets, the authors employed a "Random Drop" training strategy, forcing the model to identify characters even from incomplete or noisy radical sets.
Experimental Evaluation
The CDF framework was evaluated using a specialized HCCEC dataset containing 5,000 categories of correct characters and 570 categories of unseen misspelled characters, covering stroke-level, radical-level, and structural errors.
Key Results
Integrating the CDF framework into existing baseline models (RAN and TAN) yielded substantial performance gains:
- Correction Rate (CR): The CDF-RAN model reached a 57.4% CR, compared to the baseline's 35.9%.
- Decomposition Accuracy (DACC): Accuracy for misspelled characters improved from 57.3% to 68.4%.
- Ideal Character Prediction: The Fetcher module achieved a Top-1 accuracy of 69.0%, significantly outperforming traditional Edit-Distance methods (54.5%).
Despite the addition of these modules, the framework remains computationally efficient, maintaining a processing speed of 16.30 FPS with a modest increase in parameter count (from 7.95M to 10.26M).
Conclusion and Future Work
The CDF framework demonstrates that decoupling counting from decoding is an effective strategy for mitigating linguistic bias in HCCEC. While the model significantly improves error correction, challenges remain in resolving structural ambiguities where different characters share identical radical counts, and in distinguishing between visually similar radicals. Future research will focus on enhancing the model's visual acuity and refining the integration of linguistic information for complex edge cases.
Summary updated