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

exBERT:一个探索Transformers模型中学习表示的可视化分析工具

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

IBM Research(IBM研究院);MIT-IBM Lab(麻省理工学院-IBM实验室);Harvard SEAS(哈佛大学工程与应用科学学院)

Benjamin Hoover, Hendrik Strobelt, Sebastian Gehrmann

摘要:

大语言模型可以产生强大的上下文表示,从而改进许多NLP任务。由于这些模型通常由一系列学习的自我注意力机制引导,并且可能包括不期望的归纳偏差,因此能够探索注意力学到了什么是至关重要的。虽然对这些模型的静态分析会带来有针对性的见解,但交互式工具更具动态性,可以帮助人们更好地获得模型内部推理过程的直觉。我们提出了前BERT,一个交互式工具命名的流行的BERT语言模型,提供了深入了解的上下文表示的意义,通过匹配人类指定的输入到类似的上下文在一个大型的注释数据集。通过聚合匹配的相似上下文的注释,exBERT有助于直观地解释每个注意力集中者都学到了什么。

英文摘要:

Large language models can produce powerful contextual representations that lead to improvements across many NLP tasks. Since these models are typically guided by a sequence of learned self attention mechanisms and may comprise undesired inductive biases, it is paramount to be able to explore what the attention has learned. While static analyses of these models lead to targeted insights, interactive tools are more dynamic and can help humans better gain an intuition for the model-internal reasoning process. We present exBERT, an interactive tool named after the popular BERT language model, that provides insights into the meaning of the contextual representations by matching a human-specified input to similar contexts in a large annotated dataset. By aggregating the annotations of the matching similar contexts, exBERT helps intuitively explain what each attention-head has learned.

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

↑