Contextual Distortion Reveals Constituency: Masked Language Models are Implicit Parsers
摘要
Recent advancements in pre-trained language models (PLMs) have demonstrated that these models possess some degree of syntactic awareness. To leverage this knowledge, we propose a novel chart-based method for extracting parse trees from masked language models (LMs) without the need to train separate parsers. Our method computes a score for each span based on the distortion of contextual representations resulting from linguistic perturbations. We design a set of perturbations motivated by the linguistic concept of constituency tests, and use these to score each span by aggregating the distortion scores. To produce a parse tree, we use chart parsing to find the tree with the minimum score. Our method consistently outperforms previous state-of-the-art methods on English with masked LMs, and also demonstrates superior performance in a multilingual setting, outperforming the state of the art in 6 out of 8 languages. Notably, although our method does not involve parameter updates or extensive hyperparameter search, its performance can even surpass some unsupervised parsing methods that require fine-tuning. Our analysis highlights that the distortion of contextual representation resulting from syntactic perturbation can serve as an effective indicator of constituency across languages. 1 Further details of performance comparison by layer on the SPMRL dataset can be found in Appendix A.2. 12 Results on other languages can be found in Appendix A.3 13 We conduct our analysis on the BERT-base model. The full results can be seen in Appendix A.3.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Multilingual Chart-based Constituency Parse Extraction from Pre-trained Language Models 引用了 Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERT
- Multilingual Chart-based Constituency Parse Extraction from Pre-trained Language Models 引用了 Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar Induction
- Ensemble Distillation for Unsupervised Constituency Parsing 引用了 Unsupervised Parsing via Constituency Tests
- Tree-Averaging Algorithms for Ensemble-Based Unsupervised Discontinuous Constituency Parsing 引用了 Unsupervised Parsing via Constituency Tests
- Unsupervised Parsing via Constituency Tests 引用了 Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar Induction
引用它的顶会 Paper2
它引用的 Paper4
- Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERTZhiyong Wu, Yun Chen, Ben Kao, Qun LiuACL 2020 · 158 次引用
- Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar InductionTaeuk Kim, Jihun Choi, Daniel Edmiston, Sang-goo LeeICLR 2020 · 92 次引用
- Unsupervised Parsing via Constituency TestsSteven Cao, Nikita Kitaev, Dan KleinEMNLP 2020 · 25 次引用
- Multilingual Chart-based Constituency Parse Extraction from Pre-trained Language ModelsTaeuk Kim, Bowen Li, Sang-goo LeeEMNLP Findings 2021 · 5 次引用
相关 Paper
- Efficient Constituency Parsing by PointingThanh-Tung Nguyen, Xuan-Phi Nguyen, Shafiq R. Joty, Xiaoli LiACL 2020 · 11 次引用
- Do Transformers Parse while Predicting the Masked Word?Haoyu Zhao, Abhishek Panigrahi, Rong Ge, Sanjeev AroraEMNLP 2023 · 5 次引用
- Probing for Constituency Structure in Neural Language ModelsDavid Arps, Younes Samih, Laura Kallmeyer, Hassan SajjadEMNLP Findings 2022 · 17 次引用
- On the Branching Bias of Syntax Extracted from Pre-trained Language ModelsHuayang Li, Lemao Liu, Guoping Huang, Shuming ShiEMNLP Findings 2020 · 5 次引用
- Investigating Non-local Features for Neural Constituency ParsingLeyang Cui, Sen Yang, Yue ZhangACL 2022
