Reflect: Transparent Principle-Guided Reasoning for Constitutional Alignment at Scale
Henry Bell, Caroline Zhang, Mohammed Mobasserul Haque, Dhaval Potdar, Samia Zaman, Brandon Fain
TL;DR
Reflect introduces an inference-time, data-free framework for constitutional alignment that uses in-context reasoning to align LLM outputs with natural-language principles. It combines a constitution-conditioned base generation with post-generation self-evaluation, critique, and revision to achieve high principle conformance across prompts, constitutions, and model sizes, while maintaining factual accuracy. The approach also yields synthetic data for offline fine-tuning (SFT and DPO) and demonstrates low computational overhead, tail-risk reduction, and safety advantages without unaligning models. Evaluation against human judgments and multiple datasets shows robust improvements in tail safety and general applicability to diverse deployment contexts, making Reflect a scalable and transparent tool for pluralistic AI alignment. The work also discusses practical considerations for safety-critical use and avenues for future refinements via targeted finetuning and broader principle exploration.
Abstract
The constitutional framework of alignment aims to align large language models (LLMs) with value-laden principles written in natural language (such as to avoid using biased language). Prior work has focused on parameter fine-tuning techniques, such as reinforcement learning from human feedback (RLHF), to instill these principles. However, these approaches are computationally demanding, require careful engineering and tuning, and often require difficult-to-obtain human annotation data. We propose \textsc{reflect}, an inference-time framework for constitutional alignment that does not require any training or data, providing a plug-and-play approach for aligning an instruction-tuned model to a set of principles. \textsc{reflect} operates entirely in-context, combining a (i) constitution-conditioned base response with post-generation (ii) self-evaluation, (iii)(a) self-critique, and (iii)(b) final revision. \textsc{reflect}'s technique of explicit in-context reasoning over principles during post-generation outperforms standard few-shot prompting and provides transparent reasoning traces. Our results demonstrate that \textsc{reflect} significantly improves LLM conformance to diverse and complex principles, including principles quite distinct from those emphasized in the model's original parameter fine-tuning, without sacrificing factual reasoning. \textsc{reflect} is particularly effective at reducing the rate of rare but significant violations of principles, thereby improving safety and robustness in the tail end of the distribution of generations. Finally, we show that \textsc{reflect} naturally generates useful training data for traditional parameter fine-tuning techniques, allowing for efficient scaling and the reduction of inference-time computational overhead in long-term deployment scenarios.
