Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar InductionDownload PDF

Published: 20 Dec 2019, Last Modified: 22 Oct 2023ICLR 2020 Conference Blind SubmissionReaders: Everyone
Abstract: With the recent success and popularity of pre-trained language models (LMs) in natural language processing, there has been a rise in efforts to understand their inner workings. In line with such interest, we propose a novel method that assists us in investigating the extent to which pre-trained LMs capture the syntactic notion of constituency. Our method provides an effective way of extracting constituency trees from the pre-trained LMs without training. In addition, we report intriguing findings in the induced trees, including the fact that pre-trained LMs outperform other approaches in correctly demarcating adverb phrases in sentences.
Code: [![github](/images/github_icon.svg) galsang/trees_from_transformers](https://github.com/galsang/trees_from_transformers)
Data: [MultiNLI](https://paperswithcode.com/dataset/multinli)
Community Implementations: [![CatalyzeX](/images/catalyzex_icon.svg) 1 code implementation](https://www.catalyzex.com/paper/arxiv:2002.00737/code)
Original Pdf: pdf
10 Replies

Loading