Unsupervised Distillation of Syntactic Information from Contextualized Word Representations.

Shauli Ravfogel, Yanai Elazar, Jacob Goldberger, Yoav Goldberg

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Contextualized word representations, such as ELMo and BERT, were shown to perform well on various semantic and syntactic task. In this work, we tackle the task of unsupervised disentanglement between semantics and structure in neural language representations: we aim to learn a transformation of the contextualized vectors, that discards the lexical semantics, but keeps the structural information. To this end, we automatically generate groups of sentences which are structurally similar but semantically different, and use metric-learning approach to learn a transformation that emphasizes the structural component that is encoded in the vectors. We demonstrate that our transformation clusters vectors in space by structural properties, rather than by lexical semantics. Finally, we demonstrate the utility of our distilled representations by showing that they outperform the original contextualized representations in a few-shot parsing setting.
Original languageEnglish
Title of host publicationProceedings of the Third BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP
Pages91-106
Edition2020.blackboxnlp-1.9
DOIs
StatePublished - 2020

Cite this