您好,欢迎访问中国农业科学院 机构知识库!

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

文献类型: 会议论文

第一作者: Yingji Zhang

作者: Yingji Zhang 1 ; Danilo S. Carvalho 2 ; Marco Valentino 3 ; Ian Pratt-Hartmann 1 ; Andre Freitas 4 ;

作者机构: 1.Department of Computer Science, University of Manchester, United Kingdom

2.Department of Computer Science, University of Manchester, United Kingdom##National Biomarker Centre, CRUK-MI, Univ. of Manchester, United Kingdom

3.Idiap Research Institute, Switzerland

4.Department of Computer Science, University of Manchester, United Kingdom##Idiap Research Institute, Switzerland##National Biomarker Centre, CRUK-MI, Univ. of Manchester, United Kingdom

会议名称: Conference of the European Chapter of the Association for Computational Linguistics

主办单位:

页码: 1434-1450

摘要: 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.

分类号: tp311

  • 相关文献
作者其他论文 更多>>