首页    期刊浏览 2024年11月27日 星期三
登录注册

文章基本信息

  • 标题:Representation of Linguistic Form and Function in Recurrent Neural Networks
  • 本地全文:下载
  • 作者:Ákos Kádár ; Grzegorz Chrupała ; Afra Alishahi
  • 期刊名称:Computational Linguistics
  • 印刷版ISSN:0891-2017
  • 电子版ISSN:1530-9312
  • 出版年度:2017
  • 卷号:43
  • 期号:4
  • 页码:761-780
  • DOI:10.1162/COLI_a_00300
  • 语种:English
  • 出版社:MIT Press
  • 摘要:We present novel methods for analyzing the activation patterns of recurrent neural networks from a linguistic point of view and explore the types of linguistic structure they learn. As a case study, we use a standard standalone language model, and a multi-task gated recurrent network architecture consisting of two parallel pathways with shared word embeddings: The V isual pathway is trained on predicting the representations of the visual scene corresponding to an input sentence, and the T extual pathway is trained to predict the next word in the same sentence. We propose a method for estimating the amount of contribution of individual tokens in the input to the final prediction of the networks. Using this method, we show that the V isual pathway pays selective attention to lexical categories and grammatical functions that carry semantic information, and learns to treat word types differently depending on their grammatical function and their position in the sequential structure of the sentence. In contrast, the language models are comparatively more sensitive to words with a syntactic function. Further analysis of the most informative n-gram contexts for each model shows that in comparison with the V isual pathway, the language models react more strongly to abstract contexts that represent syntactic constructions.
国家哲学社会科学文献中心版权所有