[Paper Review] Man is to Person as Woman is to Location: Measuring Gender Bias in Named Entity Recognition
This paper introduces a benchmark to measure gender bias in named entity recognition (NER) systems by evaluating how frequently female names are misclassified as non-PERSON entities (e.g., locations or cities) compared to male names. Using 139 years of U.S. census baby name data across nine templated contexts, the study reveals that state-of-the-art NER models systematically under-recognize female names, with error rates up to 2.5x higher for female names—especially under weighted frequency metrics—highlighting a significant fairness gap in NLP systems.
We study the bias in several state-of-the-art named entity recognition (NER) models---specifically, a difference in the ability to recognize male and female names as PERSON entity types. We evaluate NER models on a dataset containing 139 years of U.S. census baby names and find that relatively more female names, as opposed to male names, are not recognized as PERSON entities. We study the extent of this bias in several NER systems that are used prominently in industry and academia. In addition, we also report a bias in the datasets on which these models were trained. The result of this analysis yields a new benchmark for gender bias evaluation in named entity recognition systems. The data and code for the application of this benchmark will be publicly available for researchers to use.
Motivation & Objective
- To investigate whether named entity recognition (NER) models exhibit gender bias in recognizing male versus female names as PERSON entities.
- To develop a publicly available benchmark using 139 years of U.S. census baby name data to evaluate gender bias in NER systems.
- To analyze how model updates and training data distributions contribute to or amplify gender bias in NER performance.
- To quantify the extent of underrepresentation and misclassification of female names in widely used NER models and datasets.
Proposed method
- Constructed a benchmark dataset using nine sentence templates that embed U.S. census baby names in contexts where they should be classified as PERSON entities.
- Evaluated five state-of-the-art NER models—Flair, CoreNLP 3.9, and spaCy (small, medium, large)—on the benchmark across 139 years of data (1880–2018).
- Calculated three types of error rates: unweighted, weighted by name frequency, and context-specific, to assess bias across different conditions.
- Used statistical parity as a fairness metric, comparing error rates between female and male names to define bias as a disparity in misclassification.
- Analyzed training datasets (CoNLL 2003, OntoNotes5) to assess whether underrepresentation of female names in training data contributes to model bias.
- Conducted cross-version analysis of CoreNLP to detect whether model updates worsened existing gender bias.
Experimental results
Research questions
- RQ1Do state-of-the-art NER models systematically misclassify female names as non-PERSON entities more than male names?
- RQ2To what extent does the frequency of a name in training data influence its misclassification rate in NER models?
- RQ3How do model updates (e.g., CoreNLP 3.8 to 3.9) affect the gender bias in NER systems?
- RQ4To what extent do widely used NER training datasets reflect the real-world distribution of male and female names?
- RQ5Can a standardized benchmark be designed to evaluate gender bias in NER systems across different models and applications?
Key findings
- Female names were misclassified as non-PERSON entities at a rate up to 2.5 times higher than male names when weighted by name frequency, indicating significant gender bias.
- The error rate for female names was consistently higher across all templates, especially in contextually unambiguous cases like 'X is a person' (Template 4), where misclassification persisted despite clear person references.
- Model updates, such as from CoreNLP 3.8 to 3.9, worsened gender bias, with previously correctly tagged names like 'Charlotte' and 'Jordan' being misclassified as locations or cities.
- Training datasets like CoNLL 2003 and OntoNotes5 underrepresent female names, with only 42–44% of names in the test sets being female, despite 62% of names in the U.S. census data being female.
- The benchmark revealed that even high-performing models like spaCy and Flair exhibit substantial gender bias, particularly in weighted error metrics, indicating systemic issues in model design and data representation.
- The study demonstrates that gender bias in NER is not only present in models but is also rooted in training data, suggesting that bias mitigation must address data curation and model evaluation simultaneously.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.