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

基于Transformer量化变分自编码器提升离散潜在空间的语义控制能力

Improving Semantic Control in Discrete Latent Spaces with Transformer Quantized Variational Autoencoders

University of Manchester(曼彻斯特大学);National Biomarker Centre, CRUK-MI, Univ. of Manchester(英国癌症研究中心曼彻斯特研究所国家生物标志物中心);Idiap Research Institute(Idiap研究所)

Yingji Zhang, Danilo S. Carvalho, Marco Valentino, Ian Pratt-Hartmann, Andre Freitas

AI总结:

针对VAE变分瓶颈语义损失、解码控制不足的问题,提出T5VQVAE模型,利用VQVAE离散潜在空间在token级引导T5自注意力,在多项任务上性能超越现有最优模型,具备更强推理能力。

摘要:

对变分自编码器(VAE)的潜在空间实现精准语义控制,对自然语言处理(NLP)下游任务具有重要价值,因为其底层生成机制能得到更好的定位、解释与改进。然而,近期研究难以获得稳定一致的结果,主要原因在于变分瓶颈中不可避免的语义信息损失,以及对解码机制的控制有限。为解决这些挑战,我们研究向量量化变分自编码器(VQVAE)中的离散潜在空间,以提升基于Transformer的VAE的语义控制与生成能力。我们特别提出了T5VQVAE这一新型模型,它利用VQVAE的可控性,在token级别引导T5中的自注意力机制,充分发挥其泛化能力。实验结果表明,在句子与数学表达式自动编码、文本迁移、推理等不同任务中,T5VQVAE在可控性与语义信息保留方面均优于包括Optimus在内的现有最优VAE模型。此外,T5VQVAE展现出更强的推理能力,有望应用于下游自然语言与符号推理任务。

英文摘要:

Achieving precise semantic control over the latent spaces of Variational AutoEncoders (VAEs) holds significant value for downstream tasks in NLP as the underlying generative mechanisms could be better localised, explained and improved upon. Recent research, however, has struggled to achieve consistent results, primarily due to the inevitable loss of semantic information in the variational bottleneck and limited control over the decoding mechanism. To overcome these challenges, we investigate discrete latent spaces in Vector Quantized Variational AutoEncoders (VQVAEs) to improve semantic control and generation in Transformer-based VAEs. In particular, We propose T5VQVAE, a novel model that leverages the controllability of VQVAEs to guide the self-attention mechanism in T5 at the token-level, exploiting its full generalization capabilities. Experimental results indicate that T5VQVAE outperforms existing state-of-the-art VAE models, including Optimus, in terms of controllability and preservation of semantic information across different tasks such as auto-encoding of sentences and mathematical expressions, text transfer, and inference. Moreover, T5VQVAE exhibits improved inference capabilities, suggesting potential applications for downstream natural language and symbolic reasoning tasks.

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

↑