Skip to main content
QUICK REVIEW

[Paper Review] Tweet Insights: A Visualization Platform to Extract Temporal Insights from Twitter

Daniel Loureiro, Kiamehr Rezaee|arXiv (Cornell University)|Aug 4, 2023
Complex Network Analysis TechniquesPhysics and Astronomy3 citations
TL;DR

This paper introduces Tweet Insights, a visualization platform that extracts temporal linguistic insights from 220 million English tweets (2018–2022) using precomputed time series of word frequency, embedding similarity, sentiment, and topic distribution. By leveraging fine-tuned language models and word embeddings, the platform enables detection of meaning shifts tied to events—such as movie releases or political events—beyond simple popularity trends.

ABSTRACT

This paper introduces a large collection of time series data derived from Twitter, postprocessed using word embedding techniques, as well as specialized fine-tuned language models. This data comprises the past five years and captures changes in n-gram frequency, similarity, sentiment and topic distribution. The interface built on top of this data enables temporal analysis for detecting and characterizing shifts in meaning, including complementary information to trending metrics, such as sentiment and topic association over time. We release an online demo for easy experimentation, and we share code and the underlying aggregated data for future work. In this paper, we also discuss three case studies unlocked thanks to our platform, showcasing its potential for temporal linguistic analysis.

Motivation & Objective

  • To address the challenge of analyzing long-term, large-scale linguistic changes on Twitter due to its noisy, informal, and dynamic nature.
  • To provide non-expert users with an accessible tool for real-time temporal analysis of word-level statistics beyond basic frequency counts.
  • To enable detection of semantic shifts associated with trending events by integrating multiple NLP signals (sentiment, topics, embeddings).
  • To release a publicly accessible demo, code, and aggregated data to support reproducibility and future research in computational social science and NLP.

Proposed method

  • Collected 220 million English tweets from the Twitter Academic API (2018–2022), excluding retweets, media tweets, and non-content-rich posts.
  • Preprocessed tweets by anonymizing non-verified user mentions and removing URLs, then tokenized using NLTK’s TweetTokenizer.
  • Identified n-grams (unigrams, bigrams, trigrams) using statistical co-occurrence scoring (Mikolov et al., 2013) with thresholds to filter low-frequency or noisy phrases.
  • Computed diachronic word embeddings using a fine-tuned BERT-based model to capture temporal shifts in word meaning across time intervals.
  • Applied a fine-tuned RoBERTa model for sentiment classification, generating time-series sentiment scores per word.
  • Used a topic modeling approach (LDA or similar) to extract evolving topic distributions associated with each word over time.

Experimental results

Research questions

  • RQ1To what extent can word frequency spikes on Twitter be linked to semantic shifts rather than just popularity events?
  • RQ2How do word embeddings and topic distributions change in response to high-impact cultural or political events, such as film releases or elections?
  • RQ3Can sentiment and topic signals help distinguish between temporary virality and lasting semantic change in word usage?
  • RQ4To what extent do existing tools like Google Trends fail to capture nuanced meaning shifts compared to multi-faceted NLP analysis?
  • RQ5What are the long-term linguistic consequences of trending events on word meaning, as measured by embedding similarity and topic dominance?

Key findings

  • The word 'parasite' exhibited a sharp frequency spike in February 2020 following the release of the film *Parasite*, which coincided with a significant increase in cosine distance from its prior semantic profile, indicating a temporary shift in word associations.
  • Sentiment for 'parasite' rose during the Oscar season but returned to baseline levels within months, aligning with the word’s reversion to its original negative connotation (disease).
  • The topic distribution for 'parasite' briefly shifted from 'news & social concern' to 'film tv & video' during the awards, confirming the cultural event as the driver of the semantic shift.
  • For 'folklore', a sustained increase in cosine distance and a permanent shift to the 'music' topic category were observed, indicating a lasting semantic change despite the popularity peak being short-lived.
  • The word 'macron' peaked during the 2022 French Presidential Election, but no significant changes were observed in embedding similarity, sentiment, or topic distribution, indicating no semantic shift despite high visibility.
  • The platform successfully detected both transient and persistent meaning shifts by combining frequency, sentiment, topic, and embedding signals, demonstrating the value of multi-modal temporal analysis over frequency-only metrics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.