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

多语言、多尺度、多层次的中间表示可视化

Multilingual, Multi-scale and Multi-layer Visualization of Intermediate Representations

TALP Research Center(TALP研究中心);Universitat Politècnica de Catalunya(加泰罗尼亚理工大学)

Carlos Escolano, Marta R. Costa-jussà, Elora Lacroux, Pere-Pau Vázquez

摘要:

目前处理序列的主要替代方案是递归神经网络(RNN),卷积神经网络(CNN)架构和Transformer。在这种情况下,RNN、CNN和Transformer最常用作每个模块中具有多层的编码器-解码器架构。除此之外,这些架构是上下文词嵌入的基础,它正在彻底改变大多数自然语言下游应用程序。然而,基于序列的架构中的中间层表示可能难以解释。为了使这些体系结构中的每一层表示更容易访问和更有意义,我们引入了一个基于Web的工具,可以在句子和令牌级别将它们可视化。我们提出了三个用例。第一部分分析语境词嵌入中的性别问题。第二个和第三个是显示句子和标记的多语言中间表示,以及这些中间表示沿着解码器的多个层和在多语言机器翻译的上下文中的演变。

英文摘要:

The main alternatives nowadays to deal with sequences are Recurrent Neural Networks (RNN), Convolutional Neural Networks (CNN) architectures and the Transformer. In this context, RNN's, CNN's and Transformer have most commonly been used as an encoder-decoder architecture with multiple layers in each module. Far beyond this, these architectures are the basis for the contextual word embeddings which are revolutionizing most natural language downstream applications. However, intermediate layer representations in sequence-based architectures can be difficult to interpret. To make each layer representation within these architectures more accessible and meaningful, we introduce a web-based tool that visualizes them both at the sentence and token level. We present three use cases. The first analyses gender issues in contextual word embeddings. The second and third are showing multilingual intermediate representations for sentences and tokens and the evolution of these intermediate representations along the multiple layers of the decoder and in the context of multilingual machine translation.

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

↑