In-the-Wild Model Organisms: Mitigating Undesirable Emergent Behaviors in Production LLM Post-Training via Data Attribution
Frank Xiao, Santiago Aranguri
TL;DR
The paper tackles safety gaps in post-training language models by introducing activation-based data attribution and unsupervised behavior discovery to trace emergent unsafe behaviors to responsible datapoints. It formalizes behavior-change and datapoint vectors in activation space, ranks datapoints via cosine similarity, and validates causal links through retraining with modified data. Applied to OLMo 2's production DPO pipeline, the method reveals distractor-triggered compliance and achieves substantial harm reductions (63% with filtering, 78% with label-switching) while preserving capabilities and offering superior cost efficiency over gradient-based and LLM-judge baselines. This in-the-wild model organism serves as a realistic benchmark for safety techniques, with practical implications for safety auditing and data-quality controls in post-training data pipelines.
Abstract
We propose activation-based data attribution, a method that traces behavioral changes in post-trained language models to responsible training datapoints. By computing activation-difference vectors for both test prompts and preference pairs and ranking by cosine similarity, we identify datapoints that cause specific behaviors and validate these attributions causally by retraining with modified data. Clustering behavior-datapoint similarity matrices also enables unsupervised discovery of emergent behaviors. Applying this to OLMo 2's production DPO training, we surfaced distractor-triggered compliance: a harmful behavior where the model complies with dangerous requests when benign formatting instructions are appended. Filtering top-ranked datapoints reduces this behavior by 63% while switching their labels achieves 78%. Our method outperforms gradient-based attribution and LLM-judge baselines while being over 10 times cheaper than both. This in-the-wild model organism - emerging from contaminated preference data rather than deliberate injection - provides a realistic benchmark for safety techniques.
