CLLGMay 12, 2022

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

arXiv:2205.05943v2629 citationsh-index: 26
Originality Incremental advance
AI Analysis

This work addresses the problem of learning disentangled representations for natural language processing researchers, offering an incremental improvement by using existing Transformer architectures in a novel way.

The authors tackled unsupervised disentanglement of syntax and semantics in text generation by proposing QKVAE, a model that leverages Transformer attention biases without requiring labeled data, achieving competitive syntax transfer compared to supervised models that need over 50K samples.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes