arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.06644cs.CL
收藏

句子嵌入中句法异常信息编码的变异性和共性

Variation and generality in encoding of syntactic anomaly information in sentence embeddings

Zhejiang University(浙江大学);The University of Chicago(芝加哥大学)

Qinxuan Wu, Allyson Ettinger

摘要:

虽然句子异常已经定期应用于NLP测试,但我们还没有建立NLP模型表示中异常信息的精确状态。在本文中,我们的目标是填补两个主要的差距,侧重于领域的句法异常。首先,我们通过设计探测任务来探索异常编码的细粒度差异,这些探测任务改变了句子中出现异常的层次结构。其次,我们不仅测试模型检测给定异常的能力,还通过检查不同异常类型之间的传递来测试检测到的异常信号的通用性。结果表明,所有的模型编码的一些信息支持异常检测,但检测性能不同的异常,只有最近的Transformer模型表示的迹象,广义知识的异常。后续分析支持这样一种观点,即这些模型采用了一个合理的、一般的句子奇怪的概念,而粗粒度的单词位置信息也可能是观察到的异常检测的一个贡献者。

英文摘要:

While sentence anomalies have been applied periodically for testing in NLP, we have yet to establish a picture of the precise status of anomaly information in representations from NLP models. In this paper we aim to fill two primary gaps, focusing on the domain of syntactic anomalies. First, we explore fine-grained differences in anomaly encoding by designing probing tasks that vary the hierarchical level at which anomalies occur in a sentence. Second, we test not only models' ability to detect a given anomaly, but also the generality of the detected anomaly signal, by examining transfer between distinct anomaly types. Results suggest that all models encode some information supporting anomaly detection, but detection performance varies between anomalies, and only representations from more recent transformer models show signs of generalized knowledge of anomalies. Follow-up analyses support the notion that these models pick up on a legitimate, general notion of sentence oddity, while coarser-grained word position information is likely also a contributor to the observed anomaly detection.

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

↑