Active Keyword Selection to Track Evolving Topics on Twitter

Sacha Lévy, Farimah Poursafaei, Kellin Pelrine, Reihaneh Rabbany
9/22/2022
cs.SIcs.IR

Official code: sachalevy/active-keyword-selection (0 stars, Jupyter Notebook, MIT, last commit 2022-12-02).

Abstract

How can we study social interactions on evolving topics at a mass scale? Over the past decade, researchers from diverse fields such as economics, political science, and public health have often done this by querying Twitter's public API endpoints with hand-picked topical keywords to search or stream discussions.

Show full abstract

However, despite the API's accessibility, it remains difficult to select and update keywords to collect high-quality data relevant to topics of interest. In this paper, we propose an active learning method for rapidly refining query keywords to increase both the yielded topic relevance and dataset size. We leverage a large open-source COVID-19 Twitter dataset to illustrate the applicability of our method in tracking Tweets around the key sub-topics of Vaccine, Mask, and Lockdown. Our experiments show that our method achieves an average topic-related keyword recall 2x higher than baselines. We open-source our code along with a web interface for keyword selection to make data collection from Twitter more systematic for researchers.

View on arXivView PDF

Code Implementations(1)

MIT

Select keywords to track evolving topics on Twitter.

00Jupyter Notebook, PythonSep 18, 20224 years agoMIT

Similar Papers

Cite this paper

@article{lvy2022active,
  title  = {Active Keyword Selection to Track Evolving Topics on Twitter},
  author = {Sacha Lévy and Farimah Poursafaei and Kellin Pelrine and Reihaneh Rabbany},
  year   = {2022},
  eprint = {2209.11135},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.11135}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.11135.svg)](https://codeofpaper.com/paper/2209.11135)

Discussion