基于注意力机制CNN的海量短信语言识别
Language Identification on Massive Datasets of Short Message using an Attention Mechanism CNN
摘要:
语言识别(LID)是一项具有挑战性的任务,特别是当输入文本简短且嘈杂时,例如社交媒体上的帖子和状态或游戏论坛上的聊天记录。该任务已经通过为传统分类器(例如朴素贝叶斯)设计特征集或应用深度神经网络分类器(例如双向门控递归单元,编码器-解码器)来解决。这些方法通常在大量私人数据上进行训练和测试,然后由其他研究人员使用自己的数据集作为现成的软件包进行使用和评估,因此发布的各种结果并不直接可比。在本文中,我们首先基于一年的Twitter数据创建了一个新的大规模标记数据集。我们使用这个数据集来测试几个现有的语言识别系统,以获得一组连贯的基准,我们使我们的数据集公开,以便其他人可以添加到这组基准。最后,我们提出了一个浅,但有效的神经LID系统,这是一个ngram-regional卷积神经网络增强的注意力机制。实验结果表明,我们的架构是能够预测每秒数万个样本,并超过所有国家的最先进的系统,提高了5%。
英文摘要:
Language Identification (LID) is a challenging task, especially when the input texts are short and noisy such as posts and statuses on social media or chat logs on gaming forums. The task has been tackled by either designing a feature set for a traditional classifier (e.g. Naive Bayes) or applying a deep neural network classifier (e.g. Bi-directional Gated Recurrent Unit, Encoder-Decoder). These methods are usually trained and tested on a huge amount of private data, then used and evaluated as off-the-shelf packages by other researchers using their own datasets, and consequently the various results published are not directly comparable. In this paper, we first create a new massive labelled dataset based on one year of Twitter data. We use this dataset to test several existing language identification systems, in order to obtain a set of coherent benchmarks, and we make our dataset publicly available so that others can add to this set of benchmarks. Finally, we propose a shallow but efficient neural LID system, which is a ngram-regional convolution neural network enhanced with an attention mechanism. Experimental results show that our architecture is able to predict tens of thousands of samples per second and surpasses all state-of-the-art systems with an improvement of 5%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。