Skip to main content
QUICK REVIEW

[Paper Review] End-to-end Learning of LDA by Mirror-Descent Back Propagation over a Deep Architecture

Jianshu Chen, Ji He|arXiv (Cornell University)|Aug 14, 2015
Speech Recognition and SynthesisComputer Science22 references8 citations
TL;DR

This paper proposes an end-to-end, fully discriminative training method for Latent Dirichlet Allocation (LDA) using mirror-descent back propagation over a deep architecture, enabling joint optimization of topic inference and model parameters. The approach significantly outperforms prior supervised topic models and is competitive with deep neural networks on real-world classification and regression tasks.

ABSTRACT

We develop a fully discriminative learning approach for supervised Latent Dirichlet Allocation (LDA) model using Back Propagation (i.e., BP-sLDA), which maximizes the posterior probability of the prediction variable given the input document. Different from traditional variational learning or Gibbs sampling approaches, the proposed learning method applies (i) the mirror descent algorithm for maximum a posterior inference and (ii) back propagation over a deep architecture together with stochastic gradient/mirror descent for model parameter estimation, leading to scalable and end-to-end discriminative learning of the model. As a byproduct, we also apply this technique to develop a new learning method for the traditional unsupervised LDA model (i.e., BP-LDA). Experimental results on three real-world regression and classification tasks show that the proposed methods significantly outperform the previous supervised topic models, neural networks, and is on par with deep neural networks.

Motivation & Objective

  • To overcome the limitations of traditional variational or Gibbs sampling methods in supervised LDA by enabling fully discriminative training.
  • To integrate mirror descent for exact MAP inference with back propagation for end-to-end optimization of model parameters.
  • To develop a scalable, principled method that maximizes the posterior probability of labels given documents, improving prediction accuracy.
  • To extend the framework to unsupervised LDA (BP-LDA) using the same backpropagation mechanism.
  • To demonstrate superior performance over existing supervised topic models and deep neural networks on real-world regression and classification tasks.

Proposed method

  • The method uses mirror descent algorithm (MDA) to solve the maximum a posteriori (MAP) inference problem for topic distributions, which is convex under certain Dirichlet parameter conditions.
  • Backward propagation is applied through the MDA-based inference module to compute gradients of the loss with respect to model parameters, enabling end-to-end training.
  • The gradient computation involves recursive backward passes through the inference network, using the adjoint method to propagate errors from the output to the model parameters.
  • For classification, the gradient of the loss with respect to the transformation matrix U is derived as $ -\frac{1}{\mathds{1}^{T}p_{L}}(I-\mathds{1}\theta_{L}^{T})\cdot U^{T}\cdot\gamma\cdot(y_{d}-\hat{y}_{d}) $, with analogous expressions for regression.
  • A numerical stability improvement is introduced via the variable $ \xi_{d,\ell} = \mathds{1}^{T}p_{\ell} \cdot \delta_{\ell} $, replacing $ p_{\ell} $ and $ \delta_{\ell} $ to prevent overflow.
  • The framework is applied to both supervised (BP-sLDA) and unsupervised (BP-LDA) LDA, with joint optimization of topic distributions and model parameters.

Experimental results

Research questions

  • RQ1Can mirror-descent-based MAP inference be integrated with back propagation to enable end-to-end training of supervised LDA?
  • RQ2Does fully discriminative training—maximizing the posterior of labels given documents—improve prediction performance over traditional generative or hybrid approaches?
  • RQ3Can the proposed method achieve performance competitive with deep neural networks on real-world NLP tasks?
  • RQ4How does the integration of MDA with backpropagation affect training stability and scalability?
  • RQ5Can the same framework be extended to unsupervised LDA (BP-LDA) with comparable performance?

Key findings

  • The proposed BP-sLDA method significantly outperforms previous supervised topic models on three real-world regression and classification tasks.
  • BP-sLDA achieves performance on par with deep neural networks, demonstrating the effectiveness of end-to-end discriminative training.
  • The method achieves superior accuracy by jointly optimizing topic inference and model parameters, avoiding the suboptimal two-stage training of traditional approaches.
  • The integration of mirror descent with backpropagation enables exact MAP inference and stable gradient flow, even in deep architectures.
  • The numerical stability improvement via $ \xi_{d,\ell} $ effectively mitigates issues from large $ p_{\ell} $ and small $ \delta_{\ell} $, enhancing training reliability.
  • The extension to unsupervised LDA (BP-LDA) shows that the framework is generalizable and effective for both discriminative and generative settings.

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.