This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

11institutetext: Institute of Informatics, Federal University of Rio Grande do Sul, Porto Alegre, Brazil
11email: [email protected]
22institutetext: Departament of Education and Humanities, Federal University of Health Sciences of Porto Alegre, Porto Alegre, Brazil
22email: [email protected]

Detecting Group Beliefs Related to 2018’s Brazilian Elections in Tweets: A Combined Study on Modeling Topics and Sentiment Analysis

Brenda Salenave Santana 11 0000-0002-4853-5966    Aline Aver Vanin 22 0000-0002-9984-6043
Abstract

2018’s Brazilian presidential elections highlighted the influence of alternative media and social networks, such as Twitter. In this work, we perform an analysis covering politically motivated discourses related to the second round in Brazilian elections. In order to verify whether similar discourses reinforce group engagement to personal beliefs, we collected a set of tweets related to political hashtags at that moment. To this end, we have used a combination of topic modeling approach with opinion mining techniques to analyze the motivated political discourses. Using SentiLex-PT, a Portuguese sentiment lexicon, we extracted from the dataset the top 5 most frequent group of words related to opinions. Applying a bag-of-words model, the cosine similarity calculation was performed between each opinion and the observed groups. This study allowed us to observe an exacerbated use of passionate discourses in the digital political scenario as a form of appreciation and engagement to the groups which convey similar beliefs.

Keywords:
Brazilian elections Sentiment analysis Twitter Discourse engagement Non-human interactions.
footnotetext: Copyright © 2020 for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). DHandNLP, 2 March 2020, Evora, Portugal.

1 Introduction

In 2016 the Oxford Dictionaries [19] chose post-truth as the word of the year. It is an adjective used for ‘relating to or denoting circumstances in which objective facts are less influential in shaping public opinion than appeals to emotion and personal belief’. From this perspective, the Internet has been proving to be a place where beliefs meet. Due to algorithms created to meet the users’ expectations, much of what is publicized is part of a bubble of information.

There is a variety of ways in which the Internet makes it more likely that individuals with shared views or preferences cluster together [10]. This phenomenon may happen with the user consent, when they search for groups chosen by preferences, to the application of recommending systems designed to connect users with similar preferences intentionally.

This kind of phenomenon opens up room for the circulation of news designed to provide emotional appeal, thereby increasing interaction with the content [22]. In periods of electoral dispute, political opinion engagements become fiercer, and the filter bubble effect further encapsulates affections by reinforcing polarization. Studies aimed at understanding the consequences of internet use for politics ([10], [2]), and among these uses is the massive spreading of spurious news, as happened in the 2016 US elections [7].

Different social networks have been working to identify fake news and warn users. It is pointed out that these actions may increase social welfare [2], but identifying fake news sites and articles also raises important questions about who becomes the arbiter of truth. Notice that the more an opinion meets one’s expectation, the more it is likely to be approved and shared.

Virtual environments provide preeminent involvement of people in the context of political discussions, enabling discussions, presenting different points of view on the same topic. On Twitter, for example, opinion leadership tends to increase users’ engagement in political processes [20]. Online interaction, even through hashtags, with influential users, then serves as a tool for reinforcing beliefs by the actors involved. However, in a post-truth context were opinions are manifested and widespread in social networks and groups, produced discourses obtain the power to manipulate people’s opinion and legitimize non-socially accepted actions and behaviors in a different contexts.

This paper aims to analyze how the discourses produced on Twitter during the second round of the electoral race in Brazil reinforce the group engagement to personal beliefs. We use a combination of topic modeling approach with opinion mining techniques to analyze motivated political text discourses produced.

This paper is organized as follows: Section 2 describes a background of the use of social networks, more specifically Twitter, in politics context and the discourses produced in virtual environments. The following of this section then presents the applied approach and the discussion of results. Finally, the study is concluded in Section 3, with some closing remarks and an overview of the observed insights.

2 Use of Social Networks as an Electoral Tool

Brazil’s political context is complex, as the country is undergoing a social, economic, and political crisis that has worsened in recent years. Such circumstances, according to [21] were reflected in discussions that took place in both traditional and social media, and in particular, the spread of a great deal of misinformation and fake news about facts often disseminated by dubious sources.

Much of the discursive resources used as the basis of electoral campaigns in Brazil were the announcements of the so-called ‘television time’, which are distributed according to the size of parties and their coalitions. From the observation of studies that correlate television advertising time and election results [4] [6], it is then perceived that the assumption that radio and television election time is more critical in disputes farther from such as the presidential elections. With the rise of digital media in increasingly significant roles for political communication, transforming the dynamics of information production, circulation, and consumption, the phase of free electoral political time on television has taken a back seat [12].

The highlight gained by digital media also has an active component of spontaneous and organic voter engagement, revealing that the role of digital media in electoral processes transcends paid advertising and communication controlled directly by the campaigns [12]. Due to the division of television times between candidates for the presidency of the republic in Brazil’s 2018 presidential elections, some campaigns had its primary focus on alternative media to the then traditional television campaign, such as Twitter.

Twitter might be described as a real­time, highly social microblogging service that allows users to post short status updates, called tweets, that appear on timelines [23]. Tweets may include one or more entities in their 280 characters of content and reference one or more places that map to locations in the real world being a piece of valuable infrastructure that enables rapid and easy communication. All these characteristics make Twitter a source of fast dissemination of different types of content.

However, in 2018, 37.9% of all internet traffic was not human [8]. One of the agents in this scenario is the so-called twitter-bots. These are defined as “small software programs that are designed to mimic human tweets” [1]. Still, according to the author, some bots reply to other users when they detect specific keywords, while others may randomly tweet preset phrases, such as proverbs. Not all bots are fully machine-generated. However, the “bot” term has also come to refer to Twitter accounts that are fake.

Authors such as [15] point to the influence of very engaged bots and actors who can create false consensus perceptions for specific information to circulate. Thus, for [21], bots operate to (1) rapidly increase the visibility of false information and (2) to inflate the status of some users, making certain false information credible. These actions enhance the dissemination of fake news, in an attempt to influence the public sphere, with the artificial manipulation of consensus and, likewise, public opinion.

However, it is often the case that the discourse disseminated in social networks makes use of different types of language resources that reinforces social and political conditions that can encourage conditions such as verbal violence. In this scenario, passionate political discourses or even bots programmed to interact with mentioned keywords can improve the dissemination of beliefs in the political sphere. In this context, this works intends to study the content of tweets related to Brazilian presidential election through hashtags identified in trending topics in order to analyze the discursive similarity that brings users closer.

In the next section, we describe the extraction and preprocessing of tweets containing political opinions during the week before the Brazilian electoral day.

2.1 Data Extraction and Preprocessing

Given the focus of the campaign through social networks, we opted to analyze the discourses related to the presidential election through hashtags111https://help.twitter.com/en/using-twitter/how-to-use-hashtags identified in Twitter trending topics in Brazil. Thus, in conducting the present study, 50.000 tweets were collected per day during the last week of the election campaign, from October 22nd to 28th, through the Twitter API. It is noteworthy that the collection of information for each day was performed on the following day, regardless of geographical location, aiming to extract texts that made use of one or more listed hashtags. Most of the texts found were written in Portuguese, however tweets in English were also detected.

Table 1 presents the leading hashtags listed, in Portuguese, observed initially. For better understanding, we provide their translations when necessary.

Table 1: Leading Twitter’s Hashtag Analyzed.
Portuguese Used Hashtags
(original)
Translated Hashtags Used
(English version)
#B17 -
#Bolsonaro17 -
#BolsonaroPresidente #BolsonaroPresident
#EleSim #HeYes
#Haddadnãoecristao #HaddadIsNotChristian
#NasruascomBolsonaro #InTheStreetsWithBolsonaro

For a better understanding of the data, a preprocessing step was performed. Dataset normalization covered such things as tokenization, uppercase and lowercase transformation, removal of special characters and image and video tags, among others. The sentences of each tweet were then tokenized, that is, separated into different units. At this stage, the Portuguese and English stopwords contained in these units of texts were removed.

Next, the standardization of terms is performed with the application of the lemmatization technique employed with the aid of text processing libraries222https://www.nltk.org/,333https://spacy.io/. The lemmatization process seeks to reduce the word to its root form, that is, its standard form of singular writing. At this stage of execution, we then sought to normalize the observed texts in order to keep the most relevant words of the tweets without losing the initial semantics. For this purpose, we also use the Word2Vec approach, whose idea is to transform each token of the set of sentences (a.k.a. corpus) into a numerical vector that semantically represents it [17]. The data model was then trained using the skip-gram model approach, since the distributed representation of the input word is used to predict the context.

Using a multi-purpose toolkit for corpus analysis [3], it was possible to identify several repetitions of posts made by the same users, as showed in Figure 1. Some of these posts had up to 2500 repetitions, which was considered a very high rate for normal user behavior. For a better analysis of the observed texts, it was necessary to remove the repetitions of tweets. The removal of such repetitions proved to be of high relevance as it was considered as a possible indication of discourses spread and corroborated by twitter-bots. Currently, over 18% of the accounts associated with the collected tweets no longer exist.

Refer to caption
Figure 1: Example of repetitions found on analyzed dataset.

2.2 Modeling Topics in Politically Motivated Digital Discourses

Human discourse is a tool for daily communication, but it is not easily read in machine structures. Human language has unique nuances that occur in specific contexts, and this kind of information needs to be computationally translated to be read by machines in order to be processed. Topic modeling allows observed sets of observations to be explained by unobserved groups that seek to explain why some parts of the data are similar.

From a broad perspective, topic modeling methods based on Latent Dirichlet Allocation (LDA) have been applied to natural language processing, text mining, and social media analysis, information retrieval [13]. In this sense, topic models allow exploring concepts and meanings extracted from the use of word embeddings. LDA is a fully generative model for describing the latent topics of documents [18]. Since observations are made about words collected from textual files (documents), in this approach each document can be interpreted as a mixture of various topics in which each document is considered to have a set of topics that are assigned to it through LDA [18].

Sentiment polarities are dependent on topics or domains [16]. In this way, in our work, we drive an analysis covering politically motivated discourses in the Twitter environment. Observing different texts, we then focus on identifying polarities expressed in observed online interactions by correlating them to the topics of previously identified groups.

Table 2 presents the main words highlighted in the LDA topics. Five different topics were listed from the observed set, reaching a coherence score of 0.58 with the c_v measure. The c_v topic coherence captures the optimal number of topics by giving the interpretability of these topics a number called coherence score. We use the c_v measure. This measure is based on a sliding window, one-set segmentation of the most frequent, and an indirect confirmation measure that uses normalized pointwise mutual information (NPMI) and the cosine similarity (a metric used to determine how similar the documents are irrespective of their size) [11]. The obtained score represents a low coherence between some terms observed in the dataset, i.e., the occurrence of non-cohesive windows of words.

Table 2: Main Words Highlighted by LDA Topics.
Group 1 Group 2 Group 3 Group 4 Group 5
jairbolsonaro haddadnaoecristao bolsonaro bolsonaropresidente bolsonaropresidente
haddadnaoecristao brasileiro bolsonaropresidente17 brasil estao
fake ver haddad b17 mulherescombolsonaro
voto caro delegadofrancischini acima conseguir
news bolsonaroanticristo torturar bolsonaro17 candidatar
olhar torturar nao ficar verdade
votar esquecer perder think passar
elesim melhor compartilhar bolsonaropresidenteeleito voce
prefeito senhor elesim mudabrasil17 filho
horario usar forapt ptnuncamais video

Figure 2 presents the identified groups, using an intertopic distance map, via multidimensional scaling. The group topics are exhibited in terms of principal components axis distribution. This is a statistical procedure that uses an orthogonal transformation to convert a set of observations of possibly correlated variables into a set of values of linearly uncorrelated variables called principal components (PC) [14]. In this figure, it is possible to see how the topic groups are organized in this space and the top 10 topics that compose them. The topics identified are then plotted as circles, whose centers are defined by the computed distance between topics (projected into two dimensions). The prevalence of each topic is indicated by the circle’s area [24].

Refer to caption
Figure 2: Intertopic Distance Map (via multidimensional scaling)

2.3 Opinion mining on election-related tweets

After extracting the sets of observation of the data, that is, LDA topics, we sought to extract the main opinions expressed in the observed texts. In order to analyze the polarities manifested in the tweets contained in the comments, we used SentiLex-PT, a sentiment lexicon designed for the extraction of sentiment and opinion about human entities in Portuguese texts [5].

The extraction of observed sentiments was performed to capture expressions and words previously classified in the lexicon as positive or negative. The proposed sentiment analysis encompassed a complete observation of the dataset seeking to explore all mentions of expressions that could refer to the polarity of the content as a whole, also relating the similarity of words in the same context.

Using the Word2Vec approach, we sought to observe the polarities associated with each topic. Analyzing the main words that made up the topics identified above and, with the crossing of data extracted from the lexicon, a cosine similarity [11] calculation was performed over the skip-gram model. The similarity extracted from the content of the observed data is a verification measure of how close two terms are in the given context. In order to observe how the feelings manifested interact in the modeled topics, only the expressions categorized in the lexicon either as positive or negative were used, discarding the neutral words.

Using SentiLex, we search for the five most frequent non-neutral words in the observed set, either they are classified as positive or negative. As a result of this process, the following words were then listed: perder (lose), torturar (torture), verdade (truth), vencer (win) and, ganhar (gain). Using the bag-of-words model, a cosine similarity calculation was performed between each opinion and the observed groups. From this, it then extracted the average correspondence between the words in the analyzed context. Figure 3 presents the relation of each LDA identified topic with the main opinions presented in the data.

Refer to caption
Figure 3: Relation between topic groups and the most prevalent sentiments.

Analyzing the relation between topic groups (see Table 2) and the identified opinions, it is possible to observe that for groups 1, 4, and 5. The most prevalent relations happen with the words of positive polarity, i.e., with the sentiments related to the act of winning. The inverse occurs to groups 2 and 3. Checking the relations with the topic groups, it is possible to observe that for group 4: all the relations are weaker than the ones in other groups. For the others, relations seem to be more frequent.

For the observed groups, the higher relation occurs like: group 1 \leftrightarrow win, group 2 \leftrightarrow torture, group 3 \leftrightarrow lose, and groups 4 e 5 \leftrightarrow truth. Assuming that the high correlation in the group 2 occurred since it was presented among the most relevant of the topic, another similarity check was made, this time disregarding the use of the word in the topic. Still, the correlation of the topic with the feeling remains superior to the others. It is important to note that how opposites are the words related to the opinions, not only in the polarity perspective but also in the semantic weight, especially in a political context.

Analyzing the similarity between the identified opinions and the named entity present in the dataset, sentiments of negative polarity have greater similarity to references of opposition, while positive polarity refers to the ideological parity of hashtags, that is, positive polarity words are related to different parties’ named entities. Thus, it is possible to observe the existence of an emotional appeal in the digital discourses of political motivation. This can be interpreted as a way of subjugating the other and extolling beliefs, leading to a reflection on the effects of post-truth on a polarized Brazilian politics. These findings can lead to interpreting that from intersubjective relations, discourse, and the logic of recognition: the main feature of post-truth is that it requires a refusal of the other or, at least, a culture of indifference. When one is threatened, they react with hatred or violence, as indicated by [9].

These tendencies of emotional calling then tend to meet confirming biases leading to a higher propensity to remember, seek information, or interpret facts in ways that confirm pre-established beliefs. The occurrence of the ambiguities of polarities found throughout the study presents a connection with the obtained coherence score. The low score found to be cohesive with the attribution of negative words in the context of the use of hashtags with a positive bias in search of an electoral victory.

3 Final Remarks

This work proposed an analysis of how the discourses produced on Twitter related to the 2018 Brazilian second round of presidential elections reinforce the group engagement to personal beliefs. To this end, we have used a combination of topic modeling approach with opinion mining techniques to analyze motivated political text discourses produced on Twitter.

This study allowed us to observe an exacerbated use of passionate speech in the digital political scenario as a way of agreement to other’s opinion. However, such use is not unattached from a strong correlation with negative opinion that is used for depreciation of others, such as the use of the word ‘torture’, which is associated more strongly with the opposition candidate in the dispute. In this sense, the reinforcement of beliefs is a strong ally in the sharing of information, consistent with pre-established confirmation bias. The heavy use of repetitions suggest the presence of non-human interactions, and their oversharing throughout Twitter, might indicate credibility, leading to expressive engagement, since it is easier to agree with the majority’s opinion.

4 Acknowledgments

This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior – Brasil (CAPES) – Finance Code 001.

References

  • [1] Akimoto, A.: Japan the twitter nation. The Japan Times 18 (2011)
  • [2] Allcott, H., Gentzkow, M.: Social media and fake news in the 2016 election. Journal of economic perspectives 31(2), 211–36 (2017)
  • [3] Anthony, L.: AntConc (Version 3.5.8) [Computer Software]. Tokyo, Japan: Waseda University. https://www.laurenceanthony.net/softwar (2019)
  • [4] Borba, F., Cervi, E.U.: Relação entre propaganda, dinheiro e avaliação de governo no desempenho de candidatos em eleições majoritárias no Brasil. Opinião Pública 23, 754 – 785 (12 2017)
  • [5] Carvalho, P., Silva, M.J.: Sentilex-pt: Principais características e potencialidades. Oslo Studies in Language 7(1) (2015)
  • [6] Da Silveira, B.S., De Mello, J.M.P.: Campaign Advertising and Election Outcomes: Quasi-natural Experiment Evidence from Gubernatorial Elections in Brazil. The Review of Economic Studies 78(2), 590–612 (02 2011). https://doi.org/10.1093/restud/rdq012, https://doi.org/10.1093/restud/rdq012
  • [7] d’Ancona, M.: Post-Truth: The New War on Truth and How to Fight Back. Ebury Publishing (2017), https://books.google.com.br/books?id=7\_35DQAAQBAJ
  • [8] Distil Networks: 2019 BAD BOT REPORT the bot arms race continues. https://resources.distilnetworks.com/white-paper-reports/bad-bot-report-2019 (2019)
  • [9] Dunker, C.: Subjetividade em tempos de pós verdade. In: Faraon, G., Dantas, J., Rosp, R. (eds.) Ética e Pós-Verdade, chap. 1, pp. 9–42. Libercultura, Porto Alegre (2018)
  • [10] Farrell, H.: The consequences of the internet for politics. Annual Review of Political Science 15(1), 35–52 (2012). https://doi.org/10.1146/annurev-polisci-030810-110815, https://doi.org/10.1146/annurev-polisci-030810-110815
  • [11] Huang, A.: Similarity measures for text document clustering. In: Proceedings of the sixth new zealand computer science research student conference (NZCSRSC2008), Christchurch, New Zealand. vol. 4, pp. 9–56 (2008)
  • [12] INTERNETLAB: O custo da propaganda eleitoral paga na internet em 2018. https://www.internetlab.org.br/pt/informacao-e-politica/o-custo-da-propaganda-eleitoral-paga-na-internet-em-2018/ (2019)
  • [13] Jelodar, H., Wang, Y., Yuan, C., Feng, X., Jiang, X., Li, Y., Zhao, L.: Latent dirichlet allocation (lda) and topic modeling: models, applications, a survey. Multimedia Tools and Applications 78(11), 15169–15211 (Jun 2019). https://doi.org/10.1007/s11042-018-6894-4, https://doi.org/10.1007/s11042-018-6894-4
  • [14] Jolliffe, I.T., Cadima, J.: Principal component analysis: a review and recent developments. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 374(2065), 20150202 (2016)
  • [15] Kumar, S., Shah, N.: False information on web and social media: A survey (2018)
  • [16] Lin, C., He, Y.: Joint sentiment/topic model for sentiment analysis. In: Proceedings of the 18th ACM Conference on Information and Knowledge Management. pp. 375–384. CIKM ’09, ACM, New York, NY, USA (2009). https://doi.org/10.1145/1645953.1646003, http://doi.acm.org/10.1145/1645953.1646003
  • [17] Mikolov, T., Sutskever, I., Chen, K., Corrado, G., Dean, J.: Distributed representations of words and phrases and their compositionality (2013)
  • [18] Ostrowski, D.A.: Using latent dirichlet allocation for topic modelling in twitter. In: Proceedings of the 2015 IEEE 9th International Conference on Semantic Computing (IEEE ICSC 2015). pp. 493–497 (Feb 2015). https://doi.org/10.1109/ICOSC.2015.7050858
  • [19] Oxford Dictionaries: Word of the year 2016 is.. https://languages.oup.com/word-of-the-year/word-of-the-year-2016 (2016)
  • [20] Park, C.S.: Does twitter motivate involvement in politics? tweeting, opinion leadership, and political engagement. Computers in Human Behavior 29(4), 1641 – 1648 (2013). https://doi.org/https://doi.org/10.1016/j.chb.2013.01.044, http://www.sciencedirect.com/science/article/pii/S0747563213000472
  • [21] Recuero, R., Gruzd, A.: Cascatas de Fake News Políticas: um estudo de caso no Twitter. Galaxia (SãoPaulo) pp. 31 – 47 (08 2019)
  • [22] Recuero, R.d.C., Zago, G.d.S., Soares, F.B.: Midia social e filtros-bolha nas conversações políticas no twitter. Associação Nacional de Programas de Pós-Graduação em Comunicação. Encontro Anual (COMPÓS).(26.: 2017 jun. 06-09: São Paulo, SP).[Anais]. São Paulo: Faculdade Cásper Líbero, 2017. (2017)
  • [23] Russell, M., Klassen, M.: Mining the Social Web: Data Mining Facebook, Twitter, LinkedIn, Instagram, GitHub, and More. O’Reilly Media (2018)
  • [24] Sievert, C., Shirley, K.: LDAvis: A method for visualizing and interpreting topics. In: Proceedings of the Workshop on Interactive Language Learning, Visualization, and Interfaces. pp. 63–70. Association for Computational Linguistics, Baltimore, Maryland, USA (Jun 2014). https://doi.org/10.3115/v1/W14-3110, https://www.aclweb.org/anthology/W14-3110