mlsanityData to 7 Oct 2026

PosFormer: Recognizing Complex Handwritten Mathematical Expression with Position Forest Transformer

arXiv 2407.07764 ↗First posted 10 Jul 2024cs.CVcited by 18

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2016Densely Connected Convolutional Networkscited by 6,691
  4. 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 519
  5. 2020RobustScanner: Dynamically Enhancing Positional Clues for Robust Text Recognitioncited by 85
  6. 2016Image-to-Markup Generation with Coarse-to-Fine Attentioncited by 79
  7. 2022Syntax-Aware Network for Handwritten Mathematical Expression Recognitioncited by 68
  8. 2024UniMERNet: A Universal Network for Real-World Mathematical Expression Recognitioncited by 41
  9. 2018Multi-Scale Attention with Dense Encoder for Handwritten Mathematical Expression Recognitioncited by 36
  10. 2022When Counting Meets HMER: Counting-Aware Network for Handwritten Mathematical Expression Recognitioncited by 35
  11. 2021Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformercited by 34
  12. 2022Self-supervised Character-to-Character Distillation for Text Recognitioncited by 27
7 more
  1. 2022Self-supervised Implicit Glyph Attention for Text Recognitioncited by 25
  2. 2022CoMER: Modeling Coverage for Transformer-based Handwritten Mathematical Expression Recognitioncited by 24
  3. 2020Improving Attention-Based Handwritten Mathematical Expression Recognition with Scale Augmentation and Drop Attentioncited by 22
  4. 2021Handwritten Mathematical Expression Recognition via Attention Aggregation based Bi-directional Mutual Learningcited by 20
  5. 2021Industrial Scene Text Detection with Refined Feature-attentive Networkcited by 16
  6. 2019Pattern Generation Strategies for Improving Recognition of Handwritten Mathematical Expressionscited by 13
  7. 2023Bridging Synthetic and Real Worlds for Pre-training Scene Text Detectorscited by 9

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 10; 2026: 7.

18 papers.

Sort:

By area:

  1. 2025Marten: Visual Question Answering with Mask Generation for Multi-modal Document Understandingcited by 20
  2. 2025A Token-level Text Image Foundation Model for Document Understandingcited by 13
  3. 2025Multimodal Large Language Models for Text-rich Image Understanding: A Comprehensive Reviewcited by 8
  4. 2025Uni-MuMER: Unified Multi-Task Fine-Tuning of Vision-Language Model for Handwritten Mathematical Expression Recognitioncited by 3
  5. 2026CodePercept: Code-Grounded Visual STEM Perception for MLLMscited by 3
  6. 2024Local and Global Graph Modeling with Edge-weighted Graph Attention Network for Handwritten Mathematical Expression Recognitioncited by 2
  7. 2025DocTron-Formula: Generalized Formula Recognition in Complex and Structured Scenarioscited by 2
  8. 2025MLLM-CTBench: A Benchmark for Continual Instruction Tuning with Reasoning Process Diagnosiscited by 2
  9. 2025MMHMER:Multi-viewer and Multi-task for Handwritten Mathematical Expression Recognitioncited by 1
  10. 2025SemiHMER: Semi-supervised Handwritten Mathematical Expression Recognition using pseudo-labelscited by 1
  11. 2025Simple Vision-Language Math Reasoning via Rendered Textcited by 1
  12. 2026GryphOne: Symbol-Aware Masked Diffusion for Structural Refinement in Offline Handwritten Mathematical Expression Recognitioncited by 1
6 more
  1. 2026LightSTAR: Efficient Visual Document Retrieval via Lightweight Selection with Vision-Adaptive Refinementcited by 1
  2. 2026ViTexQA: A Multi-Frame Temporal Perception Dataset for Video Text Question Answeringcited by 1
  3. 2025Towards Scalable Training for Handwritten Mathematical Expression Recognitioncited by 0
  4. 2026DiffMath: Symbol- and Graph-Aware Latent Diffusion Transformer for Handwritten Mathematical Expression Generationcited by 0
  5. 2026PA-CDM: Position-Aware Character Detection Matching for Evaluating Handwritten Mathematical Expression Recognitioncited by 0
  6. 2026Cross-Domain Few-Shot Writer Adaptation for Real-World Handwritten Mathematical Expression Recognitioncited by 0