Skip to main content
QUICK REVIEW

[Paper Review] Deep State Space Models for Unconditional Word Generation

Florian Schmidt, Thomas Hofmann|arXiv (Cornell University)|Jun 12, 2018
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes a non-autoregressive deep state space model for unconditional word generation that separates global uncertainty (via noise in state transitions) from local uncertainty (in token emission). Using normalizing flows for variational inference, it achieves performance on par with autoregressive RNNs without teacher forcing, demonstrating that stochasticity can be cleanly disentangled and effectively trained via importance-weighted variational inference.

ABSTRACT

Autoregressive feedback is considered a necessity for successful unconditional text generation using stochastic sequence models. However, such feedback is known to introduce systematic biases into the training process and it obscures a principle of generation: committing to global information and forgetting local nuances. We show that a non-autoregressive deep state space model with a clear separation of global and local uncertainty can be built from only two ingredients: An independent noise source and a deterministic transition function. Recent advances on flow-based variational inference can be used to train an evidence lower-bound without resorting to annealing, auxiliary losses or similar measures. The result is a highly interpretable generative model on par with comparable auto-regressive models on the task of word generation.

Motivation & Objective

  • To address systematic biases in autoregressive models caused by teacher forcing during training.
  • To investigate whether a clean separation of global and local uncertainty can enable effective unconditional text generation.
  • To develop a highly interpretable generative model that avoids auxiliary losses, annealing, or pre-training.
  • To evaluate the role of stochasticity in sequence modeling by isolating noise in state transitions from emission uncertainty.

Proposed method

  • Proposes a deep state space model with a deterministic transition function F(ht, ξt) = ht+1 driven by i.i.d. Gaussian noise ξt.
  • Separates stochasticity: global uncertainty from noise ξt in state evolution, local uncertainty from P(wt|ht) in token emission.
  • Employs variational inference with a structured inference model q(ht|ht−1, wt:T) to approximate the true posterior.
  • Uses normalizing flows (TRI, REAL-NVP) to model complex, tractable transition distributions for both generative and inference models.
  • Applies importance-weighted variational inference (IWVI) with K=10 samples to improve training stability and performance.
  • Trains the model end-to-end using an evidence lower bound (ELBO) that balances reconstruction and posterior divergence.

Experimental results

Research questions

  • RQ1Can a non-autoregressive state space model with clean separation of global and local uncertainty generate high-quality text without teacher forcing?
  • RQ2How does the performance of such a model compare to standard autoregressive RNNs on unconditional word generation?
  • RQ3What is the role of stochasticity in state transitions versus emission in modeling sequence complexity?
  • RQ4Can normalizing flows enable effective training of deep state space models without auxiliary losses or annealing?
  • RQ5How does the mutual information between latent states and observations evolve during training?

Key findings

  • The proposed model achieved test cross-entropy of 11.28 on the word morphology task, outperforming the baseline RNN (12.97) and approaching the oracle (7.03).
  • Using K=10 importance weights significantly improved results, with diminishing returns beyond K=10, indicating effective variance reduction.
  • The 2×TRIL flow with K=10 achieved the best performance (H[Ptest, ˆP] = 11.28), showing that powerful generative flows are essential.
  • Mutual information I(t) peaked early in the sequence and decreased over time, confirming that initial tokens carry more latent information.
  • The model with 2×TRIL flow and K=10 achieved 1.28 average mutual information, indicating effective information retention in latent states.
  • The inference model's performance matched the bidirectional version, validating the d-separation assumption and the sufficiency of state memory.

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.