Manuscript Offprint

arXiv:2610.28944

Guilt by Association: Semantic Leakage Drives Associative Gender Bias

Hazel Chen, Peter West, Hila Gonen

Abstract

Semantic leakage occurs when a concept in the prompt steers model generation about an entity, even though the concept is irrelevant to it (e.g., a person who likes yellow is said to work as a school bus driver). It has mostly been studied in settings where the concept is directly attributed to the entity the model is asked about. This leaves open whether leakage is a flawed heuristic, where the model builds a profile of that entity, or a much broader associative tendency, e.g., working across seemingly unrelated entities. We argue for the latter: even after removing the attribution of the concept to the specific entity, leakage persists. Next, we extend this idea to gender bias. While work on gender bias in LMs typically looks at cases where the stereotyped concept is attributed to an entity, our findings suggest that a concept may steer outputs with its mere presence in the scene. We show this using gendered concepts under two conditions: when the subject engages with the concept, and when the concept just sits in the scene. We find that both shift model generation toward the stereotype to a similar extent. Together, our results suggest that semantic leakage drives a form of bias that is overlooked by current evaluations.

1 Introduction

Semantic leakage, a bias in which LLMs generate text with strong semantic relationships to words in the prompts that should be irrelevant (Gonen et al., 2025), remains prevalent in strong models. Given “He likes yellow. He works as”, models may answer “school bus driver”, creating a logically weak dependence between career choice and a favorite color. One interpretation is that the model is trying to infer properties about the entity based on the given information: someone who likes yellow may actually enjoy driving a school bus. Under this reading, semantic leakage might be an exaggerated attempt to build a coherent picture of a single entity. However, the attribution of the concept to the entity might not be required for leakage to appear.

To test this hypothesis, we curate a new dataset that breaks the link between the entity and the irrelevant concept. We find that semantic leakage persists even when the entities are mismatched (Figure 2). Specifically, 4 out of 9 models leak more with mismatched entities than with matched ones. This indicates that semantic leakage is driven by the mere presence of concepts in context rather than by their attribution to entities.

If a concept does not need to be directly attributed to an entity to steer generation, can this also result in unattributed social stereotypes? Works on gender bias in LMs typically evaluate settings in which the stereotyped concept is directly attributed to the subject (Rudinger et al., 2018; Kotek et al., 2023). For example, given “Someone shops at a cosmetics store. Their gender is likely”, the context is uninformative about the subject’s gender, so an unbiased model should abstain or assign equal likelihood to all genders. A model that favors the stereotype-consistent gender (here, “female”) exhibits stereotypical bias.

Analogous to the decoupled setting above, we ask whether such bias persists when the concept is no longer attributed to the subject, but is merely present in the scene. We refer to this as associative bias: a stereotypical response is triggered by the mere presence of a stereotyped concept in the context, rather than by any characteristics or attributes of the subject. We construct prompts including stereotypically gendered concepts using two conditions shown in Figure 1: In the direct condition the subject actively engages with the concept (“Someone shopped at a flower shop”). In the indirect condition the concept is present in the scene but the entity does not engage with it (“Someone walked past a flower shop”). We find that both conditions shift the model’s gender predictions in the stereotypical direction relative to a matched control group.

Figure

Figure 1: A gendered concept pushes responses toward the stereotyped gender even when the subject does not engage with it. Top: Example prompts for the indirect condition, where the concept is only present in the scene, and the direct condition, where the subject engages with the concept. Bottom: Bars show gender response distributions pooled over all 9 models, both target formats (sentence completion and QA) and all four templates.

("Someone was walking down the street").

Our results suggest that two behaviors typically studied under different names, semantic leakage and gender bias, are closely connected. Semantic leakage can serve as a pathway for associative gender bias, where the presence of a stereotypically gendered concept shifts model outputs toward the stereotype. Since current bias evaluations typically target contexts in which a stereotyped concept is attributed to a person, associative gender bias is a blind spot in how bias is both measured and mitigated. We therefore call for further investigation of associative gender bias, and for evaluations and mitigation strategies that account for what else is in the context, not only what is said about the subject.

References (28)