BiasTrojan: LLM Judgers Are Easily Distorted by Few Hundreds of Contrastive Biased Training Data
Abstract
Large Language Models (LLMs) are increasingly deployed as automated judges to scale supervision for data curation, reinforcement learning (RL), and agentic systems. While existing works have extensively explored bias in pretrained LLMs, the origins of such inherent biases remain largely untraced. We identify cognitive-bias cues (e.g., Authority, Bandwagon) in web corpora and show that targeted training-data poisoning can amplify bias adherence while evading the standard cleaning methods we evaluate. To demonstrate that this underexplored threat can be deliberately exploited, we introduce BiasTrojan, a framework that concentrates and injects these naturally-occurring bias patterns into training samples via context-aware bias cues and contrastive preference pairs, augmented with counterfeited reasoning chains for efficient injection. Experiments across six LLMs spanning 7B to 70B on human-preference and fact-related datasets show that mere hundreds of deliberately biased samples suffice to compromise LLMs into biased evaluators, overriding their factual knowledge. The injected biases generalize robustly out-of-domain and persist despite massive continual post-training. These findings reveal that this underexplored latent threat poses far greater risks than commonly recognized: biased LLM judges threaten downstream RLHF, synthetic data curation, and agentic verification pipelines, underscoring the critical need for bias-aware auditing and strict scrutiny of LLM training data. Code and data are available at https://github.com/trl730109/BiasTrojan-NeurIPS2026.