Recent psycholinguistic research has compared human reading times to surprisal estimates from language models to study the factors shaping human sentence processing difficulty. Previous studies have shown a strong fit between surprisal values from Transformers and reading times. However, standard Transformers work with a lossless representation of the entire previous linguistic context, unlike models of human language processing that include memory decay. To bridge this gap, this paper evaluates a modification of the Transformer model that uses ALiBi (Press et al., 2022), a recency bias added to attention scores. Surprisal estimates with ALiBi show an improved fit to human reading times compared to a standard Transformer baseline. A subsequent analysis of attention heads suggests that ALiBi's mixture of slopes -- which determine the rate of memory decay in each attention head -- may play a role in the improvement by helping models with ALiBi to track different kinds of linguistic dependencies.
Human-like fleeting memory improves language learning but impairs reading time prediction in transformer language models
University of Amsterdam, Amsterdam Brain and Cognition(阿姆斯特丹大学,阿姆斯特丹脑与认知中心);Vrije Universiteit Amsterdam, Department of Informatics(阿姆斯特丹自由大学,信息学院);Max Planck Institute for Psycholinguistics(马克斯·普朗克心理学语言学研究所)
Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation
Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);Facebook AI Research(脸书人工智能研究院);Allen Institute for AI(艾伦人工智能研究所)
Viable Threat on News Reading: Generating Biased News Using Natural Language Models
Indraprastha Institute of Information Technology - Delhi(德里英迪拉普拉斯信息技术学院);National Institute of Informatics(国立信息学研究所);The Graduate University for Advanced Studies, SOKENDAI(综合研究大学院大学);University of Tokyo(东京大学)
Modeling Context With Linear Attention for Scalable Document-Level Translation
MIT(麻省理工学院);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);AWS AI(亚马逊云科技人工智能);University of Washington(华盛顿大学)
文档级机器翻译利用句子间的依赖关系来产生更连贯和一致的翻译。然而,这些模型,主要是基于Transformers,很难扩展到长的文件,因为他们的注意层在序列长度的二次复杂性。最近的努力,有效的注意力提高可扩展性,但其对文件翻译的影响仍然是未知的。在这项工作中,我们研究了Peng et al.(2021)最近提出的线性注意力模型对文档翻译的有效性,并通过一个新的门来增强它,以促进近因诱导偏差。我们在IWITOS 2015和OpenSubtitles 2018上对Transformer模型进行了评估,结果表明,在具有类似或更好BLEU分数的长序列上,解码速度大幅提高。我们表明,间接门进一步提高了IWESTs的翻译质量。