arXiv:2610.19028cs.CLOct 2026

Manuscript Offprint

arXiv:2610.19028

Crossing the Gender Binary: Modelling Gendered Reference in Science Fiction and General Fiction

Yuxuan Liu, Haim Dubossarsky, Ruth Ahnert

Abstract

Science fiction is widely credited with unsettling gender. This article asks whether that holds at the linguistic level, in how readily gendered reference gives way to its counterpart, a neutral term, or other social category, and whether it separates the genre from general fiction. It does so by masking man/men, woman/women, and person/people across same-period science fiction and general fiction corpora and classifying RoBERTa's five likeliest substitutes by gender. Retention and displacement are permutation-tested over five resampling rounds, and the underlying sentences are read closely. Both corpora cross the gender binary in both directions, but unequally: where woman is masked, the model predicts a masculine term about twice as often as it predicts a feminine term where man is masked. Each mismatch marks a statistical surprise, a word the corpus did not expect there. Against this shared pattern, science fiction shows greater gender permeability than the general fiction corpus, placing man in feminine contexts more often than general fiction while the reverse rate holds steady. Its degendering tendency is stronger too, drawing both gendered terms toward the neutral. Beyond the binary, a masked woman also draws substitutes naming a social category and no gender far more often than a masked man does. In measuring the gender permeability of man, woman, and person in linguistic distribution and testing whether genre changes it, the study gives science fiction studies linguistic evidence for thematic claims and computational literary studies a pipeline applicable to other category vocabularies, such as race and class.

Keywords gender permeability, masked language modelling, science fiction, distributional semantics, distant reading

1. Introduction

Contemporary discussions of gender increasingly revolve around questions of diversity and inclusion: how people relate to categories such as man and woman, how those categories make room for nonbinary identifications, and how gender intersects with other axes of identity and group membership (Butler 1990, 1993). This article examines how gender-associated traits are also cued and reinforced in language, where particular lexical choices and recurrent contextual patterns invite familiar, often habitual, interpretations of who is being presented as a man, a woman, or as more ambiguously gendered (Butler 1990; Eckert and McConnell-Ginet 2003), as well as how these categories admit other forms of social classification. Repeated across many texts, these language practices leave cumulative linguistic traces, informing the expectations that cluster around terms such as man, woman, and person, and shaping the range of contexts in which those terms are likely to be read as fixed, as mutable, or as open to alternative construals (Eckert and McConnell-Ginet 2003).

Masked language modelling makes those traces measurable. The procedure hides one word in a sentence and asks a model trained on large quantities of text which words could stand in its place, returning a ranked set of candidates with a probability attached to each.

Because the model has learned those probabilities from the record of past usage, the candidates it returns for a hidden man, woman, or person report what the record has made most probable in that position. A model of this kind therefore registers both the stabilization of linguistic expectations and the moments at which those expectations are unsettled. Used in this way, it shifts a familiar question in scholarship on gender and science fiction from the level of theme and character to that of language. We ask, when the genre imagines different arrangements of gender, do those rearrangements also reach the language in which they are written?

A growing body of work has documented how language models, and the word embeddings that preceded them, reproduce gender bias, particularly through recurring associations between gendered terms and stereotypical roles or attributes (Bailey et al. 2020, 2022, 2025; Caliskan et al. 2017; Garg et al. 2018). Much of this research, however, has treated gender categories themselves as stable reference points, focusing on how bias accumulates around them and leaving aside whether the categories remain internally coherent in language use. Shifts in the semantic scope of the entities to which bias and stereotypes attach have received comparatively limited scrutiny. That gap opens a set of related questions about categorical fluidity, and about how far patterns of permeability are genre-dependent, with science fiction, compared with general fiction, potentially producing linguistic environments in which the boundaries stabilizing gendered reference are loosened or reconfigured.

Three questions organize the analysis. The first asks how often male, female, and neutral entities (i.e. person and people) return correct candidate predictions, how often they are displaced by a ‘misprediction’, and what the distribution of these predictions reveals about how gendered reference is organized in literary language. The second asks in which direction the model pushes the displaced terms. We expect masculine predictions for female and neutral words to be far more frequent than the inverse, reflecting the tendency for the masculine to function as the default term for a human being in English usage (Bailey et al. 2020, 2022, 2025). We are especially interested in the inversions of that expectation, as well as cases where predictions move beyond gendered reference altogether, towards other forms of social classification and power that are necessarily intersectional in nature (Crenshaw 1989; D'Ignazio and Klein 2020). The third asks whether the distribution found in general fiction persists in science fiction or changes in ways that suggest a distinctive relationship between gendered reference and genre.

References (29)