SOTAVerified

exBERT: A Visual Analysis Tool to Explore Learned Representations in Transformer Models

2020-07-01ACL 2020Code Available1· sign in to hype

Benjamin Hoover, Hendrik Strobelt, Sebastian Gehrmann

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Large Transformer-based language models can route and reshape complex information via their multi-headed attention mechanism. Although the attention never receives explicit supervision, it can exhibit recognizable patterns following linguistic or positional information. Analyzing the learned representations and attentions is paramount to furthering our understanding of the inner workings of these models. However, analyses have to catch up with the rapid release of new models and the growing diversity of investigation techniques. To support analysis for a wide variety of models, we introduce exBERT, a tool to help humans conduct flexible, interactive investigations and formulate hypotheses for the model-internal reasoning process. exBERT provides insights into the meaning of the contextual representations and attention by matching a human-specified input to similar contexts in large annotated datasets. By aggregating the annotations of the matched contexts, exBERT can quickly replicate findings from literature and extend them to previously not analyzed models.

Tasks

Reproductions