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

基于ULMFit和反向翻译的低资源文本分类

Low Resource Text Classification with ULMFit and Backtranslation

Stanford University(斯坦福大学)

Sam Shleifer

摘要:

在计算机视觉中,几乎每一个最先进的深度学习系统都是用数据增强训练的。然而,在文本分类中,数据增强的实践并不广泛,因为它必须在训练之前执行,并且有引入标签噪声的风险。我们使用两种技术生成的示例来增强IMDB电影评论数据集:Wei和Zou [2019]引入的随机令牌扰动和反向翻译-翻译为第二语言,然后返回到英语。在低资源环境中,反向翻译在最先进的ULMFit模型之上产生了显着的改进。在wikitext 103上预训练的ULMFit模型,然后仅在50个IMDB示例和500个通过反向翻译生成的合成示例上进行微调,实现了80.6%的准确率,比无增强的基线提高了8.1%,只需9分钟的额外训练时间。随机令牌扰动不会产生任何改进,但会产生等效的计算成本。使用反向转换的示例进行训练的好处随着可用训练数据的大小而减少。在完整的数据集上,两种增强技术都没有提高ULMFit的最先进性能。我们通过使用反向翻译作为测试时间增强的一种形式以及与其他模型集成ULMFit来解决这个问题,并实现了小的改进。

英文摘要:

In computer vision, virtually every state-of-the-art deep learning system is trained with data augmentation. In text classification, however, data augmentation is less widely practiced because it must be performed before training and risks introducing label noise. We augment the IMDB movie reviews dataset with examples generated by two families of techniques: random token perturbations introduced by Wei and Zou [2019] and backtranslation -- translating to a second language then back to English. In low resource environments, backtranslation generates significant improvement on top of the state of-the-art ULMFit model. A ULMFit model pretrained on wikitext103 and then fine-tuned on only 50 IMDB examples and 500 synthetic examples generated by backtranslation achieves 80.6% accuracy, an 8.1% improvement over the augmentation-free baseline with only 9 minutes of additional training time. Random token perturbations do not yield any improvements but incur equivalent computational cost. The benefits of training with backtranslated examples decreases with the size of the available training data. On the full dataset, neither augmentation technique improves upon ULMFit's state of the art performance. We address this by using backtranslations as a form of test time augmentation as well as ensembling ULMFit with other models, and achieve small improvements.

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

↑