arXiv:2610.22053cs.CLOct 2026

Manuscript Offprint

arXiv:2610.22053

Name-Bias in Large Language Models

Kalyan Bhetwal, Ceren Mert, Ian Whitehouse

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Names carry demographic indicators such as age, gender, and race, which makes them a subtle but strong target of bias in large language models (LLMs). In this work, we present an evaluation of name-based bias across 6 local large language models spanning multiple providers and parameter scales. Using a fill-in-the-blank task, we prompt these models to choose between pairs of first names drawn from U.S. Social Security Administration datasets and a race classification dataset by Rosenman et al.. Our experimental design isolates age and gender effects through balanced name pairings and sentence templates that share a fixed syntactic structure.

Across 300,000 local LLM responses, we find consistent and measurable name bias. Models prefer names that are less stereotypically male, older, popular, and white. Furthermore, we find that name-bias is highly sentence-dependent, but not more than associated stereotypes, and gender is the most significant bias, followed by age, name popularity, and race.

Our results demonstrate that name-based bias remains pervasive even in local LLMs, highlighting the necessity for standardized evaluation methods and mitigation strategies.

1 Introduction

Large Language Model usage has surged dramatically, with nearly 50% of U.S. adults reporting they have used LLMs for daily tasks at least once (Rainie, 2025). These systems often handle natural language prompts that include personal names. Since names can encode demographic cues such as age, gender, and race, even minor model biases may lead to discriminatory outcomes. Such biases may perpetuate stereotypes, unfairly advantage certain groups, or generate harmful content. Identifying and measuring these biases is therefore essential: it enables more rigorous model evaluation, supports the development of fairer systems, and advances transparency in AI safety.

Therefore, it remains integral to measure the biases LLMs can hold, and in this work, we address four specific biases: age, gender, popularity, and race. Our experiments prompt local LLMs with fill-in-the-blank sentences given two names that may reveal a specific bias, such as age, gender, or race. We measure

• Age bias and popularity bias by collecting the top 500 most popular names, and how many times they were assigned, from the 1980s and 2010s

• Gender bias by categorizing the most popular names from 1980s and 2010s as female and male

• Racial bias by using a racial classification dataset provided by Rosenman et al.

Our experiments and contributions can be found at https://github.com/cerenmert14/name-bias-in-local-llms