arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.00934cs.CL
收藏

离散余弦变换作为通用语句编码器

Discrete Cosine Transform as Universal Sentence Encoder

Taibah University(塔伊巴大学);Facebook AI Research(脸书人工智能研究院);The George Washington University(乔治华盛顿大学)

Nada Almarwani, Mona Diab

摘要:

现代句子编码器用于生成密集的向量表示,这些向量表示捕获单词序列(包括短语、句子或段落)的潜在语言特征。这些类型的表示对于训练用于诸如情感分析、问答和文本分类之类的最终任务的分类器是理想的。已经提出了不同的模型来有效地生成要在预训练协议中使用的通用句子表示。虽然平均是最常用的有效的句子编码器,离散余弦变换(DCT)最近被提出作为一种替代方案,捕捉一个给定的文本的底层语法特征,而不损害实际效率相比,平均。然而,与大多数其他句子编码器一样,DCT句子编码器仅在英语中进行评估。为此,我们利用DCT编码器生成通用的句子表示不同的语言,如德语,法语,西班牙语和俄语。实验结果清楚地表明了DCT编码的优越性,其中在多个标准化数据集上的强基线上实现了一致的性能改进。

英文摘要:

Modern sentence encoders are used to generate dense vector representations that capture the underlying linguistic characteristics for a sequence of words, including phrases, sentences, or paragraphs. These kinds of representations are ideal for training a classifier for an end task such as sentiment analysis, question answering and text classification. Different models have been proposed to efficiently generate general purpose sentence representations to be used in pretraining protocols. While averaging is the most commonly used efficient sentence encoder, Discrete Cosine Transform (DCT) was recently proposed as an alternative that captures the underlying syntactic characteristics of a given text without compromising practical efficiency compared to averaging. However, as with most other sentence encoders, the DCT sentence encoder was only evaluated in English. To this end, we utilize DCT encoder to generate universal sentence representation for different languages such as German, French, Spanish and Russian. The experimental results clearly show the superior effectiveness of DCT encoding in which consistent performance improvements are achieved over strong baselines on multiple standardized datasets.

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

↑