PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 18, 20240 citationsOpen Access

Token-level Direct Preference Optimization

View Full Paper
YZYongcheng ZengGLGuoqing LiuWMWeiyu Ma

Key Points

  • Optimizing policy at the token level significantly enhances alignment with human preferences, improving generated responses.
  • TDPO achieves a notable improvement in balancing alignment and diversity metrics in various text tasks, outperforming other methods.
  • Utilization of forward KL divergence constraints at the token level allows for improved effectiveness in divergence management and response quality enhancement in LLMs with TDPO approach. The approach utilizes the Bradley-Terry model for a token-based reward system, ensuring simplicity while maintaining effectiveness.

Abstract

Fine-tuning pre-trained Large Language Models (LLMs) is essential to align them with human values and intentions. This process often utilizes methods like pairwise comparisons and KL divergence against a reference LLM, focusing on the evaluation of full answers generated by the models. However, the generation of these responses occurs in a token level, following a sequential, auto-regressive fashion. In this paper, we introduce Token-level Direct Preference Optimization (TDPO), a novel approach to align LLMs with human preferences by optimizing policy at the token level. Unlike previous methods, which face challenges in divergence efficiency, TDPO incorporates forward KL divergence constraints for each token, improving alignment and diversity. Utilizing the Bradley-Terry model for a token-based reward system, TDPO enhances the regulation of KL divergence, while preserving simplicity without the need for explicit reward modeling. Experimental results across various text tasks demonstrate TDPO's superior performance in balancing alignment with generation diversity. Notably, fine-tuning with TDPO strikes a better balance than DPO in the controlled sentiment generation and single-turn dialogue datasets, and significantly improves the quality of generated responses compared to both DPO and PPO-based RLHF methods. Our code is open-sourced at https://github.com/Vance0124/Token-level-Direct-Preference-Optimization.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zeng et al. (2024) studied this question.

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