Article
BeginnerAn AI Tool's Guess at Someone's Gender or Race Is Not Demographic Data
Name lookup services, photo tools and AI assistants can fill blank gender and race fields in seconds, but their misses fall much harder on some groups than others. What four studies found about name and photo guesses, why the researchers say the gaps cannot be fixed with more data, and what a foundation can do instead. Invented example. General information, not legal or tax advice.
Responsible Practice AI Literacy
The board of the Invented Quarrendell Community Trust wants next quarter’s report to show what share of grant dollars went to organizations led by women and by people of color. The trust has about 120 grantees, and the leadership fields for about 40 of them are blank. A staff member suggests running the leaders’ names through a name lookup service, or asking an AI assistant to fill the column from staff pages and headshots. This is a teaching example, not a case study. The trust and both numbers are made up.
The shortcut would take an afternoon, and an overall error rate can sound reassuringly small. What staff don’t see is that the misses are not spread evenly. They land on particular groups, and the people a funder most wants to count correctly can be the ones a guess gets wrong.
This article explains what these tools actually return, how unevenly they miss, and what the researchers who measured them recommend. Whether a foundation should collect or use demographic data at all, and how, can raise legal questions. This article takes no position on that; talk to your counsel.
About 12 minutes. You will know what a name or photo guess measures, what four studies found about who gets labeled wrongly, and when to run the check in the companion tutorial.
What a name or photo guess is
A name tool has never met the person behind the name. Lockhart, King and Munsch, Nature Human Behaviour (2023), quoted here from the authors’ accepted manuscript version rather than the published article, explain that “What name-based demographic imputation tools measure, then, is not the “ground truth” of a person’s or name’s gender or race (which does not exist), but rather the cultural “consensus estimates of how each name is gendered” or racialized.” Put plainly, the tool reports how a name tends to be read by others, not how the person describes themselves.
Some methods return a probability instead of a single label. The Consumer Financial Protection Bureau’s 2014 methodology paper describes a proxy “which combines geography- and surname-based information into a single proxy probability for race and ethnicity.” With a probabilistic proxy, the CFPB paper says, “an individual is assigned a probability, ranging from 0% to 100%, of being White.” The bureau built this for lending, where the same paper notes that “auto lenders and other non-mortgage lenders are generally not allowed to collect consumers’ demographic information.”
Our reading: a funder that wants to know how grantee leaders identify is usually in a different position from those lenders, because it has a relationship with the people involved and can ask them. How and whether to ask is a question for your counsel.
How often guesses miss, and for whom
Lockhart, King and Munsch compared survey answers with name-based guesses: in the manuscript’s words, “we compared self-identified demographics with name-based imputations of gender and race/ethnicity for 19,924 scholars across four gender ascription tools and four race/ethnicity ascription tools.” The scholars were authors of social science journal articles, and the manuscript reports, “Our overall response rate was 14%.” For gender, the authors found “an overall error rate for gender prediction of 4.6% in our sample using the most popular tool, genderize.io.”
That 4.6% average hides who carries the errors. The manuscript states, “By definition, automated gender inference is wrong for all 139 nonbinary scholars in our sample.” It also reports, in the same study, “Women are misgendered 3.5 times more often than men.”
The sharpest gap in the gender results is between two groups that share one origin of names. Using genderize.io on the authors who answered the survey, Lockhart, King and Munsch found that “Chinese women are misgendered 43% of the time compared to Chinese men, who are misgendered 13% of the time.” The study turned each probability into a label at a 50% cutoff, which the authors say is where “Most algorithms default,” and it left out names the tool returned as unknown, per the manuscript’s methods.
Keep that figure in its box. It describes one name tool, tested on 19,924 survey-answering social science authors, at a 50% cutoff, in a sample where the overall gender error rate was 4.6%, according to Lockhart, King and Munsch. It is not a rate for every name tool, for all Chinese women, for AI assistants, or for any foundation’s grantee list. The authors do argue that “the error rates we identify for demographic subgroups (e.g., Chinese women) are likely to be more robust” than overall rates when people try to apply them elsewhere.
Race and ethnicity were harder still. The manuscript reports: “Overall accuracies ranged from 47% to 86% when predicting broad US Census racial/ethnic categories of social science authors from their names.” Some groups fared far worse, according to the same results, “with Black, Middle Eastern and North African, Filipino, and self-described “Other” misclassified between 55% and 80% of the time.”
Cutoffs change the totals
A second study shows how a technical setting can tilt a count. Kozlowski and colleagues, in a 2022 PLOS ONE paper, write: “We use information from the U.S. Census and mortgage applications to infer the race of U.S. affiliated authors in the Web of Science.” Their headline finding, in the paper’s words: “Our results demonstrate that the validity of name-based inference varies by race/ethnicity and that threshold approaches underestimate Black authors and overestimate White authors.”
The reason is that names are not equally distinctive. A fixed cutoff, the authors explain, “assumes that the distinctiveness of names across races does not significantly differ,” when in practice “typical names of one racial category are more informative, and thus more easily meet the threshold, than another.” Raising the cutoff to be safer has its own cost, since the paper notes that “Increasing the threshold results in fewer total individuals returned.”
The CFPB paper shows the other route: add up probabilities instead of assigning labels. In the CFPB’s example, “two individuals each with a 0.5 probability of being Black and a 0.5 probability of being White would contribute a count of 1 to both the Black and the White totals.” Even so, the bureau found that for the “American Indian/Alaska Native and the Multiracial classifications, correlations are positive but close to zero for all proxy methods, suggesting a low degree of power in predicting reported race and ethnicity for these two groups.”
Our reading: a method designed to estimate totals across many loan files gives you nothing trustworthy to write on one grantee’s record, and for some groups it tells you very little even in total.
Photo tools, as tested in 2018
Photos raise the same problem. In a 2018 test of three commercial gender classification systems, Joy Buolamwini and Timnit Gebru reported in Gender Shades that “darker-skinned females are the most misclassified group (with error rates of up to 34.7%),” and that “The maximum error rate for lighter-skinned males is 0.8%.” Their photo set, the paper explains, “consists of 1270 individuals,” and “we chose parliamentarians from African and European countries.”
The 2018 systems offered only two answers: Gender Shades says each company’s feature “uses the binary sex labels of female and male.” The researchers’ own labels, the paper says, “indicate subjects perceived as women or men,” which is not the same as asking. And the authors noted, “The companies provide no documentation to clarify if their gender classification systems which provide sex labels are classifying gender identity or biological sex.”
These results describe those systems as they were tested for a 2018 paper. We make no claim about how current versions perform, better or worse.
Why the researchers say more data will not fix this
It is tempting to assume more data will close the gap. Lockhart, King and Munsch trace the uneven errors to “the information content of names and the cultural construction of gendered and racialized groups,” and conclude that “they cannot be eliminated with more data or better statistics.”
Our reading: asking a general AI assistant to guess someone’s gender or race from a name, a staff page or a headshot runs into the same limit, because the input still carries only how other people tend to read it. None of the four studies here tested a chatbot, so we give no error rate for one. A name can also change what AI writes about a person, as our post on AI-drafted letters that changed when only the name changed shows.
What the researchers recommend
The authors of the 2023 study are blunt about one option: “Sometimes the right answer to “should we build or use this technology?” is simply “no.”” (Lockhart, King and Munsch). Name guesses measure how others label a person, so the manuscript says studies about how people see themselves are a poor fit: “Studies interested in self-identity, legal status, or biomarkers are not.”
Where the tools are used at all, the authors advise: “Use only aggregate estimates of demographics from names, and check accuracy and bias on the target population.” They add, in the same manuscript, that “To know the exact error profile in any particular application of these tools, one would need to repeat an analysis like ours in that specific context.” For a foundation, that would mean surveying the people anyway, at which point the survey answers are the data.
What a foundation can take from this
This is practice advice, our reading of the sources above.
- Ask, don’t guess. If you want to know how grantee leaders identify, ask them, with a clear choice to decline.
- Count blanks as Unknown, and show that line. An honest Unknown is better than a complete-looking chart built on guesses.
- Never put a guessed identity on one grantee’s record or profile. A wrong label about a real person is a harm on its own, even if no total ever uses it.
- Ask any vendor what its “enrichment” is based on. If added gender or race fields come from names or photos, they are guesses.
- Talk to counsel before deciding whether and how to collect or use demographic data.
The companion tutorial, check where each demographic answer came from before you count it, walks through the values already in your database, one field at a time, and finishes with a browser lab where you sort six practice records from an invented trust.
Common mistakes
- Quoting 4.6% on its own. The overall rate hid gaps such as 43% against 13% in the same study.
- Treating 43% as a general rate. It is one tool, one survey sample of authors and one cutoff.
- Saying today’s photo tools still perform like the 2018 systems. No source here tested current versions.
- Treating a probability as an answer. A high confidence score is still a guess about a person.
Check your understanding
- What does a name tool measure, according to Lockhart, King and Munsch? (How a name is usually read in a culture, not the person’s own identity.)
- Why can a fixed cutoff undercount some groups? (Some groups’ typical names are more distinctive, so they pass the cutoff more easily.)
- Can the Gender Shades figures be applied to current photo tools? (No. They describe three systems as tested in 2018.)
Limitations
The Quarrendell trust and its numbers are invented. None of the four studies looked at foundations or grantee lists: Lockhart, King and Munsch studied social science authors; Kozlowski and colleagues studied US-affiliated authors; Buolamwini and Gebru studied photos of parliamentarians; and the CFPB studied lending data. Their error patterns are evidence about the tools, not rates your foundation will see. Lockhart, King and Munsch are quoted from the authors’ accepted manuscript, not the published version. No source tested a general-purpose AI assistant. The advice on what a foundation can take from this is our interpretation. This is general information, not legal or tax advice.
Sources (4)
- Jeffrey W. Lockhart, Molly M. King and Christin Munsch, Name-Based Demographic Inference and the Unequal Distribution of Misrecognition, Nature Human Behaviour (2023) (authors' accepted manuscript on SocArXiv/OSF, dated 6 April 2023)
- Kozlowski and colleagues, Avoiding bias when inferring race using name-based approaches, PLOS ONE 17(3): e0264270 (March 1, 2022)
- Joy Buolamwini and Timnit Gebru, Gender Shades: Intersectional Accuracy Disparities in Commercial Gender Classification, Proceedings of Machine Learning Research 81 (2018)
- Consumer Financial Protection Bureau, Using publicly available information to proxy for unidentified race and ethnicity: A methodology and assessment (Summer 2014)