EMNLP Findings2023
Improving Span Representation by Efficient Span-Level Attention
Pengyu Ji, Songlin Yang, Kewei Tu
摘要
High-quality span representations are crucial to natural language processing tasks involving span prediction and classification. Most existing methods derive a span representation by aggregation of token representations within the span. In contrast, we aim to improve span representations by considering span-span interactions as well as more comprehensive spantoken interactions. Specifically, we introduce layers of span-level attention on top of a normal token-level transformer encoder. Given that attention between all span pairs results in O(n 4 ) complexity (n being the sentence length) and not all span interactions are intuitively meaningful, we restrict the range of spans that a given span could attend to, thereby reducing overall complexity to O(n 3 ). We conduct experiments on various span-related tasks and show superior performance of our model surpassing baseline models. Our code is publicly available at https://github.com/jipy0222/ Span-Level-Attention.
问 Lune
尽管问,回答会引用原文。
Lune 会读完全文和相关的 Paper,每个回答都附上所依据的原文段落。
它引用的 Paper3
- Fusing Heterogeneous Factors with Triaffine Mechanism for Nested Named Entity RecognitionZheng Yuan, Chuanqi Tan, Songfang Huang, Fei HuangACL Findings 2022 · 68 次引用
- Deep Span Representations for Named Entity RecognitionEnwei Zhu, Yiyang Liu, Jinpeng LiACL Findings 2023 · 20 次引用
- Locate and Label: A Two-stage Identifier for Nested Named Entity RecognitionYongliang Shen, Xinyin Ma, Zeqi Tan, Shuai Zhang 等ACL 2021
相关 Paper
- Span Graph Transformer for Document-Level Named Entity RecognitionHongli Mao, Xian-Ling Mao, Hanlin Tang, Yuming Shang 等AAAI 2024 · 3 次引用
- Augmenting Transformers with Recursively Composed Multi-grained RepresentationsXiang Hu, Qingyang Zhu, Kewei Tu, Wei WuICLR 2024 · 6 次引用
- Bidirectional Masked Self-attention and N-gram Span Attention for Constituency ParsingSoohyeong Kim, Whanhee Cho, Minji Kim, Yong ChoiEMNLP Findings 2023
- HiTRANS: A Hierarchical Transformer Network for Nested Named Entity RecognitionZhiwei Yang, Jing Ma, Hechang Chen, Yunke Zhang 等EMNLP Findings 2021 · 15 次引用
- Improving Constituency Parsing with Span AttentionYuanhe Tian, Yan Song, Fei Xia, Tong ZhangEMNLP Findings 2020 · 40 次引用
