In
machine learning and
natural language processing
Natural language processing (NLP) is an interdisciplinary subfield of linguistics, computer science, and artificial intelligence concerned with the interactions between computers and human language, in particular how to program computers to pro ...
, the pachinko allocation model (PAM) is a
topic model. Topic models are a suite of algorithms to uncover the hidden thematic structure of a collection of documents.
The algorithm improves upon earlier topic models such as
latent Dirichlet allocation (LDA) by modeling correlations between topics in addition to the word correlations which constitute topics. PAM provides more flexibility and greater expressive power
than latent Dirichlet allocation.
While first described and implemented in the context of natural language processing, the algorithm may have applications in other fields such as
bioinformatics
Bioinformatics () is an interdisciplinary field that develops methods and software tools for understanding biological data, in particular when the data sets are large and complex. As an interdisciplinary field of science, bioinformatics combi ...
. The
model is named for
pachinko machines—a game popular in Japan, in which metal balls bounce down around
a complex collection of pins until they land in various
bins at the bottom.
History
Pachinko allocation was first described by Wei Li and
Andrew McCallum in 2006.
The idea was extended with hierarchical Pachinko allocation by Li, McCallum, and David Mimno in 2007.
In 2007, McCallum and his colleagues proposed a nonparametric Bayesian prior for PAM based
on a variant of the hierarchical Dirichlet process (HDP).
The algorithm has been implemented in the
MALLET
A mallet is a tool used for imparting force on another object, often made of rubber or sometimes wood, that is smaller than a maul or beetle, and usually has a relatively large head. The term is descriptive of the overall size and proport ...
software package published by McCallum's group at the
University of Massachusetts Amherst.
Model
PAM connects words in V and topics in T with an arbitrary
directed acyclic graph (DAG), where topic nodes occupy the interior levels and the leaves are words.
The probability of generating a whole corpus is the product of the probabilities for every document:
See also
*
Probabilistic latent semantic indexing (PLSI), an early topic model from Thomas Hofmann in 1999.
*
Latent Dirichlet allocation, a generalization of PLSI developed by
David Blei,
Andrew Ng, and
Michael Jordan
Michael Jeffrey Jordan (born February 17, 1963), also known by his initials MJ, is an American businessman and former professional basketball player. His biography on the official NBA website states: "By acclamation, Michael Jordan is the g ...
in 2002, allowing documents to have a mixture of topics.
*
MALLET
A mallet is a tool used for imparting force on another object, often made of rubber or sometimes wood, that is smaller than a maul or beetle, and usually has a relatively large head. The term is descriptive of the overall size and proport ...
, an open-source Java library that implements Pachinko allocation.
References
External links
Mixtures of Hierarchical Topics with Pachinko Allocation a video recording of David Mimno presenting HPAM in 2007.
Statistical natural language processing
Latent variable models
{{comp-sci-stub