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

后处理对语境化词汇表征的影响

Effect of Post-processing on Contextualized Word Representations

Dalhousie University(达尔豪斯大学);Qatar Computing Research Institute(卡塔尔计算研究所);Hamad Bin Khalifa University(哈马德·本·哈利法大学)

Hassan Sajjad, Firoj Alam, Fahim Dalvi, Nadir Durrani

摘要:

静态嵌入的后处理已被证明可以提高词汇和序列级别任务的性能。然而,后处理上下文嵌入是一个研究不足的问题。在这项工作中,我们质疑后处理从不同层的预训练语言模型获得的上下文嵌入的有用性。更具体地说,我们使用z分数,最小-最大归一化,并通过使用除顶部之外的所有方法去除顶部主成分来标准化单个神经元激活。此外,我们将单位长度归一化应用于单词表示。在一组不同的预训练模型上,我们证明了后处理可以解开词汇任务(如单词相似性和类比)和序列分类任务的表征中存在的重要信息。我们的研究结果提出了有趣的观点,与使用情境化表征的研究有关,并建议在应用程序中使用它们时,将z分数标准化作为一个重要步骤。

英文摘要:

Post-processing of static embedding has beenshown to improve their performance on both lexical and sequence-level tasks. However, post-processing for contextualized embeddings is an under-studied problem. In this work, we question the usefulness of post-processing for contextualized embeddings obtained from different layers of pre-trained language models. More specifically, we standardize individual neuron activations using z-score, min-max normalization, and by removing top principle components using the all-but-the-top method. Additionally, we apply unit length normalization to word representations. On a diverse set of pre-trained models, we show that post-processing unwraps vital information present in the representations for both lexical tasks (such as word similarity and analogy)and sequence classification tasks. Our findings raise interesting points in relation to theresearch studies that use contextualized representations, and suggest z-score normalization as an essential step to consider when using them in an application.

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

↑