Manuscript Offprint
arXiv:2611.06550Who Gets Counted? Large Language Models, Informative Refusal, and Downstream Bias in Name-Based Demographic Classification
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.
Table 1: Classification tool families compared in this paper
| Family | Tools | Input | Training data |
|---|---|---|---|
| Race and ethnicity | |||
| Census-based | WRU, predictrace | Surname ± geography | U.S. Census |
| LSTM-based | ethnicolr, rethnicity, pyethnicity | Full name | Voter files |
| LLM, hosted | Claude Haiku 4.5, Gemini 2.5 Flash | Full name + country | Web text |
| LLM, local | Qwen 2.5 7B Instruct | Full name + country | Web text |
| Gender | |||
| Frequency-based | Genderize.io | First name | Cross-national frequencies |
| Dictionary-based | gender R package | First name | U.S. SSA records |
| LLM | Haiku, Gemini, Qwen | Full name + country | Web text |
The failures of these tools are structured. In the survey by Lockhart et al. (2023), gender misclassification was 3.5 times more common for women than for men, every tool misclassified all 139 nonbinary respondents, and race misrecognition was highest for Black and Filipino scholars. These concentrated errors move estimates in a direction set by the pattern of errors and by the estimand (Blackwell et al., 2017).
2.1 LLMs as Classifiers
LLMs now serve as measurement instruments across the social sciences. They annotate text more accurately than crowd workers (Gilardi et al., 2023), place political texts on ideological scales (Ornstein et al., 2025), and code concepts from unstructured documents (Halterman and Keith, 2025; Pangakis et al., 2023). A single model covers naming traditions that no one training set spans, which is why benchmarks find LLMs competitive with or better than purpose-built name classifiers, with the largest gains for names the tools handle worst (AlNuaimi et al., 2024; Dasanaike, 2026; Domínguez-Díaz et al., 2024).
The benchmarks share a scoring rule that sets aside two features of LLM classification. LLMs refuse, and conditional accuracy excludes refusals from the denominator. And the labels are an input to an estimate, so the relevant error is the error in the estimate, which accuracy does not measure.
2.2 From Labels to Estimates
Two mechanisms connect a classifier's errors to bias in the estimates built on its labels. The first is misclassification. When researchers treat a tool's most likely category as the true category, each predicted group mixes members of several true groups. The mean outcome in a predicted group then moves toward the means of the groups it absorbs, and group differences shrink toward zero (Blackwell et al., 2017; Argyle and Barber, 2024). Using a tool's posterior probabilities as weights does not eliminate this problem. Chen et al. (2019) show that the weighted estimator also attenuates group differences when posteriors overlap and the outcome is independent of the name given race, and that the hard-label estimator has a bias with no simple general form. With more than two groups and with selective labeling, hard-label bias can push a gap in either direction. BIRDiE (McCartan et al., 2025) models the outcome and race jointly, so that the outcome itself informs each individual's race probabilities. It requires probabilistic race predictions and assumes that the outcome is independent of the name given race and geography. We therefore expect weighted estimates to understate group differences, hard-label estimates to be biased in a direction set by the pattern of errors, and BIRDiE to come close to the truth when its assumption holds.
The second mechanism is selection. A classifier that declines uncertain cases is a classifier with a reject option (Chow, 1970; Herbei and Wegkamp, 2006). Rejecting uncertain cases raises accuracy on the cases that remain, and if rejection is unrelated to the outcome, the only cost is a smaller sample. If rejection is related to the outcome, estimates on the retained cases are biased (El-Yaniv and Wiener, 2010; Geifman and El-Yaniv, 2017). The same concern arises whenever the process that produces missing data is related to the variable of interest (Mitra et al., 2023), and health researchers have documented it for race records, where missing self-reports bias estimated disparities (Yee et al., 2022; Krobath et al., 2025). LLM refusals come from safety training and from the model's uncertainty about a name, so we expect them to fall disproportionately on ambiguous names and on some groups. This yields two expectations. The accuracy advantage of LLMs should be concentrated among names that other tools also classify correctly, and hard-label LLM estimates should carry a selection component that full-coverage tools lack.
3 Data and Method
All tools classify the same names in each study. As a result, every comparison is within names. Study 1 tests gender classification on 10,000 Chinese Pinyin names with known gender frequencies. Study 2 tests race and ethnicity classification on 19,998 North Carolina voters with self-reported race and adds real outcomes from the voter file. Study 3 tests both tasks on 300 cited political science authors whom a research assistant coded from public profiles without seeing any algorithmic prediction.
Three metrics recur. Coverage is the share of names for which a tool returns a usable label. A name can go unlabeled because its surname is missing from a Census dictionary, because an API returns no prediction, or because an LLM refuses, and SI G describes the mechanism for each tool. Conditional accuracy is the share of correct labels among labeled names. Total accuracy is the product of the two, the probability that a randomly drawn name receives the correct label. We report all three because a tool can score high on conditional accuracy while labeling few names. An LLM leaves a name unlabeled in three ways. It can refuse outright, answer “Unknown”, or give a category outside the four we score, mainly Middle Eastern (SI D). We use “refusal” for all three when the distinction does not matter.
The hosted LLMs are Claude Haiku 4.5 (Anthropic, 2025) and Gemini 2.5 Flash (Comanici et al., 2025). Both received the same short instruction, which asked only for a category, together with the name and a country code (“US” for voters, “CN” for Study 1, and the country of affiliation for Study 3), at temperature zero. Repeated runs on 200 names reproduced 100% of Haiku's labels and 99.5% of Gemini's (SI C). Hosted models can still be updated or retired, which limits long-run reproducibility (Barrie et al., 2025). We therefore also ran a locally hosted open-weight model, Qwen 2.5 7B Instruct at the pinned quantization qwen2.5:7b-instruct-q4_K_M, with the same instruction, temperature zero, and a fixed seed. A full second run on 2,000 Study 2 names reproduced all of its labels. The hosted models cost about $28 in API fees for roughly 40,000 names per model. The local model runs offline at no marginal cost. We chose the instruction from four variants tested on 200 names per task. Every variant that lowered refusal rates also lowered conditional accuracy, and SI A gives the exact wording of all variants.
4 Study 1: Gender Classification of Chinese Names
Chinese names are the hardest case for gender classification. Misgendering rates for Chinese women range from 43% to 76% across tools, the highest for any group in the literature (Lockhart et al., 2023), because many Pinyin names are used by both men and women and standard tools have little training data for them (Sebo, 2021). If LLMs help anywhere, it should be here.
We sampled 10,000 Pinyin given names from the dataset of Shi and Tong (2025), which records the gender of about 30 million individual shareholders of companies registered in China up to 2018 and aggregates their given names into 96,797 Pinyin forms.¹ The gender shares are frequencies among these shareholders, not in the Chinese population. We kept the 54,897 Pinyin names with at least ten bearers and drew 2,500 names from each of four strata of the female share (above 80%, 50% to 80%, 20% to 50%, and below 20%). No sampled name has an even split. The sample oversamples ambiguous names by design and does not represent the distribution of Chinese individuals.
We score tools against two targets. Majority agreement is the share of labeled names whose label is the name’s majority gender, a target a perfect classifier could meet for every name. Individual accuracy is the expected accuracy for a person drawn from the bearers of a labeled name, so that a female label earns the name’s female share. Its ceiling is the mean majority share, which a classifier that always picks the majority gender would reach. Across the 10,000 names this ceiling is 79.7%, and because tools label different names, Table 2 reports it for each tool’s labeled names (SI H). We queried Genderize.io without its optional country parameter. Setting it to China raises conditional accuracy by 3.3 percentage points but lowers coverage from 79% to 50% (SI I).
Table 2: Gender classification of 10,000 Chinese Pinyin names (Study 1)
| Tool | Coverage | Majority agreement [95% CI] | Total agreement | Individual accuracy | Ceiling on labeled names |
|---|---|---|---|---|---|
| Genderize.io | 79.3 | 70.4 [69.4, 71.3] | 55.8 | 64.8 | 79.0 |
| gender R package | 3.8 | 56.5 [51.5, 61.6] | 2.1 | 55.7 | 81.0 |
| Gemini 2.5 Flash | 28.4 | 87.7 [86.4, 88.9] | 24.9 | 78.7 | 84.0 |
| Claude Haiku 4.5 | 8.2 | 85.1 [82.7, 87.7] | 7.0 | 78.9 | 85.6 |
| Qwen 2.5 7B (local) | 7.6 | 81.7 [79.0, 84.3] | 6.2 | 75.3 | 84.2 |
Percent, averaged over names. Total agreement counts unlabeled names as errors. Individual accuracy and its ceiling are defined in the text. Across all names the ceiling is 79.7%. Intervals from 2,000 bootstrap replications. Person-weighted versions are in SI H.
Genderize.io labels 79.3% of names and agrees with the majority gender on 70.4% of them (Table 2). The LLMs are far more selective. Haiku returns “Unknown” for 91.8% of names and Gemini for 71.6%, but they agree with the majority gender on 85.1% and 87.7% of the names they label. Part of this advantage reflects which names they label, since the individual-level ceiling on their labeled names is 85.6% and 84.0%, against 79.0% for Genderize.io. Scored on the same names, the advantage shrinks or disappears. On the 2,308 names both Gemini and Genderize.io label, they agree with the majority gender on 87.7% and 80.9%, and on the 735 names both Haiku and Genderize.io label, both agree on 85.4%. The local Qwen model behaves like Haiku, labeling 7.6% at 81.7%. Among the most ambiguous names every tool’s individual accuracy lies between 50.9% and 52.0%, against a ceiling of 55.5%, while among names whose majority share exceeds 80% Haiku and Gemini agree with the majority gender on 94.4% and 95.7%, against 80.5% for Genderize.io (SI J). The LLMs behave like classifiers with an internal confidence threshold.
For female names, which tools misclassify most often (Lockhart et al., 2023), the LLMs trade
¹Available at https://doi.org/10.7910/DVN/UAARYY.
recall for precision. Haiku labels 10.4% of majority-female names female and Gemini 40.8%, against 61.6% for Genderize.io, but a name they label female is majority female 91.7% and 87.9% of the time, against 69.2%. On the 2,069 names Genderize.io cannot label, Gemini labels 25.9% and agrees with the majority gender on 87.7%, while Haiku labels 4.2% at 82.6%. For Chinese names, LLM accuracy holds in the coverage gap, but the LLMs fill only a small part of it.
5 Study 2: Race and Ethnicity of North Carolina Voters
Race classification relies on Census surname distributions and voter records, and the groups those data represent worst are the groups tools misclassify most (Lockhart et al., 2023). North Carolina is one of few states whose voter file records self-reported race, which lets us score every tool against the voter's own answer.
The voter file (snapshot of March 2026) contains 9.1 million records.² We drew a stratified sample of 19,998 voters, 5,000 each who report White, Black, and Hispanic identity, 2,998 who report Asian identity, and 2,000 who report another category (60% “Other” race, 26% American Indian, and 14% multiracial). The sample therefore differs from the composition of North Carolina voters and from the Census populations whose composition enters the priors of BISG and other probabilistic tools. Our estimates describe the sample. SI M reports classification accuracy under U.S. Census population weights, and SI V reweights downstream estimates to the North Carolina voter-file composition. The Census-based tools are WRU with surname only, with county priors, and with census-tract priors, plus predictrace. For the tract version we geocoded each voter’s residential address with the Census geocoder. Tract priors are the geography that BISG practice recommends (Imai and Khanna, 2016), and 79% of the sample geocoded to a tract, with county priors used for the rest.³ The LSTM tools are rethnicity, ethnicol, and pyethnicity, and the LLMs are Haiku, Gemini, and Qwen. The tools receive different information. Census tools see the surname and optionally the address, LSTM tools see the full name, and LLMs see the full name and the country. An ablation study that varies what the LLMs see is reported in SI E. We also build four hybrid pipelines that use an LLM’s label when one exists and fall back to a traditional tool otherwise, so that the complementary workflow sits in the same comparison as its parts.
Table 3 scores the tools on the 17,998 voters who report one of the four categories the tools can return (SI O reports how the tools label the others). Surname-only tools reach 63.5%, the ceiling set by Census surname distributions. County priors raise WRU to 70.7% and tract priors to 74.1%, and pyethnicity reaches 78.5%. Haiku has the highest conditional accuracy at 89.3% but labels only 50.5% of voters, so its total accuracy of 45.1% is the lowest in the table. Gemini labels 90.7% at 78.6%, and Qwen 95.6% at 73.5%. Haiku’s missing labels are 21 points of explicit refusals and 29 points of “Unknown” answers (SI D). The hybrids restore nearly full coverage, and the best of them, Haiku with a pyethnicity fallback, reaches 78.1% against 78.5% for pyethnicity alone. Figure 1
²https://www.ncsbe.gov/results-data/voter-registration-data
³We do not report WRU’s first-name specification, because in our implementation it returned predictions identical to the surname-only model.
Table 3: Race and ethnicity classification of North Carolina voters (Study 2, N = 17,998 voters who report White, Black, Hispanic, or Asian identity). Coverage is the share of voters receiving a usable label. Conditional accuracy is the share correct among labeled voters, and total accuracy is their product. Hybrid pipelines use the LLM's label when one exists and the second tool's label otherwise. Brackets give 95% intervals from 2,000 stratified bootstrap replications.
| Tool | Coverage | Cond. accuracy | Total accuracy |
|---|---|---|---|
| pyethnicity | 100.0 | 78.5 [77.9, 79.0] | 78.5 [77.9, 79.0] |
| WRU (+tract) | 99.6 | 74.1 [73.5, 74.7] | 73.8 [73.2, 74.5] |
| rethnicity | 100.0 | 73.7 [73.0, 74.3] | 73.7 [73.0, 74.3] |
| WRU (+county) | 99.5 | 70.7 [70.1, 71.3] | 70.4 [69.8, 71.0] |
| ethnicolr | 100.0 | 67.9 [67.3, 68.5] | 67.9 [67.3, 68.5] |
| WRU (surname) | 99.9 | 63.5 [62.9, 64.0] | 63.4 [62.9, 64.0] |
| predictrace | 85.3 | 63.5 [62.9, 64.1] | 54.1 [53.6, 54.7] |
| Gemini 2.5 Flash | 90.7 | 78.6 [78.0, 79.2] | 71.2 [70.6, 71.9] |
| Qwen 2.5 7B (local) | 95.6 | 73.5 [72.8, 74.1] | 70.3 [69.6, 70.9] |
| Claude Haiku 4.5 | 50.5 | 89.3 [88.6, 89.9] | 45.1 [44.4, 45.7] |
| Hybrid: Haiku → pyethnicity | 100.0 | 78.1 [77.5, 78.6] | 78.1 [77.5, 78.6] |
| Hybrid: Haiku → WRU (+tract) | 99.8 | 77.4 [76.8, 77.9] | 77.2 [76.6, 77.8] |
| Hybrid: Gemini → pyethnicity | 100.0 | 76.7 [76.1, 77.3] | 76.7 [76.1, 77.3] |
| Hybrid: Haiku → WRU (+county) | 99.7 | 74.9 [74.3, 75.5] | 74.7 [74.1, 75.3] |
The 2,000 sampled voters who report another category are excluded because no tool can return that category. SI O reports how the tools label them.
places every pipeline on the coverage and accuracy plane.
Conditional accuracy scores each tool on different voters, so it mixes the quality of the labels with the choice of which voters to label. We compare tools on common voters and at matched coverage (SI L). On the 9,088 voters that both Haiku and pyethnicity label, pyethnicity is correct on 90.0% and Haiku on 89.3%. If pyethnicity labels only its most confident voters, as many as Haiku labels, it is correct on 94.1%, against 88.4% for WRU with tract priors at the same coverage. Against the remaining tools Haiku stays ahead on common voters, by 6.5 points over WRU with tract priors and 3.8 points over rethnicity. Haiku's lead over pyethnicity in conditional accuracy comes from the voters it chooses to label.
The differences between tools are largest for Black voters (Figure 2). WRU with surnames only labels 16.7% of Black voters correctly, and 82.0% as White. Tract priors raise this to 62.8%, pyethnicity reaches 64.1%, rethnicity 71.5%, and Haiku 67.2% among the Black voters it labels. Because Haiku labels only a quarter of Black voters, it labels 16.8% of all Black voters correctly, no more than surname-only WRU. Haiku also leads for Hispanic (94.4%) and Asian (88.9%) voters among those it labels. Haiku's Black F1 score, which balances precision and recall, is the highest of any tool among the voters it labels (0.79) but falls to 0.29 when unlabeled Black voters count as missed, above only predictrace and surname-only WRU (SI K).
Haiku's coverage varies with the input and the wording of the request. Its coverage tracks the information in the name, falling from 53.8% with full names to 28.8% with surnames and 9.9% with first names, while conditional accuracy stays near 90% (SI E). But adding the voter's county

Figure 1: Coverage and conditional accuracy of every tool and hybrid pipeline, Study 2 (). Dotted curves mark constant total accuracy. Haiku reaches the highest conditional accuracy by labeling about half of the voters, and the hybrids that fill its refusals land beside pyethnicity.

Figure 2: Conditional accuracy within each self-reported group, Study 2 (5,000 White, 5,000 Black, 5,000 Hispanic, and 2,998 Asian voters, restricted to the voters each tool labels). Lines are 95% bootstrap intervals, most of them narrower than the markers. Surname-only tools label most Black voters as White.
of residence, which makes the name more informative, lowers Haiku's coverage to 31.1%, and one wording of the request draws a refusal for 99% of names (SI A). A request that looks more like a query about an identifiable person draws more refusals.
6 Study 3: Cited Political Science Authors
Studies 1 and 2 use benchmark data. Applied researchers work with samples that mix naming traditions, have no ground truth, and differ from the populations on which tools were validated. Study 3 therefore scores the tools on authors cited in political science journals.
We drew a stratified random sample of 300 authors from roughly 197,000 authors cited in 27 political science journals between 2020 and 2024, with ten strata that oversample informative cases (SI Q). A research assistant coded each author's gender and race from public information such as institutional profiles, without access to any prediction. A second coder independently coded 75 authors and agreed with the first on 86.7% of codeable race classifications (Cohen's ) and 97.1% of gender classifications (). We use the first coder's labels as a human reference coding. They record perceived race and gender, not self-reports, and carry the uncertainty the reliability figures show. The coder placed 224 authors in one of the four race categories, could not determine race for 63, and coded 13 as other or mixed race, which lies outside the four categories. Coverage in Table 4 is the share of the 224 authors the tool labels, and accuracy is computed among authors whom both the tool and the coder classified.
Table 4: Race and ethnicity against human reference coding, four categories (Study 3)
| Tool | Unweighted (hard-case sample) | Weighted to frame | |||
|---|---|---|---|---|---|
| Coverage | N | Accuracy [95% CI] | Coverage | Accuracy | |
| ethnicolr | 100.0 | 224 | 74.6 [68.3, 79.9] | 100.0 | 82.9 |
| pyethnicity | 100.0 | 224 | 71.0 [64.7, 76.8] | 100.0 | 78.3 |
| predictrace | 71.4 | 160 | 79.4 [72.5, 85.6] | 72.1 | 92.6 |
| rethnicity | 100.0 | 224 | 55.8 [49.6, 62.1] | 100.0 | 61.6 |
| WRU (surname) | 67.9 | 152 | 80.3 [73.7, 86.2] | 68.2 | 94.6 |
| Gemini 2.5 Flash | 90.6 | 203 | 88.7 [84.7, 92.6] | 93.9 | 91.7 |
| Qwen 2.5 7B (local) | 77.2 | 173 | 83.8 [78.0, 89.0] | 81.1 | 91.4 |
| Claude Haiku 4.5 | 68.3 | 153 | 89.5 [85.0, 94.1] | 67.0 | 94.3 |
Percent. Coverage is the share of the 224 authors with a four-category reference code whom the tool labels. Accuracy is computed on the N authors whom both the tool and the coder classified. Unweighted figures describe the sample, which oversamples hard cases. Weighted figures use the design weights described in SI Q. Intervals from 2,000 bootstrap replications.
The LLMs are the most accurate race classifiers in the sample (Table 4). Haiku reaches 89.5% and Gemini 88.7%, against 80.3% for WRU and 71.0% for pyethnicity. The sample oversamples hard cases, however, including authors on whom WRU and an earlier LLM run disagreed. Weighted to the sampling frame, WRU (94.6%) and Haiku (94.3%) are about equally accurate, and each labels about two thirds of the authors. On the 101 authors both label, Haiku is correct on 97.5% and WRU on 94.5% after weighting (SI Q). The LLM advantage is largest on hard cases, and much of the remaining LLM error lies across the Asian–White and Hispanic–White category boundaries (SI Q). The LSTM tools lose the most relative to Study 2. Rethnicity falls from 73.7% on North Carolina voters to 55.8%, which fits a tool trained on U.S. voter data meeting an international name pool.
Table 5: Gender against human reference coding (Study 3)
| Tool | N codeable | Accuracy | 95% CI |
|---|---|---|---|
| Genderize.io | 229 | 97.4% | [95.2, 99.1] |
| gender R package | 229 | 97.4% | [95.2, 99.1] |
| Claude Haiku 4.5 | 270 | 97.0% | [94.8, 98.9] |
| Gemini 2.5 Flash | 258 | 98.1% | [96.1, 99.6] |
| Qwen 2.5 7B (local) | 233 | 97.9% | [95.7, 99.6] |
Authors whom both the tool and the coder classified. An LLM answer of “Unknown” counts as no label. Intervals from 2,000 boot-strap replications.
For gender, every tool is correct on more than 97% of the authors it labels (Table 5). The LLMs differ in coverage. Of the coded authors whom Genderize.io could not label, Haiku labels 45 and Gemini 38. In a mostly Western academic sample, then, the LLMs match the traditional tools on gender and reach authors those tools miss, and for race they hold their accuracy on the hard cases where traditional tools fail. The coder’s labels are themselves inferences from public profiles, so Study 3 measures agreement with perceived race, not accuracy against self-reports.
7 From Classification Accuracy to Downstream Bias
The three studies score tools by how often their labels are right, but a label that is usually right can still bias the group shares and differences estimated from it. This section measures that bias directly, using Study 2’s self-reported race, every tool’s prediction, and real outcomes for the same voters.
7.1 Estimands and Empirical Confusion Matrices
Let denote voter ’s self-reported race and the label from tool , which may be empty. The empirical confusion matrix has entries equal to the share of voters with who receive label , with an extra column for voters who receive no label. We tabulate it directly from the predicted and true labels, so it involves no modeling assumption, and each row sums to one (SI S). Two entries anticipate the results. WRU with surnames only labels 82.0% of Black voters as White. Haiku leaves 67.5% of White, 75.0% of Black, 18.2% of Hispanic, and 29.4% of Asian voters unlabeled.
We study three estimands with self-reported race as truth. The first is the Black share of the 19,998 sampled voters, . The second is the White–Black gap in Democratic registration, , where Democratic registration is 1 for Democrats and 0 for Republicans, unaffiliated voters, and members of minor parties. In the sample, 20.4% of White and 73.3% of Black voters are registered Democrats. The third is the White–Black gap in mean age, years (54.4 against 50.1). Party and birth year come from re-joining the sample to the voter file on name, race, ethnicity, gender, and county. Where the key matches several records we keep an outcome only if all of them agree. The gaps are therefore defined on the 19,418 voters with a party record and the 19,177 with a birth year, and every estimator, its oracle, and the decomposition below use the same voters. We do not redefine the estimand for the voters a pipeline labels, because that would hide selection bias in the definition. The 2,000 voters outside the four categories stay in the analysis, because a researcher cannot remove them before classifying and tools can label them White or Black. Dropping them changes no conclusion (SI T).
7.2 Downstream Estimators on Real Outcomes
We compare four families of estimators and an oracle that uses true labels. Hard-label estimators treat each tool's most likely category as the true one and compute the estimand among labeled voters, which is what most applied work does. Weighted estimators use posterior probabilities, with for shares and for group means, where is the probability a tool assigns to voter belonging to group (Chen et al., 2019). BIRDiE fits the joint distribution of the outcome and race using BISG posteriors (McCartan et al., 2025). In the main specification we use its categorical model for party registration (Democratic, Republican, unaffiliated, other) and its normal model for age, both pooled across counties and fitted by EM with the package's default weakly informative prior. Every fit converged. Mixed pipelines use an LLM's label where it exists and a traditional tool's posterior where the LLM gave none. For inference we draw 500 bootstrap samples that resample voters within self-reported race, the sampling strata, and recompute every estimator and the true value in each sample. The intervals for bias are therefore paired, and the oracle's bias is zero in every sample. If our expectations hold, weighted estimates should understate the two gaps, BIRDiE should come close to them, and Haiku's hard labels should show bias from selection as well as from misclassification.
Table 6 and Figure 3 report the results. For the Black share, calibration and coverage decide the ranking. Weighting by pyethnicity's posteriors misses the true share by 0.3 percentage points, and weighting by BISG posteriors with county or tract priors comes within 3 points, while surname-only posteriors miss by 10. Selective hard labels fail. Haiku's labels imply a Black share of 9.7% against a true 25%, and surname-only WRU implies 5.5% because it labels most Black voters White.
For the registration gap, only BIRDiE comes close. On county-level BISG posteriors it estimates the gap at -0.541 against a true -0.529, a bias of -0.012 (95% interval -0.041 to +0.013), and the surname-only and tract versions miss by 0.029 and 0.020. All three bias intervals contain zero. Every other estimator understates the gap, hard labels by 36% to 65% of its size and posterior
Table 6: Bias in downstream estimands, Study 2, with real outcomes from the voter file. The estimands are the Black share of the 19,998 sampled voters (), the White–Black gap in Democratic registration among the 19,418 voters with a party record (, from 20.4% of White and 73.3% of Black voters registered as Democrats), and the White–Black gap in mean age among the 19,177 voters with a birth year ( years, from 54.4 and 50.1 years). Brackets give 95% paired bootstrap intervals for the bias (500 replicates).
| Estimator | Bias() | Bias() | Bias(, years) |
|---|---|---|---|
| Hard-label (argmax) estimators | |||
| -0.195 | +0.334 | -3.07 | |
| WRU surname | [-0.197, -0.191]-0.031 | [+0.303, +0.363]+0.298 | [-4.36, -1.87]-2.62 |
| WRU +county | [-0.036, -0.025]-0.023 | [+0.276, +0.317]+0.240 | [-3.45, -1.86]-2.69 |
| WRU +tract | [-0.028, -0.018]-0.028 | [+0.222, +0.259]+0.257 | [-3.46, -1.97]-0.52 |
| pyethnicity | [-0.032, -0.024]-0.153 | [+0.240, +0.275]+0.191 | [-1.29, +0.29]+6.04 |
| Claude Haiku 4.5 | [-0.158, -0.148]-0.089 | [+0.154, +0.222]+0.271 | [+4.67, +7.44]+1.42 |
| Gemini 2.5 Flash | [-0.093, -0.085]-0.046 | [+0.251, +0.290]+0.344 | [+0.58, +2.29]+0.53 |
| Qwen 2.5 7B (local) | [-0.051, -0.041]-0.038 | [+0.322, +0.363]+0.262 | [-0.35, +1.52]-0.11 |
| Hybrid Haiku→pyeth. | [-0.042, -0.034] | [+0.245, +0.280] | [-0.88, +0.72] |
| Posterior-weighting estimators | |||
| -0.099 | +0.426 | -3.82 | |
| WRU surname | [-0.101, -0.097]-0.030 | [+0.410, +0.440]+0.367 | [-4.51, -3.07]-3.43 |
| WRU +county | [-0.033, -0.027]-0.025 | [+0.351, +0.381]+0.307 | [-4.10, -2.73]-3.32 |
| BISG tract chain | [-0.028, -0.022]-0.003 | [+0.293, +0.320]+0.323 | [-3.97, -2.67]-1.03 |
| pyethnicity | [-0.006, -0.001] | [+0.308, +0.337] | [-1.68, -0.34] |
| Mixed LLM + posterior pipelines | |||
| -0.019 | +0.316 | -0.47 | |
| Haiku + pyeth. posterior | [-0.022, -0.016]-0.037 | [+0.301, +0.330]+0.283 | [-1.15, +0.23]-1.38 |
| Haiku + BISG posterior | [-0.040, -0.034] | [+0.267, +0.297] | [-2.02, -0.73] |
| BIRDiE estimators | |||
| -0.096 | -0.029 | +1.23 | |
| BIRDiE, WRU surname | [-0.098, -0.094]-0.027 | [-0.069, +0.007]-0.012 | [-1.70, +3.47]+0.60 |
| BIRDiE, WRU +county | [-0.030, -0.024]-0.022 | [-0.041, +0.013]-0.020 | [-0.90, +1.95]-0.53 |
| BIRDiE, BISG tract chain | [-0.025, -0.019] | [-0.042, +0.001] | [-1.63, +0.51] |
| Reference | |||
| Oracle (true labels) | 0 (by construction) | 0 (by construction) | 0 (by construction) |
BIRDiE’s Black share comes from the party model. The BISG tract chain uses tract priors for the 79% of voters whose address geocoded to a tract and county priors otherwise.

Figure 3: Bias of each estimator, Study 2. Left, the White-Black gap in Democratic registration (true gap -0.529, N = 19,418 voters with party recorded). Right, the Black share of the sample (true share 0.25, N = 19,998). Lines are 95% paired bootstrap intervals for the bias. Only the BIRDiE estimates come close to the true registration gap.
weighting by 58% to 81%. Haiku is the least biased hard-label estimator (+0.191), consistent with its high conditional accuracy, and it misses by more than each BIRDiE estimate in every bootstrap sample. The weighted estimators attenuate most, as Chen et al. (2019) lead one to expect when a name's probability is spread across several groups.
BIRDiE's result depends on how it treats geography, and in this benchmark the dependence tracks how informative the posteriors are (Table T.2 in the SI). County fixed or random effects ask BIRDiE to estimate a race-by-party table for each county. Counties in the sample have a median of 78.5 voters, and with diffuse posteriors the model cannot separate White from Black voters within a county and pulls their rates together. Surname-only posteriors give Black voters a mean probability of 0.31 of being Black, and their county models understate the gap by 0.092 and 0.120. Tract priors raise that probability to 0.55, and every tract specification stays within 0.023 of the true gap. Restricting the analysis to voters geocoded to a tract gives similar results. The disagreement between specifications tracks the error. Across the three posteriors, the range of the pooled, fixed-effect, and random-effect estimates is 0.149, 0.082, and 0.043, and the largest absolute bias is 0.120, 0.070, and 0.023. The range needs no ground truth and can serve as a sensitivity check, though agreement across specifications does not establish that the estimates are accurate. Within self-reported race and county, we detect no association between either outcome and how Black a surname looks (). This limited test does not establish BIRDiE's independence assumption. This robustness holds for the party gap. For the age gap, county fixed effects move the tract estimate's bias from -0.53 to -2.47 years.
The age gap shows the cost of informative missingness. Haiku's hard labels overstate it by 6.0 years (95% interval 4.7 to 7.4), the largest absolute bias in the age gap among the estimators compared. Haiku's missing labels are related to age within racial groups. Its "Unknown" answers fall on older Black voters (mean age 55.0 against 50.1 for all Black voters), while its explicit refusals fall on younger ones (SI S), and no reweighting of the labeled voters by race can remove a bias that operates within races. Filling Haiku's missing labels with pyethnicity's labels brings the age bias to -0.11 years (-0.88 to +0.72), because the fallback returns the unlabeled voters to the estimand. It does not remove misclassification, and the same hybrid understates the registration gap by 0.262, more than Haiku alone. Gemini's and Qwen's hard labels also overstate the age gap, by 1.4 and 0.5 years, while every traditional tool's hard labels understate it, so hard-label bias has no common direction. BIRDiE misses the age gap by between -0.53 and +1.23 years depending on the posterior, with intervals that contain zero, and a paired comparison cannot rank it against the hybrid.
Reweighting the sample to the race composition of the North Carolina voter file changes the magnitudes but not the conclusions (SI V).
7.3 Decomposing the Bias and Testing the Complementarity Claim
Because we observe true race for every voter, the bias of each hard-label estimator splits exactly into a misclassification part and a selection part. Let be the set of voters tool labels and the estimate from true labels within . Then
an identity with no assumptions or free parameters. The selection part is zero for any pipeline that labels everyone. Figure 4 shows both parts for each tool. For the traditional tools, bias comes almost entirely from misclassification. Haiku fails mostly through selection in the age gap, where 4.4 of its 6.0 years of bias come from which voters it left unlabeled, almost all of it through its “Unknown” answers (SI S). Gemini and Qwen label nearly every voter, so their selection components are small. Haiku’s case is the regime the reject-option literature warns about. A correction that applies a single confusion matrix, unrelated to the outcome, cannot reach it, because the selection operates within racial groups. Models that let missingness depend on the outcome could address it in principle, but they need information about the unlabeled voters.

Figure 4: Hard-label bias split into misclassification and selection by Equation 1, Study 2 (N = 19,418 with party recorded and N = 19,177 with a birth year). Diamonds mark total bias. Pipelines that label every voter have no selection component. Most of Haiku's bias in the age gap comes from selection.
The complementary workflow pays off only if LLMs are accurate on the names traditional tools get wrong. Table 7 conditions each LLM’s accuracy on whether a traditional tool labels the name correctly. On the 11,418 names that surname-only WRU gets right, Haiku labels 62.0% and is correct on 98.3%. On the 6,570 names WRU gets wrong, Haiku labels 30.5% and is correct on 57.5%. Gemini and Qwen, which rarely refuse, show the same drop, to 45.3% and 45.0% on WRU’s errors. On pyethnicity’s errors the LLMs are right on 11.4% to 21.3% of the names they label. The tools often fail on the same names, and refusal steers Haiku toward the easy ones. None of the tested fallback pipelines exceeds pyethnicity’s total accuracy in this sample (Table 3).
Table 7: LLM accuracy conditional on whether a traditional tool classifies the name correctly, Study 2 four-category sample (). Coverage is the share of names in the row that the LLM labels. Conditional accuracy is the share correct among labeled names.
| Names the traditional tool gets | Claude Haiku 4.5 | Gemini 2.5 Flash | Qwen 2.5 7B | ||
|---|---|---|---|---|---|
| Coverage | Cond. acc. | Cond. acc. | Cond. acc. | ||
| WRU (surname) correct | 11,418 | 62.0 | 98.3 | 95.6 | 89.2 |
| WRU (surname) wrong | 6,570 | 30.5 | 57.5 | 45.3 | 45.0 |
| WRU (+tract) correct | 13,291 | 56.5 | 96.4 | 89.5 | 83.6 |
| WRU (+tract) wrong | 4,641 | 33.4 | 54.9 | 45.4 | 43.5 |
| pyethnicity correct | 14,121 | 57.9 | 97.9 | 93.5 | 87.5 |
| pyethnicity wrong | 3,877 | 23.3 | 11.4 | 16.9 | 21.3 |
7.4 Combining LLM Answers with BISG Posteriors
A researcher can also combine LLMs with probabilistic tools. We treat each LLM’s answer as evidence about race and update the tract BISG posterior by Bayes’ rule, , where is the surname, the geography, and the LLM’s answer or its type of missing output. We estimate on one half of the sample and apply it to the other, so that no voter’s self-report enters the voter’s own posterior (SI U). Every LLM’s answers raise the accuracy of the most likely category, from 74.1% for BISG alone to between 77.9% and 79.4%. Combined with Gemini’s answers, the posteriors are 1.0 point more accurate than pyethnicity, the most accurate single tool (95% interval 0.4 to 1.5). Haiku’s answers help although half of them are missing, because whether and how Haiku declines carries information about race. The weighted estimator gains as well. Its bias for the age gap shrinks from -3.32 years to between -1.36 and -1.93, and its bias for the registration gap from 0.307 to between 0.261 and 0.280, which still leaves half of the gap missing.
The combination provides no demonstrated gain in BIRDiE accuracy. On BISG posteriors alone its bias intervals contain zero for both gaps, and on every combined posterior they exclude it, with biases of +0.034 to +0.054 for the registration gap and +0.96 to +2.12 years for the age gap. BISG alone errs slightly in the other direction, and the paired differences in absolute bias are not statistically distinguishable from zero (SI U). The update treats the LLM’s answer as independent of the surname and geography given race, even though the LLM reads the same surname. It therefore counts surname evidence twice, and the resulting probabilities are overconfident. First names may also carry birth-cohort information that violates BIRDiE's outcome-name independence assumption, but this design does not separate that explanation from miscalibration. Held-out calibration improves prediction without reducing BIRDiE's bias relative to original BISG (SI U).
8 Discussion
We asked whether the accuracy of LLM name classifiers carries over to the estimates researchers report, and found that it does so only in part. Haiku's apparent advantage over pyethnicity disappears on common voters, yet its missing labels produce selection bias that a single confusion-matrix correction cannot remove. For the registration gap, the choice of estimator matters more than the choice of classifier. The LLMs still add information. Combined with BISG, Gemini's answers give the most accurate individual labels in the study, and for Chinese names Gemini's majority agreement stays at 87.7% on the names Genderize.io cannot label.
Conditional accuracy, the metric on which LLMs look strongest, does not describe how well a classifier serves an estimate. The classifier with the highest conditional accuracy in our benchmark produced the largest absolute bias in the age gap. A classifier that abstains on hard cases trades coverage for accuracy, with the trade only remaining harmless when abstention is unrelated to the outcome (Chow, 1970; El-Yaniv and Wiener, 2010), which is a condition Haiku's missing labels do not meet. The selection runs mainly through Haiku's "Unknown" answers, but the output categories do not establish whether uncertainty or safety training explains it. This pattern is consistent with distinctive first names being more common in younger cohorts, although our design cannot establish the mechanism. Applied work should therefore account for selection when handling missing LLM labels. For the LLMs that rarely refuse in this benchmark, misclassification accounts for most of the bias.
The results make the intended estimand central to tool choice. To estimate racial gaps in the United States, BIRDiE turns decade-old BISG posteriors into close estimates of a gap for a discrete outcome, and comparing geographic specifications reveals sensitivity to modeling choices. The tested LLM-BISG update is overconfident, so its gains in individual classification do not establish its suitability for BIRDiE. For individual classification, the LLMs earn a place. Their answers sharpen BISG posteriors, and a voter Haiku labels Black is Black 95.8% of the time, the highest precision of any tool (SI K). The combination needs error rates estimated on people with known race, and so a validation sample. LLMs also extend coverage to populations where no validated estimator of downstream disparities exists, such as gender in non-Western naming systems and race for authors outside the United States. Genderize.io returns probabilities, but a probability for each name is not an estimator that corrects downstream bias. In these populations the LLMs label names traditional tools miss, but whether their labels yield unbiased estimates is untested, and a fallback restores unlabeled cases without correcting its own errors. Table 8 turns these results into a checklist.
Table 8: Choosing a classification pipeline by goal and population
| Goal | U.S. race with names and addresses | No validated downstream estimator (gender, non-U.S. names) |
|---|---|---|
| Group shares | Validate full-coverage posteriors for the target population before using them to estimate shares. Account for selection if a tool leaves cases unlabeled. | Do not assume the labeled subset represents the full sample. A fallback restores coverage but not correct labels, so report coverage by group and validate the shares on a subsample with known identity. |
| Group differences, discrete outcome | Evaluate BIRDiE on BISG posteriors and report sensitivity to geographic specifications. Validate calibration and estimator assumptions before adding LLM information. Weighted estimates attenuated this benchmark's registration gap. | Report estimates with and without a fallback, and establish the direction of bias on a validation subsample. |
| Group differences, continuous outcome | Compare BIRDiE with a full-coverage pipeline. Hard-label bias can inflate or shrink a gap. Check the direction of bias in weighted estimates on a validation sample. | As above, and check on the validation subsample whether missing labels are related to the outcome within groups. |
| Individual labels | Evaluate combinations of BISG posteriors and LLM answers, missing outputs included, using error rates estimated on voters with known race. Check calibration if probabilities will be used. | Use LLM labels where traditional tools give none. Validate their accuracy and report coverage by group, because the labeled names are a selected subset. |
| Any goal | Report coverage, conditional accuracy, and total accuracy, and compare tools on common cases and at matched coverage. Document who goes uncounted (Lee et al., 2025). Archive tool versions, prompts, and raw outputs, and prefer a locally versioned model when results must be reproducible over time (Barrie et al., 2025). |
The downstream analysis rests on one state and two outcomes, so its magnitudes are an existence proof of selection bias, not general estimates. The LLMs may have seen the public North Carolina voter file during training. In a temporal holdout, voters who registered after each model's training cutoff are labeled about as accurately as earlier registrants (for Haiku's 675 later registrants a difference of -1.1 points, 95% interval -5.0 to +2.7, SI W). Neither this test nor Study 3, whose authors were never compiled into a public dataset, rules out exposure to name and race associations in general (Argyle and Barber, 2024).
Hosted models change, so our hosted results describe the model versions we queried. The local model reproduces exactly, but it trails the hosted models on conditional accuracy.
Study 3 is small, with 153 authors labeled by both Haiku and the coder for race, and its reference codes record one coder's perception of race. Our gender classification scheme does not represent nonbinary identities (Lockhart et al., 2023; Keyes, 2018), and every tool assigns categories to people who did not choose them (Gautam et al., 2024). Inferring identity from names requires justification, and the justification weakens when the inferred categories are fed into estimators that distort them.
The question for name-based demographic research is how a classifier's errors and refusals move the estimate a study reports, and accuracy rankings do not answer it. In our voter benchmark, BIRDiE on BISG posteriors comes closest to the registration gap, while LLM answers improve individual classification when combined with BISG. Where no validated estimator exists, LLMs label names that traditional tools miss, but their missing labels must be accounted for and their labels validated against the estimand before they can be trusted.
Statements and Declarations
Ethical considerations
The study analyzes publicly available records (a state voter registration file, a published name-frequency dataset, and public information about published academic authors) and involved no interaction with human participants.
Consent to participate
Not applicable.
Consent for publication
Not applicable.
Declaration of conflicting interest
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding statement
The author(s) received no financial support for the research, authorship, and/or publication of this article.
Data availability
Analysis code and replication materials will be made public through Harvard Dataverse upon acceptance. The package includes Study 1 name-frequency records and Study 2 analytical records with direct identifiers removed. Archived classifier outputs allow reviewers to refit the downstream analyses, including the LLM-BISG combinations and calibration check. Study 3 is shared only as aggregate results to protect the scholars whose perceived identities were coded. Source-data instructions and checksums document reconstruction of Studies 1 and 2; rerunning hosted classifiers may produce different outputs. The North Carolina voter file and Chinese name dataset are available from their original sources.
Use of generative AI
Three large language models (Claude Haiku 4.5, Gemini 2.5 Flash, and Qwen 2.5 7B Instruct) are the objects of study and were used as classifiers in all three studies. The authors designed the study, analyzed the data, and take full responsibility for the content. Sonnet 5 (Anthropic) was used for language editing during manuscript preparation, Claude Code Opus 5.5 was used for preparing the replication material.
References
AlNuaimi, K., Ravaut, M., Jiao, F., Chen, H., Li, X., and Joty, S. (2024). Enriching datasets with demographics through large language models: What's in a name? arXiv preprint arXiv:2409.11491.
Anthropic (2025). Claude 4.5 haiku system card. Technical report, Anthropic.
Argyle, L. P. and Barber, M. (2024). Misclassification and bias in predictions of individual ethnicity from administrative records. American Political Science Review, 118(2):1058–1066.
Barrie, C., Palmer, A., and Spirling, A. (2025). Replication for language models: Problems, principles, and best practice for political science. Working paper. https://arthurspirling.org/documents/BarriePalmerSpirling_TrustMeBro.pdf.
Bertrand, M. and Mullainathan, S. (2004). Are Emily and Greg more employable than Lakisha and Jamal? A field experiment on labor market discrimination. American Economic Review, 94(4):991–1013.
Blackwell, M., Honaker, J., and King, G. (2017). A unified approach to measurement error and missing data: Overview and applications. Sociological Methods & Research, 46(3):303–341.
Chen, J., Kallus, N., Mao, X., Svacha, G., and Udell, M. (2019). Fairness under unawareness: Assessing disparity when protected class is unobserved. Proceedings of the Conference on Fairness, Accountability, and Transparency (FAT* '19), pages 339–348.
Chintalapati, R. (2023). pyethnicity: Predicting ethnicity from names.
Chintalapati, R., Laohaprapanon, S., and Sood, G. (2018). Predicting race and ethnicity from the sequence of characters in a name. arXiv preprint arXiv:1805.02109.
Chow, C. K. (1970). On optimum recognition error and reject tradeoff. IEEE Transactions on Information Theory, 16(1):41–46.
Comanici, G., Bieber, E., Schaekermann, M., Pasupat, I., Sachdeva, N., Dhillon, I., et al. (2025). Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261.
Dasanaike, N. (2026). Large language models naively recover ethnicity from individual records. arXiv preprint arXiv:2601.21132.
Dion, M. L., Sumner, J. L., and Mitchell, S. M. (2018). Gendered citation patterns across political science and social science methodology fields. Political Analysis, 26(3):312–327.
Domínguez-Díaz, A., Goyanes, M., de Marcos, L., and Prado-Sánchez, V. P. (2024). Comparative analysis of automatic gender detection from names: Evaluating the stability and performance of ChatGPT versus Namsor, and Gender-API. PeerJ Computer Science, 10:e2378.
Dworkin, J. D., Linn, K. A., Teich, E. G., Zurn, P., Shinohara, R. T., and Bassett, D. S. (2020). The extent and drivers of gender imbalance in neuroscience reference lists. Nature Neuroscience, 23:918–926.
El-Yaniv, R. and Wiener, Y. (2010). On the foundations of noise-free selective classification. Journal of Machine Learning Research, 11:1605–1641.
Gautam, V., Subramonian, A., Lauscher, A., and Keyes, O. (2024). Stop! In the name of flaws: Disentangling personal names and sociodemographic attributes in NLP. In Proceedings of the 5th Workshop on Gender Bias in Natural Language Processing (GeBNLP), pages 323–337. Association for Computational Linguistics.
Geifman, Y. and El-Yaniv, R. (2017). Selective classification for deep neural networks. In Advances in Neural Information Processing Systems, volume 30.
Gilardi, F., Alizadeh, M., and Kubli, M. (2023). ChatGPT outperforms crowd workers for text-annotation tasks. Proceedings of the National Academy of Sciences, 120(30):e2305016120.
Halterman, A. and Keith, K. A. (2025). Codebook LLMs: Evaluating LLMs as measurement tools for political science concepts. Political Analysis.
Herbei, R. and Wegkamp, M. H. (2006). Classification with reject option. The Canadian Journal of Statistics, 34(4):709–721.
Imai, K. and Khanna, K. (2016). Improving ecological inference by predicting individual ethnicity from voter registration records. Political Analysis, 24(2):263–272.
Imai, K., Olivella, S., and Rosenman, E. T. R. (2022). Addressing census data problems in race imputation via fully Bayesian improved surname geocoding and name supplements. Science Advances, 8(49).
Keyes, O. (2018). The misgendering machines: Trans/HCI implications of automatic gender recognition. Proceedings of the ACM on Human-Computer Interaction, 2(CSCW):1–22.
King, G., Honaker, J., Joseph, A., and Scheve, K. (2001). Analyzing incomplete political science data: An alternative algorithm for multiple imputation. American Political Science Review, 95(1):49–69.
Knox, D., Lowe, W., and Mummolo, J. (2020). Administrative records mask racially biased policing. American Political Science Review, 114(3):619–637.
Kozlowski, D., Larivière, V., Sugimoto, C. R., and Monroe-White, T. (2022). Intersectional inequalities in science. Proceedings of the National Academy of Sciences, 119(2):e2113067119.
Krobath, S. et al. (2025). Nonrandom missingness in child race and ethnicity records and the US federal data standards. JMIR Public Health and Surveillance, 11.
Lee, D. D. I. and Velez, Y. R. (2024). Measuring descriptive representation at scale: Methods for predicting the race and ethnicity of public officials. British Journal of Political Science.
Lee, H., Mishra, S., Mishra, A., You, Z., Kim, J., and Diesner, J. (2025). Revisiting gender bias research in bibliometrics: Standardizing methodological variability using Scholarly Data Analysis (SoDA) Cards. arXiv preprint arXiv:2501.18129.
Lockhart, J. W., King, M. M., and Munsch, C. (2023). Name-based demographic inference and the unequal representation of racial groups. Nature Human Behaviour, 7:1084–1095.
McCartan, C., Fisher, R., Goldin, J., Ho, D. E., and Imai, K. (2025). Estimating racial disparities when race is not observed. Journal of the American Statistical Association.
Mitra, R., McGough, S. F., Chakraborti, T., Holmes, C., et al. (2023). Learning from data with structured missingness. Nature Machine Intelligence, 5:13–23.
Mullen, L. (2021). gender: Predict gender from names using historical data. R package. Available at https://cran.r-project.org/package=gender.
Ornstein, J. T., Blasingame, E. N., and Traber, D. S. (2025). Positioning political texts with large language models by asking and averaging. Political Analysis.
Pangakis, N., Wolken, S., and Fasching, N. (2023). Automated annotation with generative AI requires validation. arXiv preprint arXiv:2306.00176.
Sebo, P. (2021). Performance of gender detection tools: A comparative study of name-to-gender inference services. Journal of the Medical Library Association, 109(3):414–421.
Shi, D. and Tong, S. T. (2025). An open dataset of Chinese name-to-gender associations for gender prediction in broad scientific research. Scientific Data, 12:1962.
Xie, F. (2022). rethnicity: An r package for predicting ethnicity from names. R package version 0.2.4.
Yee, R., Gaber, J., Engel, H., Sorbero, M., Damberg, C. L., and Fremont, A. M. (2022). Implications of missingness in self-reported data for estimating racial and ethnic disparities in Medicaid quality measures. Health Services Research, 57(Suppl 2):245–256.
Supplementary Information
Who Gets Counted? Large Language Models, Informative Refusal, and Downstream Bias in Name-Based Demographic Classification
Contents
A LLM Prompts and Prompt Sensitivity 27
B Model Versions, Settings, and Query Dates 28
C Determinism 29
D Why LLM Labels Are Missing 30
E LLM Name-Component Ablation 31
F Tool Inputs and Category Mapping 32
G Coverage Definitions 33
H Scoring Targets in Study 1 34
I Genderize.io Country Parameter 35
J Study 1 by Name Ambiguity 36
K Per-Group Accuracy in Study 2 37
L Paired Comparisons and Matched Coverage in Study 2 38
M Population-Weighted Accuracy in Study 2 40
N Calibration of WRU 41
O The Residual Category 42
P Refusal Analysis and Hybrid Pipelines 43
Q Study 3 Design and Additional Results 45
R Throughput and Cost 47
S Empirical Confusion Matrices and Differential-Error Diagnostics 48
T Sensitivity of the Downstream Analysis 51
U Combining LLM Answers with BISG Posteriors 54
V Downstream Bias for the North Carolina Voter Population 57
W Temporal Holdout Test for Training-Data Contamination 59
A LLM Prompts and Prompt Sensitivity
The hosted models received a single user message consisting of the instruction, a blank line, and the input. The input was Author: [name] followed by Institution Country: [code], with the code US for voters, CN for Study 1, and the author's country of affiliation for Study 3. The local model received the same instruction as a system message and the input as the user message. The race instruction was
You are classifying the likely race/ethnicity of academic authors based on their names and institutional affiliations. For each author, provide your best estimate from the following categories: White, Black, Hispanic, Asian, Middle Eastern, South Asian, or Unknown. Respond with only the category name.
and the gender instruction was
You are classifying the likely gender of academic authors based on their names. For each author, provide your best estimate: Male, Female, or Unknown. Respond with only: Male, Female, or Unknown.
The instructions did not request a confidence level. We chose these baseline instructions (v1) from four variants tested on 200 names per task. The race variants were (v2) an academic system message stating that classifications are aggregated for research and followed by a shortened request, (v3) a request for “ethnic or cultural background” with the categories European-descent, African-descent, Hispanic/Latino, East Asian, South Asian, Middle Eastern, or Uncertain, and (v4) the baseline categories preceded by five labeled example names. The gender variants were (v2) a system message describing research on Chinese scholarly publishing, (v3) a question about which gender a Pinyin name is more commonly associated with, and (v4) five labeled example Pinyin names. The full text of every variant is in the replication code. Tables A.1 and A.2 report coverage and conditional accuracy. Every variant that raised coverage lowered conditional accuracy.
Table A.1: Prompt sensitivity, race classification (200 North Carolina voters)
| Variant | Claude Haiku 4.5 | Gemini 2.5 Flash | ||
|---|---|---|---|---|
| Coverage | Cond. acc. | Coverage | Cond. acc. | |
| v1 Baseline | 50% | 80% | 93% | 69% |
| v2 Academic framing | 82% | 61% | 99% | 66% |
| v3 Alternative terminology | 1% | — | 90% | 67% |
| v4 Few-shot examples | 82% | 59% | 95% | 67% |
Table A.2: Prompt sensitivity, gender classification (200 Chinese names)
| Variant | Claude Haiku 4.5 | Gemini 2.5 Flash | ||
|---|---|---|---|---|
| Coverage | Cond. acc. | Coverage | Cond. acc. | |
| v1 Baseline | 8% | 94% | 26% | 94% |
| v2 Chinese academic framing | 67% | 75% | 62% | 86% |
| v3 Majority-gender framing | 100% | 55% | 81% | 81% |
| v4 Few-shot examples | 49% | 77% | 43% | 92% |
B Model Versions, Settings, and Query Dates
Table B.1: LLM identifiers, settings, and query dates
| Model | Identifier | Access and settings | Queried |
|---|---|---|---|
| Claude Haiku 4.5 | claude-haiku-4-5-20251001 | Anthropic Messages API, temperature 0, maximum 50 output tokens, no extended thinking. Training data cutoff July 2025. | 9 and 10 March 2026 |
| Gemini 2.5 Flash | gemini-2.5-flash | Google Generative Language API (v1beta), temperature 0, maximum 256 output tokens including thinking tokens, default thinking budget. Knowledge cutoff January 2025. | 9 and 10 March 2026 |
| Qwen 2.5 7B Instruct | qwen2.5:7b-instruct-q4_K_M | Ollama 0.20.5 on a local laptop (Apple M5 Pro, 48 GB), temperature 0, seed 42, maximum 12 output tokens. Released September 2024. | 5 August 2026 |
Training cutoffs are from the providers' documentation (Anthropic's model overview and Google's Gemini 2.5 Flash model card). Query dates are the dates on which the prediction files were written.
C Determinism
We re-classified 200 Study 2 voters (50 per group) with both hosted models at temperature zero. Of the 95 names Haiku labeled in both runs, all 95 received the same label, and 101 of its 103 original refusals recurred. Of the 185 names Gemini labeled in both runs, 184 received the same label. Temperature zero implements greedy decoding, but floating-point nondeterminism on shared hardware means identical output is not guaranteed for hosted models. For the local model we re-ran the first 2,000 Study 2 voters, and every answer, including the unlabeled ones, was identical.
D Why LLM Labels Are Missing
A name can lack an LLM label for three reasons. The model can refuse, returning an empty answer or a statement that it will not classify people by race. It can answer “Unknown”, the abstention option the instruction offers. Or it can answer with a category that the four-category scheme cannot use, mainly Middle Eastern. Table D.1 separates the three. For race, a fifth of Haiku’s answers on voters are explicit refusals. For gender, the models almost never refuse, and nearly all missing labels are “Unknown”.
Table D.1: Why LLM labels are missing, share of all names by model and study. An explicit refusal is an empty answer or a statement that the model will not classify. “Unknown” is the abstention option offered in the prompt. Outside categories are answers the four-category scheme cannot use (for race, mainly Middle Eastern).
| Study | Model | Labeled | Explicit refusal | “Unknown” | Outside categories |
|---|---|---|---|---|---|
| Study 1 (gender) | Claude Haiku 4.5 | 8.2 | 0.0 | 91.8 | 0.0 |
| Study 1 (gender) | Gemini 2.5 Flash | 28.4 | 0.0 | 71.6 | 0.0 |
| Study 1 (gender) | Qwen 2.5 7B | 7.6 | 0.0 | 92.3 | 0.0 |
| Study 2 (race) | Claude Haiku 4.5 | 49.0 | 20.9 | 29.0 | 1.1 |
| Study 2 (race) | Gemini 2.5 Flash | 89.6 | 0.0 | 8.9 | 1.5 |
| Study 2 (race) | Qwen 2.5 7B | 94.8 | 0.2 | 2.5 | 2.5 |
| Study 3 (race) | Claude Haiku 4.5 | 66.0 | 10.3 | 15.7 | 8.0 |
| Study 3 (race) | Gemini 2.5 Flash | 86.3 | 0.0 | 5.3 | 8.3 |
| Study 3 (race) | Qwen 2.5 7B | 75.0 | 1.0 | 10.7 | 13.3 |
| Study 3 (gender) | Claude Haiku 4.5 | 95.7 | 0.0 | 4.3 | 0.0 |
| Study 3 (gender) | Gemini 2.5 Flash | 90.0 | 0.0 | 10.0 | 0.0 |
| Study 3 (gender) | Qwen 2.5 7B | 82.3 | 0.0 | 17.7 | 0.0 |
The main analysis maps East, South, and Southeast Asian answers to Asian and treats Middle Eastern answers as no label. The U.S. Census counts Middle Eastern and North African origin as White. Mapping Middle Eastern answers to White raises coverage by at most 1.9 points and changes conditional accuracy by at most 1.1 points (Table D.2). It changes the bias in the registration gap by less than 0.01 and lowers the bias in the age gap, from 6.0 to 5.4 years for Haiku and from 0.5 to 0.0 years for Qwen.
Table D.2: Sensitivity to the mapping of Middle Eastern answers, Study 2. The main analysis treats them as no label. The alternative maps them to White, following the U.S. Census convention for Middle Eastern and North African origin. Coverage and conditional accuracy are on the four-category sample, and the biases are for hard labels.
| Model | Middle Eastern | Coverage | Cond. accuracy | Bias() | Bias() |
|---|---|---|---|---|---|
| Claude Haiku 4.5 | No label | 50.5 | 89.3 | +0.191 | +6.04 |
| Claude Haiku 4.5 | White | 51.1 | 88.4 | +0.197 | +5.37 |
| Gemini 2.5 Flash | No label | 90.7 | 78.6 | +0.271 | +1.42 |
| Gemini 2.5 Flash | White | 91.6 | 78.0 | +0.272 | +1.10 |
| Qwen 2.5 7B | No label | 95.6 | 73.5 | +0.344 | +0.53 |
| Qwen 2.5 7B | White | 97.5 | 72.4 | +0.344 | +0.04 |
E LLM Name-Component Ablation
To separate what the LLMs know from what they are told, we classified 2,000 Study 2 voters (500 per group) under four inputs. All four conditions supply the country code US. The last condition adds the voter's county of residence to the name ("JAMES SMITH from MECKLENBURG county, NC").
Table E.1: Coverage and conditional accuracy by input (2,000 Study 2 voters)
| Input | Haiku coverage | Haiku cond. acc. | Gemini coverage | Gemini cond. acc. |
|---|---|---|---|---|
| Surname only | 28.8% | 92.9% | 70.3% | 79.4% |
| First name only | 9.9% | 96.0% | 56.7% | 70.2% |
| Full name | 53.8% | 89.7% | 91.7% | 79.7% |
| Full name and county of residence | 31.1% | 94.1% | 93.1% | 81.0% |
Haiku labels more names as the name gets more informative, from 9.9% with first names to 53.8% with full names, while its conditional accuracy stays near 90%. Adding the county of residence has the opposite effect. Haiku's coverage falls to 31.1%, although Gemini's accuracy shows that the county carries useful information. A request that looks more like a query about an identifiable individual draws more refusals, which is consistent with a role for safety training, though the ablation does not isolate that mechanism. Surnames carry more signal than first names for every group, but first names add signal for Black voters. Among the Black voters it labels, Gemini is correct on 43.1% from first names and on 31.7% from surnames.
F Tool Inputs and Category Mapping
Table F.1: Tool inputs and mapping to the four categories
| Tool | Input | Mapping |
|---|---|---|
| WRU (surname) | Surname | Most likely of five Census categories. “Other” counts as no label. |
| WRU (+county) | Surname and county | As above, with county priors from the 2020 Census. |
| WRU (+tract) | Surname and census tract | As above, with tract priors for the 79% of voters whose address geocoded to a tract and county priors for the rest. |
| predictrace | Surname | Census surname lookup. Surnames not in the list receive no label. |
| reethnicity | First name and surname | Four categories returned directly. |
| ethnicolr | First name and surname | Florida model. Asian subcategories collapsed to Asian. |
| pyethnicity | First name and surname | Most likely of four categories. |
| LLMs | Full name and country | East, South, and Southeast Asian collapsed to Asian. Middle Eastern, “Unknown”, and refusals count as no label. |
Accuracy in Table 3 is computed on the 17,998 voters who report White, Black, Hispanic, or Asian identity. The 2,000 voters in the residual category are analyzed in SI O. The downstream estimands in Section 7 are defined on all 19,998 sampled voters.
G Coverage Definitions
Coverage means different things for different tools. For the Census-based tools a name goes unlabeled when its surname is missing from the Census surname list or when the most likely category is “Other”. The LSTM tools label every name by construction. The LLMs leave names unlabeled when they refuse, answer “Unknown”, or answer outside the four categories (SI D). Haiku leaves about half of the voters unlabeled for race and most Chinese names unlabeled for gender, while it labels almost all Study 3 authors for gender. Conditional accuracy is always computed among labeled names, and total accuracy counts unlabeled names as errors.
H Scoring Targets in Study 1
Study 1 knows the gender composition of each name's bearers but not the gender of any individual. Two scoring targets follow, and they answer different questions. Majority agreement asks whether a tool returns the majority gender of a name. A perfect classifier could agree with the majority for every name, so this target has no ceiling below 100%. Individual accuracy asks how often a tool's label would be right for a person drawn from the bearers of a labeled name, and a female label earns the name's female share. No name-only classifier can do better on average than always picking the majority gender, so the mean majority share of the labeled names is the ceiling for this target. Because tools label different names, each tool has its own ceiling.
Both targets can be averaged over names, with each sampled name counted once, or over people, with each name weighted by its number of bearers in the source data. Name weighting describes the stratified sample of names. Person weighting gives more weight to common names, which are less ambiguous on average. Table H.1 reports both. Across all 10,000 names the individual-level ceiling is 79.7% weighted by names and 80.6% weighted by people. No tool reaches its ceiling for individual accuracy. Genderize.io comes within 14.2 points and the LLMs within about 5 to 9 points, and on the names both label, Gemini and Genderize.io differ by 4.5 points in individual accuracy (78.3% against 73.8%).
Table H.1: Study 1 scores weighted by names and by people. Name-weighted figures count each sampled name once. Person-weighted figures weight each name by its number of bearers in the source data. Agreement is with the majority gender, individual accuracy is the expected accuracy for a bearer of a labeled name, and the ceiling is the mean majority share of the labeled names.
| Tool | Name-weighted | Person-weighted | ||||
|---|---|---|---|---|---|---|
| Agreement | Individual | Ceiling | Agreement | Individual | Ceiling | |
| Genderize.io | 70.4 | 64.8 | 79.0 | 84.2 | 74.1 | 80.5 |
| gender R package | 56.5 | 55.7 | 81.0 | 77.8 | 65.1 | 76.7 |
| Gemini 2.5 Flash | 87.7 | 78.7 | 84.0 | 97.6 | 86.8 | 87.7 |
| Claude Haiku 4.5 | 85.1 | 78.9 | 85.6 | 91.6 | 84.3 | 89.3 |
| Qwen 2.5 7B (local) | 81.7 | 75.3 | 84.2 | 85.5 | 79.8 | 89.6 |
I Genderize.io Country Parameter
We queried Genderize.io without its optional country_id parameter. Re-running all 10,000 names with country_id=CN raises conditional accuracy from 70.4% to 73.7% and lowers coverage from 79.3% to 50.0% (Table I.1). Recall for female names rises from 75.8% to 80.6% among labeled names, which suggests that the global model leans male for Chinese names. We use the global configuration because it labels far more names.
Table I.1: Genderize.io with and without country localization (Study 1)
| Configuration | Coverage | Conditional accuracy |
|---|---|---|
| Without country_id (used in the paper) | 79.3% | 70.4% |
| With country_id=CN | 50.0% | 73.7% |
J Study 1 by Name Ambiguity
Table J.1 stratifies Study 1 by the majority-gender share of each name. In the most ambiguous stratum every tool's individual accuracy lies between 50.9% and 52.0%, a few points below the ceiling of about 55%, so no tool knows much about these names. The LLMs' advantage lies in the unambiguous stratum, where Haiku and Gemini agree with the majority gender on 94.4% and 95.7% of the names they label and come within 5 and 4 points of the individual-level ceiling.
Table J.1: Study 1 performance stratified by name ambiguity. Strata are defined by the majority-gender share in the source data. Coverage is the share of names receiving a label. Majority agreement is the share of labeled names whose label is the name's majority gender. Individual accuracy is the expected accuracy for a person drawn from the bearers of a labeled name (a female label earns the name's female share). The individual-level ceiling is the mean majority share, for the whole stratum in the panel heading and for the tool's labeled names in the last column. All quantities are averaged over names.
| Tool | Coverage | Majority agreement | Individual accuracy | Ceiling on labeled names |
|---|---|---|---|---|
| Majority share 50–60% (N=1,496, individual-level ceiling 55.5%) | ||||
| Genderize.io | 83.4 | 58.1 | 50.9 | 55.3 |
| gender R package | 3.9 | 51.7 | 51.1 | 55.6 |
| Claude Haiku 4.5 | 4.8 | 56.9 | 51.4 | 55.2 |
| Gemini 2.5 Flash | 19.2 | 69.0 | 52.0 | 55.5 |
| Qwen 2.5 7B (local) | 4.9 | 59.5 | 51.1 | 55.4 |
| Majority share 60–80% (N=3,504, individual-level ceiling 71.1%) | ||||
| Genderize.io | 81.4 | 62.2 | 55.4 | 70.9 |
| gender R package | 3.1 | 48.2 | 48.3 | 70.7 |
| Claude Haiku 4.5 | 5.0 | 66.1 | 57.7 | 71.0 |
| Gemini 2.5 Flash | 20.4 | 74.5 | 60.8 | 71.3 |
| Qwen 2.5 7B (local) | 5.5 | 66.5 | 56.7 | 70.6 |
| Majority share >80% (N=5,000, individual-level ceiling 93.0%) | ||||
| Genderize.io | 76.6 | 80.5 | 76.3 | 92.7 |
| gender R package | 4.1 | 62.3 | 60.9 | 93.5 |
| Claude Haiku 4.5 | 11.5 | 94.4 | 88.8 | 93.8 |
| Gemini 2.5 Flash | 36.8 | 95.7 | 89.8 | 93.4 |
| Qwen 2.5 7B (local) | 9.9 | 90.9 | 86.2 | 93.8 |
K Per-Group Accuracy in Study 2
Table K.1 reports conditional accuracy within each self-reported group, which scores each tool on the voters it labels. Table K.2 reports coverage and total accuracy by group, which count unlabeled voters as errors. The two views differ most for Haiku. It is correct on 67.2% of the Black voters it labels but labels only 25.0% of Black voters, so it labels 16.8% of all Black voters correctly. Its Black precision of 95.8% is the highest of any tool, and its Black F1 falls from 0.79 among labeled voters to 0.29 when unlabeled Black voters count as missed. For tools that label nearly every voter the two versions of F1 are almost identical.
Table K.1: Per-group conditional accuracy (percent) with 95% bootstrap intervals and Black F1, Study 2 four-category sample (). Each accuracy cell is the share of labeled voters in the group who receive the correct label. Black F1 combines precision and recall for the Black category. The labeled version computes recall among the Black voters the tool labels. The full-sample version counts unlabeled Black voters as missed, so it reflects coverage as well as accuracy.
| Tool | White | Black | Hispanic | Asian | Black F1 | |
|---|---|---|---|---|---|---|
| Labeled | All | |||||
| pyethnicity | 87.7 [86.7, 88.6] | 64.1 [62.7, 65.5] | 84.8 [83.8, 85.8] | 76.5 [75.0, 78.0] | 0.72 | 0.72 |
| WRU (+tract) | 88.1 [87.2, 89.0] | 62.8 [61.4, 64.1] | 78.3 [77.1, 79.4] | 62.6 [60.8, 64.3] | 0.69 | 0.69 |
| rethnicity | 66.3 [65.0, 67.6] | 71.5 [70.2, 72.7] | 79.2 [78.1, 80.4] | 80.5 [79.1, 82.0] | 0.69 | 0.69 |
| WRU (+county) | 85.5 [84.5, 86.5] | 54.7 [53.4, 56.2] | 78.4 [77.2, 79.4] | 59.9 [58.1, 61.6] | 0.62 | 0.61 |
| ethnicolr | 95.1 [94.4, 95.6] | 37.0 [35.7, 38.4] | 81.3 [80.3, 82.3] | 51.4 [49.7, 53.2] | 0.51 | 0.51 |
| WRU (surname) | 95.7 [95.1, 96.2] | 16.7 [15.6, 17.7] | 79.2 [78.1, 80.4] | 61.5 [59.7, 63.1] | 0.28 | 0.28 |
| predictrace | 96.1 [95.5, 96.6] | 16.1 [15.1, 17.2] | 77.1 [75.7, 78.5] | 73.4 [71.6, 75.2] | 0.27 | 0.26 |
| Gemini 2.5 Flash | 90.9 [90.1, 91.8] | 53.8 [52.3, 55.3] | 87.0 [86.1, 87.9] | 80.6 [79.2, 82.1] | 0.66 | 0.59 |
| Qwen 2.5 7B (local) | 81.1 [79.9, 82.2] | 52.6 [51.1, 54.0] | 83.8 [82.7, 84.8] | 77.3 [75.7, 78.9] | 0.61 | 0.58 |
| Claude Haiku 4.5 | 93.9 [92.6, 95.0] | 67.2 [64.5, 69.8] | 94.4 [93.7, 95.1] | 88.9 [87.6, 90.2] | 0.79 | 0.29 |
Table K.2: Per-group coverage and total accuracy (percent), Study 2 four-category sample (). Coverage is the share of the group's voters the tool labels. Total accuracy is the share of ALL voters in the group who receive the correct label, so unlabeled voters count as errors. Black precision is the share of voters labeled Black who report Black identity, and Black recall the share of Black voters labeled Black.
| Tool | Coverage | Total accuracy | Black | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| W | B | H | A | W | B | H | A | Prec. | Recall | |
| pyethnicity | 100.0 | 100.0 | 100.0 | 100.0 | 87.7 | 64.1 | 84.8 | 76.5 | 81.0 | 64.1 |
| WRU (+tract) | 99.9 | 99.6 | 99.7 | 99.2 | 88.0 | 62.5 | 78.1 | 62.1 | 77.4 | 62.5 |
| rethnicity | 100.0 | 100.0 | 100.0 | 100.0 | 66.3 | 71.5 | 79.2 | 80.5 | 66.1 | 71.5 |
| WRU (+county) | 99.8 | 99.2 | 99.8 | 99.3 | 85.3 | 54.3 | 78.2 | 59.4 | 70.4 | 54.3 |
| ethnicolr | 100.0 | 100.0 | 100.0 | 100.0 | 95.1 | 37.0 | 81.3 | 51.4 | 82.7 | 37.0 |
| WRU (surname) | 100.0 | 99.9 | 99.9 | 99.9 | 95.7 | 16.6 | 79.2 | 61.4 | 83.0 | 16.6 |
| predictrace | 93.8 | 94.8 | 69.8 | 81.0 | 90.1 | 15.2 | 53.8 | 59.4 | 84.6 | 15.2 |
| Gemini 2.5 Flash | 89.5 | 82.6 | 97.8 | 94.0 | 81.4 | 44.4 | 85.1 | 75.8 | 85.8 | 44.4 |
| Qwen 2.5 7B (local) | 96.9 | 93.8 | 98.0 | 92.7 | 78.5 | 49.3 | 82.1 | 71.7 | 71.3 | 49.3 |
| Claude Haiku 4.5 | 32.5 | 25.0 | 81.8 | 70.6 | 30.5 | 16.8 | 77.2 | 62.8 | 95.8 | 16.8 |
L Paired Comparisons and Matched Coverage in Study 2
Conditional accuracy scores each tool on the voters it chooses to label. Table L.1 scores pairs of tools on the voters both label. Haiku labels a subset of the voters every full-coverage tool labels, so these comparisons use Haiku's labeled set. On it, pyethnicity is correct on 90.0% and Haiku on 89.3%, and Gemini is 0.4 points ahead of Haiku. Haiku is ahead of every Census-based tool, by 6.5 points over WRU with tract priors and 11.3 points over surname-only WRU.
Table L.2 asks how accurate a probabilistic tool would be if it abstained as often as an LLM. Each tool keeps its most confident voters, ranked by the probability of its most likely category, until it labels as many voters as the LLM. At Haiku's coverage of 50.5%, pyethnicity is correct on 94.1%, 4.8 points more than Haiku, and WRU with tract priors on 88.4%. At Gemini's and Qwen's higher coverage, pyethnicity is again more accurate than the LLM. Abstention by confidence raises the accuracy of every tool, and the LLMs' high conditional accuracy is largely the accuracy of abstention. Matching coverage does not match the composition of the labeled voters. Pyethnicity's most confident half contains 29.4% of Black voters and Haiku's labeled half 25.0%.
Table L.1: Paired comparison on voters both tools label, Study 2 four-category sample. Accuracy is the share correct among the voters in the row, so both tools are scored on the same cases. The difference is the LLM minus the other tool, in percentage points, with 95% stratified bootstrap intervals.
| Compared with | N both label | LLM accuracy | Tool accuracy | Difference (pp) |
|---|---|---|---|---|
| Claude Haiku 4.5 | ||||
| WRU (surname) | 9,087 | 89.3 | 77.9 | +11.3 [+10.6, +12.0] |
| WRU (+county) | 9,060 | 89.3 | 81.0 | +8.3 [+7.5, +9.0] |
| WRU (+tract) | 9,059 | 89.3 | 82.9 | +6.5 [+5.7, +7.2] |
| predictrace | 7,177 | 87.8 | 79.1 | +8.7 [+8.0, +9.4] |
| rethnicity | 9,088 | 89.3 | 85.5 | +3.8 [+3.2, +4.4] |
| ethnicolr | 9,088 | 89.3 | 82.3 | +7.0 [+6.5, +7.6] |
| pyethnicity | 9,088 | 89.3 | 90.0 | -0.8 [-1.1, -0.4] |
| Gemini 2.5 Flash | 9,024 | 89.5 | 89.9 | -0.4 [-0.6, -0.1] |
| Qwen 2.5 7B | 8,941 | 89.3 | 87.9 | +1.4 [+1.0, +1.8] |
| Gemini 2.5 Flash | ||||
| WRU (surname) | 16,311 | 78.6 | 66.1 | +12.5 [+11.9, +13.1] |
| WRU (+county) | 16,250 | 78.7 | 72.2 | +6.5 [+5.8, +7.1] |
| WRU (+tract) | 16,266 | 78.6 | 75.3 | +3.3 [+2.7, +3.9] |
| predictrace | 13,799 | 76.5 | 66.2 | +10.3 [+9.7, +10.9] |
| rethnicity | 16,317 | 78.6 | 75.4 | +3.2 [+2.6, +3.8] |
| ethnicolr | 16,317 | 78.6 | 70.4 | +8.1 [+7.6, +8.7] |
| pyethnicity | 16,317 | 78.6 | 80.5 | -1.9 [-2.4, -1.5] |
| Claude Haiku 4.5 | 9,024 | 89.9 | 89.5 | +0.4 [+0.1, +0.6] |
| Qwen 2.5 7B | 15,773 | 78.8 | 75.8 | +2.9 [+2.4, +3.4] |
| Qwen 2.5 7B | ||||
| WRU (surname) | 17,203 | 73.5 | 64.5 | +9.0 [+8.4, +9.6] |
| WRU (+county) | 17,136 | 73.5 | 71.5 | +2.0 [+1.3, +2.7] |
| WRU (+tract) | 17,152 | 73.5 | 74.9 | -1.4 [-2.1, -0.7] |
| predictrace | 14,785 | 71.2 | 64.1 | +7.1 [+6.4, +7.8] |
| rethnicity | 17,212 | 73.5 | 74.5 | -1.1 [-1.7, -0.5] |
| ethnicolr | 17,212 | 73.5 | 68.9 | +4.6 [+4.0, +5.2] |
| pyethnicity | 17,212 | 73.5 | 78.8 | -5.4 [-5.9, -4.8] |
| Claude Haiku 4.5 | 8,941 | 87.9 | 89.3 | -1.4 [-1.8, -1.0] |
| Gemini 2.5 Flash | 15,773 | 75.8 | 78.8 | -2.9 [-3.4, -2.4] |
Table L.2: Accuracy at matched coverage, Study 2 four-category sample (). Each probabilistic tool labels only its most confident voters, ranked by the probability of its most likely category, in the same number as the LLM labels. The difference is the LLM's conditional accuracy minus the tool's, in percentage points, with 95% stratified bootstrap intervals in which the most confident share is recomputed in every replicate.
| Tool | Accuracy, all voters | Accuracy at matched coverage | LLM minus tool (pp) | Coverage of Black voters |
|---|---|---|---|---|
| Claude Haiku 4.5: coverage 50.5%, conditional accuracy 89.3% | ||||
| WRU (surname) | 63.5 | 85.5 | +3.8 [+3.0, +4.6] | 14.7 |
| WRU (+county) | 70.7 | 87.0 | +2.2 [+1.5, +3.0] | 17.3 |
| WRU (+tract) | 74.1 | 88.4 | +0.9 [+0.1, +1.6] | 25.1 |
| pyethnicity | 78.5 | 94.1 | -4.8 [-5.4, -4.2] | 29.4 |
| Gemini 2.5 Flash: coverage 90.7%, conditional accuracy 78.6% | ||||
| WRU (surname) | 63.5 | 66.5 | +12.0 [+11.5, +12.6] | 89.6 |
| WRU (+county) | 70.7 | 74.6 | +3.9 [+3.2, +4.6] | 88.4 |
| WRU (+tract) | 74.1 | 77.7 | +0.9 [+0.2, +1.6] | 86.9 |
| pyethnicity | 78.5 | 81.8 | -3.2 [-3.7, -2.7] | 83.5 |
| Qwen 2.5 7B: coverage 95.6%, conditional accuracy 73.5% | ||||
| WRU (surname) | 63.5 | 65.2 | +8.3 [+7.6, +8.9] | 98.0 |
| WRU (+county) | 70.7 | 72.8 | +0.6 [-0.1, +1.3] | 97.2 |
| WRU (+tract) | 74.1 | 75.9 | -2.5 [-3.2, -1.8] | 96.1 |
| pyethnicity | 78.5 | 80.1 | -6.7 [-7.2, -6.1] | 93.0 |
M Population-Weighted Accuracy in Study 2
Study 2 oversamples minority voters. Reweighting per-group accuracy to U.S. Census proportions favors tools that do well on White names (Table M.1). Surname-only tools gain about 17 percentage points and geography-augmented WRU about 7 to 8. Rethnicity is the only tool that loses, because it trades accuracy on White names for accuracy on minority names.
Table M.1: Four-category conditional accuracy under the stratified sample's own composition and under U.S. Census population weights (61% White, 13% Black, 20% Hispanic, 6% Asian), Study 2 (N = 17,998 names with a four-category self-report).
| Tool | Sample-weighted | Population-weighted | Difference (pp) |
|---|---|---|---|
| pyethnicity | 78.5 | 83.4 | +4.9 |
| WRU (+tract) | 74.1 | 81.3 | +7.2 |
| rethnicity | 73.7 | 70.4 | -3.3 |
| WRU (+county) | 70.7 | 78.5 | +7.8 |
| ethnicolr | 67.9 | 82.2 | +14.3 |
| WRU (surname) | 63.5 | 80.1 | +16.6 |
| predictrace | 63.5 | 80.5 | +17.1 |
| Claude Haiku 4.5 | 89.3 | 90.2 | +0.9 |
| Gemini 2.5 Flash | 78.6 | 84.7 | +6.1 |
| Qwen 2.5 7B (local) | 73.5 | 77.7 | +4.2 |
| Hybrid Haiku→pyethnicity | 78.1 | 83.5 | +5.5 |
N Calibration of WRU
Where WRU's most likely category has a probability above 80%, it is correct about as often as the probability says (Table N.1). Between 40% and 80% it is overconfident. For the 4,102 voters in the 40 to 60% bin, its most likely category is correct for 35.9% at a mean predicted probability of 49.4%.
Table N.1: Calibration of WRU (surname) by the probability of its most likely category, Study 2 four-category sample (). Accuracy is the share of names whose most likely category matches the self-report.
| Probability bin | Accuracy | Mean predicted probability | |
|---|---|---|---|
| Below 40% | 53 | 39.6% | 36.8% |
| 40–60% | 4,102 | 35.9% | 49.4% |
| 60–80% | 5,551 | 47.6% | 69.3% |
| 80–90% | 2,747 | 77.4% | 85.8% |
| 90–100% | 5,545 | 93.0% | 93.9% |
O The Residual Category
Of the 2,000 sampled voters outside the four categories, 60% report “Other” race, 26% American Indian, and 14% multiracial. No tool can return these categories, so every label they receive is wrong under the four-category scheme. The Census tools assign most of them to White (71% of the labels surname-only WRU gives them and 69% of predictrace’s, against 50% with county priors). The LLMs leave many unlabeled (Haiku 65%). The four-category scheme has no place for these voters, and an analysis that uses name-based classification should state how it treats them.
P Refusal Analysis and Hybrid Pipelines
A hybrid that fills Haiku's missing labels with pyethnicity would beat both components if Haiku's refusals were unrelated to name difficulty. They are not. Pyethnicity is correct on 90.0% of the voters Haiku labels and on 66.6% of those it leaves unlabeled, a gap of 23.4 points (95% interval 22.3 to 24.5), and the gap appears in every group (Table P.1). Figure P.1 shows the consequence across population compositions. Under the assumption of random refusal the hybrid would reach 86.8% total accuracy at U.S. Census proportions. With the actual refusals it reaches 83.5%, against 83.4% for pyethnicity alone.
Table P.1: Accuracy of pyethnicity on the voters Claude Haiku labels and on those it leaves unlabeled, Study 2 four-category sample. If Haiku's refusals were unrelated to name difficulty, the two rows would be similar.
| Voters | N | Overall | White | Black | Hispanic | Asian |
|---|---|---|---|---|---|---|
| Labeled by Haiku | 9,088 | 90.0 | 91.8 | 76.5 | 94.1 | 88.9 |
| Left unlabeled by Haiku | 8,910 | 66.6 | 85.7 | 59.9 | 43.1 | 46.6 |
| All voters | 17,998 | 78.5 | 87.7 | 64.1 | 84.8 | 76.5 |

Figure P.1: Total accuracy of pyethnicity alone and of the Haiku and pyethnicity hybrid as the White share of the population varies, with non-White groups in Census proportions. The dotted line shows what the hybrid would achieve if Haiku's refusals were unrelated to name difficulty. Based on the 17,998 four-category Study 2 voters.
Q Study 3 Design and Additional Results
The Study 3 sample was stratified to oversample informative cases, using WRU's predictions and an earlier LLM run. S1 and S2 contain authors on whom WRU and the LLM agreed (White and non-White). S3 and S4 contain authors on whom they disagreed. S5 contains authors for whom no WRU category exceeds 50%. S6 contains authors for whom the earlier LLM run reported low confidence. S7 contains authors labeled only by traditional tools. S8 contains authors for whom only the LLM predicted gender. S10 is a non-White oversample, and no authors were drawn under the label S9. The strata contain 40, 36, 30, 20, 50, 20, 30, 40, and 34 authors.
Because the strata are defined by the tools' own outputs, unweighted accuracy describes performance on hard cases. Table Q.1 also reports accuracy weighted to the sampling frame. Weighted, surname-only WRU and Haiku are about equally accurate, and the LLMs' advantage in the unweighted comparison comes mostly from the oversampled hard cases. Scored on the 101 authors both label, Haiku is correct on 90.1% and WRU on 80.2% unweighted, and on 97.5% and 94.5% weighted. Among authors whom both models labeled, Haiku and Gemini agree on 93.9% of race labels and 98.9% of gender labels.
The reference codes come from one coder who inferred race and gender from public profiles. A second coder independently coded 75 authors for the reliability figures in Section 6. Only the agreement statistics of that exercise are available to us, not the second coder's codes for each author, so we cannot rescore the tools against the second coder. As a sensitivity analysis of category boundaries, the lenient column of Table Q.1 counts a label as correct when it and the reference code differ only across the Asian and White or the Hispanic and White boundary. Lenient scoring raises every tool, most of all the LLMs (Haiku from 89.5% to 97.4%), because most LLM errors in this sample lie at these boundaries. Of the 13 authors coded as other or mixed race, WRU labels 8, Gemini 3, and Haiku 2, and every such label is wrong under the four-category scheme.
Table Q.1: Study 3 race accuracy against human coding, unweighted and weighted to the sampling frame. The sample oversamples strata defined by agreement between WRU and an earlier LLM run, so unweighted accuracy describes performance on hard cases. Design weights are stratum frame counts divided by stratum sample sizes, and the non-White oversample receives weight zero. Lenient scoring also counts a label as correct when it and the reference code differ only across the Asian and White or the Hispanic and White boundary. This is a sensitivity analysis, not rescoring against the second coder.
| Tool | Four categories | White vs. non-White | |||||
|---|---|---|---|---|---|---|---|
| N | Unweighted | Weighted | Lenient | N | Unweighted | Weighted | |
| ethnicolr | 224 | 74.6 | 82.9 | 85.7 | 237 | 77.6 | 85.6 |
| pyethnicity | 224 | 71.0 | 78.3 | 83.9 | 237 | 71.3 | 79.5 |
| predictrace | 160 | 79.4 | 92.6 | 86.2 | 169 | 77.5 | 92.1 |
| rethnicity | 224 | 55.8 | 61.6 | 79.5 | 237 | 65.0 | 67.9 |
| WRU (surname) | 152 | 80.3 | 94.6 | 86.8 | 160 | 78.1 | 93.9 |
| Gemini 2.5 Flash | 203 | 88.7 | 91.7 | 97.0 | 228 | 86.8 | 90.2 |
| Qwen 2.5 7B (local) | 173 | 83.8 | 91.4 | 93.1 | 207 | 82.1 | 89.5 |
| Claude Haiku 4.5 | 153 | 89.5 | 94.3 | 97.4 | 175 | 89.1 | 93.1 |

Figure Q.1: Unweighted Study 3 accuracy against human coding, four categories and White versus non-White. Lines are 95% bootstrap intervals, and n is the number of authors whom both the tool and the coder classified.
R Throughput and Cost
Traditional tools label tens of thousands of names in seconds or minutes. The hosted LLMs classified about 15 (Haiku) and 30 (Gemini) names per second with parallel requests, so 100,000 names take about one to two hours. Batch interfaces reduce this further. API fees for the hosted models in this study came to about 0.45 (Haiku) and $0.25 (Gemini) per thousand names. The local model classified about 4 to 5 names per second on a laptop and costs nothing per name. These figures exclude researcher time for prompt design, parsing, and validation.
S Empirical Confusion Matrices and Differential-Error Diagnostics
Table S.1 reports the confusion matrices of the tools featured in Section 7, tabulated from the predicted and self-reported labels of all 19,998 Study 2 voters. Each row sums to one including the final column, which records voters who received no label. Figure S.1 displays the same matrices.
Table S.1: Empirical confusion matrices, Study 2. Each cell is the row-conditional probability Pr() estimated by the sample share. Rows sum to one including the final column, which records names the tool left unclassified.
| True race | White | Black | Hispanic | Asian | Unclassified |
|---|---|---|---|---|---|
| WRU (surname) | |||||
| White (N=5,000) | 0.957 | 0.023 | 0.014 | 0.005 | 0.000 |
| Black (N=5,000) | 0.820 | 0.166 | 0.006 | 0.007 | 0.001 |
| Hispanic (N=5,000) | 0.192 | 0.006 | 0.792 | 0.010 | 0.001 |
| Asian (N=2,998) | 0.342 | 0.009 | 0.033 | 0.614 | 0.001 |
| Other (N=2,000) | 0.671 | 0.050 | 0.100 | 0.127 | 0.052 |
| WRU (+county) | |||||
| White (N=5,000) | 0.853 | 0.128 | 0.013 | 0.004 | 0.002 |
| Black (N=5,000) | 0.440 | 0.543 | 0.006 | 0.004 | 0.008 |
| Hispanic (N=5,000) | 0.165 | 0.042 | 0.782 | 0.009 | 0.002 |
| Asian (N=2,998) | 0.269 | 0.099 | 0.031 | 0.594 | 0.007 |
| Other (N=2,000) | 0.441 | 0.228 | 0.097 | 0.118 | 0.117 |
| pyethnicity | |||||
| White (N=5,000) | 0.877 | 0.093 | 0.022 | 0.008 | 0.000 |
| Black (N=5,000) | 0.340 | 0.641 | 0.012 | 0.007 | 0.000 |
| Hispanic (N=5,000) | 0.107 | 0.035 | 0.848 | 0.009 | 0.000 |
| Asian (N=2,998) | 0.134 | 0.036 | 0.065 | 0.765 | 0.000 |
| Other (N=2,000) | 0.455 | 0.242 | 0.124 | 0.179 | 0.000 |
| Claude Haiku 4.5 | |||||
| White (N=5,000) | 0.305 | 0.003 | 0.013 | 0.003 | 0.675 |
| Black (N=5,000) | 0.069 | 0.168 | 0.010 | 0.003 | 0.750 |
| Hispanic (N=5,000) | 0.041 | 0.003 | 0.772 | 0.002 | 0.182 |
| Asian (N=2,998) | 0.036 | 0.001 | 0.041 | 0.628 | 0.294 |
| Other (N=2,000) | 0.097 | 0.037 | 0.098 | 0.121 | 0.647 |
| Gemini 2.5 Flash | |||||
| White (N=5,000) | 0.814 | 0.051 | 0.024 | 0.006 | 0.105 |
| Black (N=5,000) | 0.348 | 0.444 | 0.024 | 0.010 | 0.174 |
| Hispanic (N=5,000) | 0.107 | 0.015 | 0.851 | 0.005 | 0.022 |
| Asian (N=2,998) | 0.110 | 0.014 | 0.058 | 0.758 | 0.060 |
| Other (N=2,000) | 0.365 | 0.143 | 0.124 | 0.164 | 0.203 |
Table S.2 compares, for voters each tool labels White or Black, their observed mean age with the mean age expected if labeling were unrelated to age given self-reported race. For the traditional tools the gaps are within about 1.7 years. Voters Haiku labels Black are 7.4 years younger than expected, which is the selection that drives Haiku's bias in the age gap. Gemini (-3.5 years) and Qwen (-2.6 years) show smaller gaps in the same direction, but because they label nearly every voter, their gaps come from misclassification rather than from refusal.
Table S.3 separates the selection term by the type of missing output. For Haiku, almost all of the selection bias in the age gap comes from its “Unknown” answers. Dropping only those voters inflates the age gap by 3.4 years, because the Black voters Haiku answers “Unknown” for are on average 55.0 years old, against 50.1 for all Black voters. Dropping only its explicit refusals moves
| WRU (surname) | |||||
|---|---|---|---|---|---|
| White | 0.96 | 0.02 | 0.01 | 0.01 | 0.00 |
| Black | 0.82 | 0.17 | 0.01 | 0.01 | 0.00 |
| Hispanic | 0.19 | 0.01 | 0.79 | 0.01 | 0.00 |
| Asian | 0.34 | 0.01 | 0.03 | 0.61 | 0.00 |
| Other | 0.67 | 0.05 | 0.10 | 0.13 | 0.05 |
| White | Black | Hisp. | Asian | Uncl. | |
| WRU (+county) | |||||
|---|---|---|---|---|---|
| White | 0.85 | 0.13 | 0.01 | 0.00 | 0.00 |
| Black | 0.44 | 0.54 | 0.01 | 0.00 | 0.01 |
| Hispanic | 0.17 | 0.04 | 0.78 | 0.01 | 0.00 |
| Asian | 0.27 | 0.10 | 0.03 | 0.59 | 0.01 |
| Other | 0.44 | 0.23 | 0.10 | 0.12 | 0.12 |
| White | Black | Hisp. | Asian | Uncl. | |
Self-reported race
| pyethnicity | |||||
|---|---|---|---|---|---|
| White | 0.88 | 0.09 | 0.02 | 0.01 | 0.00 |
| Black | 0.34 | 0.64 | 0.01 | 0.01 | 0.00 |
| Hispanic | 0.11 | 0.04 | 0.85 | 0.01 | 0.00 |
| Asian | 0.13 | 0.04 | 0.06 | 0.76 | 0.00 |
| Other | 0.45 | 0.24 | 0.12 | 0.18 | 0.00 |
| White | Black | Hisp. | Asian | Uncl. | |
| Claude Haiku 4.5 | |||||
|---|---|---|---|---|---|
| White | 0.31 | 0.00 | 0.01 | 0.00 | 0.67 |
| Black | 0.07 | 0.17 | 0.01 | 0.00 | 0.75 |
| Hispanic | 0.04 | 0.00 | 0.77 | 0.00 | 0.18 |
| Asian | 0.04 | 0.00 | 0.04 | 0.63 | 0.29 |
| Other | 0.10 | 0.04 | 0.10 | 0.12 | 0.65 |
| White | Black | Hisp. | Asian | Uncl. | |
| Gemini 2.5 Flash | |||||
|---|---|---|---|---|---|
| White | 0.81 | 0.05 | 0.02 | 0.01 | 0.11 |
| Black | 0.35 | 0.44 | 0.02 | 0.01 | 0.17 |
| Hispanic | 0.11 | 0.01 | 0.85 | 0.01 | 0.02 |
| Asian | 0.11 | 0.01 | 0.06 | 0.76 | 0.06 |
| Other | 0.37 | 0.14 | 0.12 | 0.16 | 0.20 |
| White | Black | Hisp. | Asian | Uncl. | |
Predicted category (Uncl. = no usable label)
Figure S.1: Empirical confusion matrices, Study 2 (N = 19,998). Each cell is the share of voters in the row's self-reported group who receive the column's label.
Table S.2: Differential-error diagnostic for age, Study 2. For voters a tool labels White or Black, the table compares their mean age with the mean age expected if labeling were unrelated to age given self-reported race (the group means weighted by the true composition of the labeled set). A gap far from zero means that the tool's labeling selects on the outcome within racial groups.
| Tool | Labeled White | Labeled Black | ||||
|---|---|---|---|---|---|---|
| Expected | Observed | Gap | Expected | Observed | Gap | |
| WRU (surname) | 49.8 | 50.1 | +0.3 | 49.7 | 48.8 | -0.8 |
| WRU (+county) | 50.0 | 50.4 | +0.4 | 49.2 | 48.7 | -0.5 |
| WRU (+tract) | 50.1 | 50.4 | +0.4 | 49.3 | 48.8 | -0.5 |
| pyethnicity | 50.8 | 51.6 | +0.8 | 49.4 | 47.8 | -1.6 |
| rethnicity | 50.9 | 52.0 | +1.1 | 49.8 | 48.8 | -1.0 |
| Claude Haiku 4.5 | 51.2 | 52.6 | +1.4 | 49.6 | 42.3 | -7.4 |
| Gemini 2.5 Flash | 50.8 | 51.8 | +1.0 | 49.6 | 46.1 | -3.5 |
| Qwen 2.5 7B (local) | 50.7 | 51.8 | +1.2 | 49.7 | 47.0 | -2.6 |
| Hybrid Haiku→pyethnicity | 50.8 | 51.6 | +0.9 | 49.4 | 47.5 | -2.0 |
the gap by -1.3 years in the other direction, since the Black voters it refuses are younger (47.5 years). The answers outside the four categories are too few to matter. The output types locate the selection on age but do not identify whether uncertainty or safety training explains it. For the registration gap the selection terms are small for every model and every type.
Table S.3: Selection bias by type of missing LLM output, Study 2. Each row drops only the voters with that type of missing output and computes the gap from self-reported race among the remaining voters. The difference from the true gap is the selection bias that type of missing output causes on its own. The last row of each panel drops all unlabeled voters and equals the selection term of Equation 1. The parts need not add up to it. Black means are among self-reported Black voters with that type of missing output. Brackets give 95% stratified bootstrap intervals.
| Dropped voters | N (age) | Democratic registration | Age | ||
|---|---|---|---|---|---|
| Black % Dem | Selection bias | Black mean age | Selection bias | ||
| Claude Haiku 4.5 | |||||
| Explicit refusal | 4,040 | 71.3 | -0.008 [-0.018, +0.002] | 47.5 | -1.28 [-1.73, -0.80] |
| “Unknown” | 5,405 | 76.4 | +0.035 [+0.019, +0.050] | 55.0 | +3.36 [+2.63, +4.09] |
| Outside categories | 224 | 47.1 | -0.002 [-0.003, -0.000] | 43.9 | +0.00 [-0.05, +0.05] |
| All unlabeled | 9,669 | 74.0 | +0.042 [+0.015, +0.067] | 51.5 | +4.39 [+3.26, +5.66] |
| Gemini 2.5 Flash | |||||
| Explicit refusal | 1 | NA | -0.000 [-0.001, +0.000] | NA | +0.00 [+0.00, +0.01] |
| “Unknown” | 1,618 | 77.5 | +0.009 [+0.002, +0.015] | 52.4 | +0.22 [-0.08, +0.52] |
| Outside categories | 301 | 56.8 | -0.002 [-0.004, -0.000] | 45.2 | +0.02 [-0.04, +0.09] |
| All unlabeled | 1,920 | 76.5 | +0.006 [-0.001, +0.012] | 52.0 | +0.25 [-0.05, +0.56] |
| Qwen 2.5 7B | |||||
| Explicit refusal | 46 | 56.0 | -0.001 [-0.002, +0.000] | 47.1 | -0.01 [-0.05, +0.04] |
| “Unknown” | 485 | 73.8 | +0.000 [-0.003, +0.003] | 52.8 | +0.06 [-0.08, +0.21] |
| Outside categories | 498 | 57.1 | -0.003 [-0.006, -0.001] | 40.7 | -0.12 [-0.22, -0.02] |
| All unlabeled | 1,029 | 67.8 | -0.004 [-0.009, -0.000] | 48.9 | -0.07 [-0.24, +0.12] |
T Sensitivity of the Downstream Analysis
Voters outside the four categories. The main downstream analysis keeps the 2,000 voters who report Other, American Indian, or multiracial identity, because a researcher cannot remove them before classifying and tools can label them White or Black. The two gaps compare self-reported White and Black voters, so dropping these voters leaves the true gaps unchanged and changes only the estimators. Table T.1 shows that the conclusions hold in the four-category sample. Hard labels understate the registration gap by 33% to 61% and posterior weighting by 55% to 79%, and Haiku's hard labels overstate the age gap by 6.5 years. The pooled BIRDiE estimates move from within 0.03 of the true gap to within 0.05 of it, because the posteriors still assign probability to a category with no members.
Table T.1: Downstream bias with and without the 2,000 voters outside the four categories (Other, American Indian, and multiracial). The main analysis keeps them, so tools can mislabel them as White or Black. In the four-category sample they are dropped from both the estimators and the truth.
| Estimator | Bias(â̂_party) | Bias(â̂_age, years) | ||
|---|---|---|---|---|
| All voters | Four categories | All voters | Four categories | |
| Hard-label (argmax) estimators | ||||
| WRU surname | +0.334 | +0.320 | -3.07 | -3.40 |
| WRU +county | +0.298 | +0.278 | -2.62 | -2.56 |
| WRU +tract | +0.240 | +0.217 | -2.69 | -2.69 |
| pyethnicity | +0.257 | +0.236 | -0.52 | -0.44 |
| Claude Haiku 4.5 | +0.191 | +0.173 | +6.04 | +6.46 |
| Gemini 2.5 Flash | +0.271 | +0.249 | +1.42 | +1.64 |
| Qwen 2.5 7B (local) | +0.344 | +0.325 | +0.53 | +0.59 |
| Hybrid Haiku→pyeth. | +0.262 | +0.241 | -0.11 | +0.01 |
| Posterior-weighting estimators | ||||
| WRU surname | +0.426 | +0.416 | -3.82 | -3.90 |
| WRU +county | +0.367 | +0.353 | -3.43 | -3.41 |
| BISG tract chain | +0.307 | +0.290 | -3.32 | -3.33 |
| pyethnicity | +0.323 | +0.305 | -1.03 | -0.92 |
| Mixed LLM + posterior pipelines | ||||
| Haiku + pyeth. posterior | +0.316 | +0.297 | -0.47 | -0.33 |
| Haiku + BISG posterior | +0.283 | +0.265 | -1.38 | -1.23 |
| BIRDiE estimators | ||||
| BIRDiE, WRU surname | -0.029 | -0.044 | +1.23 | +1.25 |
| BIRDiE, WRU +county | -0.012 | -0.043 | +0.60 | +1.22 |
| BIRDiE, BISG tract chain | -0.020 | -0.049 | -0.53 | -0.25 |
BIRDiE specification. All BIRDiE models use the birdie R package (version 0.7.1) with the EM algorithm and the package's default prior. The categorical party model has four outcome levels (Democratic, Republican, unaffiliated, and the minor parties combined), and the race columns are the five BISG categories in the order White, Black, Hispanic, Asian, other. The main specification pools all counties (party4 ~ 1, age ~ 1). Table T.2 adds county fixed effects (~ county), county random effects for party (~ (1 | county) with the mixed categorical family), and a categorical model for age deciles in place of the normal model. All BIRDiE fits reported here, including the bootstrap refits, met the package's convergence criterion. The registration gap is sensitive to the county specification when the posteriors use the surname alone or county priors, with biases up to +0.120, and stable when they use tract priors. The table also reports how informative each set of posteriors is and the range of the three party estimates, which shrinks as the posteriors sharpen. Restricting the tract models to the voters geocoded to a tract, so that no posterior falls back on county priors, leaves this pattern unchanged. For the age gap the specifications disagree, with biases between −2.47 and +1.23 years.
Table T.2: BIRDiE bias under alternative specifications, Study 2. Pooled models assume one outcome distribution per race for the whole state (the main specification). County fixed effects let the distribution vary freely across the 100 counties, and county random effects shrink the county distributions toward a common mean. The sample has a median of 78.5 voters per county, and 37 counties have fewer than 50. The categorical age model replaces the normal model with ten age bins. is the mean posterior probability of the self-reported race, and the mean probability of Black among Black voters. Entries under each gap are biases, except Spread, which is the range of the three registration-gap estimates and requires no ground truth. The last row refits the tract models on the voters geocoded to a tract, against the true gap among them (-0.517).
| Posterior | Posterior | Registration gap | Age gap (years) | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Pooled | County FE | County RE | Spread | Pooled | County FE | Age bins | |||
| WRU surname | 0.54 | 0.31 | -0.029 | +0.120 | +0.092 | 0.149 | +1.23 | -2.05 | -0.73 |
| WRU +county | 0.57 | 0.48 | -0.012 | +0.070 | +0.054 | 0.082 | +0.60 | -0.48 | -0.24 |
| BISG tract chain | 0.60 | 0.55 | -0.020 | +0.023 | +0.009 | 0.043 | -0.53 | -2.47 | -0.92 |
| geocoded voters only (N = 15,799) | — | — | -0.028 | +0.014 | -0.001 | 0.041 | — | — | — |
The independence assumption. BIRDiE assumes that the outcome is independent of the name given race and geography. With self-reported race we can test for an association with a surname-based race probability. Table T.3 regresses each outcome on the surname-only probability of the Black category within self-reported White and Black voters, with county fixed effects. None of the four slopes is distinguishable from zero. The test has limited power, since surnames vary little in this probability within race (standard deviations of 0.13 among White and 0.18 among Black voters).
Table T.3: Within-race association between outcomes and the surname-only Black probability, Study 2. Each row regresses the outcome on the probability that WRU assigns to the Black category from the surname alone, with county fixed effects, among voters of one self-reported race. BIRDiE assumes this slope is zero.
| Self-reported race | Outcome | N | Slope | SE | p |
|---|---|---|---|---|---|
| White | Democratic registration | 4,764 | -0.043 | 0.045 | 0.34 |
| White | Age (years) | 4,690 | +0.375 | 2.317 | 0.87 |
| Black | Democratic registration | 4,876 | -0.010 | 0.036 | 0.79 |
| Black | Age (years) | 4,752 | -2.041 | 1.580 | 0.20 |
Comparing estimators. Because every estimator is computed on the same bootstrap samples, differences in absolute bias between two estimators have paired intervals. Each BIRDiE estimate of the registration gap is closer to the truth than Haiku's hard labels in all 500 samples. Haiku's hybrid with a pyethnicity fallback is further from the true registration gap than Haiku alone in all 500 samples, by 0.072 on average (95% interval 0.042 to 0.106), because the fallback adds pyethnicity's misclassification. For the age gap, the hybrid is closer to the truth than BIRDiE in 69% to 88% of the samples, depending on the posterior, and every interval for the difference contains zero.
U Combining LLM Answers with BISG Posteriors
Let be voter 's BISG posterior and the LLM's answer, coded as one of the four categories or as the type of missing output (explicit refusal, “Unknown”, or a category outside the four). The combined posterior is
We estimate as the share of voters with self-reported race who receive answer , adding 0.5 to each count. The sample is split into two halves, stratified by self-reported race, and each half's posteriors use the rates estimated on the other half. In the bootstrap the halves are fixed per voter, so the copies of a voter drawn into one replicate share a half, and the rates are re-estimated in every replicate.
The update treats the LLM's answer as independent of the surname and geography given race. It is not, because the LLM reads the same surname, so the combined posteriors count the surname's evidence twice. They are sharper but overconfident. Table U.1 shows that the combination raises the probability placed on the self-reported race and the accuracy of the most likely category for every posterior and every LLM, while the log loss rises in eight of the nine combinations, the signature of overconfidence. The exploratory check below instead estimates race probabilities conditional on the BISG posterior and the LLM's answer.
Paired comparisons. Table U.2 compares each combination with BISG alone in the same bootstrap samples. The gains in accuracy and in the weighted estimator are distinguishable from zero for every LLM. The differences in BIRDiE's absolute bias are not, because BISG alone slightly overstates the registration gap and understates the age gap, while the combinations err in the other direction. The bias intervals themselves differ. On BISG alone both contain zero, and on every combined posterior both exclude it.
Possible explanations. BIRDiE assumes that the outcome is independent of the name given race and geography. Table T.3 detects no association with the surname-based race probability, but the test has limited power. The combined posteriors carry information from the full name, and first names may carry birth-cohort information related to age within race. Such a relationship could violate BIRDiE's assumption and is consistent with the age pattern in Haiku's “Unknown” answers (Table S.3). The combination also produces overconfident probabilities by counting surname evidence twice. Our analysis does not separate these explanations. The weighted estimator's gains show that a combination can improve one estimator without establishing its suitability for another.
Table U.1: LLM answers combined with BISG posteriors, Study 2. Each LLM's answer, including the type of missing output, updates the BISG posterior by Bayes' rule with Pr(L | R) estimated on the other half of the sample. Accuracy is the share of the four-category sample whose most likely category is the self-reported one (pyethnicity reaches 78.5%). is the mean probability of the self-reported race and the mean probability of Black among Black voters. Biases are for the weighted estimator and pooled BIRDiE. True gaps are -0.529 (party) and 4.29 years (age).
| Posterior | Classification | Weighted, bias | BIRDiE, bias | |||||
|---|---|---|---|---|---|---|---|---|
| Accuracy (%) | Log loss | Party | Age | Party | Age | |||
| WRU surname | ||||||||
| alone | 63.5 | 0.536 | 1.131 | 0.309 | +0.426 | -3.82 | -0.029 | +1.23 |
| + Haiku | 71.2 | 0.617 | 1.136 | 0.424 | +0.374 | -0.90 | +0.099 | +5.83 |
| + Gemini | 75.5 | 0.640 | 1.127 | 0.466 | +0.345 | -1.38 | +0.116 | +2.76 |
| + Qwen | 72.5 | 0.611 | 1.149 | 0.405 | +0.381 | -2.05 | +0.082 | +3.29 |
| WRU +county | ||||||||
| alone | 70.7 | 0.570 | 1.086 | 0.479 | +0.367 | -3.43 | -0.012 | +0.60 |
| + Haiku | 76.2 | 0.648 | 1.101 | 0.562 | +0.328 | -1.07 | +0.065 | +4.09 |
| + Gemini | 77.6 | 0.666 | 1.087 | 0.585 | +0.305 | -1.32 | +0.083 | +2.16 |
| + Qwen | 75.8 | 0.644 | 1.104 | 0.548 | +0.330 | -1.81 | +0.059 | +2.30 |
| BISG tract chain | ||||||||
| alone | 74.1 | 0.600 | 1.047 | 0.546 | +0.307 | -3.32 | -0.020 | -0.53 |
| + Haiku | 78.3 | 0.671 | 1.075 | 0.615 | +0.280 | -1.36 | +0.040 | +2.12 |
| + Gemini | 79.4 | 0.686 | 1.063 | 0.631 | +0.261 | -1.58 | +0.054 | +0.99 |
| + Qwen | 77.9 | 0.668 | 1.076 | 0.601 | +0.280 | -1.93 | +0.034 | +0.96 |
Table U.2: Paired differences between BISG tract posteriors combined with an LLM's answer and BISG tract posteriors alone, Study 2. Positive accuracy differences favor the combination. For bias, the difference is in absolute bias, so negative values favor the combination. The last row compares the combination's accuracy with pyethnicity's. Brackets give 95% stratified bootstrap intervals (500 replicates) in which Pr(L | R) is re-estimated in every replicate.
| Difference | + Haiku | + Gemini | + Qwen |
|---|---|---|---|
| Accuracy (points) | +4.2 [+3.8, +4.7] | +5.4 [+4.8, +5.9] | +3.9 [+3.4, +4.4] |
| Weighted, |bias| party | -0.027 [-0.034, -0.021] | -0.045 [-0.053, -0.038] | -0.027 [-0.033, -0.021] |
| Weighted, |bias| age | -2.0 [-2.2, -1.7] | -1.7 [-2.0, -1.4] | -1.4 [-1.6, -1.1] |
| BIRDiE, |bias| party | +0.020 [-0.022, +0.055] | +0.035 [-0.003, +0.069] | +0.014 [-0.026, +0.051] |
| BIRDiE, |bias| age | +1.6 [-0.3, +2.5] | +0.5 [-1.3, +1.5] | +0.4 [-1.3, +1.5] |
| Accuracy vs. pyethnicity (points) | -0.2 [-0.8, +0.4] | +1.0 [+0.4, +1.5] | -0.5 [-1.1, -0.1] |
Exploratory calibration check. We replace the independence-based update with a ridge multinomial regression of self-reported race on the log tract-BISG probabilities, with or without indicators for the LLM's answer, missing-output types included. Probabilities are floored at before taking logs, and predictors are standardized. We fix the penalty at and use the same two halves as above, fitting on one and predicting the other. Neither outcome enters the model. Each of 500 race-stratified bootstrap samples refits the models, with copies of a voter kept in their original half. The calibration target is the stratified Study 2 sample.
LLM answers improve classification and probability scores relative to calibrated BISG alone (Tables U.3 and U.4). Gemini reaches 81.4% accuracy against 77.4% for calibrated BISG, a paired gain of 4.0 points (95% interval 3.5 to 4.5). Adding each LLM reduces BIRDiE's absolute bias for the registration gap relative to calibrated BISG. For the age gap, absolute bias rises with Haiku and Gemini, and Qwen's interval includes zero. Every calibrated combination has greater absolute bias than original BISG for both gaps. At penalties of 0.0001 and 0.01, the LLM models still improve prediction over calibrated BISG and remain more biased than original BISG for both BIRDiE estimands. Calibration also increases BIRDiE's bias without an LLM, so the change cannot be attributed solely to LLM information.
Table U.3: Exploratory held-out calibration and conditional LLM–BISG combination, Study 2. A ridge multinomial model predicts race from the log tract-BISG probabilities, with or without the LLM's output category, including missing outputs. Training uses the opposite half of the sample and excludes both outcomes. The fixed penalty is . Accuracy refers to the four-category sample; log loss and the multiclass Brier score use all five categories. Lower scores are better. Bias is for pooled BIRDiE and equals estimated minus true White–Black gap. Brackets give 95% paired, race-stratified bootstrap intervals from 500 complete refits. Calibration targets the stratified sample.
| Posterior | Accuracy (%) | Log loss | Brier | Party bias | Age bias |
|---|---|---|---|---|---|
| Original BISG | 74.1 | 1.047 | 0.472 | −0.020[-0.042, +0.001] | −0.53[-1.60, +0.59] |
| Calibrated BISG | 77.4 | 0.867 | 0.423 | −0.103[-0.125, −0.076] | +3.85[+2.02, +5.85] |
| + Haiku | 80.0 | 0.803 | 0.393 | −0.066[-0.086, −0.043] | +6.28[+4.73, +7.85] |
| + Gemini | 81.4 | 0.787 | 0.385 | −0.062[-0.080, −0.039] | +5.02[+3.55, +6.42] |
| + Qwen | 79.9 | 0.810 | 0.397 | −0.078[-0.097, −0.055] | +4.57[+2.95, +6.07] |
Table U.4: Paired contrasts for the exploratory conditional combination. Positive accuracy differences favor adding LLM answers; negative differences in log loss, Brier score, or absolute bias favor the combination. Each comparison uses the same 500 bootstrap samples and refits both calibration models. The first panel isolates the added predictive value of LLM outputs relative to calibrated BISG. The second compares inferential performance with the original BISG posteriors.
| Difference | + Haiku | + Gemini | + Qwen |
|---|---|---|---|
| Relative to calibrated BISG alone | |||
| +2.7 | +4.0 | +2.5 | |
| Accuracy (points) | [+2.3, +3.2] | [+3.5, +4.5] | [+2.2, +3.1] |
| -0.063 | -0.080 | -0.057 | |
| Log loss | [-0.068, -0.056] | [-0.085, -0.072] | [-0.061, -0.051] |
| -0.030 | -0.039 | -0.026 | |
| Brier score | [-0.033, -0.027] | [-0.042, -0.035] | [-0.029, -0.023] |
| -0.037 | -0.041 | -0.025 | |
| BIRDiE, |bias| party | [-0.050, -0.026] | [-0.053, -0.030] | [-0.035, -0.016] |
| +2.43 | +1.17 | +0.72 | |
| BIRDiE, |bias| age | [+1.49, +3.33] | [+0.18, +2.09] | [-0.15, +1.40] |
| Relative to original BISG | |||
| +0.046 | +0.042 | +0.058 | |
| BIRDiE, |bias| party | [+0.029, +0.059] | [+0.026, +0.054] | [+0.041, +0.070] |
| +5.76 | +4.50 | +4.05 | |
| BIRDiE, |bias| age | [+3.28, +7.51] | [+1.94, +6.23] | [+1.51, +5.87] |
V Downstream Bias for the North Carolina Voter Population
The estimands in Section 7 are defined on the stratified sample. Table V.1 reweights every voter by the ratio of the group's share in the full North Carolina voter file (69.2% White, 21.5% Black, 4.4% Hispanic, 1.9% Asian, and 3.0% other) to its share in the sample, and recomputes the estimands and every estimator. The weights enter each estimator voter by voter, including the BIRDiE fits. Reweighting the estimated group means after estimation would leave every estimate of a gap unchanged. Reweighting voters changes the mix of true groups among the voters each tool labels White or Black, which is what moves the estimators. The true gaps do not change, because the weights are constant within self-reported race, but the Black share does. BISG and pyethnicity posteriors embed population priors, so the reweighted sample, whose composition matches the voter file, is the setting in which those priors are closest to correct.
Table V.1: Bias in downstream estimands with every voter weighted to the race composition of the full North Carolina voter file. The weights enter each estimator observation by observation, so they change the mix of true groups inside each predicted group. The population estimands are , , and years. The two gaps equal the sample gaps, because weights that are constant within self-reported race leave the true group means unchanged. Brackets give 95% paired bootstrap intervals for the bias, as in Table 6.
| Estimator | Bias() | Bias() | Bias(, years) |
|---|---|---|---|
| Hard-label (argmax) estimators | |||
| -0.161 | +0.292 | -2.29 | |
| WRU surname | [-0.164, -0.157]+0.003 | [+0.251, +0.330]+0.274 | [-3.77, -0.94]-2.00 |
| WRU +county | [-0.004, +0.010]+0.000 | [+0.249, +0.294]+0.217 | [-3.01, -1.00]-1.53 |
| WRU +tract | [-0.006, +0.007]-0.003 | [+0.195, +0.237]+0.221 | [-2.53, -0.66]-1.45 |
| pyethnicity | [-0.010, +0.004]-0.097 | [+0.201, +0.240]+0.134 | [-2.40, -0.47]+7.39 |
| Claude Haiku 4.5 | [-0.104, -0.090]-0.061 | [+0.094, +0.166]+0.235 | [+5.90, +8.85]+0.20 |
| Gemini 2.5 Flash | [-0.066, -0.055]+0.007 | [+0.210, +0.257]+0.333 | [-0.81, +1.26]-0.90 |
| Qwen 2.5 7B (local) | [-0.001, +0.014]-0.014 | [+0.310, +0.357]+0.221 | [-1.95, +0.36]-0.93 |
| Hybrid Haiku→pyeth. | [-0.020, -0.008] | [+0.201, +0.241] | [-1.87, +0.02] |
| Posterior-weighting estimators | |||
| -0.035 | +0.433 | -3.38 | |
| WRU surname | [-0.038, -0.032]+0.029 | [+0.417, +0.449]+0.368 | [-4.14, -2.60]-2.72 |
| WRU +county | [+0.025, +0.033]+0.020 | [+0.352, +0.384]+0.307 | [-3.45, -1.98]-2.55 |
| BISG tract chain | [+0.016, +0.025]+0.056 | [+0.292, +0.322]+0.324 | [-3.24, -1.89]-2.00 |
| pyethnicity | [+0.052, +0.060] | [+0.309, +0.338] | [-2.64, -1.30] |
| Mixed LLM + posterior pipelines | |||
| +0.032 | +0.310 | -1.31 | |
| Haiku + pyeth. posterior | [+0.028, +0.037]+0.004 | [+0.295, +0.324]+0.277 | [-1.98, -0.59]-1.08 |
| Haiku + BISG posterior | [-0.000, +0.008] | [+0.261, +0.292] | [-1.74, -0.37] |
| BIRDiE estimators | |||
| -0.037 | -0.044 | +1.09 | |
| BIRDiE, WRU surname | [-0.040, -0.033]+0.026 | [-0.094, +0.007]+0.006 | [-1.64, +3.46]+1.05 |
| BIRDiE, WRU +county | [+0.021, +0.031]+0.016 | [-0.027, +0.042]-0.024 | [-0.66, +2.62]+0.27 |
| BIRDiE, BISG tract chain | [+0.011, +0.020] | [-0.051, +0.004] | [-1.03, +1.48] |
| Reference | |||
| Oracle (true labels) | 0 (by construction) | 0 (by construction) | 0 (by construction) |
W Temporal Holdout Test for Training-Data Contamination
The North Carolina voter file is public, so the LLMs may have seen the self-reported race of sampled voters during training. Voters who registered after a model's training cutoff cannot appear in any snapshot it was trained on. We use each model's documented cutoff (SI B) and drop the month after it as a buffer. If performance reflected memorized records, accuracy should be lower for voters registered after the cutoff. Table W.1 shows no such drop. For Haiku, whose training data run to July 2025, the 675 later registrants are labeled correctly 81.5% of the time against 82.6% for earlier registrants, and the interval excludes a drop larger than 5.0 points. Gemini and Qwen are slightly more accurate on later registrants, and the difference loses significance once race is controlled.
Table W.1: Temporal holdout test, Study 2. Voters who registered after a model's documented training cutoff (with a one-month buffer dropped) cannot appear in any voter-file snapshot the model was trained on. Differences are post minus pre, with 95% stratified bootstrap intervals. The logit coefficient is from a regression of correctness on a post-cutoff indicator and self-reported race among labeled voters.
| Model | Cutoff | N post | Cond. acc. pre | Cond. acc. post | Difference (pp) | Logit (SE) |
|---|---|---|---|---|---|---|
| Claude Haiku 4.5 | Jul 2025 | 675 | 82.6 | 81.5 | -1.1 [-5.0, +2.7] | -0.12 (0.18) |
| Gemini 2.5 Flash | Jan 2025 | 1,259 | 71.1 | 74.9 | +3.8 [+1.3, +6.3] | 0.16 (0.09) |
| Qwen 2.5 7B | Sep 2024 | 1,767 | 66.0 | 70.7 | +4.8 [+2.4, +6.9] | 0.12 (0.07) |
This test addresses memorization of voter records. It does not address the models' general exposure to associations between names and race, which is what makes them useful classifiers. A validation on a voter file that is not publicly available would address the remaining concern.