π€ AI Summary
This work proposes a hybrid Vision Transformer-based sequence-to-sequence approach to address the challenges in mathematical expression recognition arising from the two-dimensional layout and scale variations of symbols. The encoder integrates 2D positional encoding to effectively capture spatial dependencies among symbols and innovatively employs the ViTβs [CLS] token as the initial embedding for the decoder. To mitigate issues of under- or over-parsing during decoding, a coverage attention mechanism is introduced. Evaluated on the IM2LATEX-100K dataset, the proposed method achieves a BLEU score of 89.94, outperforming current state-of-the-art approaches and significantly improving the accuracy of formula recognition.
π Abstract
Mathematical expression recognition is one of the important processes in scientific documents analysis. Despite the importance of this task, solving mathematical expression recognition is still very challenging. One of the reasons for the difficulty of math recognition compared to normal text recognition is that math formula usually has 2-D spatial structure relationship [1] instead of 1-D ones from normal text data. The spatial structure relationship of math formula is presented by many math symbols such as superscript, subscript, fraction symbol, etc. The traditional approach usually solves this problem in two stages. First, the character segmentation stage is used to segment each character in math formula and then classify it based on the given vocabulary. Second, the structural analysis stage is used to identify the spatial relationships between all characters of the math formula.