CVMar 4, 2024

Attention Guidance Mechanism for Handwritten Mathematical Expression Recognition

arXiv:2403.01756v21 citationsh-index: 2
Originality Incremental advance
AI Analysis

This work addresses a specific bottleneck in HMER for researchers and practitioners, offering an incremental improvement over previous attention-based methods.

The paper tackles the problem of under-parsing in handwritten mathematical expression recognition by proposing an attention guidance mechanism to refine attention weights, achieving expression recognition rates of 60.75%, 61.81%, and 63.30% on CROHME 2014, 2016, and 2019 datasets.

Handwritten mathematical expression recognition (HMER) is challenging in image-to-text tasks due to the complex layouts of mathematical expressions and suffers from problems including over-parsing and under-parsing. To solve these, previous HMER methods improve the attention mechanism by utilizing historical alignment information. However, this approach has limitations in addressing under-parsing since it cannot correct the erroneous attention on image areas that should be parsed at subsequent decoding steps. This faulty attention causes the attention module to incorporate future context into the current decoding step, thereby confusing the alignment process. To address this issue, we propose an attention guidance mechanism to explicitly suppress attention weights in irrelevant areas and enhance the appropriate ones, thereby inhibiting access to information outside the intended context. Depending on the type of attention guidance, we devise two complementary approaches to refine attention weights: self-guidance that coordinates attention of multiple heads and neighbor-guidance that integrates attention from adjacent time steps. Experiments show that our method outperforms existing state-of-the-art methods, achieving expression recognition rates of 60.75% / 61.81% / 63.30% on the CROHME 2014/ 2016/ 2019 datasets.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes