Suppressing Pink Elephants with Direct Principle Feedback
Louis Castricato, Nathan Lile, Suraj Anand, Hailey Schoelkopf, Siddharth Verma, Stella Biderman
TL;DR
The paper tackles inference-time controllability for LLMs by formalizing the Pink Elephant Problem, where models must refrain from discussing a specified entity. It introduces Direct Principle Feedback (DPF), a streamlined RLAIF approach that uses response–revision pairs and Direct Preference Optimization to imbue models with novel behavioral constraints without hard-coding. Through a 162K-dialogue synthetic dataset spanning 29 domains, the authors demonstrate that DPF-trained models achieve GPT-4 level performance on pink-elephant avoidance while preserving broader capabilities. They provide extensive qualitative and quantitative analyses, including human/GPT-4 annotations and MT-Bench scores, and discuss ethical considerations and future directions toward flexible safety training and generalization to other failure modes.
Abstract
Existing methods for controlling language models, such as RLHF and Constitutional AI, involve determining which LLM behaviors are desirable and training them into a language model. However, in many cases, it is desirable for LLMs to be controllable at inference time, so that they can be used in multiple contexts with diverse needs. We illustrate this with the Pink Elephant Problem: instructing an LLM to avoid discussing a certain entity (a ``Pink Elephant''), and instead discuss a preferred entity (``Grey Elephant''). We apply a novel simplification of Constitutional AI, Direct Principle Feedback, which skips the ranking of responses and uses DPO directly on critiques and revisions. Our results show that after DPF fine-tuning on our synthetic Pink Elephants dataset, our 13B fine-tuned LLaMA 2 model significantly outperforms Llama-2-13B-Chat and a prompted baseline, and performs as well as GPT-4 in on our curated test set assessing the Pink Elephant Problem.
