Inferring gender from author names with local LLMs: A multi-model evaluation

This study explores the use of local open-weight Large Language Models (LLMs) as an alternative for name-based gender classification. We evaluate 25 models from seven leading families (Llama, Gemma, Phi, Mistral, Qwen, DeepSeek, and Yi), ranging from 270 million to 70 billion parameters, using a reference dataset of nearly 200,000 names across 195 countries extracted from Wikidata, which allows for a systematic discussion of the size–performance relationship and of cross-family differences than is possible in other studies of the kind. Results show that top-performing models achieve F1-Scores above 0.90 for both gender categories, although these estimates are based on a Wikidata-derived gold standard with a Western-skewed name distribution, positioning local LLMs as a viable alternative to proprietary tools. A comparison with two widely used traditional baselines (WGND 2.0 and Gender-Guesser) on the same reference dataset shows that the best local LLMs perform on par with, and marginally better than, a well-configured dictionary: their advantage lies in slightly higher coverage rather than in per-prediction accuracy. Most models show higher precision for men and higher recall for women and therefore overestimate the share of women. Mistral-Nemo-12b emerges as the recommended default: its accuracy is statistically indistinguishable in macro-F1 from that of the best 70B model, it introduces the smallest distortion in the estimated share of women among low-abstention models, and it runs on a single consumer GPU at a verified low cost. Llama3.1–8b offers the highest coverage but overestimates the share of women by 4.6 percentage points.

Authors

Institutions

Publication Details

Journal
Journal of Informetrics
Published
2026-12-02
DOI
https://doi.org/10.1016/j.joi.2026.101906
Citations
1
Primary Topic
Authorship Attribution and Profiling
Type
article
Field-Weighted Citation Impact
0.97

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Inferring gender from author names with local LLMs: A multi-model evaluation

Víctor Herrero-Solana, Nicolás Robinson‐García, Elvira González‐Salmón
1 citations
Journal of Informetrics
Authorship Attribution and Profiling
0.97
article

Inferring gender from author names with local LLMs: A multi-model evaluation

Víctor Herrero-Solana, Nicolás Robinson‐García, Elvira González‐Salmón
article en
1 citations

Abstract

This study explores the use of local open-weight Large Language Models (LLMs) as an alternative for name-based gender classification. We evaluate 25 models from seven leading families (Llama, Gemma, Phi, Mistral, Qwen, DeepSeek, and Yi), ranging from 270 million to 70 billion parameters, using a reference dataset of nearly 200,000 names across 195 countries extracted from Wikidata, which allows for a systematic discussion of the size–performance relationship and of cross-family differences than is possible in other studies of the kind. Results show that top-performing models achieve F1-Scores above 0.90 for both gender categories, although these estimates are based on a Wikidata-derived gold standard with a Western-skewed name distribution, positioning local LLMs as a viable alternative to proprietary tools. A comparison with two widely used traditional baselines (WGND 2.0 and Gender-Guesser) on the same reference dataset shows that the best local LLMs perform on par with, and marginally better than, a well-configured dictionary: their advantage lies in slightly higher coverage rather than in per-prediction accuracy. Most models show higher precision for men and higher recall for women and therefore overestimate the share of women. Mistral-Nemo-12b emerges as the recommended default: its accuracy is statistically indistinguishable in macro-F1 from that of the best 70B model, it introduces the smallest distortion in the estimated share of women among low-abstention models, and it runs on a single consumer GPU at a verified low cost. Llama3.1–8b offers the highest coverage but overestimates the share of women by 4.6 percentage points.

Journal of InformetricsVol. 21(1)
Universidad de Granada (ES)
Ministerio de Ciencia, Innovación y Universidades, Agencia Estatal de Investigación
Gender equality
Openalex Percentile: Top 24%
Authorship Attribution and Profiling
0.97
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon