paper-with-me

Papers

No Padding Please: Efficient Neural Handwriting Recognition

2019-02-28 · Gideon Maillette de Buy Wenniger, Lambert Schomaker, Andy Way

Neural handwriting recognition (NHR) is the recognition of handwritten text with deep learning models, such as multi-dimensional long short-term memory (MDLSTM) recurrent neural networks. Models with MDLSTM layers have achieved state-of-the art results on handwritten text recognition tasks. While multi-directional MDLSTM-layers have an unbeaten ability to capture the complete context in all directions, this strength limits the possibilities for parallelization, and therefore comes at a high computational cost. In this work we develop methods to create efficient MDLSTM-based models for NHR, particularly a method aimed at eliminating computation waste that results from padding. This proposed method, called example-packing, replaces wasteful stacking of padded examples with efficient tiling in a 2-dimensional grid. For word-based NHR this yields a speed improvement of factor 6.6 over an already efficient baseline of minimal padding for each batch separately. For line-based NHR the savings are more modest, but still significant. In addition to example-packing, we propose: 1) a technique to optimize parallelization for dynamic graph definition frameworks including PyTorch, using convolutions with grouping, 2) a method for parallelization across GPUs for variable-length example batches. All our techniques are thoroughly tested on our own PyTorch re-implementation of MDLSTM-based NHR models. A thorough evaluation on the IAM dataset shows that our models are performing similar to earlier implementations of state-of-the-art models. Our efficient NHR model and some of the reusable techniques discussed with it offer ways to realize relatively efficient models for the omnipresent scenario of variable-length inputs in deep learning.

📄 PDF Abstract BibTeX arXiv:1902.11208

Code (1)

gwenniger/multi-hare pytorch

Tasks

Handwriting RecognitionHandwritten Text Recognition

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Spatially-sparse convolutional neural networks

2014-09-22 · Benjamin Graham

Convolutional neural networks (CNNs) perform well on problems such as handwriting recognition and image classification. However, the performance of the networks is often limited by budget and time constraints, particular…

Handwriting Recognitionimage-classificationImage Classification

UIT-HWDB: Using Transferring Method to Construct A Novel Benchmark for Evaluating Unconstrained Handwriting Image Recognition in Vietnamese

2022-11-10 · Nghia Hieu Nguyen, Duong T. D. Vo, Kiet Van Nguyen

Recognizing handwriting images is challenging due to the vast variation in writing style across many people and distinct linguistic aspects of writing languages. In Vietnamese, besides the modern Latin characters, there …

Handwriting Recognition

Stroke-Based Cursive Character Recognition

2013-04-01 · K. C. Santosh, E. Iwata

Human eye can see and read what is written or displayed either in natural handwriting or in printed format. The same work in case the machine does is called handwriting recognition. Handwriting recognition can be broken …

Handwriting Recognition

An Open Source Testing Tool for Evaluating Handwriting Input Methods

2015-05-30 · Liquan Qiu, Lianwen Jin, Ruifen Dai, Yuxiang Zhang 외

This paper presents an open source tool for testing the recognition accuracy of Chinese handwriting input methods. The tool consists of two modules, namely the PC and Android mobile client. The PC client reads handwritte…

Handwriting Recognition

Representing Online Handwriting for Recognition in Large Vision-Language Models

2024-02-23 · Anastasiia Fadeeva, Philippe Schlattner, Andrii Maksai, Mark Collier 외

The adoption of tablets with touchscreens and styluses is increasing, and a key feature is converting handwriting to text, enabling search, indexing, and AI assistance. Meanwhile, vision-language models (VLMs) are now th…

Handwriting RecognitionOptical Character RecognitionOptical Character Recognition (OCR)