English

Graph-Induced Syntactic-Semantic Spaces in Transformer-Based Variational AutoEncoders

Computation and Language 2023-11-16 v1

Abstract

The injection of syntactic information in Variational AutoEncoders (VAEs) has been shown to result in an overall improvement of performances and generalisation. An effective strategy to achieve such a goal is to separate the encoding of distributional semantic features and syntactic structures into heterogeneous latent spaces via multi-task learning or dual encoder architectures. However, existing works employing such techniques are limited to LSTM-based VAEs. In this paper, we investigate latent space separation methods for structural syntactic injection in Transformer-based VAE architectures (i.e., Optimus). Specifically, we explore how syntactic structures can be leveraged in the encoding stage through the integration of graph-based and sequential models, and how multiple, specialised latent representations can be injected into the decoder's attention mechanism via low-rank operators. Our empirical evaluation, carried out on natural language sentences and mathematical expressions, reveals that the proposed end-to-end VAE architecture can result in a better overall organisation of the latent space, alleviating the information loss occurring in standard VAE setups, resulting in enhanced performances on language modelling and downstream generation tasks.

Keywords

Cite

@article{arxiv.2311.08579,
  title  = {Graph-Induced Syntactic-Semantic Spaces in Transformer-Based Variational AutoEncoders},
  author = {Yingji Zhang and Marco Valentino and Danilo S. Carvalho and Ian Pratt-Hartmann and André Freitas},
  journal= {arXiv preprint arXiv:2311.08579},
  year   = {2023}
}
R2 v1 2026-06-28T13:21:28.247Z