[Paper Review] Cross-language sentiment analysis of European Twitter messages duringthe COVID-19 pandemic
This study applies a multilingual neural network with sentence embeddings to analyze sentiment in 4.6 million geotagged European Twitter messages from December 2019 to April 2020, revealing that lockdown announcements triggered a significant, short-term decline in sentiment across most countries, followed by recovery; Germany showed a less negative sentiment curve, possibly due to less stringent measures and cultural factors.
Social media data can be a very salient source of information during crises. User-generated messages provide a window into people's minds during such times, allowing us insights about their moods and opinions. Due to the vast amounts of such messages, a large-scale analysis of population-wide developments becomes possible. In this paper, we analyze Twitter messages (tweets) collected during the first months of the COVID-19 pandemic in Europe with regard to their sentiment. This is implemented with a neural network for sentiment analysis using multilingual sentence embeddings. We separate the results by country of origin, and correlate their temporal development with events in those countries. This allows us to study the effect of the situation on people's moods. We see, for example, that lockdown announcements correlate with a deterioration of mood in almost all surveyed countries, which recovers within a short time span.
Motivation & Objective
- To analyze population-wide sentiment trends in European Twitter data during the early phase of the COVID-19 pandemic.
- To investigate how public sentiment correlates with national policy events such as lockdown announcements and case surges.
- To evaluate the performance of a multilingual sentiment analysis model trained on a non-European dataset for cross-lingual sentiment detection.
- To compare sentiment patterns across countries, identifying cultural and policy-related influences on public mood.
Proposed method
- Collected 4.68 million geotagged, multilingual Twitter tweets from December 2019 to April 2020 using the Twitter API with a global bounding box and filtered for Europe via point-in-polygon testing.
- Trained a neural network on the Sentiment140 dataset using pre-trained multilingual sentence embeddings, with a 128-unit ReLU layer and sigmoid output for sentiment scores between 0 (negative) and 1 (positive).
- Applied mean squared error loss and 50% dropout for regularization during training.
- Segmented sentiment results by country and time, and separately analyzed tweets containing COVID-19-related keywords.
- Correlated sentiment trends with national events such as lockdown announcements and case increases using temporal alignment.
- Used the Hugging Face Transformers library for multilingual sentence embeddings and evaluated model performance on the Sentiment140 test set.
Experimental results
Research questions
- RQ1How did public sentiment on Twitter in European countries evolve during the initial months of the COVID-19 pandemic?
- RQ2To what extent do national policy events such as lockdown announcements correlate with changes in collective sentiment?
- RQ3How does sentiment in tweets containing COVID-19 keywords compare to overall sentiment trends in each country?
- RQ4Why does Germany show a distinct sentiment pattern compared to other European countries, particularly in terms of sentiment levels and response to lockdowns?
- RQ5Can a sentiment model trained on a non-European dataset generalize effectively to multilingual European Twitter data?
Key findings
- Lockdown announcements in most European countries were followed by a significant, short-term decline in average sentiment, with recovery observed within weeks.
- The sentiment of tweets containing COVID-19-related keywords started highly negative at the onset of increased usage but became progressively more positive over time, remaining below the overall sentiment average in all countries except Germany.
- Germany exhibited a less negative sentiment curve overall and did not show a significant dip after the March 2020 lockdown announcement, possibly due to less stringent measures and higher public approval of government response.
- The United Kingdom showed a sentiment peak in early March, possibly due to the government’s initial non-lockdown approach, but sentiment declined afterward and did not recover during the study period.
- A general downward trend in sentiment was observed across Europe from December 2019 to April 2020, with sentiment dips aligning with key pandemic events such as case surges and policy changes.
- The model achieved strong performance on the Sentiment140 test set, with a mean squared error (MSE) of 0.028, indicating reliable sentiment classification despite training on a non-European dataset.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.