树库
可解释性
计算机科学
解析
人工智能
依存语法
自然语言处理
依赖关系(UML)
口译(哲学)
图层(电子)
机器学习
程序设计语言
化学
有机化学
作者
Khalil Mrini,Franck Dernoncourt,Quan Hung Tran,Trung Bui,Walter Chang,Ndapa Nakashole
标识
DOI:10.18653/v1/2020.findings-emnlp.65
摘要
Attention mechanisms have improved the performance of NLP tasks while allowing models to remain explainable. Self-attention is currently widely used, however interpretability is difficult due to the numerous attention distributions. Recent work has shown that model representations can benefit from label-specific information, while facilitating interpretation of predictions. We introduce the Label Attention Layer: a new form of self-attention where attention heads represent labels. We test our novel layer by running constituency and dependency parsing experiments and show our new model obtains new state-of-the-art results for both tasks on both the Penn Treebank (PTB) and Chinese Treebank. Additionally, our model requires fewer self-attention layers compared to existing work. Finally, we find that the Label Attention heads learn relations between syntactic categories and show pathways to analyze errors.
科研通智能强力驱动
Strongly Powered by AbleSci AI