跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算机视觉与模式识别

arXiv:1902.11208 (cs)
[提交于 2019年2月28日]

标题:No Padding Please: Efficient Neural Handwriting Recognition

作者:Gideon Maillette de Buy Wenniger, Lambert Schomaker, Andy Way
查看论文《No Padding Please: Efficient Neural Handwriting Recognition》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
主题: 计算机视觉与模式识别 (cs.CV); 机器学习 (cs.LG); 神经与演化计算 (cs.NE)
引用方式: arXiv:1902.11208 [cs.CV]
  (或者 arXiv:1902.11208v1 [cs.CV] 对于此版本)
  https://doi.org/10.48550/arXiv.1902.11208
相关 DOI: https://doi.org/10.1109/ICDAR.2019.00064

提交历史

来自:Gideon Maillette De Buy Wenniger
[v1] 2019年2月28日 星期四 16:46:43 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CV
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-02
切换浏览方式为:
cs
cs.LG
cs.NE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站