arXiv:2611.06550cs.CYNov 2026

Manuscript Offprint

arXiv:2611.06550

Who Gets Counted? Large Language Models, Informative Refusal, and Downstream Bias in Name-Based Demographic Classification

Christian Pipal, Morgan Wack, Eva-Maria Vogel

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

Christian Pipal*, Morgan Wack, and Eva-Maria Vogel

Department of Communication and Media Research (IKMZ) University of Zurich, Switzerland

*Corresponding author: c.pipal@ikmz.uzh.ch

Researchers routinely infer gender, race, and ethnicity from names, yet the standard tools used for this task misclassify the groups that diversity research most needs to measure. Large language models (LLMs) have been proposed as a remedy because they label diverse names accurately. We ask whether that accuracy carries over to the estimates researchers report. Across 10,000 Chinese names, 19,998 North Carolina voters with self-reported race, and 300 political science authors with human reference codes, we compare three LLMs with seven traditional tools and link the voter sample to party registration and age. Selective labeling explains part of the LLMs' accuracy advantage. Claude Haiku labels half of the voters, and a traditional tool limited to its most confident half is more accurate. Hard labels from every tool understate the White–Black gap in Democratic registration by 36% to 65%, while BIRDiE estimation on BISG posteriors comes within 0.03 of it. Haiku's missing labels select on age, inflating the age gap by six years. Combined with BISG, LLM answers sharpen individual labels without a demonstrated gain in BIRDiE accuracy. Classifiers should be judged by the estimates they produce, including the consequences of missing labels.

Keywords: demographic classification, large language models, measurement error, informative missingness, computational social science

1 Introduction

Studies of representation in citation networks, hiring, legislatures, and public office routinely infer the race and gender of individuals from their names, while computational tools have been used to scale these practices to millions of records (Dion et al., 2018; Dworkin et al., 2020; Bertrand and Mullainathan, 2004; Imai and Khanna, 2016; Lee and Velez, 2024). Yet the tools that make this possible fail unevenly. Threshold-based Bayesian Improved Surname Geocoding (BISG), the standard method for race, undercounts Black individuals by about 19% and overcounts White individuals by 16% (Kozlowski et al., 2022). In a survey of 19,924 scholars who reported their own identities, the best-performing gender tool misgendered 43% of Chinese women (Lockhart et al., 2023). Classification errors often concentrate among the groups that diversity research sets out to count.

Large language models (LLMs) appear to address some of these challenges. Given only a name, they have been shown to assign the correct self-reported race to between 75% and 85% of people in recent benchmarks, while their errors fall less heavily on non-White names than those of surname dictionaries (AlNuaimi et al., 2024; Dasanaike, 2026). For gender, leading LLMs have the lowest error rates of the tools tested (Domínguez-Díaz et al., 2024). These benchmarks rank classifiers by their accuracy among the names each tool labels, which remains a focus for researchers when choosing a tool.

Accuracy across labeled names leaves out two things that decide whether a classifier improves applied work. One is which names each tool declines to label. Dropping unlabeled cases biases estimates whenever the reason a case is missing is related to the outcome (King et al., 2001; Knox et al., 2020). This is particularly relevant as safety-tuned LLMs often refuse requests to classify race. As a result, where refusals fall on hard names or on particular groups, high accuracy on the labeled names says little about the full sample. The other is what the labels do to the estimand. Researchers use inferred categories to estimate group shares and group differences, and misclassification can pull group differences toward zero even when accuracy is high (Blackwell et al., 2017; Chen et al., 2019; Argyle and Barber, 2024). Existing benchmarks that do not track refusal and downstream bias thus cannot tell us whether LLMs improve the estimates researchers publish.

We expect refusal to work as a selection mechanism. An LLM that answers when a name is easy and declines when it is ambiguous will post high accuracy by labeling names that every tool gets right. If the ambiguity of a name is related to the outcome under study, estimates computed on the labeled subset are biased even when every label is correct.

We test this across three purposefully selected validation datasets. Two hosted LLMs, a locally run open-weight LLM, and seven traditional tools classify 10,000 Chinese Pinyin names with known gender frequencies among their bearers (Study 1), 19,998 North Carolina voters with self-reported race (Study 2), and 300 cited political science authors whom a research assistant coded from public profiles (Study 3). Study 1 tests classification under name ambiguity, and Study 3 tests performance in an applied sample with perceived-identity codes. For Study 2 we link each sampled voter back to the voter file, which adds party registration and age to true race and every tool's prediction. These linked data let us compute exactly how much each classification pipeline biases three estimands and compare the hard-label practice of most applied work with the weighting estimator analyzed by Chen et al. (2019) and the BIRDiE estimator of McCartan et al. (2025).

Selective labeling accounts for Haiku's apparent advantage over pyethnicity. Claude Haiku is correct on 89.3% of the voters it labels but labels only half of them. On the same voters, pyethnicity, a neural classifier trained on voter files, is correct 90.0% of the time, and restricted to its most confident half it reaches 94.1%. For the registration gap, the choice of estimator matters more than the choice of classifier. Hard labels from every tool understate the White-Black gap in Democratic registration by 36% to 65%, and posterior weighting by 58% to 81%, while BIRDiE applied to BISG posteriors misses the true gap of -0.529 by 0.012. Informative missingness also produces selection bias that a correction based on a single confusion matrix cannot remove. Haiku's "Unknown" answers fall disproportionately on older Black voters, and its hard labels overstate the White-Black age gap by 6.0 years against a true gap of 4.3 years. Filling its missing labels with a full-coverage tool removes the selection part of this bias, but the misclassification part remains.

Our comparison links classification performance to downstream bias by separating misclassification from selection. Combined with BISG posteriors, LLM answers, missing outputs included, raise individual accuracy by 3.9 to 5.4 points, and with Gemini’s answers the combination is the most accurate classifier in our study. This gain does not establish that the combined posteriors improve estimates of gaps, which also depend on calibration and estimator assumptions. Where no validated estimator of downstream disparities exists, as for gender and non-U.S. names, LLMs label names traditional tools miss, but their labels still have to be validated against the estimand before they are used.

References (28)