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

基于Transformer的多语言文档嵌入模型

Transformer based Multilingual document Embedding model

The Hong Kong University of Science and Technology(香港科技大学)

Wei Li, Brian Mak

摘要:

当前最先进的多语言文档嵌入模型LASER之一是基于双向LSTM神经机器翻译模型。本文提出了一个基于transformer的句子/文档嵌入模型T-LASER,它做了三个显著的改进。首先,BiLSTM层被基于注意力的Transformer层取代,后者更能够在较长的文本中学习序列模式。其次,由于没有递归,T-LASER可以在编码器中实现更快的并行计算,以生成文本嵌入。第三,我们增加了一个新的距离约束损失的NMT翻译损失函数。这种距离约束的丢失将进一步使平行句子的嵌入在向量空间中靠近在一起;我们将使用距离约束训练的T-LASER模型称为cT-LASER。我们的cT-LASER模型显著优于基于BiLSTM的LASER和更简单的基于变压器的T-LASER。

英文摘要:

One of the current state-of-the-art multilingual document embedding model LASER is based on the bidirectional LSTM neural machine translation model. This paper presents a transformer-based sentence/document embedding model, T-LASER, which makes three significant improvements. Firstly, the BiLSTM layers is replaced by the attention-based transformer layers, which is more capable of learning sequential patterns in longer texts. Secondly, due to the absence of recurrence, T-LASER enables faster parallel computations in the encoder to generate the text embedding. Thirdly, we augment the NMT translation loss function with an additional novel distance constraint loss. This distance constraint loss would further bring the embeddings of parallel sentences close together in the vector space; we call the T-LASER model trained with distance constraint, cT-LASER. Our cT-LASER model significantly outperforms both BiLSTM-based LASER and the simpler transformer-based T-LASER.

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

↑