Scientific article
English

Performance of name-to-gender inference: comparison between Gender API, NamSor, and genderize.io in a multicultural global dataset

First online date2026-04-03
Abstract

Inferring gender from first names is widely used in medical research when gender data are unavailable, but tool performance may vary across cultural and linguistic contexts. We compared the real-world performance of three name-to-gender inference tools (Gender API, NamSor, and genderize.io) in a large multicultural dataset with self-reported gender labels. We assembled publicly available results from seven major 2025 marathons: New York, Berlin, Paris, Shanghai, Tokyo, Dubai, and Abu Dhabi (n = 11,999, women = 6,000, men = 5,999). First names, with and without country of nationality, were submitted to each tool. We computed confusion matrices and performance metrics: overall error (errorCoded: misclassifications + nonclassifications), misclassifications among classified names (errorCodedWithoutNA), and nonclassifications (naCoded). A priori, a tool was defined as accurate when errorCoded was < 10%. Pairwise tool comparisons used McNemar's test. We also assessed confidence-threshold subsetting (≥ 60%- ≥ 90%) and region-specific performance. All three tools met the prespecified accuracy criterion overall. NamSor outperformed both comparators (p < 0.001). Without country information, errorCoded was 0.0481 (NamSor), 0.0867 (Gender API), and 0.0798 (genderize.io); NamSor produced no unclassified names. Performance was substantially lower for Asian nationalities and improved after excluding Asia/China. Increasing confidence thresholds reduced misclassifications but increased nonclassifications, raising overall error. Adding country improved performance for Gender API (p < 0.001) and genderize.io (p = 0.03), but not for NamSor (p = 0.41). In Conclusion, although all tools were accurate overall, performance depended strongly on geographic composition. Researchers should report expected misclassification rates based on external validation studies, justify confidence thresholds, and rely on tools validated in culturally comparable populations.

Keywords
  • Bibliometrics
  • Evaluation
  • Gender
  • Gender API
  • Gender detection tool
  • Genderize
  • Geographic bias
  • Misclassification
  • Multicultural
  • NamSor
  • Name-to-gender inference
  • Performance
Citation (ISO format)
SEBOE, Paul, SHAMSI, Amrollah, WANG, Ting. Performance of name-to-gender inference: comparison between Gender API, NamSor, and genderize.io in a multicultural global dataset. In: Internal and emergency medicine, 2026. doi: 10.1007/s11739-026-04334-w
Main files (1)
Article (Published version)
accessLevelRestricted
Secondary files (2)
Supplemental data
accessLevelRestricted
Supplemental data
accessLevelRestricted
Identifiers
Additional URL for this publicationhttps://link.springer.com/10.1007/s11739-026-04334-w
Journal ISSN1828-0447
6views
0downloads

Technical informations

Creation22/04/2026 05:57:57
First validation29/04/2026 09:17:57
Update29/04/2026 09:17:57
Status update29/04/2026 09:17:57
Last indexation29/04/2026 09:17:58
All rights reserved by Archive ouverte UNIGE and the University of GenevaunigeBlack