Mathematical expression recognition model training method and device and mathematical expression recognition method and device

By combining handwritten and printed decoders or language models in the mathematical expression recognition model, comprehensive training of feature alignment and loss functions is performed, which solves the problem of low accuracy in recognition of handwritten mathematical expressions and achieves higher recognition accuracy and applicability.

CN118537862APending Publication Date: 2024-08-23HUA DATA TECH (SHANGHAI) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410097991.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing mathematical expression recognition models suffer from low recognition accuracy when processing handwritten mathematical expressions, mainly due to insufficient data, the complexity and ambiguity of handwritten characters, and the lack of effective utilization of syntax and semantic context.

Method used

A mathematical expression recognition model using an encoder-decoder structure is combined with a handwriting decoder and a printed decoder or a language model. Through comprehensive training of feature alignment and loss functions, the recognition performance of the handwriting decoder is improved and expanded using data enhancement technology. training data.

Benefits of technology

The recognition accuracy of handwritten mathematical expressions is significantly improved. With the assistance of print decoders and language models, the ability to distinguish ambiguous characters is enhanced, and the generalization ability and applicability of the model are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118537862A
    Figure CN118537862A
Patent Text Reader

Abstract

The invention discloses a mathematical expression recognition model training method, recognition method and device, and the method comprises the steps: determining the structure of a recognition model, and enabling the structure of the recognition model to comprise an encoder, a handwritten decoder, and an auxiliary decoder; collecting a handwritten image of the mathematical expression to obtain a handwritten image set; generating a printed form image corresponding to each handwritten form image in the handwritten form image set; inputting the handwritten image and the printed image into an encoder for feature extraction to obtain an image feature code; and respectively inputting the image feature codes into a handwritten decoder and an auxiliary decoder for cyclic decoding, predicting probability distribution of mathematical characters, and calculating a loss function by synthesizing prediction results of the handwritten decoder and the auxiliary decoder. By utilizing the scheme of the invention, the performance of the mathematical expression recognition model can be improved, and the recognition accuracy of the handwritten mathematical expression can be improved.
Need to check novelty before this filing date? Find Prior Art

Citation Information

Patent Citations

  • Handwritten mathematical expression recognition method and device based on deep learning

    CN110766012A

  • Coding and decoding-based mathematical formula identification method and device, and readable storage medium

    CN114255379A

  • Off-line handwritten mathematical formula identification method based on deep learning

    CN115205874A

  • Image recognition model training method and device, image recognition method and device, medium and equipment

    CN116434252A

  • Training method and device of offline handwritten formula recognition model, equipment and medium

    CN116978037A