JOURNAL ARTICLE

Stroke Based Posterior Attention for Online Handwritten Mathematical Expression Recognition

Abstract

Recently, many researches propose to employ attention based encoder-decoder models to convert a sequence of trajectory points into a LaTeX string for online handwritten mathematical expression recognition (OHMER), and the recognition performance of these models critically relies on the accuracy of the attention. In this paper, unlike previous methods which basically employ a soft attention model, we propose to employ a posterior attention model, which modifies the attention probabilities after observing the output probabilities generated by the soft attention model. In order to further improve the posterior attention mechanism, we propose a stroke average pooling layer to aggregate point-level features obtained from the encoder into stroke-level features. We argue that posterior attention is better to be implemented on stroke-level features than point-level features as the output probabilities generated by stroke is more convincing than generated by point, and we prove that through experimental analysis. Validated on the CROHME competition task, we demonstrate that stroke based posterior attention achieves expression recognition rates of 54.26% on CROHME 2014 and 51.75% on CROHME 2016. According to attention visualization analysis, we empirically demonstrate that the posterior attention mechanism can achieve better alignment accuracy than the soft attention mechanism.

Keywords:
Computer science Encoder Posterior probability Pooling String (physics) Point (geometry) Artificial intelligence Mechanism (biology) Pattern recognition (psychology) Expression (computer science) Visualization Aggregate (composite) Sequence (biology) Speech recognition Machine learning Bayesian probability Mathematics

Metrics

3
Cited By
0.31
FWCI (Field Weighted Citation Impact)
36
Refs
0.54
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Handwritten Text Recognition Techniques
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Natural Language Processing Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
Video Analysis and Summarization
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

JOURNAL ARTICLE

Online handwritten mathematical expression recognition

Hakan BüyükbayrakBerrin YanıkoğluAytül Erçi̇l

Journal:   Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE Year: 2007 Vol: 6500 Pages: 65000F-65000F
JOURNAL ARTICLE

Handwritten Mathematical Expression Recognition with Self-Attention

Xueke ChiDa‐Han WangYuefeng WuYun Wu

Journal:   2021 4th International Conference on Algorithms, Computing and Artificial Intelligence Year: 2021 Pages: 1-6
© 2026 ScienceGate Book Chapters — All rights reserved.