To better align Large Language Models (LLMs) with human judgment, Reinforcement Learning from Human Feedback (RLHF) learns a reward model and then optimizes it using regularized RL. Recently, direct alignment methods were introduced to learn such a fine-tuned model directly from a preference dataset without computing a proxy reward function. These methods are built upon contrastive losses involving the log-likelihood of (dis)preferred completions according to the trained model. However, completions have various lengths, and the log-likelihood is not length-invariant. On the other side, the cross-entropy loss used in supervised training is length-invariant, as batches are typically averaged token-wise. To reconcile these approaches, we introduce a principled approach for making direct alignment length-invariant. Formally, we introduce a new averaging operator, to be composed with the optimality operator giving the best policy for the underlying RL problem. It translates into averaging the log-likelihood within the loss. We empirically study the effect of such averaging, observing a trade-off between the length of generations and their scores.
Princeton University(普林斯顿大学);The Hong Kong University of Science and Technology(香港科技大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);NVIDIA(英伟达)
NFTR: From Provable Mode-Averaging to Geodesic Subgoal Selection in Offline Goal-Conditioned RL
Huazhong University of Science and Technology(华中科技大学);Xi’an Jiaotong University(西安交通大学);University of Electronic Science and Technology of China(电子科技大学)
Over-the-Air Federated Averaging with Limited Power and Privacy Budgets
Queen Mary University of London(伦敦玛丽女王大学);Brunel University London(伦敦布鲁内尔大学);Southeast University(东南大学);Hainan University(海南大学);Nanjing University of Science and Technology(南京理工大学);University of Kent(肯特大学)
LUVLi Face Alignment: Estimating Landmarks' Location, Uncertainty, and Visibility Likelihood
University of Utah(犹他大学);Mitsubishi Electric Research Labs (MERL)(三菱电机研究实验室(MERL));University of Manchester(曼彻斯特大学);Michigan State University(密歇根州立大学);New York University(纽约大学)
Covariance alignment: from maximum likelihood estimation to Gromov-Wasserstein
Center for Data Science, New York University(纽约大学数据科学中心);Institute for Data, Systems, and Society, Massachusetts Institute of Technology(麻省理工学院数据、系统与社会研究所);Department of Mathematics, Massachusetts Institute of Technology(麻省理工学院数学系)
Weight Scope Alignment: A Frustratingly Easy Method for Model Merging
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室)
Direct Distributional Optimization for Provable Alignment of Diffusion Models
University of Tokyo(东京大学);RIKEN(理化学研究所);UC Berkeley(加州大学伯克利分校);Agency for Science, Technology and Research (A⋆STAR)(新加坡科技研究局);Nanyang Technological University(南洋理工大学)