Skip to main content
QUICK REVIEW

[Paper Review] Using machine learning and information visualisation for discovering latent topics in Twitter news

Vladimir Vargas-Calderón, Marlon Steibeck Dominguez|arXiv (Cornell University)|Oct 21, 2019
Social Media and PoliticsSocial Sciences27 references6 citations
TL;DR

This paper proposes a two-stage method combining unsupervised topic modeling (LDA and FastText + K-means) and supervised classification to discover latent topics in news tweets and predict their topics from user replies. The FastText + K-means approach outperformed LDA in topic interpretability and classification, with 40% precision and recall at top-1 for predicting news topics from replies, and revealed the Colombian peace treaty as the most socially impactful topic.

ABSTRACT

We propose a method to discover latent topics and visualise large collections of tweets for easy identification and interpretation of topics, and exemplify its use with tweets from a Colombian mass media giant in the period 2014--2019. The latent topic analysis is performed in two ways: with the training of a Latent Dirichlet Allocation model, and with the combination of the FastText unsupervised model to represent tweets as vectors and the implementation of K-means clustering to group tweets into topics. Using a classification task, we found that people respond differently according to the various news topics. The classification tasks consists of the following: given a reply to a news tweet, we train a supervised algorithm to predict the topic of the news tweet solely from the reply. Furthermore, we show how the Colombian peace treaty has had a profound impact on the Colombian society, as it is the topic in which most people engage to show their opinions.

Motivation & Objective

  • To identify latent topics in large-scale news tweets from a major Colombian media outlet using unsupervised machine learning.
  • To evaluate whether public responses to different news topics differ in linguistic and engagement patterns.
  • To develop and compare two topic modeling pipelines: LDA and FastText + K-means for topic discovery and visualization.
  • To train a supervised FastText model to predict the topic of a news tweet based solely on user replies.
  • To assess the societal impact of specific topics, particularly the Colombian peace treaty, using engagement metrics.

Proposed method

  • Collected 258,848 news tweets and 1.4 million replies from @NoticiasRCN (2014–2019) via Twitter API.
  • Preprocessed tweets by removing punctuation, URLs, hashtags, mentions, and applying lemmatization to lowercase forms.
  • Applied Latent Dirichlet Allocation (LDA) to learn 12 latent topics by modeling word co-occurrence probabilities in the corpus.
  • Used FastText to generate dense vector representations of tweets, followed by K-means clustering to group tweets into 12 clusters representing topics.
  • Selected representative tweets for each topic using a probability threshold (0.8) for LDA and a distance threshold to cluster centroids for FastText + K-means.
  • Trained a supervised FastText classifier to predict the topic of a news tweet using only the reply text as input.

Experimental results

Research questions

  • RQ1Can unsupervised topic modeling effectively discover latent topics in news tweets from a major media outlet?
  • RQ2Do public replies to news tweets differ significantly in linguistic patterns depending on the topic of the original tweet?
  • RQ3Which topic modeling approach—LDA or FastText + K-means—produces more interpretable and visually coherent topics?
  • RQ4Can a supervised model accurately predict the topic of a news tweet based solely on a user’s reply?
  • RQ5Which news topic, among those discovered, generates the highest level of public engagement and societal impact?

Key findings

  • The FastText + K-means method produced more interpretable and well-separated topic clusters in visualizations compared to LDA.
  • The FastText + K-means approach achieved 40% precision and 40% recall at top-1 in predicting the topic of a news tweet from a reply, significantly outperforming LDA.
  • The topic labeled 'peace treaty politics' was the most engaging, receiving the highest number of likes, retweets, and replies per tweet.
  • The classification task demonstrated that people’s responses to news tweets are topic-dependent, indicating distinct linguistic and emotional patterns per topic.
  • The LDA model required careful tuning of the number of topics (K) to avoid merging or fragmenting real topics, while FastText + K-means was more robust to such issues.
  • The study confirms that the Colombian peace treaty was the most socially impactful event in the dataset, with measurable public engagement across all 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.