Characterizing Long-Running Political Phenomena on Social Media
Emre Calisir, Marco Brambilla

TL;DR
This paper presents methods to analyze long-term political events on social media, demonstrated through the Brexit debate, revealing insights into public stance, influence of politicians, bot activity, and key discussion topics over time.
Contribution
It introduces an integrated approach combining stance classification, topic discovery, sentiment analysis, and bot detection to study political phenomena on social media.
Findings
Twitter stance classification effectively reflects public opinion.
Politicians significantly influence social media discussions during critical periods.
Bots are active participants, with varying influence on different sides of the debate.
Abstract
Social media provides many opportunities to monitor and evaluate political phenomena such as referendums and elections. In this study, we propose a set of approaches to analyze long-running political events on social media with a real-world experiment: the debate about Brexit, i.e., the process through which the United Kingdom activated the option of leaving the European Union. We address the following research questions: Could Twitter-based stance classification be used to demonstrate public stance with respect to political events? What is the most efficient and comprehensive approach to measuring the impact of politicians on social media? Which of the polarized sides of the debate is more responsive to politician messages and the main issues of the Brexit process? What is the share of bot accounts in the Brexit discussion and which side are they for? By combining the user stance…
| Tweet | Stance | Sentiment |
|---|---|---|
| I voted #Remain in the #Referendum I love my #European brothers and sisters | Pro-Remain | Positive |
| #Brexit consequences just seem to get worse and worse | Pro-Remain | Negative |
| Congratulations, Great Britain on #Brexit Independence day Enjoy | Pro-Leave | Positive |
| I voted leave because I dont think the #EU works i dont see anything to suggest that it ever will #Brexit | Pro-Leave | Negative |
| Stance | Characterizing Hashtags |
|---|---|
| Remain | #strongerin, #voteremain, #intogether, #labourinforbritain, #moreincommon, #greenerin, #catsagainstbrexit, #bremain, #betteroffin, #leadnotleave, #remain, #stay, #ukineu, #votein, #voteyes, #yes2eu, #yestoeu, #sayyes2europe, #fbpe, #stopbrexit, #stopbrexitsavebritain |
| Leave | #leaveeuofficial, #leaveeu, #leave, #labourleave, #votetoleave, #voteleave#takebackcontrol, #ivotedleave, #beleave, #betteroffout, #britainout, #nottip, #takecontrol, #voteno, #voteout, #voteleaveeu, #leavers, #vote_leave, #leavetheeu, #voteleavetakecontrol, #votedleave |
| Ambigious | #euref, #eureferendum, #eu, #uk |
| Method | Type | Remain | Leave |
|---|---|---|---|
| Rule-based (RB) | Tweets | 462K | 254K |
| Users | 62K | 38K | |
| Machine Learning | Tweets | 2.1M | 1.8M |
| based (MLB) | Users | 408K | 296K |
| Merged (RB + MLB) | Tweets | 2.56M | 2.05M |
| Users | 432K | 309K |
| Label | Top Representative Words |
|---|---|
| 1.US-Russia | trump,farage,attack,threat,russia,boris,putin,usa |
| 2.Europe | europe,trust,germany,maymustgo,france,cameron,merkel |
| 3.Results | live,ask,watch,question,immigration,war,secretary,maga |
| 4.Labour | tory,labour,party,scotland,corbyn,leader,political |
| 5.Trade | deal,good,trade,bad,ita,free,dona,agreement,sell,offer |
| 6.Inconsist. | explain,medium,consequence,message,send,suggest,letter |
| 7.Vote | vote,leave,people,want,remain,british,government, |
| 8.Plan | theresa_may,conservative,plan,borisjohnson,deliver,fail |
| 9.Inconsist. | britain,great,world,article,wrong,nation,damage |
| 10.Economy | year,job,business,economy,warn,economic,impact,face |
| 11.Inconsist. | take,govt,control,law,place,interest,protect,strong,bill |
| 12.Remain | stay,customs_union,single_market,england,membership |
| 13.Economy | nhs,pay,money,tax,fund,save,foreign,spend |
| 14.Remain | stop,join,help,stand,thank,pro,fight,speak,march,lord |
| 15.Remain | stopbrexit,fbpe,country,right,work,thing,remainer,finalsay |
| 16.Leave | lie,campaign,ukip,euref,voteleave,leaveeu,blame,truth |
| 17.Borders | hard,ireland,border,idea,problem,possible,irish,mess |
| 18.Polarized | nigel_farage,feel,freedom,disaster,act,remainernow |
| 19.Inconsist. | today,new,day,pm,post,talk,eu,look,future,read |
| 20.Inconsist. | prime_minister,reality,everything,westminster,charge |
| Politicians | News Channels | Campaign-Party |
|---|---|---|
| @theresa_may | @BBCNews | @UKLabour |
| @jeremycorbyn | @SkyNews | @Conservatives |
| @Nigel_Farage | @guardian | @LeaveEUOfficial |
| @BorisJohnson | @LBC | @vote_leave* |
| @realDonaldTrump | @FT | @LibDems |
| @David_Cameron | @Independent | @UKIP |
| @DavidDavisMP | @Telegraph | @StrongerIn* |
| @Jacob_Rees_Mogg | @afneil | @theSNP* |
| @Anna_Soubry | @BBCr4today | |
| @ChukaUmunna | @MailOnline | |
| @Keir_Starmer | @business | |
| @NicolaSturgeon | ||
| @MichelBarnier | ||
| @Andrew_Adonis |
| Label | Top Representative Words |
|---|---|
| 1.Pro-Leave side opinions about the election | vote,leave,britain,people,want,referendum,take,country,today,great,day,voter,future,win |
| 2.Polarized opinions about the election | euref,voteleave,remain,leaveeu,strongerin,eureferendum,poll,eu,democracy,campaign,voteremain |
| 3.Negative Impacts to Economy | big,london,lose,england,bad,pound,job,fall,bank,risk,rise,hit,blame,stock,drop |
| 4.External | news,bbc,racist,everyone,consequence,german,donald_trump,worry,french |
| 5.Politics | cameron,political,tory,government,medium,believe,party,politician,second,elite |
| 6.US | trump,support,thank,obama,wrong,explain,president,question,racism |
| 7.Customs union | world,mean,post,market,economy,trade,deal,global,free,politic,union |
| 8.Borders and economy | let,year,impact,economic,week,control,last,border,chance,cost,problem,cut,cause,collapse,problem |
| 9.Handover of Cameron’s PM position | david cameron,result,happen,pm,next,affect,become,resign |
| 10.Pro-Leave side opinions | british,exit,freedom,parliament,pay,independence,american,english,expect,ireland,turkey,reform |
| 11.Brexit deal with Europe | europe,stop,end,migrant,merkel,nation,fight,war,destroy,negotiation,project,celebrate |
| 12.Public policies | follow,nhs,immigration,botis,decision,ttip,farage,immigrant,issue,important,agree,promise,protect |
| 13.Controversial opinions | time,talk,change,money,real,friend,life,state,save,possible,sovereignty,opportunity,divide,family |
| 14.Indyref | scotland,stay,look,realdonaldtrump,happy,indyref,independent,scottish,xenophobia,public,message,refugee |
| 15.Internal politics | business,fail,strong,article,continue,wake,minister,shock,juncker,threat,uncertainty,damage,army,queen |
| 16.Divorce from EU | brit,brussel,borisjohnson,law,rule,davidcameron,labour,member,statement,mp,leader,corbyn,divorce |
| 17. International | break,live,borishjohnson,history,france,germany,globalist,greece,spain,micheal_gove,russia,international |
| 18. Feelings and events | watch,euro,love,late,share,tonight,hate,attack,speech,begin,story,analysis,white,historic,police,spread,black |
| 19. Internal politics | lie,fear,nigel_farage,ukip,plan,bring,true,industry,chef,reveal,safe,worker,failure,angry,charge |
| 20.Results of ref. | first,feel,morning,open,victory,claim,benefit,major,ready,regret |
| Label | Top Representative Words |
|---|---|
| 1.Pro-Remain | people,theresa_may,parliament,british,pm,stop,pm,democracy,remain,brexitshamble,negotiation,agree,majority |
| 2.Pro-Leave | ukip,leave,nigel_farage,euref,great,lie,referendum,campaign,remain,voter,farage,poll,people |
| 3.Personal opinions | vote,article,leaveeu,bill,remain,national,believe,trigger,people,labour,end,ignore,accuse,voting,june |
| 4.Prospective plans | plan,talk,today,theresamay,speech,ma,watch,idea,pm,andrealeadsom,need,time,listen,strategy,analysis |
| 5.Proleave | want,britain,work,single_market,stay,warn,european,minister,issue,country,access,state,brussel,brit,free_movement |
| 6.Economics | london,business,post,impact,move,bank,city,firm,job,huge,cost,financial,international,britain,economist,warn,company |
| 7.Governance | government,rule,law,right,citizen,decision,court,challenge,power,new,post,irish,refuse,protect,high_court |
| 8.International politics | trump,world,future,europe,win,election,fascism,britain,global,trade_agreement,leader,meet,speak,president,america |
| 9.Immigration | immigration,bad,blame,report,policy,control,money,ireland,migrant,border,export,open,problem,pay,finance,migration |
| 10.Crisis | year,economy,cost,stock,nhs,cut,pharma_bank,por,region,due,uncertainty,investment,crisis,worker,funding,effect,investor |
| 11.Europe | pound,fact,rise,fall,price,germany,sterling,euro,merkel,fear,increase,italy,value,home,drop,europe,passport |
| 12.Trade deal | good,deal,trade,news,happen,free,bbc,next,britain,itv,discuss,post,negotiate,deliver,trade_deal |
| 13.Polarized | scotland,indyref,brexitcost,labour,debate,tory,independent,england,support,member,scottish,libdem,conservative,wale |
| 14.Economic drawbacks | day,economic,find,question,research,damage,little,evidence,bbcnew,shock,consequence,economy,science,tomorrow,prepare |
| 15.Negative feelings | lie,nonsense,join,interest,brexitbritain,french,history,europe,putin,interview,blair,official,russia,guardian,turkey,refugee |
| 16.Internal politics | tory,politician,corbyn,pro,labour,spend,judge,cameron,nhs,houseoflord,tony_blair,gina_miller,unelect |
| 17.Expect for change | politic,sign,many,change,hold,referendum,petition,democracy,sunderland,bregret,racist,war |
| 18.Polarized | fight,remain_yeseu,borisjohnson,wrong,hate,press,supporter,predict,racism,david_cameron,lead,crash,voteleave,xenophobia |
| 19.Negative impacts of ref. | lose,job,risk,eureferendum,late,expert,freedom,create,movement,brexiter,protest,understand,implication,sovereignty |
| 20.New ref. request | become,tax,reason,remain,britain,tory,destroy,wish,marchforeurope,run,benefit,worry,ambassador,nobrexit |
| Label | Top Representative Words |
|---|---|
| 1.Pro-Remain | leave,remain,want,stopbrexit,people,lie,know,stop,country,support,campaign,remainer,fight,voter,leaver,help,politician |
| 2.Labour | tory,labour,time,hard,party,conservative,corbyn,libdem,mp,stand,stop,sign,disaster,political,jeremycorbyn,policy,ukip |
| 3.Future impacts | right,day,citizen,future,today,happen,live,eu,negotiation,debate,important,protect,reality,tomorrow |
| 4.Pro-Remain | vote,ge,referendum,may,election,call,poll,majority,win,result,remain,june,final,ukip,stopbrexit,mandate,voter,back,chance |
| 5.Decisions about Ireland | new,ireland,report,read,post,government,law,late,border,parliament,today,paper,publish,cost,confirmirish,effect |
| 6.Negotiations with EU | theresa_may,talk,negotiation,pm,start,brussel,may,begin,letter,leader,gibraltar,negotiate,plan,deliver,hand |
| 7.Request for a change | british,people,news,democracy,change,speak,believe,reason,government,union,decision,true,nation,briton,stupid |
| 8.Economics | deal,trade,economy,britain,strong,economic,world,great,agree,head,minister,act,voting,damage,need,strategy,weak,self_harm |
| 9.Financial consequences | trump,nigel_farage,fact,man,power,poor,rise,war,britain,people,side,inflation,brexiteer,history,european_union,maga,rich |
| 10.Impacts of leaving EU | good,europe,bad,look,join,france,germany,feel,idea,thing,britain,see,possible,news,exit,save,doctor,sad,influence,outcome |
| 11. Economics | guardian,business,independent,ukip,stopbrexit,maydup,tax,cut,threat,economy,due,drop,stopbrexitnow,budget,git,grow,fund |
| 12. Potential crisis | lose,warn,job,london,march,move,bank,risk,england,unite,staff,national,pound,company,britain,juncker,euro,parliament,big |
| 13.Financial impacts | european,lord,food,house,speech,london,crisis,global,farmer,president,financial,discuss,impact,city,sector,fintech,school,dublin |
| 14.Customs union | pay,keep,single_market,stay,britain,bill,ukip_leaveeu,rule,truth,ready,access,membership,eu,customs_union,going_backward |
| 15.Scotland | scotland,scotref,ask,indyref,bbcnew,scottish,independence,answer,snp,scot,westminster,may,protest,government |
| 16.Speculations | article,trigger,farage,trump,putin,thread,impact,tweet,russia,link,study,evidence,ukip,group,excellent,role,russian,author |
| 17.Instability | fall,blame,stock,problem,negotiator,pharma_bank,expect,irish,wale,borisjohnson,export,chiled,guarantee,family,uncertainty |
| 18.News agencies | nhs,benefit,break,money,german,promise,block,love,billion,screw,racist,daily_mail,timfarron,via_reutersuk,sturgeon |
| 19.Immigration | immigration,free,worker,control,freedom,fear,ukip,surprise,nhs,britain,movement,australia,sovereignty,migration,india |
| 20.Social security | video,nhs,brexitshamble,nurse,reverse,boris,call,hammond,action,water,shock,murdoch,united,dream,brexitbritain,fox,ruin |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSentiment Analysis and Opinion Mining · Misinformation and Its Impacts · Topic Modeling
Characterizing Long-Running Political Phenomena on Social Media
Emre Calisir Marco Brambilla
Dipartimento di Elettronica, Informazione e Bioingegneria
Politecnico di Milano, Milan, Italy
Email:{firstname.lastname}@polimi.it
Abstract
Social media provides many opportunities to monitor and evaluate political phenomena such as referendums and elections. In this study, we propose a set of approaches to analyze long-running political events on social media with a real-world experiment: the debate about Brexit, i.e., the process through which the United Kingdom activated the option of leaving the European Union. We address the following research questions: Could Twitter-based stance classification be used to demonstrate public stance with respect to political events? What is the most efficient and comprehensive approach to measuring the impact of politicians on social media? Which of the polarized sides of the debate is more responsive to politician messages and the main issues of the Brexit process? What is the share of bot accounts in the Brexit discussion and which side are they for? By combining the user stance classification, topic discovery, sentiment analysis, and bot detection, we show that it is possible to obtain useful insights about political phenomena from social media data. We are able to detect relevant topics in the discussions, such as the demand for a new referendum, and to understand the position of social media users with respect to the different topics in the debate. Our comparative and temporal analysis of political accounts can detect the critical periods of the Brexit process and the impact they have on the debate.
Keywords: Brexit, referendum, elections, topic discovery, stance classification, political social media bots
1 Introduction
Social media provides many opportunities to monitor and evaluate political phenomena such as referendums and elections. Citizens from all around the world, voters, politicians, private and public authorities participate and contribute to debates on social media platforms with tremendous interest. According to a survey, 66% of social media users have employed these platforms to post their thoughts about civic and political issues, react to others’ postings, press friends to act on issues and vote, follow candidates, like and link to others’ content, and belong to groups formed on social networking sites [1]. In this context, Twitter is known as one of the most convenient social media platforms with its prominent features including hashtag based information annotation and retrieval, mention-based people referring and re-tweet/like based agreement on the opinions. Segesten and Bossetta found that that citizens - not political parties - are the primary initiators and sharers of political calls for action leading up to the 2015 British General Elections [2].
The political issue investigated in this study concerns one of the most important political events of recent times, which defines the process of United Kingdom’s exit from the European Union (EU), informally named Brexit. On 23 June 2016, the United Kingdom voted to leave the EU, by 51.9% for Leave, and 48.1% for Remain side. However, the local and global impacts of the referendum have made the issue a highly active and long-standing discussion well beyond the end of referendum, as seen in the continuity of the Google search trend (Fig.1). Another indicator of the constant interest in the subject is the continuing discussion on Twitter, whose trend is highly correlated to the Google search trend on the topic (Pearson correlation of 0.92). This result makes Twitter a convenient data source to analyze the Brexit phenomenon with respect to various aspects.
In this study, we aim to address the following research questions:
Question 1: Can we determine the political stance of Twitter users with respect to Brexit based on the content they share? Can we analyze how stance evolves in time?
Question 2: What are the main discussion topics, what is the general sensitivity on these issues and which polarized side reacts to the different issues?
Question 3: Which politicians have been discussed most, what is the general sensitivity with respect to these politicians and which polarized side is more responsive to them?
Question 4: What is the impact of automated bot accounts to the online discussions, and to which side are they aligned most?
The rest of the paper is organized as follows: We first present the primary studies in our research focus. Then we give detailed information about our collected data and findings including user demographics and public interest to tweets. We present our two-fold stance classification approach and experiment on the Brexit referendum. Next, we analyze the Twitter accounts regarding their bot behavior, and then we interpret the stance of bot accounts for the Brexit experiment. In topic analysis part, we share the results of topic discovery implementation concerning the public attitude and sentiment of discovered topics. Additionally, we share our findings of engagement of social media users with the politicians, and we analyze the public reaction to these accounts over time. We conclude our work by providing the technical details of our implementation, and with the detailed tables in the appendix section.
2 Related Work
2.1 Social Media and Politics
Social media has an essential role in terms of sharing information during political happenings. In a study related to German federal elections, the authors found that Twitter is used intensively for political deliberation [3]. In another study related to 2013 Italian elections, Vaccari et al. demonstrated that the political deliberation on social media also makes people more conscious and active on the political news [4]. In a recent study on the Brexit referendum, it is argued that social media data could be used to elucidate the underlying themes/concerns of the political discourse [5]. The intense use of social media in politics makes this platform a vast source of information for understanding various aspects of human behavior and political facts.
2.2 Stance Classification
In recent years, the researchers have shown great interest to estimate public opinions about political phenomenon through social media data. Even though there exist some studies [6] arguing that social media could not be used as a source for electoral predictions in general, several studies achieved notable results. Identifying the users who are in favor of, against, or neutral towards a target is known as stance classification. The target of the stance analysis may be a person, an organization, a government policy, a movement, a product, and so on. On the other hand, stance classification is usually confused with sentiment detection. According to [7], while in sentiment analysis the goal is to extract the sentiment from a piece of text, in stance classification the purpose is to determine favorability toward a given (pre-chosen) target of interest. The examples in Table 1 show the difference; tweets may have the same stance, but opposite sentiment.
Tweets have by nature a concise text structure, which makes the stance classification task more challenging. To overcome this obstacle, many studies have focused on the different steps of machine learning pipeline. For the data annotation part of the supervised learning task, manual [8, 9, 10] or automatical [11] methods have been used. Besides, there also exist some specific studies presenting richer datasets in order to define a gold standard [12]. Specifically for Twitter, various feature engineering techniques are implemented such as lexical (n-grams), word-embedding [7], syntactic (sentiment, grammatical) [13, 3], meta-data (retweet count, follower count, mentions), network-specific (retweet-based propagation)[14] and argumentative analysis(argumentativeness, source type) [8]. As a machine learning algorithm, the authors achieved successful results with Naive Bayes[8, 14], Support Vector Machines (SVM) [7, 8, 9], Decision Trees [8] and Recurrent Neural Network (RNN) [15], and a combination of RNN with long-short memory (LSTM) and target-specific attention extractor [16].
As a complementary step of stance classification, some studies also have applied an age-adjustment since Twitter users do not represent the demographics of voters genuinely. In a recent study, Grcar et al. argue that the age correction changed their prediction outcome from Remain to Leave, by achieving a very close ratio compared to referendum outcome [9]. In another study, Lopez et al. achieved 71% correlation for Leave and 65% for Remain without applying any age adjustment [11].
2.3 Role of Automated Accounts (Bots) in Elections and Referendums
While social media is a platform made for the use of people, it is also known that a large share of accounts are automated generators of posts and other activities on social networks. These accounts are often referred to as bots. A type of bots is political social media bots specializing in political issues that are particularly active in public policies, elections, and polarized political discussions [17]. However, their presence in online political discussions could be harmful in many senses. Ratkiewicz et al.’s work on 2010 US Midterm elections and Metaxas et al.’s work on 2010 Massachusetts special election showed that political bots might artificially inflate support for a political candidate [6, 18]. In a recent study on 2016 US Elections, Bessi and Ferrara found that bot accounts generated about one-fifth of the entire conversation, and their presence negatively affected democratic political discussion rather than improving it, which in turn could potentially alter public opinion and endanger the integrity of the Presidential elections [19]. Similarly, in the case of Brexit referendum, political bots profoundly dominated Twitter for spreading information supporting the idea of leaving the EU, and they generated almost one-third of all content [17]. Again in Brexit referendum, Bastos and Mercea uncovered a bot network comprising 13,493 accounts that massively retweeted user-generated hyperpartisan news and then disappeared from Twitter shortly after the day of the referendum [20]. These studies prove that political bots play an active role in political phenomena and their presence may have negative impacts on the voting results and public opinion.
2.4 Topic Discovery
With the high amount of people participating in online social discussions, it becomes challenging to track the discussed topics. For this reason, applying the automatic methods of topic discovery could be an efficient way to explore the discussion focus. Chinnov et al. summarizes the challenges of dealing with short social media texts in topic discovery practices [21]. As a specific example to solve these problems, Hong and Davison follow an aggregation strategy to increase the amount of short text content for training the topic models [22]. As an example to topic discovery applications in particular political science domain, the authors employed US presidential elections and Brexit referendum by creating a general framework based on latent topic models and user features [23]. As a baseline of their topic discovery method, they used the algorithm suggested by Zhao et al. [24] which is an adaptation of the Latent Dirichlet Allocation model. In another study [25], the authors examined how social and political topics are related to the South Korean presidential elections of 2012, and they had a two-fold method: First, to implement a temporal LDA to analyze and validate the relationship between topics, and then to develop the term co-occurrence retrieval technique in order to compensate LDA’s limitations.
3 Data Collection and Analysis
In our study, we queried for the tweets containing the keyword Brexit posted between January 2016 and October 2018. Although the meaning of Brexit is UK’s exit from the EU, the neutrality of this term has been proven by empirical studies [11]. By using Twitter’s API, we collected 10 million tweets sent by 1.5 million users in different languages. As shown in Fig.2, more than half of the users participated in the discussion only once.
3.1 User Demographics, Spatial Analysis
Social media messages may contain additional attributes that may provide demographics and location information about users. In our approach to demographic analysis, we benefited from the profile photos of Twitter users. Taking into account Jung et al.’s experiments, we analyzed profile images through face detection and recognition in order to find the age, gender and ethnicity of users with a single face in the profile photo [26]. According to our analysis, 30% of the user base has a single face in profile photos, and we have been able to make demographic inferences for that user base. Our results showed that users of every ethnic background share their opinions on the Brexit process (see Fig.3(a)). On the other hand, the percentage of male users is slightly higher than the Twitter average (see Fig.3(b)) 111Statista https://www.statista.com/statistics/828092/distribution-of-users-on-twitter-worldwide-gender/.
Surprisingly, we have found that young people are less interested in the Brexit debate. Although 37% of Twitter users are under 18 years old according to the latest statistics222Omnicore Agency https://www.omnicoreagency.com/twitter-statistics/, this ratio is only 15% in our database (see Fig.3(c)). This result is important because in some of the Brexit related stance classification studies [9], the authors performed age adjustments on their prediction results by claiming that the Twitter users are much younger than English voters. However, our result shows that the participants to Brexit debate on Twitter do not represent general Twitter users.
In our language and spatial analysis, we found that 81% of tweets are written in English (Fig.3(d)), and 45% of tweets are posted from the United Kingdom (Fig.3(e)). In the stance classification and topic discovery analyses where the textual content is the main feature, we only use the tweets written in English.
3.2 Tweet and User Meta-Data Analysis
In this section, we provide useful insights based on our meta-data analysis on the Twitter users and their posts. The first valuable information we found is that the average number of followers of Twitter users participating in the Brexit discussions is six times higher than the average Twitter user average, which could be interpreted as the audience discussing Brexit is composed of highly influential people.333DMR Business Statistics https://expandedramblings.com/index.php/march-2013-by-the-numbers-a-few-amazing-twitter-stats/
Our second finding shows that Twitter users become more interested in Brexit-related content in time, even more than in the day of the referendum. Figure 3(f) illustrates the increase in the number of retweets and likes per tweet over time.
4 Brexit Stance Classification
In stance classification, we aim to find users in pro-Remain or pro-Leave stance and analyze their participation in the Brexit discussions. Some studies [9, 11] considered the presence of stance-indicative (SI) hashtags as an effective way to discover polarized tweets and users. The disadvantage of using this method is that it cannot evaluate tweets that do not contain SI hashtags. Unfortunately, this typically includes a substantial share of tweets. The solution we propose is to divide our dataset into two subsets, the ones that contain SI hashtags and the ones that don’t. Then, we classify the tweets with SI hashtags by rule-based method, and the remaining tweets by machine learning methods. Notice that in our context, only 8% of the tweets contain SI hashtags. Thanks to our approach, we can instead analyze the remaining 92% too. After classifying each tweet as pro-Remain, pro-Leave or non-polarized, we will be able to determine each user’s stance by looking at the number of tweets in each class.
4.1 Rule-based Classification
Hashtags are commonly used by Twitter users to express their stance in a political phenomenon. According to our analysis, between January 2016 and September 2018, more than 600 thousand unique hashtags were used with the Brexit hashtag. As shown in Table 2, we created a list of stance-indicative (SI) and stance-ambiguous hashtags by finding the most commonly used hashtags and considering the findings of other Brexit related studies. In this method, we classified the tweets based on the following hypothesis. In our approach, the stance of a tweet is:
- •
Pro-Remain (PRT), if it contains at least one Remain, but not any Leave related hashtag,
- •
Pro-Leave (PRL), if it contains at least one Leave, but not any Remain hashtag,
- •
Non-polarized for all other cases.
Then, to calculate the user stance, we applied the following formula considering all tweets of the user in our database.
[TABLE]
In our comparative approach, we only take into account Pro-Leave and pro-Remain users, and we get the ratio of a class by dividing its value to the sum of two classes. As a result, we found that the number of pro-Remain users is relatively higher than the number of pro-Leave users (see Table 3). However, this method classified 92% of tweets as non-polarized because they do not contain SI hashtags. Within our knowledge, Twitter has become the primary place for online social discussions on the Brexit referendum, and there should be a higher number of active polarized users on Twitter. Therefore, we have developed the following complementary method using machine learning techniques for stance classification of the tweets not featuring SI hashtags.
4.2 Machine Learning (ML) Based Classification
In this task, we only focused on the tweets that are labeled as non-polarized in the previous method. For the preparation of training and development set for our learning-based classifier, a subject expert involved in our study, and prepared three sets of 1000 tweets from each class: pro-Remain, pro-Leave and non-polarized. In terms of feature engineering, we normalized the tweets with a Twitter-specific tokenizer and then transformed to n-gram pairs (uni-bi-trigrams). For the implementation of the classification algorithm, we tested various algorithms, and we obtained the best results with the Support Vector Machines having a linear kernel. In a recently shared task about stance classification, Mohammd et al. obtained the highest score among other tasks with a machine learning model similar to ours [7].
As a result of the 10-fold cross verification, the weighted average F1 score and AUC scores achieved to 0.71 and 0.80. By predicting the tweets using this model, we obtained 2.1 million tweets from pro-Remain and 1.8 million tweets from pro-Leave classes. Then, for the validation of the classification task, a subject expert evaluated the predicted labels on a randomly selected subset of data. As a result, we found that the model’s variance is less than 5% for both classes.
This method allowed us to detect a significant amount of polarized tweets. In the final step, we obtained a complete tweet set of 2.55 million pro-Remain and 1.8 million pro-Leave tweets by combining the results of rule-based and machine learning-based methods. Over this dataset, we applied the user stance evaluation, and we found that 432,000 users are pro-Remain and 309,000 of users are pro-Leave.
4.3 Analysis of Changes of Users’ Stance in time
Besides the static classification of users’ stance, we also analyzed the change in stance from two perspectives. In our first approach, we compared the users’ pre and post-referendum tweets, and we found that the number of users who change their stance is significantly higher in the pro-Leave side (62%) than the pro-Remain side (33%) (Fig. 4).
In our second approach, we analyzed monthly changes in the stance of users. By calculating a single stance value for users from their monthly tweets, we visualized the increases and decreases of participation to debate from each side (Fig. 5). Our result validates the referendum outcome with 51% of pro-Leave and 49% pro-Remain users. Furthermore, our results show that the percentage of Pro-Remain users is varying between 60% and 70% over the past two years.
5 Impact of Bots on Online Social Debate and Overall Stance
As we described in the Related Work section, various studies show the relevance of political bot accounts during political elections and referendums. In a recent article [28], the author states that the computational propaganda powered by political bots takes many forms: networks of highly automated Twitter accounts; fake users on Facebook, YouTube, and Instagram; chatbots on Tinder, Snapchat, and Reddit. These bot accounts track different strategies to mimic human users, making it difficult for social media providers to identify them. In our Brexit experiment, we found that there are many accounts deactivated or suspended accounts. On the other hand, we found that many Twitter bot accounts are still alive. As a method of identifying Twitter bot accounts, we benefited from the state-of-the-art bot detector which assigns a bot score to a Twitter account in the range (0,1) describing how likely it is to be an automated account with 1 being the maximum probability [27] 444Botometer https://botometer.iuni.iu.edu/. As suggested by the author, we mark an account as bot if it’s score is higher than 0.8. As a result of our analysis, we found that the percentage of bot accounts that are still alive on Twitter is 2.2%, and their average post frequency was 25% higher than the non-bot accounts. Our result confirms the statement of Howard and Kollanyi [17], claiming that the bot accounts were highly active in the Brexit debate.
By extending our findings one step further, we combined the bot scores with the results of user stance classification described in the previous section. Interestingly, our result shows that the higher the bot score, the more likely the account is in a pro-Leave position (See Fig.6).
6 Topic Discovery
We analyzed the topics of Brexit-related discussions on Twitter. Brexit is a long-term happening regarding its impact on society; therefore a variety of topics have been discussed by Twitter users in the context of Brexit including immigration, borders, and economic impacts. In our study, we benefited from Latent Dirichlet Allocation (LDA) algorithm to extract the topics [29]. One questionable aspect of applying LDA algorithm for our scenario could be the shortness of text contents and data ambiguity. To overcome this limitation, we applied a data selection strategy to eliminate the shortest and non-influential tweets. As a result, we executed the topic discovery algorithm on a dataset containing 306 thousand tweets posted between January 2016 and October 2018. We evaluated the LDA algorithm based on coherence score and subject expert feedback. We didn’t use the perplexity score because perplexity and human judgment are often not correlated, and even sometimes slightly anti-correlated [30].
6.1 Full-period Topic Analysis
In our first experiment, we directly fed the LDA algorithm with the whole set of 306 thousand tweets on January 2016 and October 2018. Then, our subject expert assigned labels to the discovered topics through the representative words as shown in Table 4. However, we found that the quality of the topics is not high in terms of both the coherence score and the subject expert evaluation. This is mainly because the model is ineffective in finding time-varying topics as it operates over a long period. This has led to the inability to find short-term but essential issues.
For this reason, we decided to reduce the time interval, and we did this systematically by examining the change in the participation to the topics on a monthly basis. As shown in Figure 7, we found that the percentages of change were higher in four specific times. Therefore, we applied the LDA algorithm separately with the tweets sent over these periods. In this way, we achieved more consistent and specific topics than our first experiment.
For instance, our experiment on time period P4 has successfully discovered many key topics related to the cabinet, trade deals with EU, new referendum expectations, Scottish referendum and Irish border (see Table 5). Other results are shown in Appendix (Table 8,9, and 10).
6.2 Relations Among Topics, User Stance and Sentiment
By taking the results of the previous section one step further, we also revealed which polarized sides do the sharing of the topics found.(pro-Remain / pro-Leave), and what is the general sentiment to these topics. Our aim is to generate statements such as: For the topic related to immigration, mostly the pro-Remain/pro-Leave users are tweeting, and the overall sentiment to this topic is positive/negative. In this task, we used our stance classification results and syntactic word-based sentiment detection approach.
In our findings, we included the comparison of pro-Remain/pro-Leave stances and Positive/Negative sentiments for each discovered topic (see Table 5). One of the impressive results is that the 97% of tweets of the New Referendum Request topic is from the pro-Remain side with a negative sentiment. On the other hand, for the topic entitled cabinet, 73% of tweets are posted by pro-Leave side. 88% of the tweets sent related to the Irish border issue have a positive feeling.
7 Analysis of Politician Accounts on Twitter
Online social media is a significant platform for politicians to interact directly with the public. Twitter users can reach politicians directly by mentioning their accounts and declare their opinions. In our study, we analyzed to find the politician accounts that interacted most, and as a result of our categorization through the most frequently mentioned accounts (Table 6), we focused on ten politician accounts. In our comparative temporal analysis (see Fig.8), we have obtained the following insights:
- •
James Cameron had lost his influence in Twitter after handing over his Prime Minister (PM) role to Theresa May. New PM Theresa May has become the essential actor of the Brexit process, although she was not known widely by the public before the referendum.
- •
At the beginning of July 2017, we discovered a sudden increase in Jacob Rees-Mogg’s influence on Twitter. He increased his popularity and surpassed the Twitter account, Nigel Farage.
- •
After becoming President of the United States, Donald Trump became very popular at the center of the Brexit debate, and this interest continued until 2017. However, as of February 2017, another politician, Jeremy Corbyn, was discussed more than Trump and other politicians.
In addition to the temporal analysis, we also measured the sentiment and stance of Brexit related tweets that are mentioning politician accounts (Table 7). The characteristics of mentions to Nigel Farage and Donald Trump is very similar; those tweets are mostly positive and sent by pro-Leave users. On the other hand, Jeremy Corbyn and Boris Johnson are mostly discussed by pro-Remain users.
8 Conclusions
In this study, we provide a comprehensive analysis of the interpretation of large-scale, long-running political phenomena in online social media. By focusing on the one of the most important political happening of recent times, the Brexit referendum, we applied several computational social science techniques on 33 months of public Twitter data. We first performed a demographic analysis on the users participating in the online social discussions on Twitter, and then we predicted their polarized stance with a combination of rule-based and machine learning-based classification methods. As a result of our temporal analysis, we found that the highest change in user stance after the referendum occurred on the pro-Leave side. Additionally, we extracted the most significant topics of debate, and we measured the public stance and sentiment in respect to these topics. Finally, we analyzed reactions to public accounts of politicians in stance and sentiment, and we compared the volumetric distribution of reactions over time. As a result of our study, we show that social media-based analysis could provide useful insights to understand people and facts during political phenomena.
9 Implementation Details
In the Tweet and User Meta-Data Analysis section, we used the Face++ services to determine the number of faces and get demographics information in case of there is a single face in profile photo of the Twitter account.555Face++ https://www.faceplusplus.com In the location analysis section, we used Yandex geocoding services to convert geo-coordinates and missing or incomplete location data into a standard format.666Yandex geocoding services https://tech.yandex.com/maps/geocoder
In the stance classification, sentiment detection, and topic discovery parts, we only used the tweets written in English.
In topic discovery section, we used the LDA algorithm [29] provided by Gensim library [31]. In order to eliminate non-influential tweets from topic discovery logic, we filtered out the tweets that are retweeted by other users for less than 10 times and containing less than 10 words. This criteria plays a role in eliminating non-influential and short tweets from topic discovery algorithm. By using this dataset, we performed the following operations: preprocessing with the method of Gensim library, removing the stopwords, lemmatizing the words, and converting words to bigrams. Regarding the coherence score and the human judgment on the topics, we concluded that the LDA model achieves its best results with the following parameters: topic count=20, iteration count=500.
At the beginning of our politician account analysis, we first divided the accounts that had more than ten thousand mentions into three categories: politicians, news channels, campaign/party accounts. We also analyzed the bot behavior of these accounts and found bot behavior in only two campaigns and one party account. (See Table 6).
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Rainie, L., Smith, A., Schlozman, K., Brady, H. and Verba, S. (2012). Social Media and Political Engagement. Pew Research Center: Internet, Science & Technology
- 2[2] Segesten, A. D., Bossetta, M. (2016). A typology of political participation online: how citizens used Twitter to mobilize during the 2015 British general elections. Information, Communication & Society , 1-19
- 3[3] Tumasjan, A., Sprenger, T., Sandner, P. and Welpe, I. (2010). Election Forecasts With Twitter. Social Science Computer Review 29(4) , pp.402-418.
- 4[4] Vaccari, C., Valeriani, A., Barbera, P., Bonneau, R., Jost, J., Nagler, J. and Tucker, J. (2015). Political Expression and Action on Social Media: Exploring the Relationship Between Lower and Higher-Threshold Political Activities Among Twitter Users in Italy. Journal of Computer-Mediated Communication, 20(2) , pp.221-239.
- 5[5] Khatua A and Khatua A (2016) Leave or Remain? Deciphering Brexit Deliberations on Twitter. 2016 IEEE 16th International Conference on Data Mining Workshops (ICDMW , 428-433, http://doi.ieeecomputersociety.org/10.1109/ICDMW.2016.0067.
- 6[6] Metaxas, P. T., Mustafaraj, E., & Gayo-Avello, D. (2011). How (Not) to predict elections. In Proceedings of PASSAT/Social Com 2011, 2011 IEEE Third International Conference on Privacy, Security, Risk and Trust (PASSAT) and 2011 IEEE Third International Conference on Social Computing (Social Com) IEEE Computer Society, Los Alamitos, CA , 165-171.
- 7[7] Mohammad S., Sobhani P. and Kiritchenko S. (2017). Stance and Sentiment in Tweets. ACM Transactions on Internet Technology, 17(3) , 1-23.
- 8[8] Addawood A., Schneider J. and Bashir M. (2017). Stance Classification of Twitter Debates. In Proceedings of the 8th International Conference on Social Media & Society SM Society 17 .
