paper-with-me

홈 › Papers

Averaging log-likelihoods in direct alignment

2024-06-27 · Nathan Grinsztajn, Yannis Flet-Berliac, Mohammad Gheshlaghi Azar, Florian Strub, Bill Wu, Eugene Choi, Chris Cremer, Arash Ahmadian, Yash Chandak, Olivier Pietquin, Matthieu Geist

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.

📄 PDF Abstract BibTeX arXiv:2406.19188

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

TRACE: Transport Alignment Conformal Prediction via Diffusion and Flow Matching Models

2026-05-08 · Zhenhan Fang, Aixin Tan, Jian Huang arxiv

Constructing valid and informative conformal prediction regions for multi-dimensional outputs remains a fundamental challenge. While conformal prediction provides finite-sample, distribution-free coverage guarantees, its…

Proximalized Preference Optimization for Diverse Feedback Types: A Decomposed Perspective on DPO

2025-05-29 · Kaiyang Guo, Yinchuan Li, Zhitang Chen

Direct alignment methods typically optimize large language models (LLMs) by contrasting the likelihoods of preferred versus dispreferred responses. While effective in steering LLMs to match relative preference, these met…

Calibration of Phone Likelihoods in Automatic Speech Recognition

2016-06-14 · David A. van Leeuwen, Joost van Doremalen

In this paper we study the probabilistic properties of the posteriors in a speech recognition system that uses a deep neural network (DNN) for acoustic modeling. We do this by reducing Kaldi's DNN shared pdf-id posterior…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)scoring rulespeech-recognition+1

An improved uncertainty decoding scheme with weighted samples for DNN-HMM hybrid systems

2016-08-04 · Christian Huemmer, Ramón Fernández Astudillo, Walter Kellermann

In this paper, we advance a recently-proposed uncertainty decoding scheme for DNN-HMM (deep neural network - hidden Markov model) hybrid systems. This numerical sampling concept averages DNN outputs produced by a finite …

General Classification

Mitigating the Alignment Tax of RLHF

2023-09-12 · Yong Lin, Hangyu Lin, Wei Xiong, Shizhe Diao 외

LLMs acquire a wide range of abilities during pre-training, but aligning LLMs under Reinforcement Learning with Human Feedback (RLHF) can lead to forgetting pretrained abilities, which is also known as the alignment tax.…

Common Sense ReasoningContinual Learning