LDA: Derivation of variation

Source: Internet
Author: User

Lda and latent diriclet allocation are the most basic Bayesian models. In this paper, we need to study lda's variational derivation method. It is of great significance.

I. symbol Definition

: The number of topics
? : The number of documents
? : The number of terms in vocabulary
? : Index topic
? : Index document
? : Index word
? : Denote a word

In LDA:
: Model Parameter
? : Model Parameter
?, : Hidden variables.

Graph Model:
Introduce variational parameter:
? : Dirichlet Parameter
? : Multinomial Parameter

We introduce variational distribution, a fully factorized Model

? Note that ,? Is the posterior distribution. We have removed given ??

Ii. Overview

We use variational EM algorithm:
In e step, we use variational approximation to posterior to optimize variational parameters and find the most reliable posterior distribution.
In M step, we promote lower bound with respect to the model parameters.

Specific algorithms:
E-step: for each document, find optimal values of the variational Parameters

? M-step: Maximize the lower bound with respect to the model parameters ?? And?

?

?

?

?

?

LDA: Derivation of variation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.