Direct Judgement Preference Optimization

Peifeng Wang, Austin Xu, Yilun Zhou, Caiming Xiong, Shafiq Joty
9/23/2024
cs.CL

No official code found. Best implementation: SalesforceAIResearch/SFRJudge (7 stars, Apache-2.0, last commit 2025-01-14).

Abstract

Auto-evaluation is crucial for assessing response quality and offering feedback for model development. Recent studies have explored training large language models (LLMs) as generative judges to evaluate and critique other models' outputs. In this work, we investigate the idea of learning from both positive and negative data with preference optimization to enhance the evaluation capabilities of LLM judges across an array of different use cases. We achieve this by employing three approaches to collect the preference pairs for different use cases, each aimed at improving our generative judge from a different perspective. Our comprehensive study over a wide range of benchmarks demonstrates the effectiveness of our method. In particular, our generative judge achieves the best performance on 10 out of 13 benchmarks, outperforming strong baselines like GPT-4o and specialized judge models. Further analysis show that our judge model robustly counters inherent biases such as position and length bias, flexibly adapts to any evaluation protocol specified by practitioners, and provides helpful language feedback for improving downstream generator models.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Evaluation code for Direct Judgement Preference Optimization

71Shell, PythonSep 17, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{wang2024direct,
  title  = {Direct Judgement Preference Optimization},
  author = {Peifeng Wang and Austin Xu and Yilun Zhou and Caiming Xiong and Shafiq Joty},
  year   = {2024},
  eprint = {2409.14664},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.14664v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.14664.svg)](https://codeofpaper.com/paper/2409.14664)

Discussion