Detecting political biases of named entities and hashtags on Twitter
Open Access
- 8 June 2023
- journal article
- research article
- Published by Springer Nature in EPJ Data Science
- Vol. 12 (1) , 1-26
Abstract
Ideological divisions in the United States have become increasingly prominent in daily communication. Accordingly, there has been much research on political polarization, including many recent efforts that take a computational perspective. By detecting political biases in a text document, one can attempt to discern and describe its polarity. Intuitively, the named entities (i.e., the nouns and the phrases that act as nouns) and hashtags in text often carry information about political views. For example, people who use the term “pro-choice” are likely to be liberal and people who use the term “pro-life” are likely to be conservative. In this paper, we seek to reveal political polarities in social-media text data and to quantify these polarities by explicitly assigning a polarity score to entities and hashtags. Although this idea is straightforward, it is difficult to perform such inference in a trustworthy quantitative way. Key challenges include the small number of known labels, the continuous spectrum of political views, and the preservation of both a polarity score and a polarity-neutral semantic meaning in an embedding vector of words. To attempt to overcome these challenges, we propose the Polarity-aware Embedding Multi-task learning (PEM) model. This model consists of (1) a self-supervised context-preservation task, (2) an attention-based tweet-level polarity-inference task, and (3) an adversarial learning task that promotes independence between an embedding’s polarity component and its semantic component. Our experimental results demonstrate that our PEM model can successfully learn polarity-aware embeddings that perform well at tweet-level and account-level classification tasks. We examine a variety of applications—including a study of spatial and temporal distributions of polarities and a comparison between tweets from Twitter and posts from Parler—and we thereby demonstrate the effectiveness of our PEM model. We also discuss important limitations of our work and encourage caution when applying the PEM model to real-world scenarios.Keywords
All Related Versions
Funding Information
- National Science Foundation (1737770, III-1705169, 1937599, 2119643)
- Okawa Foundation Grant
- Amazon Research Awards
- Cisco Systems (USA000EP280889)
- Picsart Gifts
- Snapchat Gifts
This publication has 36 references indexed in Scilit:
- Twitter and Political CampaigningSociology Compass, 2015
- Sentiment analysis algorithms and applications: A surveyAin Shams Engineering Journal, 2014
- Polarity detection of sarcastic political tweets2014
- Political Ideology Detection Using Recursive Neural Networks2014
- Learning Sentiment-Specific Word Embedding for Twitter Sentiment Classification2014
- Glove: Global Vectors for Word Representation2014
- Automatic Detection of Political Opinions in Tweets2012
- What Drives Media Slant? Evidence From U.S. Daily NewspapersEconometrica, 2010
- A survey of named entity recognition and classification2007
- Two Problems in Administrative Law: Political Polarity on the District of Columbia Circuit and Judicial Deterrence of Agency RulemakingDuke Law Journal, 1988