arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2205.05943cs.CLcs.LG
收藏

利用Transformers中的归纳偏差实现VAE的语义和语义的无监督解纠缠

Exploiting Inductive Bias in Transformers for Unsupervised Disentanglement of Syntax and Semantics with VAEs

LIPN(巴黎第十三大学信息与通信科学实验室);Université Sorbonne Paris Nord(巴黎第十三大学);CNRS(法国国家科学研究中心);INRIA Paris(巴黎法国国家信息与自动化研究所)

Ghazi Felhi, Joseph Le Roux, Djamé Seddah

摘要:

我们提出了一个生成模型的文本生成,表现出解开潜在的语法和语义表示。与以前的工作相反,该模型不需要句法信息,如选区分析,或语义信息,如释义对。我们的模型完全依赖于在基于注意力的架构(如Transformers)中发现的感应偏差。在Transformers的注意中,键处理信息选择,而值指定传达什么信息。我们的模型,被称为QKVAE,在其解码器中使用注意力来读取潜变量,其中一个潜变量推断密钥,而另一个潜变量推断值。我们运行的实验,潜在的代表性和实验的语法/语义转移表明,QKVAE显示出清晰的迹象,解开语法和语义。我们还表明,与监督模型相比,我们的模型显示出具有竞争力的语法传输能力,并且可比的监督模型需要相当大量的数据(超过50 K个样本)才能在语法和语义传输方面表现出色。我们实验的代码是公开的。

英文摘要:

We propose a generative model for text generation, which exhibits disentangled latent representations of syntax and semantics. Contrary to previous work, this model does not need syntactic information such as constituency parses, or semantic information such as paraphrase pairs. Our model relies solely on the inductive bias found in attention-based architectures such as Transformers. In the attention of Transformers, keys handle information selection while values specify what information is conveyed. Our model, dubbed QKVAE, uses Attention in its decoder to read latent variables where one latent variable infers keys while another infers values. We run experiments on latent representations and experiments on syntax/semantics transfer which show that QKVAE displays clear signs of disentangled syntax and semantics. We also show that our model displays competitive syntax transfer capabilities when compared to supervised models and that comparable supervised models need a fairly large amount of data (more than 50K samples) to outperform it on both syntactic and semantic transfer. The code for our experiments is publicly available.

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

↑