Assessing Phrasal Representation and Composition in Transformers

10/08/2020
by   Lang Yu, et al.
0

Deep transformer models have pushed performance on NLP tasks to new limits, suggesting sophisticated treatment of complex linguistic inputs, such as phrases. However, we have limited understanding of how these models handle representation of phrases, and whether this reflects sophisticated composition of phrase meaning like that done by humans. In this paper, we present systematic analysis of phrasal representations in state-of-the-art pre-trained transformers. We use tests leveraging human judgments of phrase similarity and meaning shift, and compare results before and after control of word overlap, to tease apart lexical effects versus composition effects. We find that phrase representation in these models relies heavily on word content, with little evidence of nuanced composition. We also identify variations in phrase representation quality across models, layers, and representation types, and make corresponding recommendations for usage of representations from these models.

READ FULL TEXT
research
05/31/2021

On the Interplay Between Fine-tuning and Composition in Transformers

Pre-trained transformer language models have shown remarkable performanc...
research
02/27/2019

Still a Pain in the Neck: Evaluating Text Representations on Lexical Composition

Building meaningful phrase representations is challenging because phrase...
research
10/07/2022

Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Models

Compositionality, the phenomenon where the meaning of a phrase can be de...
research
07/11/2019

No Word is an Island -- A Transformation Weighting Model for Semantic Composition

Composition models of distributional semantics are used to construct phr...
research
02/22/2017

One Representation per Word - Does it make Sense for Composition?

In this paper, we investigate whether an a priori disambiguation of word...
research
07/21/2016

Exploring phrase-compositionality in skip-gram models

In this paper, we introduce a variation of the skip-gram model which joi...
research
12/29/2016

A hybrid approach to supervised machine learning for algorithmic melody composition

In this work we present an algorithm for composing monophonic melodies s...

Please sign up or login with your details

Forgot password? Click here to reset