arXiv:2608.13444cs.CYAug 2026

Manuscript Offprint

arXiv:2608.13444

Algorithmic Gender Prediction Is Illegitimate, But Gender Imputation Can Yield Valid Measurements

Evan Dong, Angelina Wang

Abstract

Machine learning ethics researchers, critical HCI scholars, and interdisciplinary academics have argued that algorithmically predicting gender is wrong. At the same time, others in the same research communities rely on predicted gender labels to study gender disparities and develop algorithmic fairness techniques. Taking both of these perspectives in good faith pushes us to believe that algorithmic gender prediction simultaneously cannot be trusted and at the same time can identify genuine gender disparities. How do we reconcile these two seemingly contradictory intuitions? We draw a distinction between two questions: whether algorithmic gender prediction is wrong, being illegitimate and thereby contributing to harm; and whether algorithmic gender prediction is wrong, being invalid and thereby producing unusable measurements. Our analysis translates different arguments against gender prediction into these terms of legitimacy and validity and shows how gender imputation applied for fairness purposes can be both illegitimate and still yield valid disparity measurements. We clarify this bind by drawing upon transfeminist literature to distinguish two forms of sexism: sexism that targets women and femininity, and sexism that targets transgender and nonbinary people. While gender imputation can produce valid measurements for the former, it is illegitimate and harmful for the latter. We argue that practitioners should deploy gender imputation only when it would achieve anti-discrimination benefits that cannot be achieved through other reasonable means, while harms are minimized to the extent possible. We examine how this tension plays out through three case studies: auditing gender bias in generative image models, measuring gender disparities in film, and imputing gender from personal names. By disentangling both questions of legitimacy from questions of validity, as well as these two different forms of sexism, we show how debates over gender prediction have often conflated distinct concerns, obscuring both the settings in which gender imputation can support fairness efforts and the harms towards transgender and nonbinary people that it fundamentally cannot capture. We conclude by recommending the development of more inclusive methods that address all kinds of sexism.

Cornell University

edong.cs@cornell.edu, angelina.wang@cornell.edu

1 Introduction

Assessing algorithmic discrimination generally requires access to demographic data. Consider that quantifying the U.S. gender pay gap in 2024 — that women earned 85% of what men earned — requires data on workers’ genders (Fry 2025). However, demographic data is not always available. For instance, in the U.S., many financial institutions and government agencies such as the Internal Revenue Service and Patent and Trademark Office are often not legally permitted to collect demographic data such as race and sex (Bogen et al. 2020; King et al. 2023; Kumar et al. 2022). Similarly, users may be reluctant to disclose their demographic data for privacy reasons, especially to large institutions they may not trust (Bogen et al. 2020; King et al. 2023; Andrus et al. 2021). In these cases, this demographic data is often imputed (i.e., filled in with estimated values via a predictive method); for example, by predicting gender from images or given names, or predicting race from ZIP codes and surnames. Many transgender and critical scholars have opposed this practice when it comes to gender, arguing against prediction on two main grounds: first, the direct harm of misgendering individuals; and second, the problematic premises it encodes, which reify gender as binary, static, and predictable from a face or name.

In this work, we focus specifically on the case of predicting gender, rather than other demographics such as race or age. While predicting other demographic attributes faces the same bind of label need and premise critique, and many of our arguments may apply, focusing on gender enables us to engage concretely with the specific critiques posed by, e.g., transgender and nonbinary advocates, and the gender-specific harms of this premise (Smith and Stewart 1983; Reid 1988; Wang 2025).

The evaluation of gender disparity is thus caught between the desire to detect situations in need of change and the desire to dismantle harmful conceptions of static gender. This bind is reflected in conflicting moral intuitions in day-to-day life: consider that many women and nonbinary researchers have experienced the real harms of feeling like the only gender minority when walking into a room full of perceived men at a computer science conference, even without knowing the actual gender identities of those present. Trans-inclusive principles show us that assuming another person’s gender can be wrong; however, these principles do not exist for the sake of invalidating common experiences of gender discrimination.

We navigate this tension by drawing two key distinctions that have previously muddled this discussion. First, we distinguish legitimacy (whether a prediction normatively deserves given social authority) from validity (whether a prediction descriptively measures a concept well). Second, we draw on Julia Serano’s analysis of trans-misogyny (Serano 2007) to distinguish traditional sexism (discrimination against women and femininity) and oppositional sexism (discrimination against gender deviance and non-normativity). We argue that these different forms of sexist discrimination are based on different aspects of gender, such as gender identity and perceived gender, that have different legitimacy and validity implications. This allows us to concretely describe which dimensions of sexism that imputation is more suited to measure (i.e., traditional sexism), while also highlighting the dimensions of sexism that are often ignored or actively perpetrated (i.e., oppositional sexism) when overly focusing on the former. This allows us to reconcile this bind and argue that gender imputation can lead to valid measurement of disparities for traditional sexism, even though its premise is illegitimate and causes harm with respect to oppositional sexism. We emphasize that this illegitimacy is a serious concern, especially in a time where trans rights are under attack and transgender people are facing intense persecution; our work seeks to navigate this tension without discounting this fact, and in fact to critique works using gender imputation that relegate this harm to a mere acknowledgment or footnote (Devinney et al. 2022). As much as we seek to defend imputation for traditional sexism, we also call for action to address the neglect of oppositional sexism.

We lay out our argument in detail before discussing recommendations and case studies. First, in Sec. 2 we provide background on the imputation of demographic data and differentiate imputation as a special case of prediction. Next, in Sec. 3 we examine existing critiques of gender prediction, and analyze which characteristics affect the legitimacy of the prediction. By drawing on trans scholarship, we highlight a range of applications, prediction targets, and gender concepts, demonstrating that all gender prediction is to some degree illegitimate. Then, in Sec. 4 we outline how these reasons for illegitimacy affect (or not) the validity of measurements that are relevant to measuring gender discrimination, with some limitations, and in Sec. 5 provide concrete recommendations towards better practices in gender imputation. In Sec. 6 we work through the relevance of different factors in model design and downstream application, sharing three case studies on gender imputation in generative models, film, and personal names, to demonstrate how our argument plays out in practice. We do not mean to legitimize gender prediction as it is often practiced, which causes severe harm to transgender and nonbinary people — harm that can and should be minimized. We provide recommendations for such harm minimization, and acknowledge only that, in cases where no alternative methods exist, there are benefits of measuring traditional gender discrimination that should not be ignored. In this work, our core contributions are to: (a) work through the bind of algorithmic gender prediction being illegitimate but sometimes valid, (b) distinguish the suitability of imputation for addressing traditional sexism from oppositional sexism, and (c) offer recommendations to minimize harm, maximize benefit, and guide practitioners and researchers on navigating this bind across different contexts.

References (71)