hunch_net hunch_net-lda knowledge-graph by maker-knowledge-mining

hunch_net lda model


lda model topics list

topicId: wordWeight*wordName (topN-words)

topic #0: 0.008*probabilities + 0.007*programming + 0.007*calibrated + 0.006*dimensional + 0.006*library + 0.006*local + 0.006*exemplar + 0.006*distributions + 0.006*therefore + 0.006*hamming

topic #1: 0.011*mcallester + 0.007*starts + 0.006*frequentist + 0.006*treatment + 0.006*blog + 0.005*statistician + 0.005*david + 0.005*randomization + 0.005*penalty + 0.005*tendency

topic #2: 0.008*bennett + 0.008*variance + 0.005*servedio + 0.005*klivans + 0.005*rocco + 0.005*crisp + 0.005*kddcup + 0.004*yield + 0.004*definitions + 0.004*incentive

topic #3: 0.011*low + 0.011*reviews + 0.011*confidence + 0.010*authors + 0.010*result + 0.009*comes + 0.009*include + 0.008*theorem + 0.008*care + 0.008*imply

topic #4: 0.010*impromptu + 0.010*session + 0.006*colt + 0.006*presented + 0.006*hat + 0.006*validation + 0.005*presentation + 0.005*cash + 0.005*essays + 0.005*nielsen

topic #5: 0.000*metacademy + 0.000*staggered + 0.000*beyond + 0.000*building + 0.000*carefully + 0.000*charge + 0.000*decisions + 0.000*draw + 0.000*examine + 0.000*fewer

topic #6: 0.008*imdb + 0.005*database + 0.004*claims + 0.004*taste + 0.004*anonymized + 0.003*watching + 0.003*ratings + 0.003*pursuit + 0.003*graphs + 0.002*convergence

topic #7: 0.010*fellows + 0.008*postdocs + 0.008*peekaboom + 0.008*india + 0.007*espgame + 0.006*graduates + 0.005*array + 0.005*wide + 0.005*visit + 0.004*computation

topic #8: 0.006*marginal + 0.005*wortman + 0.003*bethe + 0.003*outer + 0.003*classifications + 0.003*wainwright + 0.003*attractive + 0.003*relaxations + 0.002*partition + 0.002*infinite

topic #9: 0.009*provide + 0.009*naive + 0.008*bayes + 0.007*sham + 0.007*imposed + 0.006*existing + 0.006*losses + 0.006*kakade + 0.006*unsupervised + 0.005*words

topic #10: 0.020*reviewer + 0.011*small + 0.010*authors + 0.009*existing + 0.008*setup + 0.008*difficulties + 0.007*associated + 0.007*main + 0.007*enjoyed + 0.007*variance

topic #11: 0.010*videos + 0.008*hopeful + 0.007*design + 0.006*metaoptimize + 0.005*magical + 0.005*requirements + 0.005*section + 0.005*joseph + 0.005*per + 0.005*relevance

topic #12: 0.009*goldstine + 0.008*herman + 0.008*extensive + 0.007*offset + 0.007*collected + 0.007*yaroslav + 0.007*metric + 0.007*banditron + 0.006*costs + 0.005*partly

topic #13: 0.012*markets + 0.010*link + 0.008*sam + 0.008*olivier + 0.008*information + 0.007*consumers + 0.007*hertzmann + 0.006*topics + 0.006*aaron + 0.006*blog

topic #14: 0.008*entailment + 0.008*sentence + 0.008*boosted + 0.007*ai + 0.006*separate + 0.005*patterns + 0.005*options + 0.005*ping + 0.004*hospital + 0.004*contest

topic #15: 0.008*polls + 0.008*electoralmarkets + 0.004*betting + 0.004*reminded + 0.003*oracles + 0.003*wins + 0.003*determined + 0.003*compare + 0.002*optimize + 0.002*predict

topic #16: 0.008*theo + 0.008*pat + 0.007*partha + 0.007*overfitting + 0.007*characteristics + 0.006*cmu + 0.006*cs + 0.006*visa + 0.005*group + 0.005*cmt

topic #17: 0.012*knows + 0.009*idempotent + 0.008*cs + 0.006*matt + 0.006*statistics + 0.006*commuting + 0.006*ml + 0.005*efficiency + 0.005*hoffman + 0.004*regressors

topic #18: 0.000*metacademy + 0.000*staggered + 0.000*beyond + 0.000*building + 0.000*carefully + 0.000*charge + 0.000*decisions + 0.000*draw + 0.000*examine + 0.000*fewer

topic #19: 0.008*ben + 0.008*proprietary + 0.007*nikos + 0.004*decides + 0.004*default + 0.004*compatible + 0.003*physicists + 0.003*sunday + 0.003*memorial + 0.003*wife

topic #20: 0.008*branch + 0.008*assumption + 0.007*abstraction + 0.006*citations + 0.005*prabhakar + 0.005*wikipedia + 0.004*fern + 0.004*conclusion + 0.004*age + 0.004*usage

topic #21: 0.007*tutorials + 0.007*minima + 0.006*studies + 0.006*path + 0.005*human + 0.005*shortest + 0.005*barriers + 0.005*postconditions + 0.005*preconditions + 0.004*visualization

topic #22: 0.007*atoms + 0.005*viable + 0.005*sept + 0.005*interrupts + 0.004*composition + 0.004*finance + 0.004*principle + 0.004*overhead + 0.004*unstructured + 0.004*accepting

topic #23: 0.005*filterboost + 0.005*adversary + 0.004*apprenticeship + 0.003*transition + 0.003*unifying + 0.003*memorize + 0.003*ng + 0.003*doubtless + 0.003*expert + 0.003*andrew

topic #24: 0.007*hinge + 0.006*composing + 0.006*school + 0.006*usa + 0.005*aids + 0.005*summer + 0.005*proxy + 0.005*week + 0.004*law + 0.004*analogy

topic #25: 0.010*binning + 0.006*panama + 0.006*repository + 0.005*wikipedia + 0.005*uci + 0.004*project + 0.004*benchmark + 0.004*simulated + 0.004*article + 0.004*preservation

topic #26: 0.007*coin + 0.006*posts + 0.005*heads + 0.005*libya + 0.005*mark + 0.005*translation + 0.004*partly + 0.004*errors + 0.004*bias + 0.004*halving

topic #27: 0.011*learning + 0.010*research + 0.009*paper + 0.008*loss + 0.007*many + 0.007*problems + 0.007*online + 0.007*machine + 0.006*one + 0.006*prediction

topic #28: 0.007*request + 0.007*atomic + 0.006*abstracts + 0.006*jl + 0.005*generality + 0.005*earlier + 0.004*planning + 0.004*maximize + 0.004*capturing + 0.003*primary

topic #29: 0.007*gordon + 0.007*encourage + 0.005*geoff + 0.005*aistats + 0.005*likewise + 0.004*china + 0.004*inefficiency + 0.004*submit + 0.003*binomial + 0.003*plan

topic #30: 0.010*streaming + 0.006*bounty + 0.006*validation + 0.005*progressive + 0.005*dollar + 0.005*emphasis + 0.005*concentration + 0.005*gdp + 0.005*roughly + 0.005*filtering

topic #31: 0.012*spam + 0.009*stanford + 0.006*teams + 0.005*autonomous + 0.004*recognize + 0.004*payment + 0.004*completing + 0.003*captcha + 0.003*vehicle + 0.003*declared

topic #32: 0.009*april + 0.008*lihong + 0.007*february + 0.006*submissions + 0.005*interfaces + 0.005*workshop + 0.004*geowinner + 0.004*california + 0.004*british + 0.004*variables

topic #33: 0.010*usual + 0.009*chang + 0.009*metacademy + 0.009*jonathan + 0.007*excellent + 0.007*embeddings + 0.005*nyu + 0.005*aspects + 0.005*surface + 0.005*blog

topic #34: 0.006*similarity + 0.006*collects + 0.006*bulatov + 0.006*path + 0.006*meetup + 0.005*yaroslav + 0.005*introspectionism + 0.005*links + 0.005*posters + 0.005*blogs

topic #35: 0.010*deviation + 0.008*advisor + 0.006*phd + 0.005*february + 0.005*taipei + 0.005*taiwan + 0.005*bootstrap + 0.004*advisors + 0.004*homework + 0.004*settled

topic #36: 0.010*unrestricted + 0.008*bidding + 0.007*scientific + 0.007*challenges + 0.006*yahoo + 0.006*student + 0.005*reviewer + 0.005*key + 0.005*march + 0.005*grant

topic #37: 0.007*snowbird + 0.006*robotics + 0.005*mathematical + 0.005*weblogs + 0.005*standardized + 0.005*pessimistic + 0.005*monthly + 0.005*categories + 0.004*grand + 0.004*driving

topic #38: 0.012*regret + 0.011*reductions + 0.011*reduction + 0.010*would + 0.010*test + 0.009*training + 0.009*predict + 0.008*datasets + 0.008*size + 0.008*efficient

topic #39: 0.006*helped + 0.005*gideon + 0.005*markus + 0.005*winter + 0.005*canada + 0.004*yehuda + 0.004*prizes + 0.004*cash + 0.004*vancouver + 0.004*expertise

topic #40: 0.006*ditto + 0.005*introduction + 0.003*zoo + 0.003*xor + 0.003*businesses + 0.003*circuit + 0.003*depth + 0.003*shallow + 0.002*identification + 0.002*bits

topic #41: 0.008*motivation + 0.003*prevailing + 0.003*increment + 0.002*motivational + 0.002*popularity + 0.002*paragraph + 0.002*regard + 0.002*frankly + 0.002*wisdom + 0.002*career

topic #42: 0.007*acm + 0.005*peer + 0.005*webpages + 0.005*journals + 0.005*sigact + 0.005*society + 0.005*recommend + 0.005*hotel + 0.004*links + 0.004*benefits

topic #43: 0.012*patent + 0.008*patents + 0.005*mismatch + 0.003*viterbi + 0.003*crfs + 0.003*wonder + 0.003*john + 0.002*trolls + 0.002*troll + 0.002*procedure

topic #44: 0.015*land + 0.007*expanded + 0.005*officially + 0.005*afternoon + 0.005*data + 0.005*vancouver + 0.004*preconditioner + 0.004*separate + 0.004*held + 0.004*happening

topic #45: 0.005*events + 0.004*probabilities + 0.004*binning + 0.004*observable + 0.004*marty + 0.004*zinkevich + 0.004*newton + 0.004*regret + 0.003*satyen + 0.003*modification

topic #46: 0.008*march + 0.008*validation + 0.006*february + 0.006*master + 0.006*cross + 0.006*wealth + 0.005*searn + 0.005*expert + 0.005*smell + 0.005*global

topic #47: 0.007*en + 0.006*arthur + 0.006*gretton + 0.005*turned + 0.005*summit + 0.005*directed + 0.005*department + 0.004*cmu + 0.004*memorization + 0.004*covering

topic #48: 0.008*preference + 0.007*network + 0.007*codes + 0.007*response + 0.006*series + 0.006*load + 0.006*rarely + 0.006*survey + 0.006*elements + 0.005*weighting

topic #49: 0.010*symmetry + 0.009*put + 0.007*breaking + 0.007*survey + 0.006*send + 0.006*filter + 0.005*parallelization + 0.005*claims + 0.005*filters + 0.005*purpose

topic #50: 0.008*entropy + 0.003*duality + 0.003*regularization + 0.003*primal + 0.003*regularized + 0.003*sleight + 0.003*flows + 0.002*unifying + 0.002*generalizes + 0.002*expectation

topic #51: 0.011*descent + 0.007*gradient + 0.006*medium + 0.006*ram + 0.006*guarantees + 0.005*colocation + 0.005*reasonably + 0.005*rules + 0.005*volunteers + 0.005*cwgd

topic #52: 0.012*state + 0.007*frequentist + 0.005*notion + 0.004*phrased + 0.004*probabilities + 0.004*stock + 0.004*mapreduce + 0.003*statistic + 0.003*abstracted + 0.003*urs

topic #53: 0.015*problem + 0.013*conference + 0.012*performance + 0.011*things + 0.010*bayesian + 0.010*features + 0.009*methods + 0.009*think + 0.009*algorithm + 0.009*future

topic #54: 0.008*yisong + 0.008*yue + 0.006*regularizer + 0.006*analytics + 0.006*business + 0.006*endemic + 0.006*forward + 0.005*scientist + 0.005*commercial + 0.005*predictive

topic #55: 0.013*icml + 0.011*new + 0.011*year + 0.011*workshops + 0.010*colt + 0.009*due + 0.009*papers + 0.009*may + 0.008*review + 0.008*open

topic #56: 0.013*presentation + 0.008*audience + 0.008*detail + 0.007*presenting + 0.007*personally + 0.006*proof + 0.006*shy + 0.005*missing + 0.005*demand + 0.005*founder

topic #57: 0.009*competition + 0.004*warning + 0.003*direct + 0.003*november + 0.003*soccer + 0.003*helicopter + 0.003*aim + 0.003*facilitate + 0.003*finland + 0.003*helsinki

topic #58: 0.012*mailing + 0.008*august + 0.006*th + 0.006*industrial + 0.006*multitask + 0.006*ocr + 0.005*eric + 0.005*shared + 0.005*jobs + 0.004*catalina

topic #59: 0.008*lucca + 0.007*submodularity + 0.006*eg + 0.004*tenured + 0.003*heritage + 0.003*convexity + 0.003*faculty + 0.003*nina + 0.003*home + 0.003*caltech

topic #60: 0.009*women + 0.005*san + 0.005*diego + 0.005*watson + 0.005*workshop + 0.005*peekaboom + 0.005*held + 0.005*http + 0.004*file + 0.004*october

topic #61: 0.007*videolecture + 0.006*attempting + 0.005*powers + 0.005*paul + 0.005*videolectures + 0.005*scientists + 0.005*article + 0.005*detail + 0.005*representative + 0.005*seriously

topic #62: 0.011*rexa + 0.009*mdl + 0.007*linux + 0.005*visa + 0.005*local + 0.004*ticket + 0.004*treasurer + 0.004*account + 0.004*acl + 0.004*display

topic #63: 0.008*game + 0.007*mutual + 0.007*cameras + 0.006*peekaboom + 0.005*espgame + 0.005*coding + 0.005*dimensional + 0.003*power + 0.003*net + 0.003*info

topic #64: 0.009*roc + 0.009*recognition + 0.006*martin + 0.006*answers + 0.006*missing + 0.006*additional + 0.006*together + 0.005*put + 0.005*named + 0.005*curve

topic #65: 0.007*risk + 0.005*memorized + 0.005*excess + 0.005*victory + 0.004*concepts + 0.004*ms + 0.004*estimators + 0.003*delivering + 0.003*practicing + 0.003*prioritizes

topic #66: 0.009*maxent + 0.008*alt + 0.004*submodular + 0.004*compete + 0.004*indicator + 0.004*periodically + 0.004*breath + 0.004*entropy + 0.003*semantic + 0.003*guestrin

topic #67: 0.008*refers + 0.007*tms + 0.007*cmt + 0.006*document + 0.006*finally + 0.006*evaluation + 0.006*credit + 0.006*john + 0.005*holding + 0.005*mistake

topic #68: 0.008*design + 0.008*life + 0.007*grant + 0.007*proposals + 0.006*academic + 0.006*else + 0.006*advertisements + 0.006*incentive + 0.006*projects + 0.005*nature

topic #69: 0.007*notions + 0.005*fundementally + 0.004*spread + 0.002*raises + 0.002*boil + 0.002*captures + 0.002*classic + 0.002*ties + 0.002*rademacher + 0.002*meets

topic #70: 0.006*styles + 0.004*engineering + 0.004*probabilistic + 0.004*surprise + 0.003*surprises + 0.003*unpleasant + 0.003*appreciating + 0.003*shame + 0.003*modeling + 0.003*subroutine

topic #71: 0.009*debugging + 0.008*locality + 0.008*mapreduce + 0.008*weeks + 0.007*subproblems + 0.007*allreduce + 0.006*structural + 0.005*hadoop + 0.005*regards + 0.004*january

topic #72: 0.009*width + 0.007*halfspace + 0.006*spammy + 0.006*ci + 0.006*lev + 0.006*fellows + 0.005*halfspaces + 0.004*fallacy + 0.004*confront + 0.004*draft

topic #73: 0.006*asking + 0.006*awake + 0.006*jordan + 0.005*institute + 0.005*simons + 0.004*michael + 0.003*programs + 0.003*junior + 0.003*cultural + 0.003*dependence

topic #74: 0.008*artificial + 0.008*defect + 0.007*parallel + 0.007*linkage + 0.006*mailing + 0.006*google + 0.005*messages + 0.005*nonprofit + 0.005*imls + 0.005*usa

topic #75: 0.010*aaai + 0.008*helsinki + 0.008*feb + 0.008*looks + 0.008*fun + 0.007*iteration + 0.006*finland + 0.006*student + 0.006*july + 0.006*experiment

topic #76: 0.005*speeding + 0.004*processor + 0.004*statistical + 0.003*trend + 0.002*ibm + 0.002*simplest + 0.002*making + 0.002*chips + 0.002*designs + 0.002*multicore

topic #77: 0.014*prior + 0.013*approximation + 0.009*actions + 0.009*posterior + 0.008*dependence + 0.008*settings + 0.008*lda + 0.008*reward + 0.007*playing + 0.006*ordering

topic #78: 0.008*multitask + 0.006*controlled + 0.005*trade + 0.005*clusters + 0.004*florida + 0.004*sept + 0.004*stats + 0.004*november + 0.004*software + 0.004*sse

topic #79: 0.008*trends + 0.008*notation + 0.008*reid + 0.007*mark + 0.007*projections + 0.006*posed + 0.005*generative + 0.005*threaded + 0.004*bing + 0.004*criteria

topic #80: 0.006*prior + 0.006*expresses + 0.005*reductionist + 0.005*sponsor + 0.005*conference + 0.004*roles + 0.004*saying + 0.004*falls + 0.004*direct + 0.004*announcing

topic #81: 0.005*scotland + 0.005*usa + 0.005*edinburgh + 0.005*quantitative + 0.004*toy + 0.003*rarely + 0.003*pa + 0.003*il + 0.003*bonn + 0.003*bertinoro

topic #82: 0.005*counting + 0.004*workshop + 0.004*erm + 0.003*scaling + 0.003*helsinki + 0.003*benefited + 0.003*happened + 0.003*schedule + 0.003*official + 0.003*adaboost

topic #83: 0.008*everyday + 0.007*acceptance + 0.007*davor + 0.006*live + 0.006*mlss + 0.006*predictive + 0.005*addressed + 0.005*video + 0.005*department + 0.005*majority

topic #84: 0.008*engine + 0.008*ibm + 0.008*lab + 0.007*company + 0.006*treatments + 0.006*inherent + 0.006*blog + 0.005*added + 0.005*deterministic + 0.005*clinical

topic #85: 0.008*england + 0.008*regional + 0.008*poster + 0.005*weak + 0.004*neighbors + 0.004*abstracts + 0.004*meet + 0.004*kalai + 0.004*latex + 0.004*reject

topic #86: 0.008*parallelize + 0.007*march + 0.006*undeniably + 0.006*fastest + 0.005*australia + 0.005*industry + 0.005*serial + 0.005*ignoring + 0.005*happened + 0.005*deep

topic #87: 0.005*audience + 0.003*differs + 0.003*organizers + 0.003*focused + 0.003*posters + 0.003*posts + 0.003*panel + 0.003*presentation + 0.003*duration + 0.003*valued

topic #88: 0.007*yaser + 0.006*amusing + 0.006*fine + 0.005*guides + 0.005*contest + 0.005*remarkably + 0.005*lectures + 0.005*journal + 0.004*region + 0.004*civilization

topic #89: 0.008*nsf + 0.008*languages + 0.007*focused + 0.006*sebastien + 0.006*bubeck + 0.006*darpa + 0.006*volunteered + 0.006*invite + 0.006*article + 0.005*attempting

topic #90: 0.009*impressive + 0.008*intuition + 0.008*notes + 0.008*bibtex + 0.007*election + 0.007*blogging + 0.007*bulletin + 0.007*nielsen + 0.007*pdf + 0.006*spock

topic #91: 0.007*solvable + 0.005*optimizations + 0.004*parsing + 0.004*disk + 0.004*libraries + 0.003*array + 0.003*direct + 0.003*efficiently + 0.003*tuned + 0.003*amortization

topic #92: 0.013*chairs + 0.010*interactive + 0.010*final + 0.010*speakers + 0.008*participants + 0.007*team + 0.006*interaction + 0.006*asymmetric + 0.005*ensemble + 0.005*attended

topic #93: 0.006*major + 0.006*overviews + 0.006*tag + 0.004*somebody + 0.004*cluster + 0.004*stock + 0.003*studying + 0.003*outlining + 0.003*skiing + 0.003*picking

topic #94: 0.016*algorithms + 0.013*algorithm + 0.011*number + 0.011*data + 0.010*often + 0.009*information + 0.009*make + 0.009*used + 0.008*approaches + 0.008*significant

topic #95: 0.013*workshop + 0.010*models + 0.009*students + 0.009*scale + 0.009*questions + 0.008*data + 0.008*particular + 0.008*expect + 0.007*making + 0.007*privacy

topic #96: 0.010*yahoo + 0.008*september + 0.007*abstracts + 0.006*discussing + 0.005*cope + 0.005*worst + 0.004*greatest + 0.004*sequences + 0.004*programmers + 0.004*understands

topic #97: 0.009*graduating + 0.007*stats + 0.004*phds + 0.003*students + 0.003*chances + 0.003*advisors + 0.003*publications + 0.003*emphasizes + 0.002*candidate + 0.002*places

topic #98: 0.011*gradient + 0.007*descent + 0.007*day + 0.007*contest + 0.006*gradients + 0.005*collaborator + 0.005*yields + 0.004*clever + 0.004*collaborations + 0.004*fly

topic #99: 0.011*fiction + 0.005*simultaneous + 0.005*science + 0.004*cluster + 0.004*imagining + 0.003*incidentally + 0.003*runs + 0.002*gradually + 0.002*fire + 0.002*serve






Latent Dirichlet allocation

In natural language processing, latent Dirichlet allocation (LDA) is a generative model that allows sets of observations to be explained by unobserved groups that explain why some parts of the data are similar. For example, if observations are words collected into documents, it posits that each document is a mixture of a small number of topics and that each word's creation is attributable to one of the document's topics. LDA is an example of a topic model and was first presented as a graphical model for topic discovery by David Blei, Andrew Ng, and Michael Jordan in 2003.

Topics in LDA

In LDA, each document may be viewed as a mixture of various topics. This is similar to probabilistic latent semantic analysis (pLSA), except that in LDA the topic distribution is assumed to have a Dirichlet prior. In practice, this results in more reasonable mixtures of topics in a document. It has been noted, however, that the pLSA model is equivalent to the LDA model under a uniform Dirichlet prior distribution.

For example, an LDA model might have topics that can be classified as CAT_related and DOG_related. A topic has probabilities of generating various words, such as milk, meow, and kitten, which can be classified and interpreted by the viewer as "CAT_related". Naturally, the word cat itself will have high probability given this topic. The DOG_related topic likewise has probabilities of generating each word: puppy, bark, and bone might have high probability. Words without special relevance, such as the (see function word), will have roughly even probability between classes (or can be placed into a separate category). A topic is not strongly defined, neither semantically nor epistemologically. It is identified on the basis of supervised labeling and (manual) pruning on the basis of their likelihood of co-occurrence. A lexical word may occur in several topics with a different probability, however, with a different typical set of neighboring words in each topic.

Each document is assumed to be characterized by a particular set of topics. This is akin to the standard bag of words model assumption, and makes the individual words exchangeable.

Model

With plate notation, the dependencies among the many variables can be captured concisely. The boxes are “plates” representing replicates. The outer plate represents documents, while the inner plate represents the repeated choice of topics and words within a document. M denotes the number of documents, N the number of words in a document. Thus:

α 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,

\theta_i is the topic distribution for document i,

\phi_k is the word distribution for topic k,

z_{ij} is the topic for the jth word in document i, and

w_{ij} is the specific word.

The w_{ij} are the only observable variables, and the other variables are latent variables. Mostly, the basic LDA model will be extended to a smoothed version to gain better results .[citation needed] The plate notation is shown on the right, where K denotes the number of topics considered in the model and:

\phi is a K*V (V is the dimension of the vocabulary) Markov matrix each row of which denotes the word distribution of a topic.

The generative process behind is that documents are represented as random mixtures over latent topics, where each topic is characterized by a distribution over words. LDA assumes the following generative process for a corpus D consisting of M documents each of length N_i:

1. Choose \theta_i \, \sim \, \mathrm{Dir}(\alpha) , where i \in \{ 1,\dots,M \} and \mathrm{Dir}(\alpha) is the Dirichlet distribution for parameter \alpha

2. Choose \phi_k \, \sim \, \mathrm{Dir}(\beta) , where k \in \{ 1,\dots,K \}

3. For each of the word positions i, j, where j \in \{ 1,\dots,N_i \} , and i \in \{ 1,\dots,M \}

(a) Choose a topic z_{i,j} \,\sim\, \mathrm{Multinomial}(\theta_i).

(b) Choose a word w_{i,j} \,\sim\, \mathrm{Multinomial}( \phi_{z_{i,j}}) .

(Note that the Multinomial distribution here refers to the Multinomial with only one trial. It is formally equivalent to the categorical distribution.)

The lengths N_i are treated as independent of all the other data generating variables (q and z). The subscript is often dropped, as in the plate diagrams shown here.

Inference

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 of Bayesian inference. The original paper used a variational Bayes approximation of the posterior distribution;[1] alternative inference techniques use Gibbs sampling and expectation propagation.

Following is the derivation of the equations for collapsed Gibbs sampling, which means \varphis and \thetas will be integrated out. For simplicity, in this derivation the documents are all assumed to have the same length N_{}. The derivation is equally valid if the document lengths vary.

Applications, extensions and similar techniques

Topic modeling is a classic problem in information retrieval. Related models and techniques are, among others, latent semantic indexing, independent component analysis, probabilistic latent semantic indexing, non-negative matrix factorization, and Gamma-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 follows this approach, inducing a correlation structure between topics by using the logistic normal distribution instead of the Dirichlet. Another extension is the hierarchical LDA (hLDA), where topics are joined together in a hierarchy by using the nested Chinese restaurant process. LDA can also be extended to a corpus in which a document includes two types of information (e.g., words and names), as in the LDA-dual model. Nonparametric extensions of LDA include the Hierarchical Dirichlet process mixture model, which allows the number of topics to be unbounded and learnt from data and the Nested Chinese Restaurant Process which allows topics to be arranged in a hierarchy whose structure is 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. In a very large dataset, the results are probably the same. One difference is that PLSA uses a variable d to represent a document in the training set. So in PLSA, when presented with a document the model hasn't seen before, we fix \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 infer \Pr(z \mid d)—the topic distribution under d. Blei argues that this step is cheating because you are essentially refitting the model to the new data.

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; one of the variations is called Spatial Latent Dirichlet Allocation.

from wiki http://en.wikipedia.org/wiki/Latent_Dirichlet_allocation