快速且准确的深度双向语言表示用于无监督学习
Fast and Accurate Deep Bidirectional Language Representations for Unsupervised Learning
Fast and Accurate Deep Bidirectional Language Representations for Unsupervised Learning
@misc{shin2020fast,
title = {Fast and Accurate Deep Bidirectional Language Representations for Unsupervised Learning},
author = {Joongbo Shin and Yoonhyung Lee and Seunghyun Yoon and Kyomin Jung},
year = {2020},
eprint = {2004.08097},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2004.08097}
}
Shin, J., Lee, Y., Yoon, S., & Jung, K. (2020). Fast and Accurate Deep Bidirectional Language Representations for Unsupervised Learning [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2004.08097
SHIN J, LEE Y, YOON S, et al. Fast and Accurate Deep Bidirectional Language Representations for Unsupervised Learning[EB/OL]. (2020-04-17)[2026-11-30]. https://arxiv.org/abs/2004.08097.
摘要
尽管 BERT 在各种监督学习任务中取得了成功的性能提升,但将其应用于无监督任务仍存在局限性,即需要重复推理以计算上下文语言表示。为了解决这一局限性,我们提出了一种新型深度双向语言模型,称为基于 Transformer 的文本自编码器(T-TA)。T-TA 在不进行重复推理的情况下计算上下文语言表示,同时具备 BERT 所具有的双向深度架构优势。在 CPU 环境下的运行时实验中,所提出的 T-TA 在重排序任务中比基于 BERT 的模型快六倍以上,在语义相似度任务中快十二倍以上。此外,T-TA 在上述任务中表现出与 BERT 相当甚至更高的准确率。
Even though BERT achieves successful performance improvements in various supervised learning tasks, applying BERT for unsupervised tasks still holds a limitation that it requires repetitive inference for computing contextual language representations. To resolve the limitation, we propose a novel deep bidirectional language model called Transformer-based Text Autoencoder (T-TA). The T-TA computes contextual language representations without repetition and has benefits of the deep bidirectional architecture like BERT. In run-time experiments on CPU environments, the proposed T-TA performs over six times faster than the BERT-based model in the reranking task and twelve times faster in the semantic similarity task. Furthermore, the T-TA shows competitive or even better accuracies than those of BERT on the above tasks.