Lune

EMNLP Findings2020

Improving Constituency Parsing with Span Attention

Yuanhe Tian, Yan Song, Fei Xia, Tong Zhang

Abstract

Constituency parsing is a fundamental and important task for natural language understanding, where a good representation of contextual information can help this task. N-grams, which is a conventional type of feature for contextual information, have been demonstrated to be useful in many tasks, and thus could also be beneficial for constituency parsing if they are appropriately modeled. In this paper, we propose span attention for neural chartbased constituency parsing to leverage n-gram information. Considering that current chartbased parsers with Transformer-based encoder represent spans by subtraction of the hidden states at the span boundaries, which may cause information loss especially for long spans, we incorporate n-grams into span representations by weighting them according to their contributions to the parsing process. Moreover, we propose categorical span attention to further enhance the model by weighting ngrams within different length categories, and thus benefit long-sentence parsing. Experimental results on three widely used benchmark datasets demonstrate the effectiveness of our approach in parsing Arabic, Chinese, and English, where state-of-the-art performance is obtained by our approach on all of them. 1

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 11 top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers11

  1. Generating Radiology Reports via Memory-driven TransformerZhihong Chen, Yan Song, Tsung-Hui Chang, Xiang WanEMNLP 2020 · 552 citations
  2. Bottom-Up Constituency Parsing and Nested Named Entity Recognition with Pointer NetworksSonglin Yang, Kewei TuACL 2022 · 59 citations
  3. Improving Federated Learning for Aspect-based Sentiment Analysis via Topic MemoriesHan Qin, Guimin Chen, Yuanhe Tian, Yan SongEMNLP 2021 · 19 citations
  4. To be Continuous, or to be Discrete, Those are Bits of QuestionsYiran Wang, Masao UtiyamaACL 2024 · 3 citations
  5. Don't Parse, Choose Spans! Continuous and Discontinuous Constituency Parsing via Autoregressive Span SelectionSonglin Yang, Kewei TuACL 2023 · 1 citation

Builds on4

  1. ZEN: Pre-training Chinese Text Encoder Enhanced by N-gram RepresentationsShizhe Diao, Jiaxin Bai, Yan Song, Tong Zhang et al.EMNLP Findings 2020 · 140 citations
  2. Rethinking Self-Attention: Towards Interpretability in Neural ParsingKhalil Mrini, Franck Dernoncourt, Quan Hung Tran, Trung Bui et al.EMNLP Findings 2020 · 124 citations
  3. Improving Chinese Word Segmentation with Wordhood Memory NetworksYuanhe Tian, Yan Song, Fei Xia, Tong Zhang et al.ACL 2020 · 95 citations
  4. Joint Chinese Word Segmentation and Part-of-speech Tagging via Two-way Attentions of Auto-analyzed KnowledgeYuanhe Tian, Yan Song, Xiang Ao, Fei Xia et al.ACL 2020 · 50 citations

Related papers

  1. Investigating Non-local Features for Neural Constituency ParsingLeyang Cui, Sen Yang, Yue ZhangACL 2022
  2. Bidirectional Masked Self-attention and N-gram Span Attention for Constituency ParsingSoohyeong Kim, Whanhee Cho, Minji Kim, Yong ChoiEMNLP Findings 2023
  3. Span-based discontinuous constituency parsing: a family of exact chart-based algorithms with time complexities from O(n6) down to O(n3)Caio CorroEMNLP 2020 · 20 citations
  4. Contextual Distortion Reveals Constituency: Masked Language Models are Implicit ParsersJiaxi Li, Wei LuACL 2023 · 3 citations
  5. Large Language Models Are No Longer Shallow ParsersYuanhe Tian, Fei Xia, Yan SongACL 2024
Dusk over the sea between two cliffs drawn in fine vertical lines