[Paper Review] On a Topic Model for Sentences
This paper proposes sentenceLDA, an extension of Latent Dirichlet Allocation (LDA) that models topics at the sentence level by enforcing topic consistency within coherent text spans. By incorporating sentence-level structure into the generative process, sentenceLDA achieves significantly faster convergence—up to 12 times faster on complex datasets—while improving both perplexity and text classification performance, especially with larger training sets.
Probabilistic topic models are generative models that describe the content of documents by discovering the latent topics underlying them. However, the structure of the textual input, and for instance the grouping of words in coherent text spans such as sentences, contains much information which is generally lost with these models. In this paper, we propose sentenceLDA, an extension of LDA whose goal is to overcome this limitation by incorporating the structure of the text in the generative and inference processes. We illustrate the advantages of sentenceLDA by comparing it with LDA using both intrinsic (perplexity) and extrinsic (text classification) evaluation tasks on different text collections.
Motivation & Objective
- To address the limitation of standard topic models like LDA, which treat documents as bags of words and ignore sentence-level coherence.
- To incorporate structural information from coherent text spans such as sentences into topic modeling to improve topic discovery and representation.
- To develop a generative model that enforces topic consistency within sentences, thereby reflecting the natural linguistic structure of text.
- To evaluate the proposed model using both intrinsic (perplexity) and extrinsic (text classification) benchmarks across diverse text collections.
- To demonstrate that modeling topics at the sentence level leads to more efficient and effective document representations for downstream tasks.
Proposed method
- Extends LDA by introducing a new plate in the graphical model to represent coherent text spans, such as sentences, as units of topic assignment.
- Modifies the generative process so that all words in a sentence share the same topic distribution, enforcing topic consistency within sentence-level spans.
- Derives a collapsed Gibbs sampler for inference, with conditional probabilities that account for topic assignments within sentence segments.
- Uses a multidimensional beta function (Dirichlet-multinomial conjugate prior) to compute topic-word and document-topic posteriors.
- Applies the model to Wikipedia and PubMed datasets, using both intrinsic and extrinsic evaluation protocols.
- Combines LDA and sentenceLDA representations via concatenation to explore complementary benefits in classification tasks.
Experimental results
Research questions
- RQ1Can modeling topics at the sentence level improve the performance of topic models compared to standard LDA?
- RQ2Does enforcing topic consistency within sentences lead to faster convergence during inference?
- RQ3How does sentence-level topic modeling affect intrinsic evaluation metrics such as perplexity?
- RQ4To what extent does sentenceLDA improve extrinsic performance in text classification tasks?
- RQ5Can combining LDA and sentenceLDA representations yield better classification results than using either model alone?
Key findings
- sentenceLDA converges over 8 times faster than LDA on the PubMed dataset, requiring only 332 seconds for 25 iterations compared to LDA’s 2770 seconds.
- On the WikiTrain2 dataset, sentenceLDA achieves convergence in 332 seconds (25 iterations), while LDA requires over 160 iterations, showing a 30% speed improvement.
- sentenceLDA outperforms LDA in F1-score on text classification tasks, with performance gains increasing as training set size grows.
- The concatenated representation of LDA and sentenceLDA outputs (denoted 'senLDA+') achieves the best classification performance, combining fast convergence with high accuracy.
- The faster convergence of sentenceLDA is attributed to stronger structural constraints from sentence-level topic consistency, leading to more efficient inference.
- Perplexity and classification results consistently favor sentenceLDA, confirming that sentence-level modeling captures more informative and discriminative document representations.
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.