A Transformer Architecture for Online Gesture Recognition of Mathematical Expressions
Not on the map. Why?
Abstract (arXiv)
The Transformer architecture is shown to provide a powerful framework as an end-to-end model for building expression trees from online handwritten gestures corresponding to glyph strokes. In particular, the attention mechanism was successfully used to encode, learn and enforce the underlying syntax of expressions creating latent representations that are correctly decoded to the exact mathematical expression tree, providing robustness to ablated inputs and unseen glyphs. For the first time, the encoder is fed with spatio-temporal data tokens potentially forming an infinitely large vocabulary, which finds applications beyond that of online gesture recognition. A new supervised dataset of online handwriting gestures is provided for training models on generic handwriting recognition tasks and a new metric is proposed for the evaluation of the syntactic correctness of the output expression trees. A small Transformer model suitable for edge inference was successfully trained to an average normalised Levenshtein accuracy of 94%, resulting in valid postfix RPN tree representation for 94% of predictions.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 33 references that are in the map. First posted on arXiv 4 Nov 2022.
Builds on
16 of 33 references.
References · 16
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2020Point Transformercited by 1,462
- 2018Image Transformercited by 770
- 2013Generating Sequences With Recurrent Neural Networkscited by 549
- 2018Music Transformercited by 207
- 2020Improving Attention-Based Handwritten Mathematical Expression Recognition with Scale Augmentation and Drop Attentioncited by 22
4 more
- 2017Character-Based Handwritten Text Transcription with Attention Networkscited by 11
- 2021Text Line Segmentation for Challenging Handwritten Document Images Using Fully Convolutional Networkcited by 11
- 2019Lightweight Network Architecture for Real-Time Action Recognitioncited by 10
- 2017Open Source Dataset and Deep Learning Models for Online Digit Gesture Recognition on Touchscreenscited by 2
Built on by
Not cited yet.