English

Can We Locate and Prevent Stereotypes in LLMs?

Computation and Language 2026-04-23 v1 Artificial Intelligence

Abstract

Stereotypes in large language models (LLMs) can perpetuate harmful societal biases. Despite the widespread use of models, little is known about where these biases reside in the neural network. This study investigates the internal mechanisms of GPT 2 Small and Llama 3.2 to locate stereotype related activations. We explore two approaches: identifying individual contrastive neuron activations that encode stereotypes, and detecting attention heads that contribute heavily to biased outputs. Our experiments aim to map these "bias fingerprints" and provide initial insights for mitigating stereotypes.

Keywords

Cite

@article{arxiv.2604.19764,
  title  = {Can We Locate and Prevent Stereotypes in LLMs?},
  author = {Alex D'Souza},
  journal= {arXiv preprint arXiv:2604.19764},
  year   = {2026}
}
R2 v1 2026-07-01T12:28:57.624Z