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

基于离散余弦变换的高效句子嵌入

Efficient Sentence Embedding using Discrete Cosine Transform

Taibah University(泰巴大学);Amazon AWS AI(亚马逊AWS人工智能);The George Washington University(乔治华盛顿大学);UAEU(阿联酋大学)

Nada Almarwani, Hanan Aldarmaki, Mona Diab

摘要:

尽管向量平均法明显不考虑句法结构,但它仍然是最流行的句子嵌入方法之一。虽然更复杂的顺序或卷积网络可能会产生更好的分类性能,但与简单的向量平均相比,分类准确性的提高通常是平庸的。作为一个有效的替代方案,我们提出了使用离散余弦变换(DCT)的顺序保持的方式压缩字序列。较低阶的DCT系数代表了句子中的整体特征模式,从而为可以受益于句法特征的任务提供了合适的嵌入。我们在语义探测任务中的结果表明,DCT嵌入确实保留了更多的语法信息相比,向量平均。实际上相当的复杂性,该模型产生更好的整体性能,在下游分类任务,与句法特征,这说明了能力的DCT保留词序信息。

英文摘要:

Vector averaging remains one of the most popular sentence embedding methods in spite of its obvious disregard for syntactic structure. While more complex sequential or convolutional networks potentially yield superior classification performance, the improvements in classification accuracy are typically mediocre compared to the simple vector averaging. As an efficient alternative, we propose the use of discrete cosine transform (DCT) to compress word sequences in an order-preserving manner. The lower order DCT coefficients represent the overall feature patterns in sentences, which results in suitable embeddings for tasks that could benefit from syntactic features. Our results in semantic probing tasks demonstrate that DCT embeddings indeed preserve more syntactic information compared with vector averaging. With practically equivalent complexity, the model yields better overall performance in downstream classification tasks that correlate with syntactic features, which illustrates the capacity of DCT to preserve word order information.

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

↑