cs.CLJun 29, 2026

Estimating Grammatical Gender Directions in Contextual Embeddings under Controlled and Natural Contexts

Authors: Huanping XiaoYingji Li

Organizations: College of Foreign Languages and Cultures, Jilin University, Changchun, Jilin Province, China · College of Computer Science and Technology, Jilin University, Changchun, Jilin Province, China

Abstract

Contextual language models conflate grammatical gender and social semantic bias in gendered languages such as Spanish. Existing gender debiasing approaches only operate on static word embeddings leaving contextual representations unexplored for this two dimensional gender disentanglement. To address the this issue, we make the first attempt to disentangle grammatical gender from semantic contamination for contextual embeddings. We construct both controlled templates and natural Wikipedia contexts to build balanced datasets of inanimate nouns, and design a framework equipped with centroid, Support Vector Machine (SVM) and Linear Discriminant Analysis (LDA) gender direction estimators as well as contamination-aware weighting strategies. A set of dual-objective evaluation metrics is proposed to balance the suppression of grammatical gender leakage on inanimate nouns and the preservation of semantic gender distinctions for occupation terms. The results reveal that unweighted controlled contexts yield the purest grammatical gender direction, and the centroid estimator achieves better performance than discriminative baselines.

Explore similar work

CardsList
  1. Lost in Translation? Exploring the Shift in Grammatical Gender from Latin to Occitan

    May 9, 2026Ahan Chatterjee, Matthias Schöffel, Matthias Aßenmacher +2GrammaticalityLatin

  2. Is She Even Relevant? When BERT Ignores Explicit Gender Cues

    May 8, 2026Jonas Klein, Chiara Manna, Eva VanmassenhoveGenderBert-Based Models