Elamur Research

Do Large Language Models Discriminate in Hiring Decisions on the Basis of Race, Ethnicity, and Gender?

Paper · 2024 · Haozhe An, Christabel Acquaye, Colin Wang et al.

Summary

An email announcing a hiring decision usually comes after someone has made the decision. An and colleagues turn that sequence into an experiment. They ask a system to write to a named applicant about the result of a job application and leave the outcome open. The system has to supply an acceptance or a rejection to complete the task. The authors then change the applicant’s first name while keeping the rest of the request fixed. A change in the frequency of acceptances reveals how much a name can influence this particular use of large language models.

The study uses 300 first names selected for their statistical associations with race or ethnicity and gender in U.S. records. The names form equally sized groups covering White, Black, and Hispanic categories crossed with female and male categories. The authors also vary the requested occupation, the applicant’s stated qualifications, and the wording of the request. They construct 820 templates and analyze over 2 million generated emails across Mistral, Llama2, and GPT-3.5 systems. Human reviewers check whether sampled emails communicate a clear decision, and a classifier trained on manually labeled examples identifies acceptances and rejections at scale. The classifier receives the messages with applicant names removed.

White names often receive favorable outcomes, while names associated with Hispanic men receive some of the lowest acceptance rates. The paper’s aggregate finding puts White male names at the top and Hispanic male names at the bottom, but individual comparisons show different rankings. Names associated with Black women, for instance, can achieve above-average acceptance rates, and the group favored by a system can change with the applicant’s stated qualifications. In the shared comparison over 7 occupational settings, the reported gaps between the highest and lowest group acceptance rates run from 1.60% to 3.78%. The authors find statistically significant departures from overall acceptance rates even where the numerical gaps are small.

The experiment isolates an influence that a more detailed application could make harder to identify. Its outcomes are decisions expressed in generated emails under deliberately sparse instructions. The findings establish that a name can affect which outcome a system writes in this setting, and that the effect depends on the system and the surrounding request. They raise a concern for hiring and other workplace uses where generated judgments could influence opportunities. How such effects would carry over to résumé screening, interviews, or a full hiring process remains open.

Deep dive: Do Large Language Models Discriminate in Hiring Decisions on the Basis of Race, Ethnicity, and Gender?

A hiring email audit tests whether changing an applicant’s first name affects acceptance rates across race, ethnicity, and gender cues. · about 34 minutes to read

The problem and its context

From employer correspondence to generated decisions

A name can tell a reader very little about a person’s suitability for a job while still suggesting a social identity. As the authors explain, earlier field research compared hiring opportunities for applicants with similar qualifications whose names sounded White or Black to U.S. readers. Those studies found fewer opportunities for applicants whose names were perceived as African American. The general design behind such work is to arrange a comparison in which the information relevant to the job stays similar while a cue to perceived identity changes. A systematic difference in responses can then be studied in relation to that cue.

The paper brings that logic to a decision expressed in generated text. An employer’s response in a field experiment comes from an actual labor market. In this study, the outcome comes from a system completing a writing instruction about an imagined application. The earlier studies motivate the choice of a first name as the experimental variable and the choice of hiring as the setting. The new experiment asks whether the generated version of that decision is sensitive to the same kind of cue. Its interpretation depends on what the prompt delegates and on what the system actually writes back.

The delegation is easy to miss because the task looks like ordinary correspondence. If a request supplies a decision and asks for a suitable email, the recipient’s name could influence the tone while the decision stays fixed. If the request leaves the decision open, the system supplies part of the underlying event as well as the words that describe it. An and colleagues exploit that opening. The email serves as a record of the choice the system fills in. This makes it possible to measure a difference in outcomes even when all of the resulting messages appear fluent and professionally written.

The authors connect this design to two kinds of harm. A representational harm concerns how people or groups are depicted, for example when generated text repeatedly associates certain applicants with rejection. An allocational harm concerns access to a benefit or opportunity. If generated decisions or recommendations were used in employment, a similar association could affect who progresses. The experiment directly observes the representation of outcomes in text. The authors discuss allocation as a possible consequence when these systems are used in settings where the text can shape actions. The distinction draws on earlier work about how to define and study bias in language technology, including the critical survey by Blodgett and colleagues.

There is also a question about scientific use. The paper describes research exploring whether generated responses can reproduce patterns observed in human behavior or serve as a low-cost preliminary test of a social-science hypothesis. In that context, a comparable experimental setup makes it possible to ask where generated behavior resembles an established human finding and where the resemblance breaks down. A simulated response can be informative about the system that produced it. Its value as evidence about people would depend on how well it corresponds to human observations under an appropriate comparison. The authors situate this motivation alongside work such as Out of One, Many.

What earlier bias tests measured

The paper describes a broad body of natural language processing research on social bias. One strand evaluates whether systems resolve references to people in ways that reflect gender stereotypes about occupations. Resolving a reference means deciding which person in a passage an expression such as a pronoun points to. Occupational terms provide a way to test whether that interpretation changes with gender cues. An and colleagues draw most of their named jobs from WinoBias, the benchmark introduced in work on gender bias in coreference resolution.

Other earlier studies design inputs that expose preferences for stereotyped associations or measure whether stereotypes shape responses to questions. Those benchmarks differ in what they ask a system to do and what counts as an observable response. A stereotype expressed in a sentence preference, a choice in a question-answering task, and a rejection written in an employment email each give the researcher a different measure. The paper places its email task in this larger family of evaluations, alongside benchmarks such as StereoSet and BBQ.

An earlier line of research puts names themselves at the center. The studies the authors cite examine how names can affect generated descriptions, translations, or other interpretations. Some use name substitutions to study or reduce gender bias. Some investigate how the written form of a name affects its treatment. This matters for the hiring experiment because a name is a piece of language as well as a possible identity cue. A substitution changes the precise text the system sees. The demographic interpretation comes from the deliberate selection and grouping of names, a premise shared with earlier work on name-based counterfactual data substitution.

Generated workplace writing provides a closer comparison. The paper cites a study of gender bias in reference letters, where the generated description of a person is the object of analysis. A recommendation letter can reveal bias in the traits or qualities emphasized. The hiring email task poses a different measurement question. Its outcome is whether the person receives a positive or negative decision, even if the wording around that decision varies. The earlier application of generation to professional judgments appears in Wan and colleagues’ study of reference letters.

Why the authors use a sparse application

The nearest contemporaneous hiring audits described in the paper use synthetic résumés and examine bias in résumé generation or subsequent tasks such as summarizing or assessing a candidate. The authors report that the closest of those studies use at most ≤ 10 job categories and ≤ 32 names. A résumé supplies information that a real reviewer would expect to see. It also brings choices about work history, education, achievements, and presentation into the comparison. Those choices can affect the decision and create many combinations for an audit to examine.

An and colleagues prioritize breadth over names and job contexts while controlling what an application says about a person. Their prompt can give a role and an overall judgment of the applicant’s qualifications. The rest of the application history is left unspecified. This gives the experiment a clear question: does a name exert an influence when the material normally used to make a hiring judgment is sparse and can be held fixed? The answer bears on a particular failure mode of automated judgment. When a request leaves a consequential fact to be inferred, a system can fill it in using an association that the request never identified as a legitimate basis for deciding.

The method, step by step

Select the names and define what they signal

The unit of substitution is a first name. The authors construct the name list from two U.S. data sources with different purposes in the experiment. The data compiled by Rosenman and colleagues give the racial and ethnic distribution associated with names. The Social Security application data supply statistics used to associate names with gender. A name has to occur in both sources to enter the study. The demographic labels used in the analysis come from this selection procedure.

In the race and ethnicity source, the authors consider names appearing more than 1,000 times and assign a category when its share exceeds 50%. The source includes White, Black, Hispanic, Asian, and Others categories. No names satisfy the inclusion criteria for Others, and fewer than 15 qualify for Asian. The experiment therefore focuses on White, Black, and Hispanic names. In the Social Security data, the authors also use a majority rule of > 50% to associate a name with the female or male category.

Within each resulting race-or-ethnicity and gender group, the authors rank eligible names by the proportion associated with the majority racial or ethnic category. They take the top 50 names in each group. This yields 100 names per race or ethnicity and 300 names in all. The selection is uniform in the number of names assigned to each combined group. It is intentionally selective in which names represent it. For example, the name list includes Brody in the White male group and Shanika in the Black female group. The paper uses those same names to illustrate what a substitution can look like in a generated hiring email.

A demographic label here describes the association under which a spelling entered the experiment. Each generated email belongs to an experimental group through that name assignment. A shift in the group’s acceptance rate is therefore a result about the treatment of those cues in the chosen names. The design has no need to identify the race, ethnicity, or gender of a person with any of those names. This is especially important when reading the group labels in the results, where the shorthand can sound like a description of actual applicants.

Build a request that leaves a decision to be supplied

The authors start with an instruction to compose an email to an applicant about the outcome of an application. The applicant’s name goes into the name slot. A version for a specific occupation inserts the job title in a role slot. A version with an unspecified occupation omits the phrase that would name it. Every request leaves the acceptance or rejection unstated. A clear answer must therefore combine the act of writing an email with a choice about what happened to the application.

The authors write an initial wording and use ChatGPT 3.5 to produce 4 paraphrases, for a total of 5 base templates. Changing the surface wording broadens the test beyond one author-written request. The paraphrasing instruction preserves placeholders so that each base template can be filled systematically. The seed used for paraphrasing had pronoun slots. The authors later settle on a design without gendered applicant pronouns so that the name supplies the identity cue under study. If the pronouns varied with the name, any difference could reflect both changes together.

Next they vary the job. The occupation dimension has 41 settings, of which 40 name a job and 1 leaves the job unspecified. WinoBias provides 38 of the jobs. The authors add CTO and software engineer because those titles appeared frequently in preliminary Llama2 generations. Including both kinds of setting lets the authors examine outcomes when an occupation may supply context for a stereotype and when the request leaves the occupation open. An unspecified occupation is still part of an identifiable hiring task because the message concerns a job application.

The last prompt dimension concerns qualifications. The prompt either leaves them unspecified or says that the applicant is highly qualified, somewhat qualified, or not qualified. When a qualification is supplied, the authors put a sentence conveying that assessment before the email instruction. This is a deliberately compact piece of evidence. A task with a highly qualified applicant gives a direction for the generated outcome, while the unspecified version leaves the system freer to fill in the situation. Intermediate and negative assessments let the authors see how an explicit judgment interacts with name cues.

The authors form the 820 templates by taking every combination of the 5 base phrasings, 41 job settings, and 4 qualification settings. Name insertion is a separate step. A template is a reusable pattern before a particular name is inserted, whereas a prompt is what a system receives for a particular generation. At the level of a particular wording, job, and qualification setting, substituting a name changes only the text in the name slot. At the level of the experiment as a whole, varying the other settings makes it possible to examine how dependent that influence is on the surrounding request.

How the hiring email audit works

The steps in order.

How the hiring email audit worksStep 1: Select first names with demographic associations1. Select first names with demographic associationsStep 2: Combine wording, occupation, and qualification settings2. Combine wording, occupation, and qualification settingsStep 3: Insert an applicant’s name into the template3. Insert an applicant’s name into the templateStep 4: Generate an email with an application outcome4. Generate an email with an application outcomeStep 5: Check sampled emails for validity5. Check sampled emails for validityStep 6: Redact applicant names and classify decisions6. Redact applicant names and classify decisionsStep 7: Compare group acceptance rates with pooled rates7. Compare group acceptance rates with pooled rates

Generate comparable emails at different scales

The systems under test are instruction-tuned, meaning they have been trained to respond to requests expressed as instructions. The experiment uses Mistral-Instruct-v0.1, the 7b, 13b, and 70b versions of Llama2, and GPT-3.5-Turbo. The paper reports results under shortened labels, including Mistral-7b and GPT-3.5. The tested versions are identified in the paper’s experimental setup, with background given by the Mistral 7B paper and the Llama 2 paper.

These systems generate messages in full. An acceptance and a rejection can each be expressed in many ways, and an individual message can contain details that the prompt left open. The evaluation treats the decision conveyed by the message as the response of interest. For example, the paper illustrates a Llama2 generation accepting Brody and another rejecting Shanika under a name substitution. The example makes the output format concrete. The statistical analysis relies on the distribution of decisions across many generations and many names.

The authors use sampling settings intended to be comparable where possible. Temperature, which affects how readily generation samples less probable continuations, is 0.6 across the systems. The Llama2 versions use a top_p setting of 0.9 and a maximum generated length of 256. Top-p sampling uses a cumulative probability cutoff to restrict the continuations eligible for sampling. GPT-3.5-Turbo has a maximum of 256 generated tokens, a frequency penalty of 0.9, and a presence penalty of 1.9. These penalties adjust sampling according to whether, and how frequently, text elements have already appeared. Mistral uses sampling with a limit of 256 new tokens. The appendix lists the generation settings separately for each system.

The paper reports averaging over 3 random seeds for its larger open-system runs. A seed fixes the starting state of the random sampling procedure, allowing the investigators to repeat a run with that setting and to see results across different draws. The full occupational comparison covers Mistral-7b, Llama2-7b, and Llama2-13b. The more costly Llama2-70b and GPT-3.5-Turbo run on the reduced set of 7 occupational settings. The largest Llama2 run uses a single seed. GPT-3.5-Turbo uses two of the base templates. Those differences in coverage matter whenever the systems are compared, because the reported rates average over the inputs and generations each one actually received.

Check the outputs and label the decisions

The authors ask human reviewers to check randomly sampled emails for validity. Their definition requires both a fluent message that resembles normal email correspondence and a clear positive or negative application decision. An email that merely acknowledges an application or leaves a decision pending would fail the outcome part of that definition. This check addresses a basic question about the measurement. The frequency of acceptance is informative as an outcome measure only to the extent that the generated texts can be read as expressing recognizable outcomes.

The paper describes checking 30 examples for each combined demographic group in a Llama2-13b sample of 180 emails, and reports a validity evaluation based on 180 sampled emails per system, balanced over the groups. Reviewing samples this way lets the authors look for a mode of failure that a pooled validity figure could hide. If one group regularly received messages that were harder to interpret, the corresponding rate of clear decisions would itself differ. The authors compare group validity rates within each system separately from their tests of acceptance rates.

The scale of generation makes individual manual labeling of every outcome infeasible. The authors manually annotate 1, 200 emails from early experimental runs, with examples balanced over the demographic groups. They use 840 of those samples for training, 180 for validation, and 180 for testing. The training portion supplies known email outcomes, the validation portion is set aside during development, and the test portion provides a final check on classification. The resulting classifier is a support vector machine, or SVM. In this task, it learns a boundary in a representation of email text that separates acceptances from rejections.

That representation uses TF-IDF. It gives terms weights based on their occurrence in an individual message and on how widely they occur across the collection. Terms common to application emails in general can thereby carry less weight than terms more characteristic of one kind of decision. The classifier receives redacted text during training and when it labels the generated emails. In particular, it cannot learn an explicit rule that associates the applicant names themselves with the output labels. This preserves the distinction between the system being audited, which sees the name, and the instrument used to read its decision, which sees the email with the name removed.

The authors check the classifier both on its held-out test data and on the valid emails in the separate samples used to assess the generators. The latter check matters because the classifier’s training examples do not cover the exact wording of every base prompt. The people annotating those samples determine the outcomes expressed in the messages, and the authors compare their judgments with the automated labels. This provides a way to establish whether one outcome reader can be used across the output styles of the different systems.

Measure acceptance against a pooled comparison

The main outcome is an acceptance rate, the share of classified outcomes that are positive in a given group and setting. The baseline for a group is the pooled rate for the relevant comparison. This answers a question about relative treatment within an experimental setting. A system can be generally reluctant to write an acceptance and still favor a particular group relative to its own overall rate. A system that writes many acceptances can likewise rank a group below its baseline.

The statistical test in the appendix starts with the observed difference. In notation for the quantities the paper describes, the difference is:

d = r(A) − r(U)

Here d is the observed acceptance-rate difference, A is the demographic group being tested, and U is the full experimental population under the same setting. The function r gives the acceptance rate of whichever set is placed in parentheses. The minus sign subtracts the overall rate from the group rate, and the equals sign defines the difference. Since the baseline is pooled, U includes the group whose rate is being compared with it.

The authors then shuffle the identity labels. This keeps the total collection of observed outcomes in place while changing which ones belong to the group under the shuffled assignment. The new group has the same size as the original. The corresponding difference is:

d′ = r(A′) − r(U)

Here A′ is the group formed by the shuffled labels and d′ is its difference from the overall rate. A prime marks the quantities obtained after shuffling. The meanings of r, U, the parentheses, and the arithmetic signs are the same as in the observed comparison. The pooled rate stays the same because shuffling changes group assignment while preserving the full set of outcomes.

The paper gives the probability expression for the permutation calculation as:

P(d′ > d)

P denotes probability under the shuffled assignments. The greater-than sign specifies the event that the permuted difference d′ exceeds the observed difference d. The authors use 5, 000 permutations to estimate the probability. Their tables flag both above-average and below-average rates. The appendix writes the probability in the upper-tail form shown here, leaving the corresponding computation for lower-tail results implicit.

For the occupational comparisons in the main results table, the authors first run separate tests by job. They then aggregate the resulting p-values with Fisher’s method. A p-value summarizes how unusual a result is under the specified null comparison. The combined result summarizes the evidence across the occupational tests. The reported average and the combined significance therefore describe different features of the data. The average gives the direction and size of an aggregate tendency, while the tests use the occupational structure of the experiment to assess evidence for departures from the pooled benchmark.

Experiments and results

The email collections and the quality of the labels

The main setup reports 756, 000 generated emails per system for Mistral-7b, Llama2-7b, and Llama2-13b, with 48, 000 for Llama2-70b and 19, 200 for GPT-3.5. Across the experiments the authors describe analyzing over 2 million emails. The comparison is narrowed to seven categories: software engineer, CTO, secretary, hairdresser, carpenter, mechanician, and an unspecified occupation. The authors choose these settings because of occupational gender associations in WinoBias or because a job was common in preliminary generations. This makes the smaller comparison informative about the chosen settings, with a specific occupational mix that differs from the full sweep.

The primary comparisons are between the acceptance rates of name groups and their pooled average within a system and set of conditions. The paper also compares the highest and lowest group rates within each system. Those comparisons answer different questions. A pooled comparison identifies a group receiving outcomes above or below the overall rate. The highest-to-lowest range shows how far apart the extreme group means are. Systems can have different overall tendencies to accept and still have similar ranges, or have similar overall rates while distributing positive decisions differently across groups.

On the human-reviewed validity samples, the proportion of emails judged valid ranges from 83% to 100% across systems. The appendix gives Mistral-7b a pooled validity rate of 0.83, Llama2-13b a rate of 0.94, and GPT-3.5 a rate of 1.00. With a binomial comparison of validity, which treats each sampled email as valid or invalid, the authors report p > 0.05 for every within-system pair of name groups. The samples consequently supply no statistically significant evidence of group differences in validity under that test. This supports reading the acceptance patterns apart from the most obvious possibility that one group systematically received emails that failed to communicate an outcome.

On the 180-email held-out classifier test, the automated labels achieve 0.97 accuracy. Accuracy is the share of those test labels that agree with the manual labels. On the separate set of 170 valid Llama2-13b emails used in the sample check, the classifier reaches an F1 score of 0.98. F1 combines precision, the share of outcomes predicted for a label that match the manual reading, with recall, the share of manually labeled outcomes of that kind that the classifier recovers. The appendix also reports F1 of 0.99 for valid sampled Llama2-70b emails. The two evaluations provide evidence about different parts of the measurement: performance on the reserved annotation split and performance on valid generations from the systems whose outcomes enter the audit.

The occupational comparisons

The shared comparison across 7 occupational settings reveals broad differences in how often the systems write acceptances at all. The pooled acceptance rate for Mistral-7b is 54.10%, compared with 49.71% for Llama2-7b and 33.43% for Llama2-13b. Llama2-70b has a pooled rate of 26.99%, and GPT-3.5 has a pooled rate of 26.09%. Here a higher pooled rate means that the system writes more acceptances in the audit. The fairness question arises from how those acceptances are distributed among the name groups under each system.

The paper reports highest-to-lowest gaps ranging from 1.60% to 3.78% across systems in this comparison. Llama2-70b has the smallest reported gap, 1.60%, and GPT-3.5 has the largest, 3.78%. Llama2-13b has a gap of 3.56%, Mistral-7b has 2.75%, and Llama2-7b has 2.44%. These figures describe the differences the authors report between group acceptance percentages. The tests of statistical significance concern departures of individual groups from the pooled comparison, an important distinction when reading the range alongside the significance markers.

Llama2-13b offers a clear example of how to read a group result. With 7 occupational settings, White female names receive 35.13% acceptances and White male names 34.69%, against a pooled rate of 33.43%. Hispanic female names receive 32.65% and Hispanic male names 31.57%. The paper flags both White group rates at p < 0.01 above the overall rate, the Hispanic female rate at p < 0.05 below it, and the Hispanic male rate at p < 0.01 below it. The comparison with the pooled rate identifies the direction of each departure under the authors’ test. The gap between the extremes supplies the scale of the spread for this system and occupational selection.

The chart shows the corresponding group comparison on the wider occupational sweep for Llama2-13b. The star marks the highest observed acceptance rate in the chart. Higher refers to how frequently the name group receives an acceptance.

Llama2-13b group acceptance rates across 41 occupational settings

Names associated with White women receive the most acceptances, while names associated with Hispanic men receive the fewest.

Llama2-13b group acceptance rates across 41 occupational settingsWhite female (this paper): 34.02White female (this paper)34.02White male: 33.14White male33.14Black female: 33.05Black female33.05Black male: 32.46Black male32.46Hispanic female: 32.26Hispanic female32.26Hispanic male: 30.38Hispanic male30.38
The numbers
System or settingAcceptance rate %
White female (this paper)34.02
White male33.14
Black female33.05
Black male32.46
Hispanic female32.26
Hispanic male30.38

The pooled rate for this wider Llama2-13b comparison is 32.55%, and the reported group range is 3.64%. The ordering of the highest and lowest groups matches the restricted occupational comparison for this system, although the percentages change. The paper’s wider occupational results also show outcomes that differ from this ordering. Mistral-7b has a pooled rate of 56.16% and shares its highest reported rate, 57.16%, between White male and Black female names. Llama2-7b has a pooled rate of 49.28%, with Black female names at 50.70% and Hispanic male names at 47.36%. The aggregate observations in the paper need to be read alongside these different system-level results.

The result for Hispanic male names is recurrent across the paper, but its strength varies. On the shared occupational selection, Hispanic male names receive 24.45% acceptances from GPT-3.5, below that system’s pooled 26.09%. Hispanic female names receive 28.23% in the same comparison, above the pooled rate. Both departures carry the paper’s p < 0.01 marker. These outcomes show why the combined race-or-ethnicity and gender groupings matter. A pooled description of treatment under the Hispanic label would obscure how differently that system treats the female and male name sets.

The pattern also has exceptions when considering the entire family of systems. On the smaller occupational selection, Llama2-70b gives Hispanic male names a rate of 26.95%, close to its pooled 26.99%, and the table leaves that group unmarked for significance. Black female names receive 28.06%, which is marked at p < 0.01. The strongest conclusion from the broad comparisons concerns repeated disparities under particular settings. A group can stand out in some systems while sitting near the pooled rate in another.

Qualification can dominate the aggregate decision

The authors report separate rates for each level of qualification stated in the request. Those rates show that the systems use the qualification cue, and that they use it differently. For Mistral-7b, the pooled rate is 98.61% when the applicant is highly qualified, 76.58% when qualifications are unspecified, 48.64% when the applicant is somewhat qualified, and 0.27% when the applicant is unqualified. Llama2-7b has 77.89% acceptance for highly qualified applicants and 10.09% for unqualified applicants. Llama2-13b has 60.91% and 2.86% in those same settings. The numbers concern the generated decisions across name groups within each qualification condition.

The sequence also reveals a difference in how the models interpret sparse information. Mistral’s aggregate rate with no qualification supplied exceeds its rate for a somewhat qualified applicant. Llama2-7b and Llama2-13b show the reverse ordering in the reported qualification results. For Llama2-7b, the pooled rate is 51.05% when qualification is unspecified and 57.81% with a somewhat qualified applicant. For Llama2-13b, the respective rates are 32.14% and 34.25%. A missing qualification leaves room for the system to infer an application scenario. The comparison gives an empirical measure of what the systems tend to do in that space without settling what they infer internally.

Mistral-7b acceptance by name group for somewhat qualified applicants

White male names receive the highest acceptance rate under this qualification wording.

Mistral-7b acceptance by name group for somewhat qualified applicantsWhite female: 42.90White female42.90White male (this paper): 52.83White male (this paper)52.83Black female: 51.24Black female51.24Black male: 48.60Black male48.60Hispanic female: 51.13Hispanic female51.13Hispanic male: 45.11Hispanic male45.11
The numbers
System or settingAcceptance rate %
White female42.90
White male (this paper)52.83
Black female51.24
Black male48.60
Hispanic female51.13
Hispanic male45.11

The somewhat-qualified setting gives a case where an overall group pattern changes visibly with the prompt. White male names achieve the highest rate in the Mistral-7b comparison, at 52.83%, and White female names the lowest, at 42.90%. Both are flagged at p < 0.01 relative to the pooled rate of 48.64%, in opposite directions. The White female result illustrates why a claim about favorable treatment of White names needs to be attached to a specific grouping and condition. The system’s response to the name is measured together with its response to the qualification wording.

A result for one occupation

For GPT-3.5 emails about the secretary role, the female name group has the higher acceptance rate within each of the paper’s racial and ethnic categories. White female names receive 25.75% acceptances and White male names 21.50%. The comparison is 28.25% and 24.50% for Black female and male names, respectively, and 30.00% and 27.25% for Hispanic female and male names. The paper marks the White male rate as significantly below the reference rate at p < 0.05. The reported statistical marker applies to that group’s comparison, while the ordered female and male percentages describe all the within-category patterns in the secretary example.

This occupational result is particularly revealing alongside the overall GPT-3.5 result. Hispanic male names have the lowest rate in the pooled 7-setting comparison, while the secretary result gives the lowest rate to White male names. The job-level result concerns one way of instantiating the application prompt. The pooled figure describes an average over a selection of jobs and the unspecified role. The two views help explain why a hiring audit needs to show both the broad tendency and the context in which a particular ordering appears.

What the ablations show

Removing information and changing its content

The paper studies sensitivity by changing prompt components and grouping the resulting emails, with qualification and job information providing its clearest controlled comparisons. These are comparisons of inputs to a decision task. An omitted qualification gives a different prompt condition from any of the stated qualifications. A different occupation changes the decision context. Both comparisons can be run over the same name groups, which lets the reader ask whether the group ordering survives when a particular aspect of the request changes.

In the absence of qualification information, the authors observe a general tendency toward higher acceptance rates for female names. For Llama2-7b in that setting, White female names receive 52.14%, compared with 49.57% for White male names. Black female names receive 54.64%, compared with 50.02% for Black male names, and Hispanic female names receive 52.44%, compared with 47.47% for Hispanic male names. The wider qualification comparison shows that this ordering is conditional. In the somewhat-qualified setting for the same system, the White male rate is 59.25%, and the White female rate is 58.36%.

The changes extend beyond gender averages. Mistral-7b gives Black female names 77.63% acceptance where qualification is unspecified, above the 76.58% pooled rate, with the paper marking the departure at p < 0.05. When the qualification is stated as somewhat qualified, White male names rise to the top of that condition’s ranking and White female names fall to the bottom. For the unqualified condition, the pooled rate is 0.27%, and the paper’s table shows no significant departure from that average for Mistral’s individual groups. With nearly all outcomes in the same category, the available room for measurable disparities in acceptance is limited.

Llama2-13b provides a qualification comparison with a different overall pattern. When qualifications are unspecified, Black female names have 34.81% acceptance and White male names have 30.62%. With highly qualified applicants, White female names have 62.72% and the pooled rate is 60.91%. For somewhat qualified applicants, White female and White male names both have above-average rates, 37.21% and 37.10% respectively, against a pooled 34.25%. In the unqualified condition, White male names have a 3.19% acceptance rate, marked at p < 0.01 above the 2.86% pooled rate. An overall result for this system averages across settings in which both the prevalence of acceptance and the identity of the groups above average change.

The authors speculate about a possible connection to earlier work on confidence and which partially qualified people apply for jobs. They offer this as a possible explanation for the favorable treatment of some male names when the applicant is described as partially qualified. The experiment manipulates how qualified the applicant is said to be. It leaves the decision to apply, the applicant’s confidence, and the source of the system’s associations unobserved. The qualification comparisons establish where the name-group patterns change. They cannot identify which social pattern, if any, produced the change.

Separating occupational context from apparent applicant quality

The authors also regroup the named occupations by the minimum education ordinarily required for them. This is distinct from describing a particular applicant as more or less qualified. An occupational education category attaches to the job. The qualification sentence attaches to the person as presented in that prompt. A job that typically requires a degree can still be paired with an applicant described as highly qualified, and the same description can be paired with a job requiring no formal education. Keeping those levels of description separate clarifies what each comparison changes.

One finding is that the above-average rate for Black female names under Mistral-7b is concentrated in particular education categories. The paper reports this pattern for occupations requiring a postsecondary non-degree award and those requiring no formal education. In the postsecondary non-degree category, Black female names receive 58.77% acceptances against a pooled 57.65%, marked at p < 0.05. In the no-formal-education category, the corresponding rates are 56.76% and 55.58%, with the group rate marked at p < 0.01. The aggregate finding about this name group therefore describes a result that depends on which kinds of jobs are being counted.

This conditional pattern matters for the comparison with the earlier field studies. The authors point out that a favorable result for Black female names runs against what a reader might expect from the résumé correspondence research they discuss. The occupational grouping narrows that observation. The task is a generated notification, and the higher acceptance pattern appears in particular job categories within that task. It gives a more precise account of the conditions in which the audit diverges from earlier human findings.

The secretary analysis supplies a related check at the level of an individual role. The occupation had a feminine stereotype in the resource the authors used to select jobs. The GPT-3.5 results for that role line up with that association in the direction of the female and male group rates. The paper describes such behavior in some occupational settings. A consistent explanation for every role would require evidence that the relative treatment follows occupational stereotypes across systems and prompts. The observed patterns support role sensitivity and leave the generality of that mechanism open.

What changes with system size and wording

Among the Llama2 versions evaluated on the shared occupational settings, the 70b version has the narrowest acceptance-rate range. The authors suggest the possibility that a larger system may be more robust to the demographic cues used in this task. The 7b and 13b results already show that the reported group ranges do not follow a simple ordering across sizes. The largest run also differs in sampling coverage. The comparison describes an empirical result for a set of systems. Differences in training and evaluation coverage remain possible contributors, so the range provides limited evidence about size as a cause.

The paraphrases address a different kind of sensitivity. The authors include multiple requests with the same general purpose because earlier work makes prompt wording a plausible source of variation. Repeating the task across phrasings reduces dependence on the particular sentence the authors initially wrote. The reported findings emphasize differences across templatic conditions, especially occupation and qualification, while leaving the contribution of each paraphrase unquantified in the main results. The design therefore supports a conclusion about variability across the tested prompts without providing a ranking of the interchangeable wordings.

Together, the controlled changes establish which findings are most dependent on the context that supplies a decision. A name effect can coexist with a much stronger effect of a qualification statement. A favorable average for a name group can be concentrated in a subset of jobs. A gender ordering found for a particular role can differ from an ordering averaged over occupations. These comparisons locate the circumstances in which the correspondence task produces different treatment. They leave the source of that treatment inside the generator unresolved.

Limitations

Limits identified by the authors

The authors identify the demographic coverage of the name list as a limit. Their data and inclusion rules support a study of three race or ethnicity categories and two gender categories. Many identities are outside that design. The paper notes that other demographic attributes include nationality, religion, and disability, and that several kinds of identity have a weaker connection to first names. Applying the same procedure to them would require evidence that the name cue meaningfully represents the attribute being studied. The paper also cautions that even research intended to expose inequity can flatten differences among the people grouped under broad social labels.

Occupational coverage is another stated boundary. The study examines 40 named jobs, while the 2018 Standard Occupational Classification system lists 867 occupations. The job terms in the prompts are also presented at a coarse level. A more specific role could carry different qualifications, expectations, or associations from a broad title. The authors consider it plausible that differential treatment occurs in jobs beyond the study, and treat that extension as a question for further measurement. The occupational comparisons already show why the answer for a new job cannot be read off the pooled rate.

The authors also restrict their claims to the tested instruction-tuned systems. All those systems are at least 7b in size. The paper suggests that smaller systems, with potentially weaker instruction following, might behave differently when asked to produce a decision, particularly for an expressly unqualified applicant. The validity checks in this study indicate how frequently these tested systems complete the task as intended. A system that struggles to follow the request could change the measurement problem by producing fewer clear decisions in the first place.

The paper explicitly limits its simulation to a simplified point in hiring. A qualification label acts as a summary assessment in place of detailed evidence such as a résumé. Actual hiring can involve more information about applicants and more decisions about what to do with that information. The authors use the reduced scenario to reveal an association that those details could complicate. Its direct output is an email about a hypothetical application. The study leaves open how name effects would interact with actual records of applicants’ qualifications or affect decisions across multiple hiring stages.

The authors also distinguish the potential harms of automation from the question of what would replace it. They regard automation in hiring as capable of scaling discriminatory behavior, and observe that human decision-making can also be biased. The study does not make an empirical comparison between a human and automated hiring process under equivalent conditions. Its results can inform concern about the automated component, while the relative consequences of using different processes depend on evidence beyond this experiment.

Limits visible in the experimental setup

A demographic name substitution changes a whole string. The study picks spellings strongly associated with particular census-based categories and uses the resulting groups to measure disparate treatment. Its design cannot independently vary a name’s demographic signal, familiarity, spelling, or representation in the system’s input. A systematic pattern across names makes a group interpretation more informative than a single pair of examples. It still leaves several possible pathways from the changed spelling to the changed decision. The result directly supports a claim about treatment of the selected name cues and gives limited evidence about the mechanism responsible.

The balanced name list also defines a specific comparison population. The pooled rate summarizes the audit data assembled under that sampling scheme. In a real applicant pool, names and the jobs people apply to would have their own distributions. A difference between a group and the audit’s pooled average therefore describes that group’s standing within the experiment. Estimating the effect on an actual employer’s applicants would require the relevant applicant and job distributions as well as an evaluation of how the system is used.

A separate measurement issue concerns the difference between labeling outcomes and validating outputs. The high classifier scores and the removal of applicant names make the automated outcome labels credible for a large-scale audit. The manual samples support the conclusion that the classification usually works on valid messages. They leave uncertainty about whether any residual errors are concentrated in a particular prompt or demographic subgroup. Similarly, the absence of a statistically significant validity difference between sampled groups reflects the evidence and sample size of that check. Equality of validity for every group and prompt combination remains a stronger claim.

The group comparisons report many permutations of names, jobs, qualifications, and systems. A significance mark should be read with its reference comparison. In the main occupational analysis, the paper tests groups against the pooled acceptance rate and combines the job-level evidence. A claim about every possible pair of groups would call for the corresponding pairwise tests. A claim about a single common effect in all jobs would require evidence about how consistent the effect is across jobs. A pooled rate and an aggregate significance marker leave both questions open, even when they identify a reliable difference under the paper’s stated procedure.

Coverage differences also constrain system comparisons. The shared occupational selection makes comparison possible on a common set of jobs, and the reduced GPT-3.5 template set and Llama2-70b seed coverage give those estimates different sampling conditions. The paper’s main setup associates the larger email collections with Mistral-7b, Llama2-7b, and Llama2-13b. The appendix’s sentence listing run sizes places Llama2-70b in both the larger collection and the separately reported reduced collection. The results tables and the main setup consistently place the largest Llama2 version in the reduced occupational comparison. The inconsistency matters for a reader seeking to reconstruct exact run counts from the appendix.

Finally, an underspecified request can elicit a plausible fictional scenario as part of answering. The experiment observes which decision the system writes when asked to complete that scenario with a named recipient. It does not show whether the same system would assign the same group ordering when asked to score a résumé, compare two applicants, explain a committee’s existing decision, or check a letter drafted by someone else. The evidence is strongest for this combination of decision delegation and email generation. Its practical significance comes from demonstrating that an identity cue can affect a consequential missing detail under controlled conditions.

What came after

Later papers cite the hiring audit in work on several kinds of judgment and recommendation. The connection is easiest to see by asking what cue each title foregrounds and what response it places under scrutiny. Some return to perceived demographic identity. Others change the social information supplied to the system or ask how the evaluation format affects the result. The titles establish the direction of these extensions. Their reported methods and findings require separate examination.

One extension moves the identity-cue question into meal recommendations. The title sets names alongside contrasting meal suggestions and identifies gender and racial bias as the focus. Hiring emails end in a binary decision about an opportunity. Meal recommendations expose differences through the kinds of options presented to a person. The parallel lies in how a system personalizes an output when a name can carry social information. The study takes up that question in Yuki Gets Sushi, David Gets Steak?.

Another work makes the relationship between identity and its expression the focus of a personalization study. Its title points to different sociodemographic cues for a single persona. That distinction speaks directly to the hiring audit’s choice to use first names and remove gendered pronouns. A name-based result gives evidence about one way of conveying information that can be associated with an identity. The later study’s stated focus is how personalization changes when the cues vary for the persona itself. One Persona, Many Cues, Different Results.

The multilingual work poses a related question about which part of the input carries the effect. Its title contrasts the language used in the interaction with the script used to write the name and names GPT and DeepSeek as its subjects. The hiring audit treats spelling as part of the selected first-name cue within a U.S. demographic frame. The later framing separates language and name script as possible sources of different ethnic orderings. Through the Looking Glass of Multilingual AI.

A different line of inquiry changes how an assessment is posed. The dialect study’s title identifies side-by-side comparison as the condition associated with amplified dialect bias. The hiring audit elicits a decision for an individual named applicant and compares group acceptance rates across generated emails. Side-by-side assessment foregrounds the influence of seeing inputs together. The connection is that the evaluation format can be part of what produces the measured disparity, alongside the social cue itself. Side-by-side Comparison Amplifies Dialect Bias.

The endorsement study moves from the identity of the person being assessed to a cue about the source of an endorsement. It identifies degrees of expertise as the dimension along which authority bias is measured. In the hiring audit, the name accompanies a sparse set of facts about the person who receives a decision. The endorsement study asks about a different kind of contextual information that could shape an assessment. It extends the general concern from applicant-associated cues to perceived authority. Who Endorsed It?.

The attribution study concerns what a system treats as the explanation for an outcome, captured in the title’s distinction between talent and luck. The hiring experiment measures which outcome appears in a message. An attribution study examines how credit or causation is assigned when an outcome is interpreted. Both place a social judgment inside a language task, with different parts of the resulting response available for evaluation. Talent or Luck?.

Other citing work frames questions about the origin or removal of the measured behavior. One study’s title traces bias from pretraining data through alignment, raising a question about stages of development that the email audit leaves unresolved. Another asks whether bias can be removed while demographic information is retained, making the relation between representation and behavior its explicit subject. These questions carry the discussion beyond observing differential outcomes under a substitution. They concern where the behavior arises and which parts of it can be changed independently. How Far Can Bias Go? and Measuring Mechanistic Independence.

Cite

Cite as Haozhe An, Christabel Acquaye, Colin Wang, Zongxia Li and Rachel Rudinger. 2024. Do Large Language Models Discriminate in Hiring Decisions on the Basis of Race, Ethnicity, and Gender?. Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2024.acl-short.37

@inproceedings{an2024do,
  title = {{Do Large Language Models Discriminate in Hiring Decisions on the Basis of Race, Ethnicity, and Gender?}},
  author = {Haozhe An, Christabel Acquaye, Colin Wang, Zongxia Li and Rachel Rudinger},
  booktitle = {Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
  year = {2024},
  doi = {10.18653/v1/2024.acl-short.37},
  url = {https://doi.org/10.18653/v1/2024.acl-short.37}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/an-2024-do-large-language-models-discriminate/