journal article·2021-10-18Open access

A Framework to Understand Attitudes towards Immigration through Twitter

Yerka Freire-Vidal, Eduardo Graells-Garrido, Francisco Rowe

Applied Sciences· Volume 11· Issue 20

Abstract

Understanding public opinion towards immigrants is key to prevent acts of violence, discrimination and abuse. Traditional data sources, such as surveys, provide rich insights into the formation of such attitudes; yet, they are costly and offer limited temporal granularity, providing only a partial understanding of the dynamics of attitudes towards immigrants. Leveraging Twitter data and natural language processing, we propose a framework to measure attitudes towards immigration in online discussions. Grounded in theories of social psychology, the proposed framework enables the classification of users’ into profile stances of positive and negative attitudes towards immigrants and characterisation of these profiles quantitatively summarising users’ content and temporal stance trends. We use a Twitter sample composed of 36 K users and 160 K tweets discussing the topic in 2017, when the immigrant population in the country recorded an increase by a factor of four from 2010. We found that the negative attitude group of users is smaller than the positive group, and that both attitudes have different distributions of the volume of content. Both types of attitudes show fluctuations over time that seem to be influenced by news events related to immigration. Accounts with negative attitudes use arguments of labour competition and stricter regulation of immigration. In contrast, accounts with positive attitudes reflect arguments in support of immigrants’ human and civil rights. The framework and its application can inform policy makers about how people feel about immigration, with possible implications for policy communication and the design of interventions to improve negative attitudes.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Hate Speech and Cyberbullying Detection · Social Media and Politics · Misinformation and Its Impacts

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Social Complexity Research Center, Universidad del Desarrollo, Las Condes, Santiago 7610658, Chile

Barcelona Supercomputing Center (BSC), 08034 Barcelona, Spain

Geographic Data Science Lab, Department of Geography and Planning, University of Liverpool, Liverpool L69 7ZT, UK

References (88)

Show source-provided references
1. European Political Strategy Centre (2021, September 16). European Commission. 10 Trends Shaping Migration. Available online: https://op.europa.eu/s/oq7V.
2. Exposure to opposing views on social media can increase political polarization10.1073/pnas.1804840115 ↗
3. Greven, T. (2016). The Rise of Right-Wing Populism in Europe and the United States. A Comparative Perspective [La Emergencia del Populismo de Derechas en Europa y Estados Unidos. Una Perspectiva Comparada], Friedrich Ebert Foundation.
4. A rising tide? The salience of immigration and the rise of anti-immigration political parties in Western Europe10.1111/1467-923X.12620 ↗
5. Blinder, S., and Allen, W. (2016). UK public opinion toward immigration: Overall attitudes and level of concern. Migration Observatory Briefing, COMPAS, University of Oxford.
6. Immigration, social cohesion and social capital: A critical review10.1177/0261018307072206 ↗
7. Penninx, R., Spencer, D., and Van Hear, N. (2008). Migration and Integration in Europe: The State of Research, Economic and Social Research Council.
8. United Nations (2021, September 16). Sustainable Development Goals. Available online: https://www.un.org/sustainabledevelopment/sustainable-development-goals/.
9. Global Compact for Migration (2021, September 16). Global Compact for Safe, Orderly and Regular Migration. Available online: https://refugeesmigrants.un.org/sites/default/files/180713_agreed_outcome_global_compact_for_migration.pdf.
10. Rowe, F., Mahony, M., Graells-Garrido, E., Rango, M., and Sievers, N. (2021). Using Twitter Data to Monitor Immigration Sentiment. Practitioners’ Guidebook, International Organization for Migration; United Nations.10.31219/osf.io/sf7u4 ↗
11. Does information change attitudes toward immigrants?10.1007/s13524-020-00882-8 ↗
12. Dennison, J., and Dražanová, L. (2018). Public Attitudes on Migration: Rethinking How People Perceive Migration: An Analysis of Existing Opinion Polls in the Euro-Mediterranean Region, European University Institute. Technical Report.
13. Economic insecurity, prejudicial stereotypes, and public opinion on immigration policy10.2307/2657900 ↗
14. Rowe, F., Mahony, M., Graells-Garrido, E., Rango, M., and Sievers, N. (2021). Using Twitter to track immigration sentiment during early stages of the COVID-19 pandemic. SocArXiv.10.31235/osf.io/pc3za ↗
15. Wu, S., Hofman, J.M., Mason, W.A., and Watts, D.J. (April, January 28). Who says what to whom on Twitter. Proceedings of the 20th International Conference on World Wide Web, Yderabad, India.
16. Garimella, K., De Francisci Morales, G., Gionis, A., and Mathioudakis, M. (2017, January 25–28). The effect of collective attention on controversial debates on social media. Proceedings of the 2017 ACM on Web Science Conference, Troy, NY, USA.10.1145/3091478.3091486 ↗
17. Graells-Garrido, E., Baeza-Yates, R., and Lalmas, M. (2020, January 6–10). Every colour you are: Stance prediction and turnaround in controversial issues. Proceedings of the 12th ACM Conference on Web Science, Southampton, UK.10.1145/3394231.3397907 ↗
18. Bosco, C., Patti, V., Bogetti, M., Conoscenti, M., Ruffo, G.F., Schifanella, R., and Stranisci, M. (2021, September 16). Tools and Resources for Detecting Hate and Prejudice against Immigrants in Social Media. Symposium III. Social Interactions in Complex Intelligent Systems (SICIS). Artificial Intelligence and Simulation of Behaviour (AISB), Available online: https://iris.unito.it/retrieve/handle/2318/1637776/332903/paperBATH.pdf.
19. Sanguinetti, M., Poletto, F., Bosco, C., Patti, V., and Stranisci, M. (2018, January 7–12). An Italian Twitter Corpus of Hate Speech against Immigrants. Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), Miyazaki, Japan. Available online: https://www.aclweb.org/anthology/L18-1443.
20. Basile, V., Bosco, C., Fersini, E., Debora, N., Patti, V., Pardo, F.M.R., Rosso, P., and Sanguinetti, M. (2019, January 6–7). Semeval-2019 task 5: Multilingual detection of hate speech against immigrants and women in Twitter. Proceedings of the 13th International Workshop on Semantic Evaluation. Association for Computational Linguistics, Minneapolis, MN, USA. Available online: https://arxiv.org/abs/2011.13238.10.18653/v1/S19-2007 ↗
21. Comandini, G., and Patti, V. (2019, January 1). An Impossible Dialogue! Nominal Utterances and Populist Rhetoric in an Italian Twitter Corpus of Hate Speech against Immigrants. Proceedings of the Third Workshop on Abusive Language Online, Florence, Italy. Available online: https://www.aclweb.org/anthology/W19-3518/.10.18653/v1/W19-3518 ↗
22. Calderón, C.A., de la Vega, G., and Herrero, D.B. (2020). Topic modeling and characterization of hate speech against immigrants on Twitter around the emergence of a far-right party in Spain. Soc. Sci., 9.10.3390/socsci9110188 ↗
23. Porcher, S., and Renault, T. (2021). Social distancing beliefs and human mobility: Evidence from Twitter. PLoS ONE, 16.10.1371/journal.pone.0246949 ↗
24. Waseem, Z., and Hovy, D. (2016, January 12–17). Hateful Symbols or Hateful People? Predictive Features for Hate Speech Detection on Twitter. Proceedings of the NAACL Student Research Workshop, San Diego, CA, USA.10.18653/v1/N16-2013 ↗
25. Influence of fake news in Twitter during the 2016 US presidential election10.1038/s41467-018-07761-2 ↗
26. Fake news on Twitter during the 2016 US presidential election10.1126/science.aau2706 ↗
27. Rowe, F., and Darlington-Pollock, F. (2019). Quantifying and Understanding the Extent of Residential Segregation of Recent Immigrants in Chile, The British Society for Population Studies. Conference Paper.
28. Allport, G.W., Clark, K., and Pettigrew, T. (1954). The Nature of Prejudice, Addison-Wesley Reading.
29. Nelson, T.D. (2009). Handbook of Prejudice, Stereotyping, and Discrimination, Psychology Press.10.4324/9781841697772 ↗
30. Stephan, W.G., and Stephan, C.W. (2000). An integrated threat theory of prejudice. Reducing Prejudice and Discrimination, Psychology Press.
31. The contact hypothesis re-evaluated10.1017/bpp.2018.25 ↗
32. How does intergroup contact reduce prejudice? Meta-analytic tests of three mediators10.1002/ejsp.504 ↗
33. A meta-analytic test of intergroup contact theory10.1037/0022-3514.90.5.751 ↗
34. Rejected! Cognitions of rejection and intergroup anxiety as mediators of the impact of cross-group friendships on prejudice10.1348/014466608X387089 ↗
36. Field experiments on discrimination10.1016/bs.hefe.2016.08.004 ↗
37. The role of empathy in improving intergroup relations10.1111/0022-4537.00144 ↗
38. The immigration dilemma: The role of perceived group competition, ethnic prejudice, and national identity10.1111/0022-4537.00220 ↗
39. The consequences of multiracial contexts on public attitudes toward immigration10.1177/1065912908325255 ↗
40. Public finance and individual preferences over globalization strategies10.1111/j.1468-0343.2007.00300.x ↗
41. International Organization for Migration (OIM) (2021, September 16). DATA BULLETIN SERIES. Informing the Implementation of the Global Compact for Migration, Available online: https://publications.iom.int/system/files/pdf/gmdacbulletins.pdf.
42. Sylwester, K., and Purver, M. (2015). Twitter language use reflects psychological differences between democrats and republicans. PLoS ONE, 10.10.1371/journal.pone.0137422 ↗
43. Diurnal and seasonal mood vary with work, sleep, and daylength across diverse cultures10.1126/science.1202775 ↗
44. Happy tweets: Christians are happier, more socially connected, and less analytical than atheists on Twitter10.1177/1948550613492345 ↗
45. Conover, M.D., Ratkiewicz, J., Francisco, M., Gonçalves, B., Menczer, F., and Flammini, A. (2011, January 17–21). Political polarization on Twitter. Proceedings of the Fifth International AAAI Conference on Weblogs and Social Media, Barcelona, Catalonia, Spain.
46. Garcia-Gavilanes, R., Quercia, D., and Jaimes, A. (2013, January 8–11). Cultural dimensions in Twitter: Time, Individualism and Power. Proceedings of the Seventh International AAAI Conference on Weblogs and Social Media, Cambridge, MA, USA.
47. Predicting online islamophopic behavior after# parisattacks10.1561/106.00000013 ↗
48. Lamanna, F., Lenormand, M., Salas-Olmedo, M.H., Romanillos, G., Gonçalves, B., and Ramasco, J.J. (2018). Immigrant community integration in world cities. PLoS ONE, 13.10.1371/journal.pone.0191612 ↗
49. A survey on automatic detection of hate speech in text10.1145/3232676 ↗
50. Ribeiro, M., Calais, P., Santos, Y., Almeida, V., and Meira Jr, W. (2018, January 25–28). Characterizing and Detecting Hateful Users on Twitter. Proceedings of the International AAAI Conference on Web and Social Media, Stanford, CA, USA. Available online: https://arxiv.org/abs/1803.08977v1.10.1609/icwsm.v12i1.15057 ↗
51. Zhang, Q., Liang, S., Lipani, A., Ren, Z., and Yilmaz, E. (2019, January 13–17). From Stances’ Imbalance to Their Hierarchical Representation and Detection. Proceedings of the The World Wide Web Conference, San Francisco, CA, USA.10.1145/3308558.3313724 ↗
52. Garimella, K., De Francisci Morales, G., Gionis, A., and Mathioudakis, M. (2018, January 23–27). Political discourse on social media: Echo chambers, gatekeepers, and the price of bipartisanship. Proceedings of the 2018 World Wide Web Conference on World Wide Web, Lyon, France.10.1145/3178876.3186139 ↗
53. Quantifying controversy on social media10.1145/3140565 ↗
54. Conover, M.D., Gonçalves, B., Ratkiewicz, J., Flammini, A., and Menczer, F. (2011, January 9–11). Predicting the political alignment of Twitter users. Proceedings of the 2011 IEEE Third International Conference on Privacy, Security, Risk and Trust (PASSAT) and 2011 IEEE Third International Conference on Social Computing (SocialCom), Boston, MA, USA.10.1109/PASSAT/SocialCom.2011.34 ↗
55. Lu, H., Caverlee, J., and Niu, W. (2015, January 19–23). Biaswatch: A lightweight system for discovering and tracking topic-sensitive opinion bias in social media. Proceedings of the 24th ACM International on Conference on Information and Knowledge Management, Melbourne, Australia.10.1145/2806416.2806573 ↗
56. Wilson, T., Wiebe, J., and Hoffmann, P. (2005, January 6–8). Recognizing contextual polarity in phrase-level sentiment analysis. Proceedings of the Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing, Vancouver, BC, Canada.10.3115/1220575.1220619 ↗
57. Pang, B., and Lee, L. (2008). Opinion Mining and Sentiment Analysis, Association for Computing Machinery.10.1561/9781601981516 ↗
58. Psychological aspects of natural language use: Our words, our selves10.1146/annurev.psych.54.101601.145041 ↗
59. De Choudhury, M., Counts, S., Horvitz, E.J., and Hoff, A. (2014, January 15–19). Characterizing and predicting postpartum depression from shared Facebook data. Proceedings of the 17th ACM Conference on Computer Supported CooperativeWork & Social Computing, Baltimore, MA, USA.10.1145/2531602.2531675 ↗
60. Harman, G., and Dredze, M.H. (2014, January 1–4). Measuring post traumatic stress disorder in Twitter. Proceedings of the Eighth International AAAI Conference on Weblogs and Social Media (ICWSM), Palo Alto, CA, USA. Available online: https://www.cs.jhu.edu/~mdredze/publications/2014_icwsm_ptsd.pdf.
61. Tumasjan, A., Sprenger, T.O., Sandner, P.G., and Welpe, I.M. (2010, January 23–26). Predicting elections with Twitter: What 140 characters reveal about political sentiment. Proceedings of the Fourth International AAAI Conference on Weblogs and Social Media, Washington, DC, USA.10.1609/icwsm.v4i1.14009 ↗
62. Vasquez-Henriquez, P., Graells-Garrido, E., and Caro, D. (2020). Tweets on the go: Gender differences in transport perception and its discussion on social media. Sustainability, 12.10.3390/su12135405 ↗
63. La psicología del uso de las palabras: Un programa de computadora que analiza textos en español
64. Economic Commission for Latin America and the Caribbean (ECLAC) (2021, September 16). Demographic Observatory of Latin America 2018: International Migration. Available online: https://www.oecd.org/acerca/miembros-y-socios/.
65. Migración, miedos y medios en la elección presidencial en Chile (2017)10.18046/recs.i31.3730 ↗
66. Batarce, C., and La Tercera (2021, September 16). Ciudadano haitiano en Valdivia es Sospechoso de Padecer Lepra. Available online: http://www2.latercera.com/noticia/haitiano-se-convierte-primer-caso-lepra-chile-continental/#.
67. Public Studies Center (2021, September 16). Estudio Nacional de Opinión Pública N∘79, Abril-Mayo 2017. Available online: https://www.cepchile.cl/cep/encuestas-cep/encuestas-2010-2019/estudio-nacional-de-opinion-publica-abril-mayo-2017.
68. Graells-Garrido, E., Lalmas, M., and Baeza-Yates, R. (2016, January 7–10). Encouraging Diversity-and Representation-Awareness in Geographically Centralized Content. Proceedings of the 21st International Conference on Intelligent User Interfaces, Sonoma, CA, USA.10.1145/2856767.2856775 ↗
69. Word usage mirrors community structure in the online social network Twitter10.1140/epjds15 ↗
70. Nerghes, A., and Lee, J.S. (2018, January 27–30). The refugee/migrant crisis dichotomy on Twitter: A network and sentiment perspective. Proceedings of the 10th ACM Conference on Web Science, Amsterdam, The Netherlands.10.1145/3201064.3201087 ↗
71. Chen, T., and Guestrin, C. (2016, January 13–17). Xgboost: A scalable tree boosting system. Proceedings of the 22nd ACM Sigkdd International Conference on Knowledge Discovery and Data Mining, San Francisco, CA, USA.10.1145/2939672.2939785 ↗
72. Are the different layers of a social network conveying the same information?10.1140/epjds/s13688-018-0161-9 ↗
73. Fightin’words: Lexical feature selection and evaluation for identifying the content of political conflict10.1093/pan/mpn018 ↗
74. Serrano, M.Á., Flammini, A., and Menczer, F. (2009). Modeling statistical properties of written text. PLoS ONE, 4.10.1371/journal.pone.0005372 ↗
75. Kwak, H., Lee, C., Park, H., and Moon, S. (2010, January 26–30). What is Twitter, a social network or a news media?. Proceedings of the 19th International Conference on World Wide Web, Raleigh, NC, USA.10.1145/1772690.1772751 ↗
76. Linguistic inquiry and word count: LIWC 2001
77. Gallagher, R.J., Frank, M.R., Mitchell, L., Schwartz, A.J., Reagan, A.J., Danforth, C.M., and Dodds, P.S. (2020). Generalized word shift graphs: A method for visualizing and explaining pairwise comparisons between texts. arXiv.10.1140/epjds/s13688-021-00260-3 ↗
78. Graells-Garrido, E., Lalmas, M., and Baeza-Yates, R. (2016, January 7–10). Data portraits and intermediary topics: Encouraging exploration of politically diverse profiles. Proceedings of the 21st International Conference on Intelligent User Interfaces, Sonoma, CA, USA.10.1145/2856767.2856776 ↗
79. On the frequency distribution of retweets10.1016/j.procs.2014.05.323 ↗
80. International Organization for Migration (2021, September 16). How the World Views Migration, Geneva. Available online: https://publications.iom.int/system/files/how_the_world_gallup.pdf.
81. The spread of true and false news online10.1126/science.aap9559 ↗
82. Bias on the web10.1145/3209581 ↗
83. Graells-Garrido, E., Caro, D., Miranda, O., Schifanella, R., and Peredo, O.F. (2018, January 23–27). The WWW (and an H) of mobile application usage in the city: The what, where, when, and how. Proceedings of the Companion of the The Web Conference 2018 on The Web Conference 2018, International World Wide Web Conferences Steering Committee, Lyon, France.10.1145/3184558.3191561 ↗
84. Graells-Garrido, E., and Lalmas, M. (2014, January 1–4). Balancing diversity to counter-measure geographical centralization in microblogging platforms. Proceedings of the 25th ACM Conference on Hypertext and Social Media, Santiago, Chile.10.1145/2631775.2631823 ↗
85. Graells-Garrido, E., Baeza-Yates, R., and Lalmas, M. (July, January 30). How representative is an abortion debate on Twitter?. Proceedings of the 10th ACM Conference on Web Science, Boston, MA, USA.
86. Does familiarity breed contempt? Inter-ethnic contact and support for illiberal parties10.1017/S0022381609090367 ↗
87. Twitter (2021, September 16). Tutorials: Tweet GeospatialMetadata. Available online: https://developer.twitter.com/en/docs/tutorials/tweet-geo-metadata.
88. Grow, A., Perrotta, D., Del Fava, E., Cimentada, J., Rampazzo, F., Gil-Clavel, S., Zagheni, E., Flores, R.D., Ventura, I., and Weber, I. (2021). How Reliable Is Facebook’s Advertising Data for Use in Social Science Research? Insights from a Cross-National Online Survey, Max Planck Institute for Demographic Research. Technical Report.10.4054/MPIDR-WP-2021-006 ↗