Implicit Language Model in LSTM for OCR

  • 2018-05-23 22:01:38
  • Ekraam Sabir, Stephen Rawls, Prem Natarajan
  • 14

Abstract

Neural networks have become the technique of choice for OCR, but many aspectsof how and why they deliver superior performance are still unknown. One keydifference between current neural network techniques using LSTMs and theprevious state-of-the-art HMM systems is that HMM systems have a strongindependence assumption. In comparison LSTMs have no explicit constraints onthe amount of context that can be considered during decoding. In this paper weshow that they learn an implicit LM and attempt to characterize the strength ofthe LM in terms of equivalent n-gram context. We show that this implicitlylearned language model provides a 2.4\% CER improvement on our synthetic testset when compared against a test set of random characters (i.e. not naturallyoccurring sequences), and that the LSTM learns to use up to 5 characters ofcontext (which is roughly 88 frames in our configuration). We believe that thisis the first ever attempt at characterizing the strength of the implicit LM inLSTM based OCR systems.

 

Quick Read (beta)

loading the full paper ...