Large language models identify immigration attitudes in online discourse regardless of language
Andrea Nasuto, Stefano Iacus, Francisco Rowe, Devika Jain
University of Liverpool · Harvard University
Key points
From the paper's conclusion- We develop a lightweight, open-source LLM framework using fine-tuned LLaMA 3.2-3B models to classify immigration-related tweets across 13 languages.
Abstract
Large language models (LLMs) offer new opportunities for scalable analysis of online discourse. Yet their use in multilingual social science research remains constrained by model size, cost and linguistic bias. We develop a lightweight, open-source LLM framework using fine-tuned LLaMA 3.2-3B models to classify immigration-related tweets across 13 languages. Unlike prior work relying on BERT-style models or translation pipelines, we combine topic classification with stance detection and demonstrate that LLMs fine-tuned in just one or two languages can generalize topic understanding to unseen languages. Capturing ideological nuance, however, benefits from multilingual fine-tuning. Our approach corrects pretraining biases with minimal data from under-represented languages and avoids reliance on proprietary systems. With 19-96× faster inference and up to 2,017× cost savings compared to commercial LLMs, our method supports real-time analysis of billions of tweets. This scale-first framework enables inclusive, reproducible research on public attitudes across linguistic and cultural contexts.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Russian, a Brazilian, and a German Walk into a Bar, Ask the Same Question-- And Get Three Different Answers: Profiling LLM Perspective Diversity on Contested TopicsarXiv · 2026
- The Brittle Compass: Navigating LLM Prompt Sensitivity in Slovak Migration Media DiscoursearXiv · 2026
- Comparing Implicit and Explicit Language Attitudes toward the Dutch multiethnolect Straattaal in Humans and Large Language ModelsarXiv · 2026
- From Language to Country to Valence: A Multilingual Audit of Stereotype Bias Across LLMsarXiv · 2026
- A survey on large language models with multilingualism: recent advances and new frontiersArtificial Intelligence Review · 2026
- The Assistant Persona Differs Across Languages in Activation SpacearXiv · 2026