Offline handwritten mathematical expression recognition with graph encoder and transformer decoder

被引:2
|
作者
Tang, Jia-Man [1 ,2 ]
Guo, Hong-Yu [2 ,3 ]
Wu, Jin-Wen [2 ,3 ]
Yin, Fei [2 ,3 ]
Huang, Lin-Lin [1 ]
机构
[1] Beijing Jiaotong Univ, Sch Elect & Informat Engn, Beijing 100044, Peoples R China
[2] Chinese Acad Sci, State Key Lab Multimodal Artificial Intelligence S, Inst Automat, Beijing 100190, Peoples R China
[3] Univ Chinese Acad Sci, Sch Artificial Intelligence, Beijing 100049, Peoples R China
关键词
Handwritten mathematical expression recognition; Symbol detection; Graph Neural Network; Transformer;
D O I
10.1016/j.patcog.2023.110155
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Handwritten mathematical expression recognition (H MER) has attracted extensive attention. Despite the significant progress achieved in recent years attributed to the development of deep learning approaches, HMER remains a challenge due to the complex spatial structure and variable writing styles. Encoder-decoder models with attention mechanism, which treats HMER as an image-to-sequence (i.e. LaTeX) generation task, have boosted the accuracy, but suffer from low interpretability in that the symbols are not segmented explicitly. Symbol segmentation is desired for facilitating post-processing and human interaction in real applications. In this paper, we formulate the mathematical expression as a graph and propose a Graph-Encoder-Transformer-Decoder (GETD) approach for HMER . For constructing the graph from input image, candidate symbols are first detected using an object detector and represented as the nodes of a graph, called symbol graph, and the edges of the graph encodes the between-symbol relationship. The spatial information is aggregated in a graph neural network (GNN), and a Transformer-based decoder is used to identify the symbol classes and structure from the graph. Experiments on public datasets demonstrate that our GETD model achieves competitive expression recognition performance while offering good interpretability compared with previous methods.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] Offline Handwritten Mathematical Expression Recognition via Graph Reasoning Network
    Tang, Jia-Man
    Wu, Jin-Wen
    Yin, Fei
    Huang, Lin-Lin
    PATTERN RECOGNITION, ACPR 2021, PT I, 2022, 13188 : 17 - 31
  • [2] A Transformer-based Syntax Tree Decoder for Handwritten Mathematical Expression Recognition
    Zhou B.
    Cao J.
    Wang Y.
    Beijing Daxue Xuebao (Ziran Kexue Ban)/Acta Scientiarum Naturalium Universitatis Pekinensis, 2023, 59 (06): : 909 - 914
  • [3] A survey on handwritten mathematical expression recognition: The rise of encoder-decoder and GNN models
    Truong T.-N.
    Nguyen C.T.
    Zanibbi R.
    Mouchère H.
    Nakagawa M.
    Pattern Recognition, 2024, 153
  • [4] Robust encoder–decoder learning framework for offline handwritten mathematical expression recognition based on a multi-scale deep neural network
    Guangcun SHAN
    Hongyu WANG
    Wei LIANG
    Kai CHEN
    Science China(Information Sciences), 2021, 64 (03) : 220 - 222
  • [5] An Encoder-Decoder Approach to Handwritten Mathematical Expression Recognition with Multi-head Attention and Stacked Decoder
    Ding, Haisong
    Chen, Kai
    Huo, Qiang
    DOCUMENT ANALYSIS AND RECOGNITION - ICDAR 2021, PT II, 2021, 12822 : 602 - 616
  • [6] Spatial Attention and Syntax Rule Enhanced Tree Decoder for Offline Handwritten Mathematical Expression Recognition
    Lin, Zihao
    Li, Jinrong
    Yang, Fan
    Huang, Shuangping
    Yang, Xu
    Lin, Jianmin
    Yang, Ming
    FRONTIERS IN HANDWRITING RECOGNITION, ICFHR 2022, 2022, 13639 : 213 - 227
  • [7] Robust encoder-decoder learning framework for offline handwritten mathematical expression recognition based on a multi-scale deep neural network
    Guangcun Shan
    Hongyu Wang
    Wei Liang
    Kai Chen
    Science China Information Sciences, 2021, 64
  • [8] Robust encoder-decoder learning framework for offline handwritten mathematical expression recognition based on a multi-scale deep neural network
    Shan, Guangcun
    Wang, Hongyu
    Liang, Wei
    Chen, Kai
    SCIENCE CHINA-INFORMATION SCIENCES, 2021, 64 (03)
  • [9] Stroke Extraction for Offline Handwritten Mathematical Expression Recognition
    Chan, Chungkwong
    IEEE ACCESS, 2020, 8 : 61565 - 61575
  • [10] Structural String Decoder for Handwritten Mathematical Expression Recognition
    Wu, Jiajia
    Hu, Jinshui
    Chen, Mingjun
    Dai, Lirong
    Niu, Xuejing
    Wang, Ning
    2022 26TH INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2022, : 3246 - 3251