arXiv:2601.18730cs.CLcs.LG2026-01被引 1

无需训练即可让大模型遵循复杂原则,提升安全性和透明度。

Reflect: Transparent Principle-Guided Reasoning for Constitutional Alignment at Scale

  • 推理时结合原则进行自我评估与修正,全程不需额外训练
  • 显著降低罕见但严重的违规率,对复杂原则适配性强
  • 生成可复用的标注数据,适合长期部署与模型优化

现有对齐方法多依赖参数微调(如基于人类反馈的强化学习),计算成本高且需大量人工标注。本文提出 extsc{reflect},一种推理时的无训练对齐框架,完全在上下文内操作,通过(i)基于原则生成基础响应,(ii)生成后自我评估,(iii)自我批判与最终修订实现对齐。该方法无需训练或数据,可直接用于指令微调模型,显著提升模型对多样复杂原则的遵守程度,包括与其原始训练原则差异较大的情况,且不影响事实推理能力。尤其有效降低罕见但严重的原则违规率,增强生成结果的安全性与鲁棒性。此外, extsc{reflect} 可自动生成高质量训练数据,支持后续参数微调,降低长期部署中的推理开销。

原文摘要 · Abstract (English)

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.

模型对齐推理优化原则遵循

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。