Implicit Language Model in LSTM for OCR
Preprint
Abstract
Neural networks have become the technique of choice for OCR, but many aspects of how and why they deliver superior performance are still unknown. One key difference between current neural network techniques using LSTMs and the previous state-of-the-art HMM systems is that HMM systems have a strong independence assumption. In comparison LSTMs have no explicit constraints on the amount of context that can be considered during decoding. In this paper we show that they learn an implicit LM and attempt to characterize the strength of the LM in terms of equivalent n-gram context. We show that this implicitly learned language model provides a 2.4\% CER improvement on our synthetic test set when compared against a test set of random characters (i.e. not naturally occurring sequences), and that the LSTM learns to use up to 5 characters of context (which is roughly 88 frames in our configuration). We believe that this is the first ever attempt at characterizing the strength of the implicit LM in LSTM based OCR systems.Keywords
All Related Versions
- Version 1, 2018-05-24, ArXiv
- Published version: , 07, 27.
This publication has 9 references indexed in Scilit:
- Can we build language-independent OCR using LSTM networks?2013
- Connectionist temporal classification2006
- Offline recognition of unconstrained handwritten texts using HMMs and statistical language modelsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2004
- Large vocabulary off-line handwriting recognition: A surveyPattern Analysis and Applications, 2003
- Online and off-line handwriting recognition: a comprehensive surveyIEEE Transactions on Pattern Analysis and Machine Intelligence, 2000
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Long Short-Term MemoryNeural Computation, 1997
- Techniques for automatically correcting words in textACM Computing Surveys, 1992
- Backpropagation Applied to Handwritten Zip Code RecognitionNeural Computation, 1989