An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests

Trust in the government is an important dimension of happiness according to the World Happiness Report (Skelton, 2022). Recently, social media platforms have been exploited to erode this trust by spreading hate-filled, violent, anti-government sentiment. This trend was amplified during the COVID-19...

Full description

Bibliographic Details
Main Authors: Hieu Nguyen, Swapna Gokhale
Format: Article
Language:English
Published: PeerJ Inc. 2022-11-01
Series:PeerJ Computer Science
Subjects:
Online Access:https://peerj.com/articles/cs-1127.pdf
_version_ 1828177608230043648
author Hieu Nguyen
Swapna Gokhale
author_facet Hieu Nguyen
Swapna Gokhale
author_sort Hieu Nguyen
collection DOAJ
description Trust in the government is an important dimension of happiness according to the World Happiness Report (Skelton, 2022). Recently, social media platforms have been exploited to erode this trust by spreading hate-filled, violent, anti-government sentiment. This trend was amplified during the COVID-19 pandemic to protest the government-imposed, unpopular public health and safety measures to curb the spread of the coronavirus. Detection and demotion of anti-government rhetoric, especially during turbulent times such as the COVID-19 pandemic, can prevent the escalation of such sentiment into social unrest, physical violence, and turmoil. This article presents a classification framework to identify anti-government sentiment on Twitter during politically motivated, anti-lockdown protests that occurred in the capital of Michigan. From the tweets collected and labeled during the pair of protests, a rich set of features was computed from both structured and unstructured data. Employing feature engineering grounded in statistical, importance, and principal components analysis, subsets of these features are selected to train popular machine learning classifiers. The classifiers can efficiently detect tweets that promote an anti-government view with around 85% accuracy. With an F1-score of 0.82, the classifiers balance precision against recall, optimizing between false positives and false negatives. The classifiers thus demonstrate the feasibility of separating anti-government content from social media dialogue in a chaotic, emotionally charged real-life situation, and open opportunities for future research.
first_indexed 2024-04-12T05:01:02Z
format Article
id doaj.art-1f451eaa36944b6cac7b80870fe9004b
institution Directory Open Access Journal
issn 2376-5992
language English
last_indexed 2024-04-12T05:01:02Z
publishDate 2022-11-01
publisher PeerJ Inc.
record_format Article
series PeerJ Computer Science
spelling doaj.art-1f451eaa36944b6cac7b80870fe9004b2022-12-22T03:46:59ZengPeerJ Inc.PeerJ Computer Science2376-59922022-11-018e112710.7717/peerj-cs.1127An efficient approach to identifying anti-government sentiment on Twitter during Michigan protestsHieu NguyenSwapna GokhaleTrust in the government is an important dimension of happiness according to the World Happiness Report (Skelton, 2022). Recently, social media platforms have been exploited to erode this trust by spreading hate-filled, violent, anti-government sentiment. This trend was amplified during the COVID-19 pandemic to protest the government-imposed, unpopular public health and safety measures to curb the spread of the coronavirus. Detection and demotion of anti-government rhetoric, especially during turbulent times such as the COVID-19 pandemic, can prevent the escalation of such sentiment into social unrest, physical violence, and turmoil. This article presents a classification framework to identify anti-government sentiment on Twitter during politically motivated, anti-lockdown protests that occurred in the capital of Michigan. From the tweets collected and labeled during the pair of protests, a rich set of features was computed from both structured and unstructured data. Employing feature engineering grounded in statistical, importance, and principal components analysis, subsets of these features are selected to train popular machine learning classifiers. The classifiers can efficiently detect tweets that promote an anti-government view with around 85% accuracy. With an F1-score of 0.82, the classifiers balance precision against recall, optimizing between false positives and false negatives. The classifiers thus demonstrate the feasibility of separating anti-government content from social media dialogue in a chaotic, emotionally charged real-life situation, and open opportunities for future research.https://peerj.com/articles/cs-1127.pdfSocial mediaAnti-governmentCOVID-19Lockdown protestsMachine Learning
spellingShingle Hieu Nguyen
Swapna Gokhale
An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests
PeerJ Computer Science
Social media
Anti-government
COVID-19
Lockdown protests
Machine Learning
title An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests
title_full An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests
title_fullStr An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests
title_full_unstemmed An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests
title_short An efficient approach to identifying anti-government sentiment on Twitter during Michigan protests
title_sort efficient approach to identifying anti government sentiment on twitter during michigan protests
topic Social media
Anti-government
COVID-19
Lockdown protests
Machine Learning
url https://peerj.com/articles/cs-1127.pdf
work_keys_str_mv AT hieunguyen anefficientapproachtoidentifyingantigovernmentsentimentontwitterduringmichiganprotests
AT swapnagokhale anefficientapproachtoidentifyingantigovernmentsentimentontwitterduringmichiganprotests
AT hieunguyen efficientapproachtoidentifyingantigovernmentsentimentontwitterduringmichiganprotests
AT swapnagokhale efficientapproachtoidentifyingantigovernmentsentimentontwitterduringmichiganprotests