arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.04718cs.CLcs.LG
收藏

利用NLP云API简化文本数据增强

Text Data Augmentation Made Simple By Leveraging NLP Cloud APIs

TÉLUQ / UQAM(魁北克大学远程教学学院 / 魁北克大学蒙特利尔分校);Lingua Technologies Inc.(Lingua技术公司);DataFranca(DataFranca公司)

Claude Coulombe

摘要:

在实践中,通常发现自己的文本数据太少,无法训练深度神经网络。这种“大数据墙”对互联网上的少数民族语言社区、组织、实验室和与GAFAM竞争的公司(谷歌、亚马逊、Facebook、苹果、微软)构成了挑战。虽然文本数据增强的大部分研究工作都是着眼于寻找端到端学习解决方案的长期目标,这相当于“使用神经网络来喂养神经网络“,但这项工程工作侧重于使用实用,健壮,可扩展和易于实现的数据增强预处理技术,类似于计算机视觉中成功的技术。已经试验了几种文本增强技术。一些现有的测试是为了比较的目的,比如噪声注入或正则表达式的使用。另一些是修改或改进的技术,如词汇替换。最后,更具创新性的方法,例如使用反向翻译或通过语法树转换生成释义,都是基于强大,可扩展和易于使用的NLP云API。研究的所有文本增强技术,放大因子仅为5,在文本极性预测的标准化任务上,结果的准确性提高了4.3%至21.6%,具有显著的统计波动。测试了一些标准的深度神经网络架构:多层感知器(MLP),长短期记忆递归网络(LSTM)和双向LSTM(biLSTM)。经典的XGBoost算法已经过测试,最多有2.5%的改进。

英文摘要:

In practice, it is common to find oneself with far too little text data to train a deep neural network. This "Big Data Wall" represents a challenge for minority language communities on the Internet, organizations, laboratories and companies that compete the GAFAM (Google, Amazon, Facebook, Apple, Microsoft). While most of the research effort in text data augmentation aims on the long-term goal of finding end-to-end learning solutions, which is equivalent to "using neural networks to feed neural networks", this engineering work focuses on the use of practical, robust, scalable and easy-to-implement data augmentation pre-processing techniques similar to those that are successful in computer vision. Several text augmentation techniques have been experimented. Some existing ones have been tested for comparison purposes such as noise injection or the use of regular expressions. Others are modified or improved techniques like lexical replacement. Finally more innovative ones, such as the generation of paraphrases using back-translation or by the transformation of syntactic trees, are based on robust, scalable, and easy-to-use NLP Cloud APIs. All the text augmentation techniques studied, with an amplification factor of only 5, increased the accuracy of the results in a range of 4.3% to 21.6%, with significant statistical fluctuations, on a standardized task of text polarity prediction. Some standard deep neural network architectures were tested: the multilayer perceptron (MLP), the long short-term memory recurrent network (LSTM) and the bidirectional LSTM (biLSTM). Classical XGBoost algorithm has been tested with up to 2.5% improvements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑