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

基于句法引导的神经模块提取方法研究句子嵌入的组合性

Syntax-guided Neural Module Distillation to Probe Compositionality in Sentence Embeddings

Carnegie Mellon University(卡内基梅隆大学)

Rohan Pandey

摘要:

过去在句子嵌入模型中探索组合性的工作面临着确定隐式语法表示的因果影响的问题。给定一个句子,我们构造一个神经模块网络的基础上,其语法分析和训练它端到端近似句子的嵌入生成的Transformer模型。然后,Transformer到句法神经元模块网(SynNaMoN)的可转换性捕获句法是否是其组合能力的强因果模型。此外,我们通过指定各个SynNaMoN模块的内部架构和线性来解决语义组合的几何问题。我们发现各种句子嵌入模型的可扩展性与其性能广泛相关,但观察到可扩展性不会因模型大小而发生很大变化。我们还提出了初步的证据表明,在句子嵌入模型的语法指导的组成是线性的,非线性可能主要用于处理非成分短语。

英文摘要:

Past work probing compositionality in sentence embedding models faces issues determining the causal impact of implicit syntax representations. Given a sentence, we construct a neural module net based on its syntax parse and train it end-to-end to approximate the sentence's embedding generated by a transformer model. The distillability of a transformer to a Syntactic NeurAl Module Net (SynNaMoN) then captures whether syntax is a strong causal model of its compositional ability. Furthermore, we address questions about the geometry of semantic composition by specifying individual SynNaMoN modules' internal architecture & linearity. We find differences in the distillability of various sentence embedding models that broadly correlate with their performance, but observe that distillability doesn't considerably vary by model size. We also present preliminary evidence that much syntax-guided composition in sentence embedding models is linear, and that non-linearities may serve primarily to handle non-compositional phrases.

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

↑