Regular expressions for decoding of neural network outputs

09/15/2015
by   Tobias Strauß, et al.
0

This article proposes a convenient tool for decoding the output of neural networks trained by Connectionist Temporal Classification (CTC) for handwritten text recognition. We use regular expressions to describe the complex structures expected in the writing. The corresponding finite automata are employed to build a decoder. We analyze theoretically which calculations are relevant and which can be avoided. A great speed-up results from an approximation. We conclude that the approximation most likely fails if the regular expression does not match the ground truth which is not harmful for many applications since the low probability will be even underestimated. The proposed decoder is very efficient compared to other decoding methods. The variety of applications reaches from information retrieval to full text recognition. We refer to applications where we integrated the proposed decoder successfully.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/14/2023

Regular Expressions in a CS Formal Languages Course

Regular expressions in an Automata Theory and Formal Languages course ar...
research
11/10/2021

Improving Structured Text Recognition with Regular Expression Biasing

We study the problem of recognizing structured text, i.e. text that foll...
research
05/08/2019

A Hardware-Oriented and Memory-Efficient Method for CTC Decoding

The Connectionist Temporal Classification (CTC) has achieved great succe...
research
03/03/2021

Decoding supercodes of Gabidulin codes and applications to cryptanalysis

This article discusses the decoding of Gabidulin codes and shows how to ...
research
06/28/2023

DenseBAM-GI: Attention Augmented DeneseNet with momentum aided GRU for HMER

The task of recognising Handwritten Mathematical Expressions (HMER) is c...
research
04/20/2022

Investigating the Optimal Neural Network Parameters for Decoding

Neural Networks have been proved to work as decoders in telecommunicatio...
research
12/01/2022

A Noise-tolerant Differentiable Learning Approach for Single Occurrence Regular Expression with Interleaving

We study the problem of learning a single occurrence regular expression ...

Please sign up or login with your details

Forgot password? Click here to reset