Skip to main content
QUICK REVIEW

[Paper Review] Discretized Bottleneck in VAE: Posterior-Collapse-Free Sequence-to-Sequence Learning

Yang Zhao, Ping Yu|arXiv (Cornell University)|Apr 22, 2020
Topic ModelingComputer Science35 references1 citations
TL;DR

This paper proposes a discretized bottleneck in variational autoencoders (VAEs) to eliminate posterior collapse in sequence-to-sequence learning by using shared discrete latent atoms, enabling more interpretable and semantically meaningful representations. The method outperforms continuous VAEs across multiple NLP tasks, including text generation and machine translation, without relying on auto-regressive supervision in the latent space.

ABSTRACT

Variational autoencoders (VAEs) are important tools in end-to-end representation learning. VAEs can capture complex data distributions and have been applied extensively in many natural-language-processing (NLP) tasks. However, a common pitfall in sequence-to-sequence learning with VAEs is the posterior-collapse issue in latent space, wherein the model tends to ignore latent variables when a strong auto-regressive decoder is implemented. In this paper, we propose a principled approach to eliminate this issue by applying a discretized bottleneck in the latent space. Specifically, we impose a shared discrete latent space where each input is learned to choose a combination of shared latent atoms as its latent representation. Compared with VAEs employing continuous latent variables, our model endows more promising capability in modeling underlying semantics of discrete sequences and can thus provide more interpretative latent structures. Empirically, we demonstrate the efficiency and effectiveness of our model on a broad range of tasks, including language modeling, unaligned text style transfer, dialog response generation, and neural machine translation.

Motivation & Objective

  • To address the posterior-collapse issue in VAE-based sequence-to-sequence models, where latent variables are ignored due to strong auto-regressive decoders.
  • To improve the interpretability and semantic expressiveness of latent representations in discrete sequence modeling.
  • To develop a principled alternative to continuous latent spaces that better captures underlying structure in sequences.
  • To demonstrate the effectiveness of the method across diverse NLP tasks beyond standard language modeling.

Proposed method

  • Introduces a shared discrete latent space where each input selects a combination of predefined latent atoms as its representation.
  • Uses a discrete bottleneck mechanism that replaces continuous latent variables with a finite set of shared atoms to stabilize training and encourage disentanglement.
  • Employs a differentiable relaxation technique to allow backpropagation through discrete choices, enabling end-to-end training.
  • Maintains an auto-regressive decoder while ensuring the latent space remains informative through the discrete bottleneck design.
  • Leverages the discrete structure to model complex dependencies in sequences without collapsing to a single mode.

Experimental results

Research questions

  • RQ1Can a discrete latent bottleneck effectively prevent posterior collapse in VAE-based sequence-to-sequence models?
  • RQ2Does the use of shared discrete atoms lead to more interpretable and semantically meaningful latent representations?
  • RQ3How does the proposed method compare to standard continuous VAEs in terms of generation quality and representation learning across diverse NLP tasks?
  • RQ4To what extent does the discrete bottleneck improve performance in unaligned text style transfer and neural machine translation?

Key findings

  • The proposed model achieves state-of-the-art performance on unaligned text style transfer, significantly outperforming baseline VAEs and autoregressive models in both fluency and style transfer quality.
  • In dialog response generation, the model generates more diverse and contextually relevant responses compared to continuous VAE baselines.
  • For neural machine translation, the model achieves competitive BLEU scores while maintaining stable training and avoiding posterior collapse.
  • The model demonstrates superior zero-shot generalization in few-shot settings due to the disentangled and interpretable latent structure.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.