Convolutional Poisson Gamma Belief Network

Chaojie Wang, Bo Chen, Sucheng Xiao, Mingyuan Zhou

Overview

This paper introduces the Convolutional Poisson Gamma Belief Network (CPGBN), a deep probabilistic topic model that preserves word order by operating directly on sequences of one-hot encoded words. By combining convolutional filters with a multi-layer deep topic model via a novel probabilistic pooling layer, CPGBN learns interpretable, hierarchical phrase-level topics and achieves state-of-the-art text classification results without relying on pre-trained word embeddings.

The Representation Dilemma

In natural language processing, representing text usually forces researchers to choose between two flawed paradigms:

  1. Bag-of-Words (BoW): Traditional topic models (like Latent Dirichlet Allocation) and their deep extensions count word frequencies but completely ignore word order. This destroys local context, making tasks like sentiment analysis difficult (e.g., "not good" becomes "not" and "good").
  2. Word Embeddings: Deep neural networks (CNNs, LSTMs) preserve word order by mapping words to dense, low-dimensional vectors. However, these models act as black boxes, lack the interpretable topic hierarchies of probabilistic models, and usually require massive external datasets to pre-train the embeddings (like Word2Vec or GloVe).

The authors tackle this gap: How can we build a generative topic model that operates on a "lossless" representation of text (preserving exact word order) while maintaining the interpretability and hierarchical structure of deep probabilistic models?

Methodology: Bridging Convolutions and Topic Models

The authors build their solution in several stages, blending deep learning architectures with Bayesian graphical models.

Architecture of the Convolutional Poisson Gamma Belief Network
  • Convolutional Poisson Factor Analysis (CPFA): Instead of embeddings, documents are represented as matrices of one-hot vectors. The model applies 1D convolutions directly to these sparse matrices under a Poisson likelihood. This allows the model to detect local $n$-gram patterns (phrases) directly from the raw text.
  • Convolutional Poisson Gamma Belief Network (CPGBN): The authors stack a Gamma Belief Network (a deep, multi-layer topic model) on top of CPFA. To connect the sequence-aware convolutional layer to the sequence-agnostic deep topic layers, they introduce a probabilistic document-level pooling layer. This summarizes phrase occurrences across the document into higher-level, abstract topics.
  • Dual Inference Strategies:
    • Gibbs Sampling: For exactness, they develop a highly parallelizable Gibbs sampler that exploits the sparsity of one-hot vectors and the mathematical conjugacy of Poisson and Multinomial distributions.
  • Variational Autoencoder (VAE): For scalability to massive datasets, they design a hybrid inference network using Stochastic Gradient MCMC and a Weibull-distribution-based convolutional VAE, allowing for fast, mini-batch training.
  • Supervised Extension (sCPGBN): They add a softmax classifier on top of the latent representations to optimize the model specifically for text categorization.

Key Insights

  • Lossless Text Representation is Viable: You don't have to compress text into dense embeddings to use convolutions. By exploiting the mathematical properties of count data (Poisson distributions), convolutions on massive, sparse one-hot matrices become computationally feasible.
  • Phrases Build Topics: The model naturally learns a hierarchy of meaning. The shallow convolutional layers learn specific short phrases (e.g., "microsoft e-mail address"). As you move deeper into the network, these phrases are grouped into broader semantic concepts (e.g., a general "technology" or "contact info" topic).
  • Pooling as a Bridge: The probabilistic pooling layer is a clever mathematical trick. It allows the model to care about word order at the local level (to catch phrases like "don't like") but ignore exact spatial locations at the document level, mimicking how human reading comprehension works.

Experimental Results

The models were trained and evaluated on several standard benchmark datasets for text classification, including movie reviews (MR, IMDB), question classification (TREC), subjectivity (SUBJ), and product reviews (ELEC).

Performance comparison of CPGBN against baseline models
  • Unsupervised Superiority: When extracting features without labels, CPGBN significantly outperforms existing deep bag-of-words models. On the TREC dataset, a 3-layer CPGBN achieved 74.4% accuracy, compared to 67.9% for a standard deep Poisson Gamma Belief Network (PGBN) and 45.5% for standard LDA.
  • Supervised Competitiveness: The supervised sCPGBN (3 layers) achieved 93.8% on SUBJ, 92.2% on ELEC, and 92.6% on IMDB. It matched or outperformed standard CNNs, LSTMs, and word-embedding-based methods, proving that deep topic models can compete with standard deep learning on classification tasks.
  • High Interpretability: Unlike black-box CNNs, CPGBN's learned kernels are highly readable. For example, one learned kernel successfully grouped the phrases "who created snoopy", "who fired caesar", and "who wrote angela" into a single coherent topic representing "questions about humans."

Limitations and Future Work

The authors note that as the network depth increases, the Gibbs sampler converges more slowly in time. Additionally, while they exploit sparsity, operating on one-hot matrices is inherently more memory-intensive than using low-dimensional dense embeddings, which could limit the maximum vocabulary size or filter width.

However, the success of this architecture suggests it could be adapted for other sequential discrete data (like DNA sequences, user action logs, or music notes) where local order matters but global bag-of-words topic modeling is desired.

Summary updated

BibTeX
@inproceedings{wang2019convolutional,
  author = {Chaojie Wang and Bo Chen and Sucheng Xiao and Mingyuan Zhou},
  title = {{Convolutional Poisson Gamma Belief Network}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure