Skip to content
#small language model Open access

Understanding Public Attitudes Towards Immigration Through Online Social Media

Sep 2026 · University of Liverpool

Abstract

Immigration is one of the most politically salient and emotionally charged issues in contemporary public life, shaping debates about national identity, belonging, economic change and social order. Social media platforms have become central arenas in which these debates unfold, allowing immigration-related claims, fears, support and opposition to circulate rapidly and at scale. At the same time, they offer new opportunities to observe public attitudes towards immigration with a level of temporal and spatial detail that traditional methods such as surveys cannot achieve. Existing research has produced important insights into immigration attitudes, yet evidence remains fragmented and a series of deficiencies persist across three distinct areas. First, the structure of online immigration debate is poorly understood, including the extent of polarisation, the role of key users and the speed at which pro-immigration and anti-immigration content spreads. Second, although large language models (LLMs) offer powerful tools for analysing text at scale, their ability to identify immigration content and stance accurately, efficiently and across multiple languages remains insufficiently tested. Third, existing work has rarely examined how multiple local conditions combine to shape anti-immigration sentiment and immigration salience at a fine spatial scale and over long periods of time. This thesis aims to systematically address these deficiencies and to advance our understanding of how attitudes towards immigration are expressed, measured and geographically distributed online and which local factors are associated with them. To achieve this, I developed an integrated computational framework implemented across three empirical analyses. The first applied network analysis and diffusion measures to 220,870 immigration tweets in the United Kingdom between December 2019 and April 2020, examining polarisation, key producers and spreaders, bot activity and the speed of circulation. The second developed open-source fine-tuned LLMs to classify immigration topic and stance across 13 languages, testing whether they generalise to languages unseen during fine-tuning while remaining efficient, low-cost and reproducible. The third applied this pipeline to 2.6 billion geolocated tweets from the United States between 2013 and 2023, producing county-year measures of anti-immigration sentiment and immigration salience and modelling them against demographic, economic, social, political, health, spatial and historical conditions. Collectively, the findings make contributions to substantive knowledge, theory, methods, policy and data in the study of immigration attitudes. They show that online debate is polarised and uneven, that a small number of users produce and amplify a disproportionate share of anti-immigration content, which spreads faster than pro-immigration content, and that anti-immigration sentiment in the United States is geographically heterogeneous and emerges from the way multiple local conditions combine, including the size and country of origin of migrant groups, economic contraction, population decline, social capital, institutional trust and historical legacies, rather than from migrant numbers alone. The central theoretical contribution is ‘Conjunctural Immigration Theory’, which holds that anti-immigration sentiment emerges from the combination of material and non-material conditions present in a place at a given moment, so that the same material and non-material change generates anti-immigration sentiment in one local context while leaving another untouched. Methodologically, the thesis delivers an open-source and lightweight multilingual LLM for topic and stance classification at scale, and it provides new county-year estimates of immigration salience and stance for the United States. For policy, it points to the value of monitoring how rapidly anti-immigration content spreads online and of place-based responses that act on the material and non-material conditions of local areas together.

View source

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.