Cross-language sentiment analysis of European Twitter messages during the COVID-19 pandemic

Anna Kruspe, Matthias Haeberle, Iona Kuhn, Xiao Xiang ZhuNLP-COVID @ ACL 2020

TL;DR

This paper presents a novel approach to analyze European Twitter sentiment during the early COVID-19 pandemic using a multilingual neural network. By correlating sentiment shifts with real-world events like lockdowns, they reveal how public mood reacted to the unfolding crisis across different countries.

What Problem Does This Paper Address?

The COVID-19 pandemic presented an unprecedented global challenge, leading to rapid societal changes and widespread uncertainty. While surveys offer insights into public perception, they are limited in scale and scope. Social media, particularly Twitter, offers a vast, real-time window into public sentiment. However, analyzing this "noisy" and massive dataset manually is impossible. This paper tackles the challenge of automatically extracting and analyzing sentiment from a large, multilingual corpus of European tweets during the initial months of the pandemic to understand its impact on public mood.

Methods

The core of the methodology lies in a neural network designed for sentiment analysis. This network utilizes pre-trained multilingual sentence embeddings, specifically the Multilingual Universal Sentence Encoder (MUSE), to process tweets. The architecture involves feeding tweet text into the MUSE model, which generates sentence-level embeddings. These embeddings are then passed through a fully-connected layer with dropout, and finally, a regression output layer with sigmoid activation produces a sentiment score between 0.0 and 1.0. The model was trained on the Sentiment140 dataset, and its performance was evaluated against other embedding models. For analysis, tweets were filtered by geolocation to focus on Europe and then further analyzed based on the presence of COVID-19 related keywords.

Datasets

  • Training Data: Sentiment140 dataset (approx. 1.5 million tweets) was used to train the sentiment analysis model.
  • Analysis Data: Approximately 4.6 million geo-referenced tweets collected from the Twitter API between December 2019 and April 2020, filtered to include only those located in Europe. Of these, around 79,000 tweets contained at least one COVID-19 related keyword.

Key Insights and Ideas

  • Lockdowns as Sentiment Dampeners: A striking observation is the consistent dip in public sentiment across most European countries immediately following lockdown announcements. This highlights the immediate psychological impact of such restrictive measures.
  • Resilience and Recovery: Despite the initial negative shock of lockdowns, sentiment often showed signs of recovery within a short period, suggesting a degree of public resilience or adaptation.
  • Multilingual Sentiment is Feasible: The use of a multilingual sentence encoder (MUSE) proved effective in capturing sentiment across different languages within the European dataset, demonstrating the power of cross-lingual embeddings.
  • Keyword Sentiment vs. General Sentiment: Tweets specifically mentioning COVID-19 keywords generally exhibited lower sentiment than the overall tweet population, which is expected given the topic's nature. However, the trend of sentiment change often mirrored the overall trend, indicating that COVID-19 was a significant driver of public mood.
  • Country-Specific Nuances: While general trends were observed, there were subtle differences in sentiment trajectories between countries, potentially reflecting variations in government responses, cultural factors, or the timing and severity of the pandemic's impact.

Key Results

  • The study analyzed 4.6 million geo-referenced European tweets from December 2019 to April 2020.
  • A general downward trend in sentiment was observed over the analyzed period, with notable dips coinciding with lockdown announcements in mid-March.
  • For specific countries like Italy, a dip in sentiment on March 9th correlated precisely with the announcement of the Italian lockdown.
  • Keyword usage for COVID-19 related terms increased significantly around February and March, coinciding with rising case numbers.
  • The sentiment of COVID-19 keyword tweets was consistently lower than the overall sentiment but showed a tendency to recover over time.

Limitations and Future Work

  • Geotagging Bias: The analysis relies on geotagged tweets, which represent less than 1% of the total tweet stream. While this subset is noted to correlate with population distribution, it may not fully represent all demographics or regions.
  • Sentiment Subjectivity: The model's ability to capture nuances like sarcasm or complex negations is acknowledged as a potential limitation. The binary sentiment scale (positive/negative) also simplifies a more complex emotional landscape.
  • Language and Cultural Assumptions: The study assumes a degree of cross-lingual sentiment perception and that detected sentiments reflect community mood, which are inherently difficult to quantify.
  • Future Work: The authors plan to extend the analysis to later months and include more countries, including those outside Europe (e.g., China, South Korea, US states) to compare responses across different contexts. They also suggest exploring deeper research questions such as public trust in information, opinions on containment measures, and the use of more complex sentiment models beyond a binary scale. The potential to analyze larger datasets without geotagging restrictions is also highlighted.

Summary updated

BibTeX
@inproceedings{kruspe2020cross,
  author = {Anna Kruspe and Matthias Haeberle and Iona Kuhn and Xiao Xiang Zhu},
  title = {{Cross-language sentiment analysis of European Twitter messages during the COVID-19 pandemic}},
  booktitle = {NLP-COVID @ ACL},
  year = {2020},
  url = {https://openreview.net/forum?id=VvRbhkiAwR},
}
Figure