神经网络在键盘解码中的文本校正和补全
Neural Networks for Text Correction and Completion in Keyboard Decoding
摘要:
尽管移动和可穿戴文本消息应用程序无处不在,但鉴于深度学习递归神经网络(RNN)和卷积神经网络(CNN)在自然语言理解方面的巨大成功,键盘文本解码的问题没有得到充分解决。特别是,考虑到键盘解码器应该在具有内存和处理器资源限制的设备上运行,这使得部署工业规模的深度神经网络(DNN)模型具有挑战性。本文提出了一个序列到序列的神经注意网络系统,用于自动文本校正和完成。给定一个错误的序列,我们的模型对字符级隐藏表示进行编码,然后对修改后的序列进行解码,从而实现自动纠正和完成。我们实现这一目标的字符级CNN和门控递归单元(GRU)编码器的组合,以及一个字级门控递归单元(GRU)注意解码器。与传统的从数十亿个单词中学习的语言模型不同,我们的语料库大小只有1200万个单词,小了一个数量级。我们的学习模型用于推理和预测的内存占用也比传统的基于语言模型的文本解码器小一个数量级。我们报告的神经键盘解码器在这样有限的域的基线性能。我们的模型在Twitter错别字数据集上实现了$90\%$的单词级准确度和$2.4\%$的字符错误率CER。我们提出了一个新的数据集的噪声校正映射通过诱导噪声分布从Twitter的数据在OpenSubtitles 2009数据集,我们的模型预测与$98\%$和$68.9\%$的序列精度的字级精度。在我们的用户研究中,我们的模型实现了$2.6\%$的平均CER,最先进的非神经触摸屏键盘解码器的CER为$1.6\%$。
英文摘要:
Despite the ubiquity of mobile and wearable text messaging applications, the problem of keyboard text decoding is not tackled sufficiently in the light of the enormous success of the deep learning Recurrent Neural Network (RNN) and Convolutional Neural Networks (CNN) for natural language understanding. In particular, considering that the keyboard decoders should operate on devices with memory and processor resource constraints, makes it challenging to deploy industrial scale deep neural network (DNN) models. This paper proposes a sequence-to-sequence neural attention network system for automatic text correction and completion. Given an erroneous sequence, our model encodes character level hidden representations and then decodes the revised sequence thus enabling auto-correction and completion. We achieve this by a combination of character level CNN and gated recurrent unit (GRU) encoder along with and a word level gated recurrent unit (GRU) attention decoder. Unlike traditional language models that learn from billions of words, our corpus size is only 12 million words; an order of magnitude smaller. The memory footprint of our learnt model for inference and prediction is also an order of magnitude smaller than the conventional language model based text decoders. We report baseline performance for neural keyboard decoders in such limited domain. Our models achieve a word level accuracy of $90\%$ and a character error rate CER of $2.4\%$ over the Twitter typo dataset. We present a novel dataset of noisy to corrected mappings by inducing the noise distribution from the Twitter data over the OpenSubtitles 2009 dataset; on which our model predicts with a word level accuracy of $98\%$ and sequence accuracy of $68.9\%$. In our user study, our model achieved an average CER of $2.6\%$ with the state-of-the-art non-neural touch-screen keyboard decoder at CER of $1.6\%$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。