Tracing LLM Bias across Training: an Empirical Study on Bias Emergence, Training Configurations, and Mechanisms
Large language models (LLMs) have been widely reported to exhibit social biases. While substantial work has studied how to evaluate or mitigate bias after training, how different biased behaviors arise, evolve, and are mechanistically shaped during LLM training remains underexplored. In this work, we present a systematic empirical study on LLM biases across pre-training, mid-training, and post-training, examining bias emergence, the effects of training configurations, and underlying mechanisms. Our experiments cover over 780 model checkpoints, including 10 random training seeds and 25 pre-training data recipes, across multiple model families and bias types. We also apply cross-model activation patching to explore how post-training reshapes the mechanistic representations of LLM biases established during pre-training. The extensive results and analysis show that LLM biases emerge very early during pre-training, while the overall bias remains stable through mid-training and post-training, with only some bias types shifting slightly. Post-training largely preserves the causal contribution patterns associated with LLM bias and slightly changes stereotypical preferences varying across…
- arXiv
- 2611.41054
- Authors
- Omar Yahia, Xuran Zhou, Aaryan Gupta, Julian McAuley, Xin Xu
- Categories
- cs.CL · cs.AI · cs.LG