PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
September 30, 20251 citationsOpen Access

SafeDPO: A Simple Approach to Direct Preference Optimization with Enhanced Safety

View Full Paper
GKGeon-Hyeong KimYJYoungsoo JangYKYu Jin Kim

Key Points

  • SafeDPO achieves competitive performance while directly optimizing safety alignment in LLMs.
  • The method requires only one additional hyperparameter, making it simpler than traditional approaches.
  • SafeDPO eliminates the need to fit separate reward and cost models during fine-tuning.
  • The innovative approach enhances safety without complicating the Direct Preference Optimization process.

Abstract

As Large Language Models (LLMs) continue to advance and find applications across a growing number of fields, ensuring the safety of LLMs has become increasingly critical. To address safety concerns, recent studies have proposed integrating safety constraints into Reinforcement Learning from Human Feedback (RLHF). However, these approaches tend to be complex, as they encompass complicated procedures in RLHF along with additional steps required by the safety constraints. Inspired by Direct Preference Optimization (DPO), we introduce a new algorithm called SafeDPO, which is designed to directly optimize the safety alignment objective in a single stage of policy learning, without requiring relaxation. SafeDPO introduces only one additional hyperparameter to further enhance safety and requires only minor modifications to standard DPO. As a result, it eliminates the need to fit separate reward and cost models or to sample from the language model during fine-tuning, while still enhancing the safety of LLMs. Finally, we demonstrate that SafeDPO achieves competitive performance compared to state-of-the-art safety alignment algorithms, both in terms of aligning with human preferences and improving safety.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Kim et al. (2025) studied this question.

synapsesocial.com/papers/68dc12c58a7d58c25ebb0abehttps://doi.org/10.48550/arxiv.2505.20065
Ask AI
Helpful
Bookmark
Share
View Full Paper