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

语境化词义:从注意力机制到语义组合性

Contextualized word senses: from attention to compositionality

Centro Singular de Investigación en Tecnoloxías Intelixentes (CiTIUS)(智能技术卓越研究中心(CiTIUS));Universidade de Santiago de Compostela(圣地亚哥德孔波斯特拉大学)

Pablo Gamallo

AI总结:

本文提出一种基于语义组合性、依存关系和选择偏好的透明可解释词义编码策略,并在词义相似度任务上与Transformer对比,证明语言学驱动模型可达到有竞争力的效果。

摘要:

语言模型的神经架构正变得越来越复杂,尤其是基于注意力机制的Transformer架构。尽管它们在众多自然语言处理任务中的应用已被证明非常富有成效,但它们仍然是几乎没有或完全没有可解释性和可说明性的模型。它们最擅长的任务之一是利用语境化嵌入来编码词语的语境意义。在本文中,我们提出了一种透明、可解释且具有语言学动机的策略,通过建模语义组合性来编码词语的语境意义。我们特别关注依存关系以及选择偏好和聚合类等语义概念。我们对所提出的模型进行了部分实现,并针对一个给定的语义任务——即语境中词义的相似度计算——与基于Transformer的架构进行了比较。所获得的结果表明,使用具有语言学动机的模型,而不是使用复杂神经架构背后的黑箱,是有可能具备竞争力的。

英文摘要:

The neural architectures of language models are becoming increasingly complex, especially that of Transformers, based on the attention mechanism. Although their application to numerous natural language processing tasks has proven to be very fruitful, they continue to be models with little or no interpretability and explainability. One of the tasks for which they are best suited is the encoding of the contextual sense of words using contextualized embeddings. In this paper we propose a transparent, interpretable, and linguistically motivated strategy for encoding the contextual sense of words by modeling semantic compositionality. Particular attention is given to dependency relations and semantic notions such as selection preferences and paradigmatic classes. A partial implementation of the proposed model is carried out and compared with Transformer-based architectures for a given semantic task, namely the similarity calculation of word senses in context. The results obtained show that it is possible to be competitive with linguistically motivated models instead of using the black boxes underlying complex neural architectures.

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

↑