Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Latent Dirichlet allocation

From Wikipedia, the free encyclopedia
Generative topic model
This articlemay be too technical for most readers to understand. Pleasehelp improve it tomake it understandable to non-experts, without removing the technical details.(August 2017) (Learn how and when to remove this message)

Innatural language processing,latent Dirichlet allocation (LDA) is agenerative statistical model that explains how a collection of text documents can be described by a set of unobserved "topics." For example, given a set of news articles, LDA might discover that one topic is characterized by words like "president", "government", and "election", while another is characterized by "team", "game", and "score". It is one of the most commontopic models.

The LDA model was first presented as a graphical model for population genetics byJ. K. Pritchard,M. Stephens andP. Donnelly in 2000.[1] The model was subsequently applied to machine learning byDavid Blei,Andrew Ng, andMichael I. Jordan in 2003.[2] Although its most frequent application is in modeling text corpora, it has also been used for other problems, such as in clinical psychology, social science, andcomputational musicology.

The core assumption of LDA is that documents are represented as a random mixture of latent topics, and each topic is characterized by a probability distribution over words. The model is a generalization ofprobabilistic latent semantic analysis (pLSA), differing primarily in that LDA treats the topic mixture as aDirichlet prior, leading to more reasonable mixtures and less susceptibility tooverfitting. Learning the latent topics and their associated probabilities from a corpus is typically done usingBayesian inference, often with methods likeGibbs sampling orvariational Bayes.

History

[edit]

In the context ofpopulation genetics, LDA was proposed byJ. K. Pritchard,M. Stephens andP. Donnelly in 2000.[1][3]

LDA was applied inmachine learning byDavid Blei,Andrew Ng andMichael I. Jordan in 2003.[2]

Overview

[edit]

Population genetics

[edit]

In population genetics, the model is used to detect the presence of structured genetic variation in a group of individuals. The model assumes thatalleles carried by individuals under study have origin in various extant or past populations. The model and various inference algorithms allow scientists to estimate the allele frequencies in those source populations and the origin of alleles carried by individuals under study. The source populations can be interpreted ex-post in terms of various evolutionary scenarios. Inassociation studies, detecting the presence of genetic structure is considered a necessary preliminary step to avoidconfounding.

Clinical psychology, mental health, and social science

[edit]

In clinical psychology research, LDA has been used to identify common themes of self-images experienced by young people in social situations.[4] Other social scientists have used LDA to examine large sets of topical data from discussions on social media (e.g., tweets about prescription drugs).[5]

Additionally,supervised Latent Dirichlet Allocation with covariates (SLDAX) has been specifically developed to combine latent topics identified in texts with other manifest variables. This approach allows for the integration of text data as predictors in statistical regression analyses, improving the accuracy of mental health predictions. One of the main advantages of SLDAX over traditional two-stage approaches is its ability to avoid biased estimates and incorrect standard errors, allowing for a more accurate analysis of psychological texts.[6][7]

In the field of social sciences, LDA has proven to be useful for analyzing large datasets, such as social media discussions. For instance, researchers have used LDA to investigate tweets discussing socially relevant topics, like the use of prescription drugs and cultural differences in China.[8] By analyzing these large text corpora, it is possible to uncover patterns and themes that might otherwise go unnoticed, offering valuable insights into public discourse and perception in real time.[9][10]

Musicology

[edit]

In the context ofcomputational musicology, LDA has been used to discover tonal structures in different corpora.[11]

Machine learning

[edit]

One application of LDA inmachine learning – specifically,topic discovery, a subproblem innatural language processing – is to discover topics in a collection of documents, and then automatically classify any individual document within the collection in terms of how "relevant" it is to each of the discovered topics. Atopic is considered to be a set of terms (i.e., individual words or phrases) that, taken together, suggest a shared theme.

For example, in a document collection related to pet animals, the termsdog,spaniel,beagle,golden retriever,puppy,bark, andwoof would suggest aDOG_related theme, while the termscat,siamese,Maine coon,tabby,manx,meow,purr, andkitten would suggest aCAT_related theme. There may be many more topics in the collection – e.g., related to diet, grooming, healthcare, behavior, etc. that we do not discuss for simplicity's sake. (Very common, so calledstop words in a language – e.g., "the", "an", "that", "are", "is", etc., – would not discriminate between topics and are usually filtered out by pre-processing before LDA is performed. Pre-processing also converts terms to their "root" lexical forms – e.g., "barks", "barking", and "barked" would be converted to "bark".)

If the document collection is sufficiently large, LDA will discover such sets of terms (i.e., topics) based upon the co-occurrence of individual terms, though the task of assigning a meaningful label to an individual topic (i.e., that all the terms are DOG_related) is up to the user, and often requires specialized knowledge (e.g., for collection of technical documents). The LDA approach assumes that:

  1. The semantic content of a document is composed by combining one or more terms from one or more topics.
  2. Certain terms areambiguous, belonging to more than one topic, with different probability. (For example, the termtraining can apply to both dogs and cats, but are more likely to refer to dogs, which are used as work animals or participate in obedience or skill competitions.) However, in a document, the accompanying presence ofspecific neighboring terms (which belong to only one topic) will disambiguate their usage.
  3. Most documents will contain only a relatively small number of topics. In the collection, e.g., individual topics will occur with differing frequencies. That is, they have a probability distribution, so that a given document is more likely to contain some topics than others.
  4. Within a topic, certain terms will be used much more frequently than others. In other words, the terms within a topic will also have their own probability distribution.

When LDA machine learning is employed, both sets of probabilities are computed during the training phase, usingBayesian methods and anexpectation–maximization algorithm.

LDA is a generalization of older approach ofprobabilistic latent semantic analysis (pLSA), The pLSA model is equivalent to LDA under a uniform Dirichlet prior distribution.[12]pLSA relies on only the first two assumptions above and does not care about the remainder. While both methods are similar in principle and require the user to specify the number of topics to be discovered before the start of training (as withk-means clustering) LDA has the following advantages over pLSA:

  • LDA yields better disambiguation of words and a more precise assignment of documents to topics.
  • Computing probabilities allows a "generative" process by which a collection of new "synthetic documents" can be generated that would closely reflect the statistical characteristics of the original collection.
  • Unlike LDA, pLSA is vulnerable to overfitting especially when the size of corpus increases.
  • The LDA algorithm is more readily amenable to scaling up for large data sets using theMapReduce approach on a computing cluster.

Model

[edit]
Plate notation representing the LDA model

Withplate notation, which is often used to representprobabilistic graphical models (PGMs), the dependencies among the many variables can be captured concisely. The boxes are "plates" representing replicates, which are repeated entities. The outer plate represents documents, while the inner plate represents the repeated word positions in a given document; each position is associated with a choice of topic and word. The variable names are defined as follows:

M denotes the number of documents
N is number of words in a given document (documenti hasNi{\displaystyle N_{i}} words)
α is the parameter of the Dirichlet prior on the per-document topic distributions
β is the parameter of the Dirichlet prior on the per-topic word distribution
θi{\displaystyle \theta _{i}} is the topic distribution for documenti
φk{\displaystyle \varphi _{k}} is the word distribution for topick
zij{\displaystyle z_{ij}} is the topic for thej-th word in documenti
wij{\displaystyle w_{ij}} is the specific word.
Plate notation for LDA with Dirichlet-distributed topic-word distributions

The fact that W is grayed out means that wordswij{\displaystyle w_{ij}} are the onlyobservable variables, and the other variables arelatent variables.As proposed in the original paper,[2] a sparse Dirichlet prior can be used to model the topic-word distribution, following the intuition that the probability distribution over words in a topic is skewed, so that only a small set of words have high probability. The resulting model is the most widely applied variant of LDA today. The plate notation for this model is shown on the right, whereK{\displaystyle K} denotes the number of topics andφ1,,φK{\displaystyle \varphi _{1},\dots ,\varphi _{K}}areV{\displaystyle V}-dimensional vectors storing the parameters of the Dirichlet-distributed topic-word distributions (V{\displaystyle V} is the number of words in the vocabulary).

It is helpful to think of the entities represented byθ{\displaystyle \theta } andφ{\displaystyle \varphi } as matrices created by decomposing the original document-word matrix that represents the corpus of documents being modeled. In this view,θ{\displaystyle \theta } consists of rows defined by documents and columns defined by topics, whileφ{\displaystyle \varphi } consists of rows defined by topics and columns defined by words. Thus,φ1,,φK{\displaystyle \varphi _{1},\dots ,\varphi _{K}} refers to a set of rows, or vectors, each of which is a distribution over words, andθ1,,θM{\displaystyle \theta _{1},\dots ,\theta _{M}}refers to a set of rows, each of which is a distribution over topics.

Generative process

[edit]

To actually infer the topics in a corpus, we imagine a generative process whereby the documents are created, so that we may infer, or reverse engineer, it. We imagine the generative process as follows. Documents are represented as random mixtures over latent topics, where each topic is characterized by a distribution over all the words. LDA assumes the following generative process for a corpusD{\displaystyle D} consisting ofM{\displaystyle M} documents each of lengthNi{\displaystyle N_{i}}:

1. ChooseθiDir(α){\displaystyle \theta _{i}\sim \operatorname {Dir} (\alpha )}, wherei{1,,M}{\displaystyle i\in \{1,\dots ,M\}} andDir(α){\displaystyle \mathrm {Dir} (\alpha )} is aDirichlet distribution with a symmetric parameterα{\displaystyle \alpha } which typically is sparse (α<1{\displaystyle \alpha <1})

2. ChooseφkDir(β){\displaystyle \varphi _{k}\sim \operatorname {Dir} (\beta )}, wherek{1,,K}{\displaystyle k\in \{1,\dots ,K\}} andβ{\displaystyle \beta } typically is sparse

3. For each of the word positionsi,j{\displaystyle i,j}, wherei{1,,M}{\displaystyle i\in \{1,\dots ,M\}}, andj{1,,Ni}{\displaystyle j\in \{1,\dots ,N_{i}\}}

(a) Choose a topiczi,jMultinomial(θi).{\displaystyle z_{i,j}\sim \operatorname {Multinomial} (\theta _{i}).}
(b) Choose a wordwi,jMultinomial(φzi,j).{\displaystyle w_{i,j}\sim \operatorname {Multinomial} (\varphi _{z_{i,j}}).}

(Note thatmultinomial distribution here refers to themultinomial with only one trial, which is also known as thecategorical distribution.)

The lengthsNi{\displaystyle N_{i}} are treated as independent of all the other data generating variables (w{\displaystyle w} andz{\displaystyle z}). The subscript is often dropped, as in the plate diagrams shown here.

Definition

[edit]

A formal description of LDA is as follows:

Definition of variables in the model
VariableTypeMeaning
K{\displaystyle K}integernumber of topics (e.g. 50)
V{\displaystyle V}integernumber of words in the vocabulary (e.g. 50,000 or 1,000,000)
M{\displaystyle M}integernumber of documents
Nd=1M{\displaystyle N_{d=1\dots M}}integernumber of words in documentd
N{\displaystyle N}integertotal number of words in all documents; sum of allNd{\displaystyle N_{d}} values, i.e.N=d=1MNd{\displaystyle N=\sum _{d=1}^{M}N_{d}}
αk=1K{\displaystyle \alpha _{k=1\dots K}}positive realprior weight of topick in a document; usually the same for all topics; normally a number less than 1, e.g. 0.1, to prefer sparse topic distributions, i.e. few topics per document
α{\displaystyle {\boldsymbol {\alpha }}}K-dimensional vector of positive realscollection of allαk{\displaystyle \alpha _{k}} values, viewed as a single vector
βw=1V{\displaystyle \beta _{w=1\dots V}}positive realprior weight of wordw in a topic; usually the same for all words; normally a number much less than 1, e.g. 0.001, to strongly prefer sparse word distributions, i.e. few words per topic
β{\displaystyle {\boldsymbol {\beta }}}V-dimensional vector of positive realscollection of allβw{\displaystyle \beta _{w}} values, viewed as a single vector
φk=1K,w=1V{\displaystyle \varphi _{k=1\dots K,w=1\dots V}}probability (real number between 0 and 1)probability of wordw occurring in topick
φk=1K{\displaystyle {\boldsymbol {\varphi }}_{k=1\dots K}}V-dimensional vector of probabilities, which must sum to 1distribution of words in topick
θd=1M,k=1K{\displaystyle \theta _{d=1\dots M,k=1\dots K}}probability (real number between 0 and 1)probability of topick occurring in documentd
θd=1M{\displaystyle {\boldsymbol {\theta }}_{d=1\dots M}}K-dimensional vector of probabilities, which must sum to 1distribution of topics in documentd
zd=1M,w=1Nd{\displaystyle z_{d=1\dots M,w=1\dots N_{d}}}integer between 1 andKidentity of topic of wordw in documentd
Z{\displaystyle \mathbf {Z} }N-dimensional vector of integers between 1 andKidentity of topic of all words in all documents
wd=1M,w=1Nd{\displaystyle w_{d=1\dots M,w=1\dots N_{d}}}integer between 1 andVidentity of wordw in documentd
W{\displaystyle \mathbf {W} }N-dimensional vector of integers between 1 andVidentity of all words in all documents

We can then mathematically describe the random variables as follows:

φk=1KDirichletV(β)θd=1MDirichletK(α)zd=1M,w=1NdCategoricalK(θd)wd=1M,w=1NdCategoricalV(φzdw){\displaystyle {\begin{aligned}{\boldsymbol {\varphi }}_{k=1\dots K}&\sim \operatorname {Dirichlet} _{V}({\boldsymbol {\beta }})\\{\boldsymbol {\theta }}_{d=1\dots M}&\sim \operatorname {Dirichlet} _{K}({\boldsymbol {\alpha }})\\z_{d=1\dots M,w=1\dots N_{d}}&\sim \operatorname {Categorical} _{K}({\boldsymbol {\theta }}_{d})\\w_{d=1\dots M,w=1\dots N_{d}}&\sim \operatorname {Categorical} _{V}({\boldsymbol {\varphi }}_{z_{dw}})\end{aligned}}}

Inference

[edit]
This sectioncontains an excessive amount of intricatedetail. Please helpimprove it byspinning off orrelocating relevant information and removing excessive detail that goes againstWikipedia's inclusion policy.(June 2025) (Learn how and when to remove this message)
See also:Dirichlet-multinomial distribution

Learning the various distributions (the set of topics, their associated word probabilities, the topic of each word, and the particular topic mixture of each document) is a problem ofstatistical inference.

Monte Carlo simulation

[edit]

The original paper by Pritchard et al.[1] used approximation of the posterior distribution by Monte Carlo simulation. Alternative proposal of inference techniques includeGibbs sampling.[13]

Variational Bayes

[edit]

The original ML paper used avariational Bayes approximation of theposterior distribution.[2]

Likelihood maximization

[edit]

A direct optimization of the likelihood with a block relaxation algorithm proves to be a fast alternative to MCMC.[14]

Unknown number of populations/topics

[edit]

In practice, the optimal number of populations or topics is not known beforehand. It can be estimated by approximation of the posterior distribution withreversible-jump Markov chain Monte Carlo.[15]

Alternative approaches

[edit]

Alternative approaches includeexpectation propagation.[16]

Recent research has been focused on speeding up the inference of latent Dirichlet allocation to support the capture of a massive number of topics in a large number of documents. The update equation of the collapsed Gibbs sampler mentioned in the earlier section has a natural sparsity within it that can be taken advantage of. Intuitively, since each document only contains a subset of topicsKd{\displaystyle K_{d}}, and a word also only appears in a subset of topicsKw{\displaystyle K_{w}}, the above update equation could be rewritten to take advantage of this sparsity.[17]

p(Zd,n=k)αβCk¬n+Vβ+CkdβCk¬n+Vβ+Ckw(α+Ckd)Ck¬n+Vβ{\displaystyle p(Z_{d,n}=k)\propto {\frac {\alpha \beta }{C_{k}^{\neg n}+V\beta }}+{\frac {C_{k}^{d}\beta }{C_{k}^{\neg n}+V\beta }}+{\frac {C_{k}^{w}(\alpha +C_{k}^{d})}{C_{k}^{\neg n}+V\beta }}}

In this equation, we have three terms, out of which two are sparse, and the other is small. We call these termsa,b{\displaystyle a,b} andc{\displaystyle c} respectively. Now, if we normalize each term by summing over all the topics, we get:

A=k=1KαβCk¬n+Vβ{\displaystyle A=\sum _{k=1}^{K}{\frac {\alpha \beta }{C_{k}^{\neg n}+V\beta }}}
B=k=1KCkdβCk¬n+Vβ{\displaystyle B=\sum _{k=1}^{K}{\frac {C_{k}^{d}\beta }{C_{k}^{\neg n}+V\beta }}}
C=k=1KCkw(α+Ckd)Ck¬n+Vβ{\displaystyle C=\sum _{k=1}^{K}{\frac {C_{k}^{w}(\alpha +C_{k}^{d})}{C_{k}^{\neg n}+V\beta }}}

Here, we can see thatB{\displaystyle B} is a summation of the topics that appear in documentd{\displaystyle d}, andC{\displaystyle C} is also a sparse summation of the topics that a wordw{\displaystyle w} is assigned to across the whole corpus.A{\displaystyle A} on the other hand, is dense but because of the small values ofα{\displaystyle \alpha } &β{\displaystyle \beta }, the value is very small compared to the two other terms.

Now, while sampling a topic, if we sample a random variable uniformly fromsU(s|A+B+C){\displaystyle s\sim U(s|\mid A+B+C)}, we can check which bucket our sample lands in. SinceA{\displaystyle A} is small, we are very unlikely to fall into this bucket; however, if we do fall into this bucket, sampling a topic takesO(K){\displaystyle O(K)} time (same as the original Collapsed Gibbs Sampler). However, if we fall into the other two buckets, we only need to check a subset of topics if we keep a record of the sparse topics. A topic can be sampled from theB{\displaystyle B} bucket inO(Kd){\displaystyle O(K_{d})} time, and a topic can be sampled from theC{\displaystyle C} bucket inO(Kw){\displaystyle O(K_{w})} time whereKd{\displaystyle K_{d}} andKw{\displaystyle K_{w}} denotes the number of topics assigned to the current document and current word type respectively.

Notice that after sampling each topic, updating these buckets is all basicO(1){\displaystyle O(1)} arithmetic operations.

Aspects of computational details

[edit]

Following is the derivation of the equations forcollapsed Gibbs sampling, which meansφ{\displaystyle \varphi }s andθ{\displaystyle \theta }s will be integrated out. For simplicity, in this derivation the documents are all assumed to have the same lengthN{\displaystyle N_{}}. The derivation is equally valid if the document lengths vary.

According to the model, the total probability of the model is:

P(W,Z,θ,φ;α,β)=i=1KP(φi;β)j=1MP(θj;α)t=1NP(Zj,tθj)P(Wj,tφZj,t),{\displaystyle P({\boldsymbol {W}},{\boldsymbol {Z}},{\boldsymbol {\theta }},{\boldsymbol {\varphi }};\alpha ,\beta )=\prod _{i=1}^{K}P(\varphi _{i};\beta )\prod _{j=1}^{M}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})P(W_{j,t}\mid \varphi _{Z_{j,t}}),}

where the bold-font variables denote the vector version of the variables. First,φ{\displaystyle {\boldsymbol {\varphi }}} andθ{\displaystyle {\boldsymbol {\theta }}} need to be integrated out.

P(Z,W;α,β)=θφP(W,Z,θ,φ;α,β)dφdθ=φi=1KP(φi;β)j=1Mt=1NP(Wj,tφZj,t)dφθj=1MP(θj;α)t=1NP(Zj,tθj)dθ.{\displaystyle {\begin{aligned}&P({\boldsymbol {Z}},{\boldsymbol {W}};\alpha ,\beta )=\int _{\boldsymbol {\theta }}\int _{\boldsymbol {\varphi }}P({\boldsymbol {W}},{\boldsymbol {Z}},{\boldsymbol {\theta }},{\boldsymbol {\varphi }};\alpha ,\beta )\,d{\boldsymbol {\varphi }}\,d{\boldsymbol {\theta }}\\={}&\int _{\boldsymbol {\varphi }}\prod _{i=1}^{K}P(\varphi _{i};\beta )\prod _{j=1}^{M}\prod _{t=1}^{N}P(W_{j,t}\mid \varphi _{Z_{j,t}})\,d{\boldsymbol {\varphi }}\int _{\boldsymbol {\theta }}\prod _{j=1}^{M}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d{\boldsymbol {\theta }}.\end{aligned}}}

All theθ{\displaystyle \theta }s are independent to each other and the same to all theφ{\displaystyle \varphi }s. So we can treat eachθ{\displaystyle \theta } and eachφ{\displaystyle \varphi } separately. We now focus only on theθ{\displaystyle \theta } part.

θj=1MP(θj;α)t=1NP(Zj,tθj)dθ=j=1MθjP(θj;α)t=1NP(Zj,tθj)dθj.{\displaystyle \int _{\boldsymbol {\theta }}\prod _{j=1}^{M}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d{\boldsymbol {\theta }}=\prod _{j=1}^{M}\int _{\theta _{j}}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d\theta _{j}.}

We can further focus on only oneθ{\displaystyle \theta } as the following:

θjP(θj;α)t=1NP(Zj,tθj)dθj.{\displaystyle \int _{\theta _{j}}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d\theta _{j}.}

Actually, it is the hidden part of the model for thejth{\displaystyle j^{th}} document. Now we replace the probabilities in the above equation by the true distribution expression to write out the explicit equation.

θjP(θj;α)t=1NP(Zj,tθj)dθj=θjΓ(i=1Kαi)i=1KΓ(αi)i=1Kθj,iαi1t=1NP(Zj,tθj)dθj.{\displaystyle \int _{\theta _{j}}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d\theta _{j}=\int _{\theta _{j}}{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}\prod _{i=1}^{K}\theta _{j,i}^{\alpha _{i}-1}\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d\theta _{j}.}

Letnj,ri{\displaystyle n_{j,r}^{i}} be the number of word tokens in thejth{\displaystyle j^{th}} document with the same word symbol (therth{\displaystyle r^{th}} word in the vocabulary) assigned to theith{\displaystyle i^{th}} topic. So,nj,ri{\displaystyle n_{j,r}^{i}} is three dimensional. If any of the three dimensions is not limited to a specific value, we use a parenthesized point(){\displaystyle (\cdot )} todenote. For example,nj,()i{\displaystyle n_{j,(\cdot )}^{i}} denotes the number of word tokens in thejth{\displaystyle j^{th}} document assigned to theith{\displaystyle i^{th}} topic. Thus, the right most part of the above equation can be rewritten as:

t=1NP(Zj,tθj)=i=1Kθj,inj,()i.{\displaystyle \prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})=\prod _{i=1}^{K}\theta _{j,i}^{n_{j,(\cdot )}^{i}}.}

So theθj{\displaystyle \theta _{j}} integration formula can be changed to:

θjΓ(i=1Kαi)i=1KΓ(αi)i=1Kθj,iαi1i=1Kθj,inj,()idθj=θjΓ(i=1Kαi)i=1KΓ(αi)i=1Kθj,inj,()i+αi1dθj.{\displaystyle \int _{\theta _{j}}{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}\prod _{i=1}^{K}\theta _{j,i}^{\alpha _{i}-1}\prod _{i=1}^{K}\theta _{j,i}^{n_{j,(\cdot )}^{i}}\,d\theta _{j}=\int _{\theta _{j}}{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}\prod _{i=1}^{K}\theta _{j,i}^{n_{j,(\cdot )}^{i}+\alpha _{i}-1}\,d\theta _{j}.}

The equation inside the integration has the same form as theDirichlet distribution. According to theDirichlet distribution,

θjΓ(i=1Knj,()i+αi)i=1KΓ(nj,()i+αi)i=1Kθj,inj,()i+αi1dθj=1.{\displaystyle \int _{\theta _{j}}{\frac {\Gamma \left(\sum _{i=1}^{K}n_{j,(\cdot )}^{i}+\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (n_{j,(\cdot )}^{i}+\alpha _{i})}}\prod _{i=1}^{K}\theta _{j,i}^{n_{j,(\cdot )}^{i}+\alpha _{i}-1}\,d\theta _{j}=1.}

Thus,

θjP(θj;α)t=1NP(Zj,tθj)dθj=θjΓ(i=1Kαi)i=1KΓ(αi)i=1Kθj,inj,()i+αi1dθj=Γ(i=1Kαi)i=1KΓ(αi)i=1KΓ(nj,()i+αi)Γ(i=1Knj,()i+αi)θjΓ(i=1Knj,()i+αi)i=1KΓ(nj,()i+αi)i=1Kθj,inj,()i+αi1dθj=Γ(i=1Kαi)i=1KΓ(αi)i=1KΓ(nj,()i+αi)Γ(i=1Knj,()i+αi).{\displaystyle {\begin{aligned}&\int _{\theta _{j}}P(\theta _{j};\alpha )\prod _{t=1}^{N}P(Z_{j,t}\mid \theta _{j})\,d\theta _{j}=\int _{\theta _{j}}{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}\prod _{i=1}^{K}\theta _{j,i}^{n_{j,(\cdot )}^{i}+\alpha _{i}-1}\,d\theta _{j}\\[8pt]={}&{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}{\frac {\prod _{i=1}^{K}\Gamma (n_{j,(\cdot )}^{i}+\alpha _{i})}{\Gamma \left(\sum _{i=1}^{K}n_{j,(\cdot )}^{i}+\alpha _{i}\right)}}\int _{\theta _{j}}{\frac {\Gamma \left(\sum _{i=1}^{K}n_{j,(\cdot )}^{i}+\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (n_{j,(\cdot )}^{i}+\alpha _{i})}}\prod _{i=1}^{K}\theta _{j,i}^{n_{j,(\cdot )}^{i}+\alpha _{i}-1}\,d\theta _{j}\\[8pt]={}&{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}{\frac {\prod _{i=1}^{K}\Gamma (n_{j,(\cdot )}^{i}+\alpha _{i})}{\Gamma \left(\sum _{i=1}^{K}n_{j,(\cdot )}^{i}+\alpha _{i}\right)}}.\end{aligned}}}

Now we turn our attention to theφ{\displaystyle {\boldsymbol {\varphi }}} part. Actually, the derivation of theφ{\displaystyle {\boldsymbol {\varphi }}} part is very similar to theθ{\displaystyle {\boldsymbol {\theta }}} part. Here we only list the steps of the derivation:

φi=1KP(φi;β)j=1Mt=1NP(Wj,tφZj,t)dφ=i=1KφiP(φi;β)j=1Mt=1NP(Wj,tφZj,t)dφi=i=1KφiΓ(r=1Vβr)r=1VΓ(βr)r=1Vφi,rβr1r=1Vφi,rn(),ridφi=i=1KφiΓ(r=1Vβr)r=1VΓ(βr)r=1Vφi,rn(),ri+βr1dφi=i=1KΓ(r=1Vβr)r=1VΓ(βr)r=1VΓ(n(),ri+βr)Γ(r=1Vn(),ri+βr).{\displaystyle {\begin{aligned}&\int _{\boldsymbol {\varphi }}\prod _{i=1}^{K}P(\varphi _{i};\beta )\prod _{j=1}^{M}\prod _{t=1}^{N}P(W_{j,t}\mid \varphi _{Z_{j,t}})\,d{\boldsymbol {\varphi }}\\[8pt]={}&\prod _{i=1}^{K}\int _{\varphi _{i}}P(\varphi _{i};\beta )\prod _{j=1}^{M}\prod _{t=1}^{N}P(W_{j,t}\mid \varphi _{Z_{j,t}})\,d\varphi _{i}\\[8pt]={}&\prod _{i=1}^{K}\int _{\varphi _{i}}{\frac {\Gamma \left(\sum _{r=1}^{V}\beta _{r}\right)}{\prod _{r=1}^{V}\Gamma (\beta _{r})}}\prod _{r=1}^{V}\varphi _{i,r}^{\beta _{r}-1}\prod _{r=1}^{V}\varphi _{i,r}^{n_{(\cdot ),r}^{i}}\,d\varphi _{i}\\[8pt]={}&\prod _{i=1}^{K}\int _{\varphi _{i}}{\frac {\Gamma \left(\sum _{r=1}^{V}\beta _{r}\right)}{\prod _{r=1}^{V}\Gamma (\beta _{r})}}\prod _{r=1}^{V}\varphi _{i,r}^{n_{(\cdot ),r}^{i}+\beta _{r}-1}\,d\varphi _{i}\\[8pt]={}&\prod _{i=1}^{K}{\frac {\Gamma \left(\sum _{r=1}^{V}\beta _{r}\right)}{\prod _{r=1}^{V}\Gamma (\beta _{r})}}{\frac {\prod _{r=1}^{V}\Gamma (n_{(\cdot ),r}^{i}+\beta _{r})}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i}+\beta _{r}\right)}}.\end{aligned}}}

For clarity, here we write down the final equation with bothϕ{\displaystyle {\boldsymbol {\phi }}} andθ{\displaystyle {\boldsymbol {\theta }}} integrated out:

P(Z,W;α,β)=j=1MΓ(i=1Kαi)i=1KΓ(αi)i=1KΓ(nj,()i+αi)Γ(i=1Knj,()i+αi)×i=1KΓ(r=1Vβr)r=1VΓ(βr)r=1VΓ(n(),ri+βr)Γ(r=1Vn(),ri+βr).{\displaystyle P({\boldsymbol {Z}},{\boldsymbol {W}};\alpha ,\beta )=\prod _{j=1}^{M}{\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}{\frac {\prod _{i=1}^{K}\Gamma (n_{j,(\cdot )}^{i}+\alpha _{i})}{\Gamma \left(\sum _{i=1}^{K}n_{j,(\cdot )}^{i}+\alpha _{i}\right)}}\times \prod _{i=1}^{K}{\frac {\Gamma \left(\sum _{r=1}^{V}\beta _{r}\right)}{\prod _{r=1}^{V}\Gamma (\beta _{r})}}{\frac {\prod _{r=1}^{V}\Gamma (n_{(\cdot ),r}^{i}+\beta _{r})}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i}+\beta _{r}\right)}}.}

The goal of Gibbs Sampling here is to approximate the distribution ofP(ZW;α,β){\displaystyle P({\boldsymbol {Z}}\mid {\boldsymbol {W}};\alpha ,\beta )}. SinceP(W;α,β){\displaystyle P({\boldsymbol {W}};\alpha ,\beta )} is invariable for any of Z, Gibbs Sampling equations can be derived fromP(Z,W;α,β){\displaystyle P({\boldsymbol {Z}},{\boldsymbol {W}};\alpha ,\beta )} directly. The key point is to derive the following conditional probability:

P(Z(m,n)Z(m,n),W;α,β)=P(Z(m,n),Z(m,n),W;α,β)P(Z(m,n),W;α,β),{\displaystyle P(Z_{(m,n)}\mid {\boldsymbol {Z_{-(m,n)}}},{\boldsymbol {W}};\alpha ,\beta )={\frac {P(Z_{(m,n)},{\boldsymbol {Z_{-(m,n)}}},{\boldsymbol {W}};\alpha ,\beta )}{P({\boldsymbol {Z_{-(m,n)}}},{\boldsymbol {W}};\alpha ,\beta )}},}

whereZ(m,n){\displaystyle Z_{(m,n)}} denotes theZ{\displaystyle Z} hidden variable of thenth{\displaystyle n^{th}} word token in themth{\displaystyle m^{th}} document. And further we assume that the wordsymbol of it is thevth{\displaystyle v^{th}} word in the vocabulary, i.e.W(m,n)=v{\displaystyle W_{(m,n)}=v}.Z(m,n){\displaystyle {\boldsymbol {Z_{-(m,n)}}}} denotes all theZ{\displaystyle Z}s butZ(m,n){\displaystyle Z_{(m,n)}}. Note that Gibbs Sampling needs only to sample a value forZ(m,n){\displaystyle Z_{(m,n)}}, according to the above probability, we do not need the exact value of

P(Zm,nZ(m,n),W;α,β){\displaystyle P\left(Z_{m,n}\mid {\boldsymbol {Z_{-(m,n)}}},{\boldsymbol {W}};\alpha ,\beta \right)}

but the ratios among the probabilities thatZ(m,n){\displaystyle Z_{(m,n)}} can take value. So, the above equation can be simplified as:

P(Z(m,n)=kZ(m,n),W;α,β)P(Z(m,n)=k,Z(m,n),W;α,β)=(Γ(i=1Kαi)i=1KΓ(αi))Mjmi=1KΓ(nj,()i+αi)Γ(i=1Knj,()i+αi)(Γ(r=1Vβr)r=1VΓ(βr))Ki=1KrvΓ(n(),ri+βr)i=1KΓ(nm,()i+αi)Γ(i=1Knm,()i+αi)i=1KΓ(n(),vi+βv)Γ(r=1Vn(),ri+βr)i=1KΓ(nm,()i+αi)Γ(i=1Knm,()i+αi)i=1KΓ(n(),vi+βv)Γ(r=1Vn(),ri+βr)i=1KΓ(nm,()i+αi)i=1KΓ(n(),vi+βv)Γ(r=1Vn(),ri+βr).{\displaystyle {\begin{aligned}P(&Z_{(m,n)}=k\mid {\boldsymbol {Z_{-(m,n)}}},{\boldsymbol {W}};\alpha ,\beta )\\[8pt]&\propto P(Z_{(m,n)}=k,{\boldsymbol {Z_{-(m,n)}}},{\boldsymbol {W}};\alpha ,\beta )\\[8pt]&=\left({\frac {\Gamma \left(\sum _{i=1}^{K}\alpha _{i}\right)}{\prod _{i=1}^{K}\Gamma (\alpha _{i})}}\right)^{M}\prod _{j\neq m}{\frac {\prod _{i=1}^{K}\Gamma \left(n_{j,(\cdot )}^{i}+\alpha _{i}\right)}{\Gamma \left(\sum _{i=1}^{K}n_{j,(\cdot )}^{i}+\alpha _{i}\right)}}\left({\frac {\Gamma \left(\sum _{r=1}^{V}\beta _{r}\right)}{\prod _{r=1}^{V}\Gamma (\beta _{r})}}\right)^{K}\prod _{i=1}^{K}\prod _{r\neq v}\Gamma \left(n_{(\cdot ),r}^{i}+\beta _{r}\right){\frac {\prod _{i=1}^{K}\Gamma \left(n_{m,(\cdot )}^{i}+\alpha _{i}\right)}{\Gamma \left(\sum _{i=1}^{K}n_{m,(\cdot )}^{i}+\alpha _{i}\right)}}\prod _{i=1}^{K}{\frac {\Gamma \left(n_{(\cdot ),v}^{i}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i}+\beta _{r}\right)}}\\[8pt]&\propto {\frac {\prod _{i=1}^{K}\Gamma \left(n_{m,(\cdot )}^{i}+\alpha _{i}\right)}{\Gamma \left(\sum _{i=1}^{K}n_{m,(\cdot )}^{i}+\alpha _{i}\right)}}\prod _{i=1}^{K}{\frac {\Gamma \left(n_{(\cdot ),v}^{i}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i}+\beta _{r}\right)}}\\[8pt]&\propto \prod _{i=1}^{K}\Gamma \left(n_{m,(\cdot )}^{i}+\alpha _{i}\right)\prod _{i=1}^{K}{\frac {\Gamma \left(n_{(\cdot ),v}^{i}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i}+\beta _{r}\right)}}.\end{aligned}}}

Finally, letnj,ri,(m,n){\displaystyle n_{j,r}^{i,-(m,n)}} be the same meaning asnj,ri{\displaystyle n_{j,r}^{i}} but with theZ(m,n){\displaystyle Z_{(m,n)}} excluded. The above equation can be further simplified leveraging the property ofgamma function. We first split the summation and then merge it back to obtain ak{\displaystyle k}-independent summation, which could be dropped:

ikΓ(nm,()i,(m,n)+αi)ikΓ(n(),vi,(m,n)+βv)Γ(r=1Vn(),ri,(m,n)+βr)Γ(nm,()k,(m,n)+αk+1)Γ(n(),vk,(m,n)+βv+1)Γ(r=1Vn(),rk,(m,n)+βr+1)=ikΓ(nm,()i,(m,n)+αi)ikΓ(n(),vi,(m,n)+βv)Γ(r=1Vn(),ri,(m,n)+βr)Γ(nm,()k,(m,n)+αk)Γ(n(),vk,(m,n)+βv)Γ(r=1Vn(),rk,(m,n)+βr)(nm,()k,(m,n)+αk)n(),vk,(m,n)+βvr=1Vn(),rk,(m,n)+βr=iΓ(nm,()i,(m,n)+αi)iΓ(n(),vi,(m,n)+βv)Γ(r=1Vn(),ri,(m,n)+βr)(nm,()k,(m,n)+αk)n(),vk,(m,n)+βvr=1Vn(),rk,(m,n)+βr(nm,()k,(m,n)+αk)n(),vk,(m,n)+βvr=1Vn(),rk,(m,n)+βr{\displaystyle {\begin{aligned}&\propto \prod _{i\neq k}\Gamma \left(n_{m,(\cdot )}^{i,-(m,n)}+\alpha _{i}\right)\prod _{i\neq k}{\frac {\Gamma \left(n_{(\cdot ),v}^{i,-(m,n)}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i,-(m,n)}+\beta _{r}\right)}}\Gamma \left(n_{m,(\cdot )}^{k,-(m,n)}+\alpha _{k}+1\right){\frac {\Gamma \left(n_{(\cdot ),v}^{k,-(m,n)}+\beta _{v}+1\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{k,-(m,n)}+\beta _{r}+1\right)}}\\[8pt]&=\prod _{i\neq k}\Gamma \left(n_{m,(\cdot )}^{i,-(m,n)}+\alpha _{i}\right)\prod _{i\neq k}{\frac {\Gamma \left(n_{(\cdot ),v}^{i,-(m,n)}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i,-(m,n)}+\beta _{r}\right)}}\Gamma \left(n_{m,(\cdot )}^{k,-(m,n)}+\alpha _{k}\right){\frac {\Gamma \left(n_{(\cdot ),v}^{k,-(m,n)}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{k,-(m,n)}+\beta _{r}\right)}}\left(n_{m,(\cdot )}^{k,-(m,n)}+\alpha _{k}\right){\frac {n_{(\cdot ),v}^{k,-(m,n)}+\beta _{v}}{\sum _{r=1}^{V}n_{(\cdot ),r}^{k,-(m,n)}+\beta _{r}}}\\[8pt]&=\prod _{i}\Gamma \left(n_{m,(\cdot )}^{i,-(m,n)}+\alpha _{i}\right)\prod _{i}{\frac {\Gamma \left(n_{(\cdot ),v}^{i,-(m,n)}+\beta _{v}\right)}{\Gamma \left(\sum _{r=1}^{V}n_{(\cdot ),r}^{i,-(m,n)}+\beta _{r}\right)}}\left(n_{m,(\cdot )}^{k,-(m,n)}+\alpha _{k}\right){\frac {n_{(\cdot ),v}^{k,-(m,n)}+\beta _{v}}{\sum _{r=1}^{V}n_{(\cdot ),r}^{k,-(m,n)}+\beta _{r}}}\\[8pt]&\propto \left(n_{m,(\cdot )}^{k,-(m,n)}+\alpha _{k}\right){\frac {n_{(\cdot ),v}^{k,-(m,n)}+\beta _{v}}{\sum _{r=1}^{V}n_{(\cdot ),r}^{k,-(m,n)}+\beta _{r}}}\end{aligned}}}

Note that the same formula is derived in the article on theDirichlet-multinomial distribution, as part of a more general discussion of integratingDirichlet distribution priors out of aBayesian network.

Related problems

[edit]

Related models

[edit]

Topic modeling is a classic solution to the problem ofinformation retrieval using linked data and semantic web technology.[18] Related models and techniques are, among others,latent semantic indexing,independent component analysis,probabilistic latent semantic indexing,non-negative matrix factorization, andGamma-Poisson distribution.

The LDA model is highly modular and can therefore be easily extended. The main field of interest is modeling relations between topics. This is achieved by using another distribution on the simplex instead of the Dirichlet. The Correlated Topic Model[19] follows this approach, inducing a correlation structure between topics by using thelogistic normal distribution instead of the Dirichlet. Another extension is the hierarchical LDA (hLDA),[20] where topics are joined together in a hierarchy by using the nestedChinese restaurant process, whose structure is learnt from data. LDA can also be extended to a corpus in which a document includes two types of information (e.g., words and names), as in theLDA-dual model.[21]Nonparametric extensions of LDA include thehierarchical Dirichlet process mixture model, which allows the number of topics to be unbounded and learnt from data.

As noted earlier, pLSA is similar to LDA. The LDA model is essentially the Bayesian version of pLSA model. The Bayesian formulation tends to perform better on small datasets because Bayesian methods can avoid overfitting the data. For very large datasets, the results of the two models tend to converge. One difference is that pLSA uses a variabled{\displaystyle d} to represent a document in the training set. So in pLSA, when presented with a document the model has not seen before, we fixPr(wz){\displaystyle \Pr(w\mid z)}—the probability of words under topics—to be that learned from the training set and use the same EM algorithm to inferPr(zd){\displaystyle \Pr(z\mid d)}—the topic distribution underd{\displaystyle d}. Blei argues that this step is cheating because you are essentially refitting the model to the new data.

Spatial models

[edit]

In evolutionary biology, it is often natural to assume that the geographic locations of the individuals observed bring some information about their ancestry. This is the rational of various models for geo-referenced genetic data.[15][22]

Variations on LDA have been used to automatically put natural images into categories, such as "bedroom" or "forest", by treating an image as a document, and small patches of the image as words;[23] one of the variations is calledspatial latent Dirichlet allocation.[24]

See also

[edit]

References

[edit]
  1. ^abcPritchard, J. K.; Stephens, M.; Donnelly, P. (June 2000)."Inference of population structure using multilocus genotype data".Genetics.155 (2):pp. 945–959.doi:10.1093/genetics/155.2.945.ISSN 0016-6731.PMC 1461096.PMID 10835412.
  2. ^abcdBlei, David M.; Ng, Andrew Y.;Jordan, Michael I (January 2003). Lafferty, John (ed.)."Latent Dirichlet Allocation".Journal of Machine Learning Research.3 (4–5):pp. 993–1022.doi:10.1162/jmlr.2003.3.4-5.993.
  3. ^Falush, D.; Stephens, M.; Pritchard, J. K. (2003)."Inference of population structure using multilocus genotype data: linked loci and correlated allele frequencies".Genetics.164 (4):pp. 1567–1587.doi:10.1093/genetics/164.4.1567.PMC 1462648.PMID 12930761.
  4. ^Chiu, Kin; Clark, David; Leigh, Eleanor (July 2022)."Characterising Negative Mental Imagery in Adolescent Social Anxiety".Cognitive Therapy and Research.46 (5):956–966.doi:10.1007/s10608-022-10316-x.PMC 9492563.PMID 36156987.
  5. ^Parker, Maria A.; Valdez, Danny; Rao, Varun K.; Eddens, Katherine S.; Agley, Jon (2023)."Results and Methodological Implications of the Digital Epidemiology of Prescription Drug References Among Twitter Users: Latent Dirichlet Allocation (LDA) Analyses".Journal of Medical Internet Research.25 (1) e48405.doi:10.2196/48405.PMC 10422173.PMID 37505795.S2CID 260246078.
  6. ^Mcauliffe, J., & Blei, D. (2007). Supervised Topic Models.Advances in Neural Information Processing Systems,20. https://proceedings.neurips.cc/paper/2007/hash/d56b9fc4b0f1be8871f5e1c40c0067e7-Abstract.html
  7. ^Wilcox, Kenneth Tyler; Jacobucci, Ross; Zhang, Zhiyong; Ammerman, Brooke A. (October 2023)."Supervised latent Dirichlet allocation with covariates: A Bayesian structural and measurement model of text and covariates".Psychological Methods.28 (5):1178–1206.doi:10.1037/met0000541.ISSN 1939-1463.PMC 12364030.PMID 36603124.
  8. ^Guntuku, Sharath Chandra; Talhelm, Thomas; Sherman, Garrick; Fan, Angel; Giorgi, Salvatore; Wei, Liuqing; Ungar, Lyle H. (2024-12-24)."Historical patterns of rice farming explain modern-day language use in China and Japan more than modernization and urbanization".Humanities and Social Sciences Communications.11 (1) 1724:1–21.arXiv:2308.15352.doi:10.1057/s41599-024-04053-7.ISSN 2662-9992.
  9. ^Laureate, Caitlin Doogan Poet; Buntine, Wray; Linger, Henry (2023-12-01)."A systematic review of the use of topic models for short text social media analysis".Artificial Intelligence Review.56 (12):14223–14255.doi:10.1007/s10462-023-10471-x.ISSN 1573-7462.PMC 10150353.PMID 37362887.
  10. ^Parker, Maria A.; Valdez, Danny; Rao, Varun K.; Eddens, Katherine S.; Agley, Jon (2023-07-28)."Results and Methodological Implications of the Digital Epidemiology of Prescription Drug References Among Twitter Users: Latent Dirichlet Allocation (LDA) Analyses".Journal of Medical Internet Research.25 (1) e48405.doi:10.2196/48405.PMC 10422173.PMID 37505795.
  11. ^Lieck, Robert; Moss, Fabian C.;Rohrmeier, Martin (October 2020)."The Tonal Diffusion Model".Transactions of the International Society for Music Information Retrieval.3 (1):pp. 153–164.doi:10.5334/tismir.46.S2CID 225158478.
  12. ^Girolami, Mark; Kaban, A. (2003).On an Equivalence between PLSI and LDA. Proceedings of SIGIR 2003. New York: Association for Computing Machinery.ISBN 1-58113-646-3.
  13. ^Griffiths, Thomas L.; Steyvers, Mark (April 6, 2004)."Finding scientific topics".Proceedings of the National Academy of Sciences.101 (Suppl. 1):5228–5235.Bibcode:2004PNAS..101.5228G.doi:10.1073/pnas.0307752101.PMC 387300.PMID 14872004.
  14. ^Alexander, David H.; Novembre, John; Lange, Kenneth (2009)."Fast model-based estimation of ancestry in unrelated individuals".Genome Research.19 (9):1655–1664.doi:10.1101/gr.094052.109.PMC 2752134.PMID 19648217.
  15. ^abGuillot, G.; Estoup, A.; Mortier, F.; Cosson, J. (2005)."A spatial statistical model for landscape genetics".Genetics.170 (3):pp. 1261–1280.doi:10.1534/genetics.104.033803.PMC 1451194.PMID 15520263.
  16. ^Minka, Thomas; Lafferty, John (2002).Expectation-propagation for the generative aspect model(PDF). Proceedings of the 18th Conference on Uncertainty in Artificial Intelligence. San Francisco, CA: Morgan Kaufmann.ISBN 1-55860-897-4.
  17. ^Yao, Limin; Mimno, David; McCallum, Andrew (2009).Efficient methods for topic model inference on streaming document collections. 15th ACM SIGKDD international conference on Knowledge discovery and data mining.
  18. ^Lamba, Manika; Madhusudhan, Margam (2019). "Mapping of topics in DESIDOC Journal of Library and Information Technology, India: a study".Scientometrics.120 (2):477–505.doi:10.1007/s11192-019-03137-5.S2CID 174802673.
  19. ^Blei, David M.; Lafferty, John D. (2005)."Correlated topic models"(PDF).Advances in Neural Information Processing Systems.18.
  20. ^Blei, David M.;Jordan, Michael I.; Griffiths, Thomas L.; Tenenbaum, Joshua B (2004).Hierarchical Topic Models and the Nested Chinese Restaurant Process(PDF). Advances in Neural Information Processing Systems 16: Proceedings of the 2003 Conference. MIT Press.ISBN 0-262-20152-6.
  21. ^Shu, Liangcai; Long, Bo; Meng, Weiyi (2009).A Latent Topic Model for Complete Entity Resolution(PDF). 25th IEEE International Conference on Data Engineering (ICDE 2009).
  22. ^Guillot, G.; Leblois, R.; Coulon, A.; Frantz, A. (2009)."Statistical methods in spatial genetics".Molecular Ecology.18 (23):pp. 4734–4756.Bibcode:2009MolEc..18.4734G.doi:10.1111/j.1365-294X.2009.04410.x.PMID 19878454.
  23. ^Li, Fei-Fei; Perona, Pietro. "A Bayesian Hierarchical Model for Learning Natural Scene Categories".Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR'05).2:524–531.
  24. ^Wang, Xiaogang; Grimson, Eric (2007)."Spatial Latent Dirichlet Allocation"(PDF).Proceedings of Neural Information Processing Systems Conference (NIPS).


General terms
Text analysis
Text segmentation
Automatic summarization
Machine translation
Distributional semantics models
Language resources,
datasets and corpora
Types and
standards
Data
Automatic identification
and data capture
Topic model
Computer-assisted
reviewing
Natural language
user interface
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Latent_Dirichlet_allocation&oldid=1323449461"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp