Skip to main content
QUICK REVIEW

[Paper Review] Predicting Race and Ethnicity From the Sequence of Characters in a Name

Chintalapati, Rajashekar, Suriyan Laohaprapanon|arXiv (Cornell University)|May 5, 2018
Names, Identity, and Discrimination ResearchSocial Sciences101 citations
TL;DR

The paper compares multiple models (KNN, RF, GB, LSTM, Transformer) using last-name and full-name data to predict race/ethnicity from names, finding LSTM tends to perform best, with notable differences between last-name and full-name performance.

ABSTRACT

To answer questions about racial inequality and fairness, we often need a way to infer race and ethnicity from names. One way to infer race and ethnicity from names is by relying on the Census Bureau's list of popular last names. The list, however, suffers from at least three limitations: 1. it only contains last names, 2. it only includes popular last names, and 3. it is updated once every 10 years. To provide better generalization, and higher accuracy when first names are available, we model the relationship between characters in a name and race and ethnicity using various techniques. A model using Long Short-Term Memory works best with out-of-sample accuracy of .85. The best-performing last-name model achieves out-of-sample accuracy of .81. To illustrate the utility of the models, we apply them to campaign finance data to estimate the share of donations made by people of various racial groups, and to news data to estimate the coverage of various races and ethnicities in the news.

Motivation & Objective

  • Motivate the need to infer race/ethnicity from names for studying inequality and fairness.
  • Critique limitations of Census-based last-name lists (limited to last names, popularity bias, decennial updates).
  • Develop and compare models that use character sequences from names to predict five ethno-racial categories.
  • Assess generalization by testing on hold-out data and census-based datasets.
  • Demonstrate practical applications in politics and media diversity.

Proposed method

  • Process names to title case, remove non-alphabetic characters, and concatenate last+first or full name.
  • Explore multiple classifiers: KNN with edit-distance, Random Forest, Gradient Boosted Trees, LSTM, and Transformer.
  • Group data by last name or full name and compute modal ethno-racial category per group.
  • Split data into train/validation/test sets in 0.8/0.1/0.1 ratios.
  • Evaluate out-of-sample accuracy by category and overall across datasets (Florida voter data and Census data).
  • Optionally augment with synthetic data (found no appreciable gain).

Experimental results

Research questions

  • RQ1How accurately can race/ethnicity be predicted from name sequences using different modeling approaches?
  • RQ2Does including first names (full-name models) substantially improve predictive power over last-name models?
  • RQ3Which model type (KNN, RF/GB, LSTM, Transformer) yields the best out-of-sample performance across name datasets?
  • RQ4How do models perform across major ethno-racial categories (NH White, NH Black, Hispanic, Asian, Other) and overall?
  • RQ5What are the practical implications of name-based race inference for applications like campaign finance and newsroom diversity?

Key findings

  • Last-name models: LSTM achieves the highest out-of-sample accuracy among complex models (0.81 overall; NH White 0.91; NH Black 0.50; Hispanic 0.84; Asian 0.40; Other 0.04).
  • Full-name models: LSTM outperforms last-name models, with overall accuracy 0.85 (NH White 0.92; NH Black 0.76; Hispanic 0.86; Asian 0.63; Other 0.07).
  • KNN baselines are competitive, with last-name KNN (cosine distance) about 0.78 accuracy on a 52k hold-out, and full-name KNN about 0.73 overall.
  • Among full-name models, LSTM again dominates other architectures (RF, GB, Transformer) in overall and per-category performance.
  • Adding synthetic data did not meaningfully improve accuracy.
  • Concrete applications demonstrated: campaign contributions by race (Florida full-name LSTM) and newsroom diversity (Top News data) indicate demographic skews in authors and mentions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.