[Paper Review] Communication-Efficient Parallel Belief Propagation for Latent Dirichlet Allocation
This paper proposes Communication-Efficient Parallel Belief Propagation (CE-PBP), a novel algorithm that reduces communication overhead in parallel topic modeling by applying Zipf’s law to dynamically adjust synchronization frequency in belief propagation. CE-PBP achieves over 80% lower communication cost and significantly higher topic modeling accuracy than state-of-the-art parallel Gibbs sampling (PGS), with up to 17% of PBP’s communication time and 20% faster training than PGS on large-scale datasets.
This paper presents a novel communication-efficient parallel belief propagation (CE-PBP) algorithm for training latent Dirichlet allocation (LDA). Based on the synchronous belief propagation (BP) algorithm, we first develop a parallel belief propagation (PBP) algorithm on the parallel architecture. Because the extensive communication delay often causes a low efficiency of parallel topic modeling, we further use Zipf's law to reduce the total communication cost in PBP. Extensive experiments on different data sets demonstrate that CE-PBP achieves a higher topic modeling accuracy and reduces more than 80% communication cost than the state-of-the-art parallel Gibbs sampling (PGS) algorithm.
Motivation & Objective
- To address the high communication cost and scalability limitations in parallel topic modeling due to frequent synchronization across processors.
- To improve topic modeling accuracy by replacing sampling-based Gibbs sampling with deterministic belief propagation in a parallel setting.
- To reduce communication overhead in parallel belief propagation using Zipf’s law to model communication frequency across global parameter updates.
- To achieve higher efficiency and scalability in large-scale LDA training without sacrificing modeling accuracy.
- To provide a communication-efficient framework applicable to other parallel algorithms beyond topic modeling.
Proposed method
- Extends synchronous belief propagation (BP) to a parallel architecture (PBP), ensuring identical results to sequential BP.
- Applies Zipf’s law to determine communication rates for synchronizing global parameters, reducing redundant updates.
- Uses a communication rate model where higher-ranked components (more frequent words) are updated more frequently, following power-law distribution.
- Employs a dynamic update strategy where global parameter matrices are synchronized at varying intervals based on word frequency rank.
- Implements message passing using complete messages (not sampled tokens), preserving uncertainty for higher accuracy.
- Optimizes communication by reducing input/output conflicts through asynchronous access patterns in global parameter updates.
Experimental results
Research questions
- RQ1Can belief propagation be effectively parallelized to achieve the same accuracy as sequential BP while scaling efficiently?
- RQ2How can communication cost in parallel topic modeling be reduced without degrading modeling accuracy?
- RQ3Can Zipf’s law be used to model optimal communication frequency for global parameter synchronization in distributed LDA training?
- RQ4How does the communication-efficient PBP (CE-PBP) compare in performance and accuracy to state-of-the-art parallel Gibbs sampling (PGS)?
- RQ5What is the impact of communication reduction on training speed, convergence, and perplexity in large-scale topic modeling?
Key findings
- CE-PBP reduces communication cost by approximately 85% compared to standard PBP and over 80% compared to PGS on multiple datasets.
- The algorithm achieves a 17% communication time relative to PBP, slightly better than the expected 20% due to reduced I/O conflicts.
- CE-PBP achieves significantly lower predictive perplexity than PGS across all tested topic counts (K ∈ {10,20,30,40,50}), indicating higher modeling accuracy.
- CE-PBP is nearly twice as fast as PBP and 20% faster than PGS in training time, with comparable or better convergence behavior.
- Speedup performance of CE-PBP exceeds both PBP and PGS, especially at scale, due to lower communication overhead and higher computation-to-communication ratio (CCR).
- CE-PBP outperforms PGS+ in communication efficiency, achieving a 15% communication cost ratio (vs. 27.5% for PGS+), while also delivering better perplexity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.