HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition

{Yiqing Hu Bo Ren Chen Yang Jianshu Zhang Yunqing Li Jun Du Changjie Wu}

Abstract

In recent years, tree decoders become more popular than LaTeX string decoders in the field of handwritten mathematical expression recognition (HMER) as they can capture the hierarchical tree structure of mathematical expressions. However previous tree decoders converted the tree structure labels into a fixed and ordered sequence, which could not make full use of the diversified expression of tree labels. In this study, we propose a novel tree decoder (TDv2) to fully utilize the tree structure labels. Compared with previous tree decoders, this new model does not require a fixed priority for different branches of a node during training and inference, which can effectively improve the model generalization capability. The input and output of the model make full use of the tree structure label, so that there is no need to find the parent node in the decoding process, which simplifies the decoding process and adds a prior information to help predict the node. We verified the effectiveness of each part of the model through comprehensive ablation experiments and attention visualization analysis. On the authoritative CROHME 14/16/19 datasets, our method achieves the state-of-the-art results.

Benchmarks

BenchmarkMethodologyMetrics
handwritten-mathmatical-expressionTDv2
ExpRate: 53.62
handwritten-mathmatical-expression-1TDv2
ExpRate: 55.18
handwritten-mathmatical-expression-2TDv2
ExpRate: 58.72

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
TDv2: A Novel Tree-Structured Decoder for Offline Mathematical Expression Recognition | Papers | HyperAI