Coursework · Northwestern MSDS 453 (NLP)
Sparse vs. dense representations for short social-media text
Do pretrained sentence embeddings find richer unsupervised structure in short posts than bag-of-words, and is the extra compute worth it? I compared TF-IDF, Doc2Vec, and Sentence-BERT under matched conditions on two corpora.
Setup
- Sentiment140: about 100K tweets with binary sentiment labels, so clustering can be scored against ground truth.
- Bluesky: about 100K unlabeled English posts from a 7.8M-post corpus, as a contemporary, exploratory test.
- K-means on each representation with k chosen by silhouette; LDA topics with T chosen by Cv coherence; VADER as a no-training sentiment baseline.
Findings
| Representation | Best silhouette (S140 / Bluesky) | ARI vs. sentiment |
|---|---|---|
| TF-IDF | 0.007 / 0.008 | 0.01 |
| Doc2Vec | 0.034 / 0.037 (k = 2 only) | 0.00 |
| Sentence-BERT | 0.019 / 0.023 | 0.00 |
- No representation recovers the sentiment partition through unsupervised clustering; short, noisy posts resist it.
- Dense embeddings beat TF-IDF only slightly, which matters little when ARI is about zero across the board.
- LDA coherence tracked corpus diversity (0.62 on Bluesky vs. 0.49 on Sentiment140), not representation quality.
- VADER, with no training at all, reached F1 = 0.75 on binary sentiment, a bar clustering never approached.
Takeaway
For this kind of text, the overhead of dense embeddings is hard to justify for unsupervised sentiment discovery. A cheap lexicon baseline is the honest benchmark to beat.