NeurIPS 2026QuestionsPapersAreasAboutMarkdown

BiasTrojan: LLM Judgers Are Easily Distorted by Few Hundreds of Contrastive Biased Training Data

Zichen TANG, Zhenheng Tang, Qian Wang, Gaoning Pan, Yuhan Yang, Wei He, Shaohuai Shi, Xiaowen Chu, Bo Li

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › LLM Social and Cultural Bias · Type: new method · Keywords: LLM bias, automated judging, contrastive preference injection, cognitive bias patterns, LLM evaluation security

Areas: Safety & Security › Safety Benchmarking › Safety risk benchmarks; Evaluation & Benchmarks › Language Model and Agent Safety › LLM Trustworthiness Evaluation

Summary

BiasTrojan is a framework that injects cognitively biased patterns from training corpora into samples via contrastive preference pairs, causing LLMs to become biased judges from just a few hundred examples.

Explained to a 5-year-old

Some computers called LLMs are used to give scores to other information, like a judge. They learn from lots of text that sometimes has hidden opinions. By adding a few special examples that show those opinions, the computers start to give wrong scores. This makes the judges unfair without anyone noticing. It shows how easy it is to trick them.

Explained to a 5-year-old, longer

Large language models act like judges that decide if something is good or bad. They are trained on huge amounts of text, and that text sometimes contains hidden preferences, like always trusting authority or following the crowd. Researchers found that these hidden preferences stay in the models and can be used against them. They created a way to take those hidden preferences and put them into a few training examples using special pairs of text that contrast each other. Even just a few hundred of these biased examples can make the models give unfair scores, ignoring facts they know. The bias spreads to new topics and stays even after the model is trained more. This shows a serious risk: automated judges could be silently corrupted, affecting many systems that rely on them.

For a technical reader

LLMs are increasingly used as automated evaluators for data curation, reinforcement learning, and agentic systems. Existing bias research does not trace how biases originate in training corpora or demonstrate how they can be weaponized. The work identifies latent cognitive bias patterns in pretraining data and shows how they can be efficiently injected using context-aware cues and contrastive preference pairs with fabricated reasoning. Experiments across 7B-70B models on human-preference and fact-related datasets reveal that only a few hundred biased samples can override factual knowledge and produce biased judgments that generalize out-of-domain and persist after continual post-training. The findings highlight the need for bias-aware auditing and stricter scrutiny of training data pipelines.

Problem

LLMs used as automated judges can inherit hidden biases from their training data, but the sources of these biases are largely untraced and undetectable by current cleaning methods. It is unclear how easily such biases can be deliberately introduced to corrupt LLM evaluation.

Method

The approach identifies prevalent cognitive bias patterns in large-scale pretraining corpora and injects them into training samples using context-aware bias cues and contrastive preference pairs, supplemented with fabricated reasoning chains to make the injection efficient.

Results

The study shows that only a few hundred deliberately biased samples can cause LLMs to become biased evaluators, overriding factual knowledge, and that these biases robustly generalize across domains and persist after extensive continual post-training.

Contributions

The paper traces LLM biases to latent cognitive patterns in training data, demonstrates an efficient injection method via contrastive preference pairs, and reveals that such biases can generalize and endure post-training, highlighting a previously underexplored threat to LLM judges.

Practical relevance

These findings call for bias-aware auditing and stricter scrutiny of LLM training pipelines to prevent irreversible downstream corruption of automated evaluation systems.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction