arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.01810cs.CLcs.AI
收藏

Spying on your neighbors: Fine-grained probing of contextual embeddings for information about surrounding words

Carnegie Mellon University(卡内基梅隆大学);University of Chicago(芝加哥大学)

Josef Klafka, Allyson Ettinger

英文摘要:

Although models using contextual word embeddings have achieved state-of-the-art results on a host of NLP tasks, little is known about exactly what information these embeddings encode about the context words that they are understood to reflect. To address this question, we introduce a suite of probing tasks that enable fine-grained testing of contextual embeddings for encoding of information about surrounding words. We apply these tasks to examine the popular BERT, ELMo and GPT contextual encoders, and find that each of our tested information types is indeed encoded as contextual information across tokens, often with near-perfect recoverability-but the encoders vary in which features they distribute to which tokens, how nuanced their distributions are, and how robust the encoding of each feature is to distance. We discuss implications of these results for how different types of models breakdown and prioritize word-level context information when constructing token embeddings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑