Abstract
Extracting meaningful themes and sentiments from sparse short texts, such as tweets and customer reviews, remains a significant challenge in Natural Language Processing. Traditional models often fail due to the lack of word co-occurrence in brief documents. This paper introduces the Embedding Enhanced Labeled Joint Sentiment Topic (ELJST) model. ELJST integrates contextual word embeddings (e.g., BERT) with a Markov Random Field (MRF) regularizer to bridge the sparsity gap. Experimental results across five datasets demonstrate that ELJST achieves a 10% improvement in topic coherence and a 20% boost in clustering accuracy over existing state-of-the-art methods.
Introduction
Analyzing short texts is a "sparsity" nightmare for traditional NLP. Classic models like Latent Dirichlet Allocation (LDA) rely heavily on word co-occurrence; however, a 280-character tweet rarely contains enough overlapping vocabulary for a model to recognize that two different posts discuss the same theme.
Furthermore, existing Joint Sentiment-Topic (JST) models often ignore valuable external metadata, such as the 1-to-5 star ratings provided by users. They also struggle to capture "long-distance" relationships between words—for instance, failing to link "claims" and "payment" if they appear at opposite ends of a sentence. ELJST addresses these limitations by incorporating semantic embeddings and supervised labels into a unified generative framework.
Methodology
The ELJST model is a generative framework that combines three core innovations:
- Joint Modeling: Unlike pipeline approaches that separate topic and sentiment extraction, ELJST treats them as inseparable. It assumes words are generated based on specific topic-sentiment pairs (e.g., a "Positive" sentiment applied to a "Customer Service" topic).
- Markov Random Field (MRF) Regularizer: To combat sparsity, the model constructs an undirected graph for each document where words act as nodes. If two words are semantically similar, an edge is drawn between them. This regularizer "nudges" the model to assign similar topics to semantically related words, even if they do not frequently co-occur.
- Embedding Integration: The model leverages pre-trained embeddings such as Word2Vec, fastText, and BERT. Specifically, it utilizes BERT’s self-attention weights to construct the MRF graph, allowing the model to use deep contextual knowledge to determine word relationships within a specific sentence.
- Supervision: Document-level labels (e.g., star ratings) are incorporated as "priors," guiding the model toward more accurate sentiment discovery rather than relying solely on unsupervised clustering.
Key Insights and Ideas
A primary strength of ELJST is its use of Embeddings as a Bridge. By utilizing external semantic knowledge, the model "understands" that terms like king and queen are related, effectively solving the sparsity problem without requiring both words to appear in the same document.
The authors also found that Attention is Superior to Distance. Using BERT’s internal attention mechanism to build the word-relationship graph outperformed simple cosine similarity. Attention captures how words function within a specific context, whereas static embeddings treat a word identically regardless of its usage. Finally, Labels Matter: incorporating user-provided ratings anchors the topic discovery, preventing the model from drifting into incoherent clusters.
Key Results
ELJST was evaluated against several baselines, including traditional JST and newer embedding-based models like ETM, across five datasets (Amazon Reviews, Twitter, and Internal Feedback).
- Topic Coherence: ELJST achieved a 10% average improvement in Topic-Sentiment Coherence Score (TSCS), indicating that the words within discovered topics were more logically related.
- Clustering Accuracy: In document clustering tasks (measured by H-Score), ELJST showed a drastic improvement of over 20% compared to baselines.
- Diversity: The model produced a 5% increase in topic diversification, reducing the redundancy often seen in LDA-based models.
- Generative Performance: The model exhibited significantly lower Perplexity scores, indicating a superior ability to model the distribution of real-world text.
Conclusion and Future Work
While ELJST performs exceptionally well with labeled data, its performance in purely unsupervised environments remains an area for further exploration. Additionally, the computational cost of building an MRF graph for every document—especially when extracting weights from large models like BERT—is higher than traditional bag-of-words approaches. Future work will focus on adapting ELJST for streaming data (e.g., real-time social media monitoring) and refining automated lexicon generation to further reduce the need for manual sentiment dictionaries.
Summary updated