paper-with-me

Papers

PosFormer: Recognizing Complex Handwritten Mathematical Expression with Position Forest Transformer

2024-07-10 · Tongkun Guan, Chengyu Lin, Wei Shen, Xiaokang Yang

Handwritten Mathematical Expression Recognition (HMER) has wide applications in human-machine interaction scenarios, such as digitized education and automated offices. Recently, sequence-based models with encoder-decoder architectures have been commonly adopted to address this task by directly predicting LaTeX sequences of expression images. However, these methods only implicitly learn the syntax rules provided by LaTeX, which may fail to describe the position and hierarchical relationship between symbols due to complex structural relations and diverse handwriting styles. To overcome this challenge, we propose a position forest transformer (PosFormer) for HMER, which jointly optimizes two tasks: expression recognition and position recognition, to explicitly enable position-aware symbol feature representation learning. Specifically, we first design a position forest that models the mathematical expression as a forest structure and parses the relative position relationships between symbols. Without requiring extra annotations, each symbol is assigned a position identifier in the forest to denote its relative spatial position. Second, we propose an implicit attention correction module to accurately capture attention for HMER in the sequence-based decoder architecture. Extensive experiments validate the superiority of PosFormer, which consistently outperforms the state-of-the-art methods 2.03%/1.22%/2.00%, 1.83%, and 4.62% gains on the single-line CROHME 2014/2016/2019, multi-line M2E, and complex MNE datasets, respectively, with no additional latency or computational cost. Code is available at https://github.com/SJTU-DeepVisionLab/PosFormer.

📄 PDF Abstract BibTeX arXiv:2407.07764

Code (1)

sjtu-deepvisionlab/posformer 공식 구현 pytorch

Tasks

DecoderHandwritten Mathmatical Expression RecognitionPositionRepresentation Learning

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Recognizing Handwritten Mathematical Expressions of Vertical Addition and Subtraction

2023-08-10 · Daniel Rosa, Filipe R. Cordeiro, Ruan Carvalho, Everton Souza 외

Handwritten Mathematical Expression Recognition (HMER) is a challenging task with many educational applications. Recent methods for HMER have been developed for complex mathematical expressions in standard horizontal for…

object-detectionObject Detection

Recognizing Handwritten Mathematical Expressions as LaTex Sequences Using a Multiscale Robust Neural Network

2020-02-26 · Hongyu Wang, Guangcun Shan

In this paper, a robust multiscale neural network is proposed to recognize handwritten mathematical expressions and output LaTeX sequences, which can effectively and correctly focus on where each step of output should be…

MFH: Marrying Frequency Domain with Handwritten Mathematical Expression Recognition

2025-07-01 · Huanxin Yang, Qiwen Wang arxiv

Handwritten mathematical expression recognition (HMER) suffers from complex formula structures and character layouts in sequence prediction. In this paper, we incorporate frequency domain analysis into HMER and propose a…

Learning symbol relation tree for online mathematical expression recognition

2021-05-13 · Thanh-Nghia Truong, Hung Tuan Nguyen, Cuong Tuan Nguyen, Masaki Nakagawa

This paper proposes a method for recognizing online handwritten mathematical expressions (OnHME) by building a symbol relation tree (SRT) directly from a sequence of strokes. A bidirectional recurrent neural network lear…

Relation

An Intelligent-Detection Network for Handwritten Mathematical Expression Recognition

2023-11-26 · Ziqi Ye

The use of artificial intelligence technology in education is growing rapidly, with increasing attention being paid to handwritten mathematical expression recognition (HMER) by researchers. However, many existing methods…

Decoderobject-detectionObject Detection