CLAIApr 18, 2024

Token-level Direct Preference Optimization

arXiv:2404.11999v5144 citationsh-index: 8Has CodeICML
Originality Incremental advance
AI Analysis

This work addresses the challenge of efficiently aligning LLMs with human values, offering a novel method that improves over existing approaches, though it appears incremental as it builds on prior preference optimization techniques.

The paper tackles the problem of aligning large language models with human preferences by introducing Token-level Direct Preference Optimization (TDPO), which optimizes at the token level using forward KL divergence constraints and a token-based reward system, resulting in superior performance in balancing alignment and diversity compared to methods like DPO and PPO-based RLHF.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes