arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.06230cs.CLcs.AI
收藏

基于Transformer变分自编码器的准符号语义几何

Quasi-symbolic Semantic Geometry over Transformer-based Variational AutoEncoder

Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Idiap Research Institute(Idiap研究机构);National Biomarker Centre, CRUK-MI, Univ. of Manchester(国家生物标记中心,CRUK-MI,曼彻斯特大学)

Yingji Zhang, Danilo S. Carvalho, André Freitas

AI总结:

本文提出将句子语义形式化为“语义角色—词内容”组合的准符号语义几何,并通过Transformer变分自编码器注入GPT2,以提升句子生成的可控性与可解释性。

摘要:

形式/符号语义因其局部化或组合性质,能够为句子表示提供规范、严格的可控性与可解释性。如何将这种性质赋予当前的分布式句子表示,以控制和解释语言模型(LMs)的生成?在本工作中,我们从理论上将句子语义框架化为“语义角色—词内容”特征的组合,并提出形式语义几何。为了将这种几何注入基于Transformer的语言模型(即GPT2),我们部署了基于Transformer的变分自编码器并采用监督方法,使得句子生成可以在低维潜在高斯空间上被操纵和解释。此外,我们提出了一种新的探测算法,用于引导句子向量在这种几何上的移动。实验结果表明,形式语义几何有望为句子生成提供更好的控制和解释。

英文摘要:

Formal/symbolic semantics can provide canonical, rigid controllability and interpretability to sentence representations due to their \textit{localisation} or \textit{composition} property. How can we deliver such property to the current distributional sentence representations to control and interpret the generation of language models (LMs)? In this work, we theoretically frame the sentence semantics as the composition of \textit{semantic role - word content} features and propose the formal semantic geometry. To inject such geometry into Transformer-based LMs (i.e. GPT2), we deploy Transformer-based Variational AutoEncoder with a supervision approach, where the sentence generation can be manipulated and explained over low-dimensional latent Gaussian space. In addition, we propose a new probing algorithm to guide the movement of sentence vectors over such geometry. Experimental results reveal that the formal semantic geometry can potentially deliver better control and interpretation to sentence generation.

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

↑