Skip to content

Modeling social context in natural language processing

Sep 2026 · Universitätsbibliothek der LMU

Abstract

Hundreds of millions of people interact with language models (LMs) every day, using them for tasks such as writing assistance and information seeking. As their range of applications grows, it becomes increasingly essential to consider the role of social context in how these systems are designed and deployed. In particular, this thesis focuses on LMs' sociolinguistic competence—how associations between linguistic variation and social dimensions can be incorporated into LMs, how they are learned and manifested, and how they can lead to harm. In the first part of the thesis, we develop computational methods that improve LMs' sociolinguistic competence by explicitly injecting social context into the model architecture. We focus on two forms of social context—social networks and geographic location—and draw on recent advances in graph neural networks and multi-task learning to integrate them into LMs. Across a range of benchmarks, the proposed methods yield substantial gains. In the second part of the thesis, we explore whether LMs acquire sociolinguistic competence as a by-product of pretraining and posttraining, without being explicitly conditioned on social context. Experiments on dialectal variation and ideological framing suggest that LMs indeed learn associations between linguistic variation and social dimensions, albeit with varying levels of detail. Beyond these sociolinguistic associations, we also examine the question of how LMs' outputs reflect ideological leanings more generally, finding substantial evidence of instability. In the third part of the thesis, we investigate the harms that associations between linguistic variation and social dimensions can produce in LMs. Focusing on African American English, we find that LMs associate its speakers with pernicious stereotypes triggered by linguistic features alone, and that current posttraining practices do not address this covert racism. Preventing such harms is a critical goal for future research to ensure safe and equitable language technology. Finally, we release new analysis tools and datasets that facilitate broader empirical study of social context in natural language processing and computational social science, supporting subsequent work in these areas.

View source

Similar papers

#computer vision Review Open access Mar 2016

Determinants of overweight or obesity among ever-married adult women in Bangladesh

The findings of the study indicate that a large number of women in Bangladesh are suffering from being overweight or obese, and multiple factors are responsible for this including, older age,being from wealthy households, higher education, being from food-secured households, watching TV at least once a week, and being...

Haribondhu Sarma, N. Saquib, M. Hasan et al. · 75 citations · ⚡5
#artificial intelligence Open access Sep 2026

Generating Interesting Scientific Ideas using Knowledge Graphs and LLMs: Evaluations with 100 Research Group Leaders

The rapid growth of scientific literature makes it increasingly challenging for researchers to identify novel and impactful ideas, especially across disciplines. Modern artificial intelligence (AI) systems offer new opportunities for scientific ideation, but how compelling are AI-generated ideas, and how can their qual...

Xuemei Gu, Mario Krenn · 65 citations
#computer vision Conference Aug 2008

Scrum in a Multiproject Environment: An Ethnographically-Inspired Case Study on the Adoption Challenges

Agile methods continue to gain popularity. In particular, the Scrum method appears to be on the verge of becoming a de-facto standard in the industry, leading the so called Agile movement. While there are success stories and recommendations, there is little scientifically valid evidence of the challenges in the adoptio...

A. Marchenko, P. Abrahamsson · 59 citations · ⚡11
#data science Review Open access Apr 2022

Association between Mother’s Education and Infant and Young Child Feeding Practices in South Asia

Findings demonstrate a strong positive association between mother’s education and IYCF indicators and suggest strengthening national policies to educate women at least to the secondary level in SACs might be a cost-effective intervention for improving IY CF practices.

M. Tariqujjaman, M. Hasan, M. Mahfuz et al. · 45 citations · ⚡4
#computer vision Open access Sep 2012

Making the leap to a software platform strategy: Issues and challenges

A comprehensive taxonomy of the challenges faced when a medium-scale organization decided to adopt software platforms is provided, namely: business challenges, organizational challenges, technical challenges, and people challenges.

Yaser Ghanam, F. Maurer, P. Abrahamsson · 41 citations · ⚡3

Related blog posts

MIT News · Artificial Intelligence Nov 23, 2026

Many languages, one common neural code

Analyzing speakers of 21 languages, an MIT study using multilingual AI finds the human brain may represent meaning in much the same way.

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