Sentence level topic modeling improves understanding of mixed documents
Sentence-Level Topic Modeling with Lexical and Contextual Evidence
Computation and LanguageMachine Learning
Summary
Identifying topics in documents is tricky because many texts cover multiple subjects, and single words alone often don’t give enough clues. The authors propose SentenceETM, a model that assigns topics to each sentence by combining the meanings of words and the context around each sentence. It uses mathematical methods to represent topics and sentences in a way that blends these two types of information. Their tests show this approach is better at figuring out sentence topics than previous methods. They also show how sentence-level topics can reveal details in real conversations, like presidential debates.
What this means in practice
- •For content analysts: Assign topics accurately to individual sentences in mixed-topic documents for better content understanding and summarization.
- •For debate moderators: Analyze candidate positions on multiple topics at the sentence level to reveal nuanced discussion patterns in political debates.
Authors
Federica Granese, Serena Villata, Charles Bouveyron
Abstract
Topic modeling faces a fundamental granularity dilemma: probabilistic topic models assign topics at the word level, whereas transformer-based methods operate at the document level. The latter overlooks that real-world documents typically cover multiple topics, whereas the former relies on individual words, which rarely provide sufficient context to identify them. We introduce SentenceETM, a neural topic model that assigns a topic to each sentence by jointly using lexical and contextual evidence. Each topic is described both by a distribution over the vocabulary, defined through word embeddings, and by a Gaussian over sentence embeddings concentrated on a topic-specific low-dimensional subspace. The topic of a sentence generates both its words and its embedding and is marginalized exactly, so that its posterior combines the two sources of evidence. Document proportions are inferred with amortized variational inference, while the Gaussian parameters are re-estimated in closed form. Experiments show that SentenceETM consistently improves sentence-level topic assignment over state-of-the-art approaches, and a case study of a presidential debate shows how sentence-level topics reveal how candidates handle the same subjects.