PosFormer: Recognizing Complex Handwritten Mathematical Expression with Position Forest Transformer
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 19 of its 47 references that are in the map. First posted on arXiv 10 Jul 2024.
Builds on
19 of 47 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 519
- 2020RobustScanner: Dynamically Enhancing Positional Clues for Robust Text Recognitioncited by 85
- 2016Image-to-Markup Generation with Coarse-to-Fine Attentioncited by 79
- 2022Syntax-Aware Network for Handwritten Mathematical Expression Recognitioncited by 68
- 2024UniMERNet: A Universal Network for Real-World Mathematical Expression Recognitioncited by 41
- 2018Multi-Scale Attention with Dense Encoder for Handwritten Mathematical Expression Recognitioncited by 36
- 2022When Counting Meets HMER: Counting-Aware Network for Handwritten Mathematical Expression Recognitioncited by 35
- 2021Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformercited by 34
- 2022Self-supervised Character-to-Character Distillation for Text Recognitioncited by 27
7 more
- 2022Self-supervised Implicit Glyph Attention for Text Recognitioncited by 25
- 2022CoMER: Modeling Coverage for Transformer-based Handwritten Mathematical Expression Recognitioncited by 24
- 2020Improving Attention-Based Handwritten Mathematical Expression Recognition with Scale Augmentation and Drop Attentioncited by 22
- 2021Handwritten Mathematical Expression Recognition via Attention Aggregation based Bi-directional Mutual Learningcited by 20
- 2021Industrial Scene Text Detection with Refined Feature-attentive Networkcited by 16
- 2019Pattern Generation Strategies for Improving Recognition of Handwritten Mathematical Expressionscited by 13
- 2023Bridging Synthetic and Real Worlds for Pre-training Scene Text Detectorscited by 9
Built on by
Citing papers per year: 2024: 1; 2025: 10; 2026: 7.
18 papers.
Sort:
By area:
- 2025Marten: Visual Question Answering with Mask Generation for Multi-modal Document Understandingcited by 20
- 2025A Token-level Text Image Foundation Model for Document Understandingcited by 13
- 2025Multimodal Large Language Models for Text-rich Image Understanding: A Comprehensive Reviewcited by 8
- 2025Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognitioncited by 3
- 2026CodePercept: Code-Grounded Visual STEM Perception for MLLMscited by 3
- 2024Local and Global Graph Modeling with Edge-weighted Graph Attention Network for Handwritten Mathematical Expression Recognitioncited by 2
- 2025DocTron-Formula: Generalized Formula Recognition in Complex and Structured Scenarioscited by 2
- 2025MLLM-CTBench: A Benchmark for Continual Instruction Tuning with Reasoning Process Diagnosiscited by 2
- 2025MMHMER:Multi-viewer and Multi-task for Handwritten Mathematical Expression Recognitioncited by 1
- 2025SemiHMER: Semi-supervised Handwritten Mathematical Expression Recognition using pseudo-labelscited by 1
- 2025Simple Vision-Language Math Reasoning via Rendered Textcited by 1
- 2026GryphOne: Symbol-Aware Masked Diffusion for Structural Refinement in Offline Handwritten Mathematical Expression Recognitioncited by 1
6 more
- 2026LightSTAR: Efficient Visual Document Retrieval via Lightweight Selection with Vision-Adaptive Refinementcited by 1
- 2026ViTexQA: A Multi-Frame Temporal Perception Dataset for Video Text Question Answeringcited by 1
- 2025Towards Scalable Training for Handwritten Mathematical Expression Recognitioncited by 0
- 2026DiffMath: Symbol- and Graph-Aware Latent Diffusion Transformer for Handwritten Mathematical Expression Generationcited by 0
- 2026PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognitioncited by 0
- 2026Cross-Domain Few-Shot Writer Adaptation for Real-World Handwritten Mathematical Expression Recognitioncited by 0
- 2026Cross-Domain Few-Shot Writer Adaptation for Real-World Handwritten Mathematical Expression Recognition26 Sep 2026
- 2026PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognition11 Sep 2026
- 2026ViTexQA: A Multi-Frame Temporal Perception Dataset for Video Text Question Answering23 Jun 2026
- 2026LightSTAR: Efficient Visual Document Retrieval via Lightweight Selection with Vision-Adaptive Refinement22 Jun 2026
- 2026DiffMath: Symbol- and Graph-Aware Latent Diffusion Transformer for Handwritten Mathematical Expression Generation18 Jun 2026
- 2026CodePercept: Code-Grounded Visual STEM Perception for MLLMs11 Mar 2026
- 2026GryphOne: Symbol-Aware Masked Diffusion for Structural Refinement in Offline Handwritten Mathematical Expression Recognition3 Feb 2026
- 2025Simple Vision-Language Math Reasoning via Rendered Text12 Nov 2025
- 2025Towards Scalable Training for Handwritten Mathematical Expression Recognition11 Aug 2025
- 2025DocTron-Formula: Generalized Formula Recognition in Complex and Structured Scenarios1 Aug 2025
- 2025MLLM-CTBench: A Benchmark for Continual Instruction Tuning with Reasoning Process Diagnosis31 Jul 2025
- 2025Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition29 May 2025
6 more
- 2025Marten: Visual Question Answering with Mask Generation for Multi-modal Document Understanding18 Mar 2025
- 2025A Token-level Text Image Foundation Model for Document Understanding4 Mar 2025
- 2025Multimodal Large Language Models for Text-rich Image Understanding: A Comprehensive Review23 Feb 2025
- 2025SemiHMER: Semi-supervised Handwritten Mathematical Expression Recognition using pseudo-labels11 Feb 2025
- 2025MMHMER:Multi-viewer and Multi-task for Handwritten Mathematical Expression Recognition8 Feb 2025
- 2024Local and Global Graph Modeling with Edge-weighted Graph Attention Network for Handwritten Mathematical Expression Recognition24 Oct 2024
- 2025Marten: Visual Question Answering with Mask Generation for Multi-modal Document Understandingcited by 20
- 2025A Token-level Text Image Foundation Model for Document Understandingcited by 13
- 2025Multimodal Large Language Models for Text-rich Image Understanding: A Comprehensive Reviewcited by 8
- 2025Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognitioncited by 3
- 2025Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognition29 May 2025
- 2025Marten: Visual Question Answering with Mask Generation for Multi-modal Document Understanding18 Mar 2025
- 2025A Token-level Text Image Foundation Model for Document Understanding4 Mar 2025
- 2025Multimodal Large Language Models for Text-rich Image Understanding: A Comprehensive Review23 Feb 2025
- 2024Local and Global Graph Modeling with Edge-weighted Graph Attention Network for Handwritten Mathematical Expression Recognitioncited by 2
- 2025DocTron-Formula: Generalized Formula Recognition in Complex and Structured Scenarioscited by 2
- 2025MMHMER:Multi-viewer and Multi-task for Handwritten Mathematical Expression Recognitioncited by 1
- 2025SemiHMER: Semi-supervised Handwritten Mathematical Expression Recognition using pseudo-labelscited by 1
- 2026LightSTAR: Efficient Visual Document Retrieval via Lightweight Selection with Vision-Adaptive Refinementcited by 1
- 2026ViTexQA: A Multi-Frame Temporal Perception Dataset for Video Text Question Answeringcited by 1
- 2025Towards Scalable Training for Handwritten Mathematical Expression Recognitioncited by 0
- 2026PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognitioncited by 0
- 2026Cross-Domain Few-Shot Writer Adaptation for Real-World Handwritten Mathematical Expression Recognitioncited by 0
- 2026Cross-Domain Few-Shot Writer Adaptation for Real-World Handwritten Mathematical Expression Recognition26 Sep 2026
- 2026PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognition11 Sep 2026
- 2026ViTexQA: A Multi-Frame Temporal Perception Dataset for Video Text Question Answering23 Jun 2026
- 2026LightSTAR: Efficient Visual Document Retrieval via Lightweight Selection with Vision-Adaptive Refinement22 Jun 2026
- 2025Towards Scalable Training for Handwritten Mathematical Expression Recognition11 Aug 2025
- 2025DocTron-Formula: Generalized Formula Recognition in Complex and Structured Scenarios1 Aug 2025
- 2025SemiHMER: Semi-supervised Handwritten Mathematical Expression Recognition using pseudo-labels11 Feb 2025
- 2025MMHMER:Multi-viewer and Multi-task for Handwritten Mathematical Expression Recognition8 Feb 2025
- 2024Local and Global Graph Modeling with Edge-weighted Graph Attention Network for Handwritten Mathematical Expression Recognition24 Oct 2024