Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Evaluating Sequence-to-Sequence Models for Handwritten Text Recognition

About

Encoder-decoder models have become an effective approach for sequence learning tasks like machine translation, image captioning and speech recognition, but have yet to show competitive results for handwritten text recognition. To this end, we propose an attention-based sequence-to-sequence model. It combines a convolutional neural network as a generic feature extractor with a recurrent neural network to encode both the visual information, as well as the temporal context between characters in the input image, and uses a separate recurrent neural network to decode the actual character sequence. We make experimental comparisons between various attention mechanisms and positional encodings, in order to find an appropriate alignment between the input and output sequence. The model can be trained end-to-end and the optional integration of a hybrid loss allows the encoder to retain an interpretable and usable output, if desired. We achieve competitive results on the IAM and ICFHR2016 READ data sets compared to the state-of-the-art without the use of a language model, and we significantly improve over any recent sequence-to-sequence approaches.

Johannes Michael, Roger Labahn, Tobias Gr\"uning, Jochen Z\"ollner• 2019

Related benchmarks

TaskDatasetResultRank
Handwritten text recognitionIAM (test)
CER5.24
102
Handwriting RecognitionIAM
CER4.87
32
Handwritten text recognitionIAM Aachen (test)
CER4.87
23
Handwritten text recognitionIAM A partition (test)
CER4.87
12
Handwritten Document RecognitionREAD Line level 2016 (test)
CER4.66
4
Line-level Handwriting RecognitionRIMES 2011 (test)
CER2.3
3
Showing 6 of 6 rows

Other info

Follow for update