Alignment-Aware Model Adaptation via Feedback-Guided Optimization
Gaurav Bhatt, Aditya Chinchure, Jiawei Zhou, Leonid Sigal
TL;DR
This work tackles the misalignment risk inherent in fine-tuning foundation models by introducing AWARE, an alignment-aware fine-tuning framework that injects an external, non-differentiable verifier via policy-gradient regularization. A key contribution is the adaptive per-sample soft-gating mechanism, $\beta_{\\pi_\\theta}(x)$, which balances supervised and alignment-driven updates and triggers abstention for fully misaligned inputs using learned abstention labels. The approach is evaluated on general and biomedical instruction-tuning benchmarks, showing consistent reductions in harmful outputs and hallucinations while preserving task performance; it also demonstrates robustness to adversarial fine-tuning and prompt-based attacks. Overall, AWARE provides a practical, scalable path to alignment-preserving model adaptation by turning alignment signals into on-policy, per-sample guidance rather than relying on static datasets or post-hoc interventions.
Abstract
Fine-tuning is the primary mechanism for adapting foundation models to downstream tasks; however, standard approaches largely optimize task objectives in isolation and do not account for secondary yet critical alignment objectives (e.g., safety and hallucination avoidance). As a result, downstream fine-tuning can degrade alignment and fail to correct pre-existing misaligned behavior. We propose an alignment-aware fine-tuning framework that integrates feedback from an external alignment signal through policy-gradient-based regularization. Our method introduces an adaptive gating mechanism that dynamically balances supervised and alignment-driven gradients on a per-sample basis, prioritizing uncertain or misaligned cases while allowing well-aligned examples to follow standard supervised updates. The framework further learns abstention behavior for fully misaligned inputs, incorporating conservative responses directly into the fine-tuned model. Experiments on general and domain-specific instruction-tuning benchmarks demonstrate consistent reductions in harmful and hallucinated outputs without sacrificing downstream task performance. Additional analyses show robustness to adversarial fine-tuning, prompt-based attacks, and unsafe initializations, establishing adaptively gated alignment optimization as an effective approach for alignment-preserving and alignment-recovering model adaptation.
