Description
Latent Dirichlet Allocation (LDA) parameters can be inferred using online variational inference, as in Hoffman, Blei and Bach. “Online Learning for Latent Dirichlet Allocation.” NIPS, 2010. This algorithm should be very efficient and should be able to handle much larger datasets than batch algorithms for LDA.
This algorithm will also be important for supporting Streaming versions of LDA.
The implementation will ideally use the same API as the existing LDA but use a different underlying optimizer.
This will require hooking in to the existing mllib.optimization frameworks.
This will require some discussion about whether batch versions of online variational inference should be supported, as well as what variational approximation should be used now or in the future.
Attachments
Issue Links
- is required by
-
SPARK-5572 LDA improvement listing
- Resolved
- relates to
-
SPARK-6259 Python API for LDA
- Resolved
-
SPARK-7421 Online LDA cleanups
- Resolved
-
SPARK-7475 adjust ldaExample for online LDA
- Resolved
-
SPARK-7496 User guide update for Online LDA
- Closed
- links to