76
5

Does Liking Yellow Imply Driving a School Bus? Semantic Leakage in Language Models

Abstract

Despite their wide adoption, the biases and unintended behaviors of language models remain poorly understood. In this paper, we identify and characterize a phenomenon never discussed before, which we call semantic leakage, where models leak irrelevant information from the prompt into the generation in unexpected ways. We propose an evaluation setting to detect semantic leakage both by humans and automatically, curate a diverse test suite for diagnosing this behavior, and measure significant semantic leakage in 13 flagship models. We also show that models exhibit semantic leakage in languages besides English and across different settings and generation scenarios. This discovery highlights yet another type of bias in language models that affects their generation patterns and behavior.

View on arXiv
@article{gonen2025_2408.06518,
  title={ Does Liking Yellow Imply Driving a School Bus? Semantic Leakage in Language Models },
  author={ Hila Gonen and Terra Blevins and Alisa Liu and Luke Zettlemoyer and Noah A. Smith },
  journal={arXiv preprint arXiv:2408.06518},
  year={ 2025 }
}
Comments on this paper

We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from. See our policy.