Chinese Handwriting Recognition with Multimodal LLMs: Capability Evaluation and Deployment Practices

    Chinese handwriting recognition remains a difficult part of document digitization, form entry, education homework grading, invoice and receipt review, and archive governance. This article presents a reproducible evaluation and engineering selection framework for multimodal large models in Chinese handwriting recognition. It defines task boundaries, discusses how data distribution, layout complexity, prompt design, and post-processing affect results, and proposes layered evaluation sets, unified metrics, error analysis, and prompt design practices. It also outlines a deployment pipeline combining multiple model candidates, rule validation, and manual review, and concludes that the best solution is usually an evaluation-driven combined architecture rather than a single model.

    Chinese handwriting recognition has long been a critical step in document digitization, form entry, education homework grading, invoice and receipt review, and archive governance. Compared with printed text recognition, handwriting introduces connected strokes, glyph variants, writing slant, paper noise, uneven lighting, mixed layouts, and semantic ambiguity. A single visual model often cannot cover these conditions reliably. In recent years, general multimodal large models with joint image-text understanding have opened a new technical path for handwriting recognition. However, the question of “which model is strongest” cannot be answered directly. A more reasonable approach is to turn it into a reproducible capability evaluation and engineering selection problem: after defining the business boundary, data distribution, and error tolerance, compare models using a unified evaluation set, unified metrics, and unified post-processing strategy, and finally choose the technical combination that fits the scenario.

    1. Problem Definition and Evaluation Boundaries

    Handwriting recognition is not a single task. It includes at least character-level recognition, full-line transcription, structured field extraction, table content restoration, formula and symbol recognition, and reading-order recovery in layout analysis. Different subtasks impose different requirements on model capabilities. Full-line transcription focuses on character accuracy and language coherence. Field extraction focuses on key-value alignment and business constraints. Table restoration focuses on spatial structure. Formula recognition focuses on symbol systems and subscript/superscript relationships. Therefore, before evaluation, the task boundary must be clearly defined. A vague claim such as “good recognition performance” cannot replace specific metrics.

    It is also necessary to distinguish recognition capability from understanding capability. Multimodal large models may perform well in semantic correction, context completion, and layout understanding, but they may also over-correct rare characters, proper nouns, mixed digits and letters, and similar characters. During evaluation, raw visual transcription capability and semantic post-processing capability should be observed separately. This avoids a situation where a model “guesses correctly” through language priors but lacks sufficient visual evidence, creating unexplainable risks in critical business fields.

    2. Key Factors Affecting Chinese Handwriting Recognition

    First, data distribution determines conclusions. Handwriting style is highly correlated with the writer’s age, region, educational background, writing tool, and paper quality. If evaluation samples are concentrated on neat regular script, conclusions may favor models with strong language capabilities. If samples include many connected strokes, cursive writing, corrections, and low-quality scans, conclusions may favor solutions that preserve visual details better. Second, layout complexity has a significant impact. Single-line text, receipt fields, tables, and mixed-layout documents have different requirements for spatial modeling. Third, prompt design changes the output. Whether verbatim transcription is required, whether correction is allowed, whether structured fields are output, and whether uncertainty markers are retained all affect metrics. Fourth, post-processing strategies cannot be ignored. Unified full-width/half-width normalization, punctuation strategy, number format, date format, and field validation can significantly change final business accuracy.

    3. Building a Reproducible Evaluation Framework

    It is recommended to build layered evaluation sets: a basic character set, a full-line handwriting set, a business form set, a complex layout set, and a hard-sample set. Each sample should retain the image, ground-truth text, field structure, and difficulty label. The evaluation process should fix preprocessing, prompt templates, decoding parameters, and post-processing rules to ensure fair comparison. The following pseudocode illustrates the process:

    1. function evaluate_handwriting(dataset, model, prompt_template, postprocess):
    2. results = []
    3. for sample in dataset:
    4. image = normalize_image(sample.image)
    5. prompt = render(prompt_template, task=sample.task, schema=sample.schema)
    6. raw = model.infer(image, prompt)
    7. text = postprocess(raw, sample.schema)
    8. metrics = compute_metrics(text, sample.ground_truth)
    9. results.append({sample.id, metrics, raw, text})
    10. return aggregate(results)

    Evaluation metrics should cover character error rate, word-level accuracy, field-level precision and recall, structured exact match rate, table cell accuracy, rejection rate, and manual review rate. For business systems, the “high-confidence error rate” should also be measured, that is, the proportion of cases where the model gives a definite output but the output is actually wrong. This metric reflects deployment risk better than average accuracy.

    4. Error Analysis and Prompt Design

    Error analysis should classify errors by similar glyphs, connected strokes, low clarity, layout occlusion, mixed digits and letters, proper nouns, missing punctuation, and model over-correction. For multimodal large models, prompts should clearly specify the output protocol. For example, require line-by-line output, preserve original punctuation, use placeholders for uncertain characters, and prohibit unsupported completion. For structured tasks, the model can be asked to output field names, field values, and confidence explanations, but confidence explanations must be calibrated on a validation set and cannot be used directly as true probabilities.

    Prompt templates should remain stable and avoid frequent changes within the same evaluation. A structure of “task description + output format + constraints + a small number of examples” can be used. Examples should cover typical difficulties, but too many examples should be avoided, because the model may mechanically imitate the examples and ignore image content. For long documents, layout segmentation and reading-order recovery should be combined, and complex tasks should be split into three steps: region recognition, field extraction, and consistency validation.

    5. Engineering Deployment Workflow

    For deployment, a pipeline of “multiple model candidates + rule validation + manual review” is recommended. The first step is image quality detection, including blur, slant, occlusion, and insufficient resolution detection. The second step is layout analysis, splitting text lines, tables, and field regions. The third step is to call multimodal models for transcription or structured extraction. The fourth step is format normalization and business rule validation, such as date validity, amount validation, ID number validation, and required-field checks. The fifth step is to send low-confidence or rule-conflicting samples to manual review and feed them back to form an incremental evaluation set. If cloud deployment is used, Baidu AI Cloud’s general compute, object storage, logging, and monitoring/alerting capabilities can be combined to build a data loop, but the specific selection should still be based on business metrics and compliance requirements.

    6. Selection Recommendations and Conclusion

    Model selection should not pursue a single “strongest” option. Instead, it should focus on scenario fit, stability, cost, latency, explainability, and data security. For neat handwriting and routine forms, a specialized recognition pipeline combined with rule-based post-processing is usually cost-effective. For complex layouts, semantic correction, and structured extraction, multimodal large models can serve as enhancement components. For high-risk fields, cross-validation and manual review should be set up. The final conclusion is that the optimal solution for Chinese handwriting recognition is often not a single model, but an evaluation-driven combined architecture. Only by building a unified evaluation set, clarifying error boundaries, and continuously feeding back hard samples can model capability be turned into deliverable, governable, and continuously iterable business capability.