Skip to main content
QUICK REVIEW

[Paper Review] Generative Judge for Evaluating Alignment

Junlong Li, Shichao Sun|arXiv (Cornell University)|Oct 9, 2023
Topic ModelingComputer Science5 citations
TL;DR

This paper introduces Auto-J, a 13B-parameter generative judge model trained on real-world user queries and LLM-generated responses across 58 diverse scenarios. It enables flexible, interpretable evaluation of LLM outputs through natural language critiques for both single-response and pairwise comparison protocols, outperforming strong open-source and closed-source baselines in alignment evaluation with high consistency and detailed reasoning.

ABSTRACT

The rapid development of Large Language Models (LLMs) has substantially expanded the range of tasks they can address. In the field of Natural Language Processing (NLP), researchers have shifted their focus from conventional NLP tasks (e.g., sequence tagging and parsing) towards tasks that revolve around aligning with human needs (e.g., brainstorming and email writing). This shift in task distribution imposes new requirements on evaluating these aligned models regarding generality (i.e., assessing performance across diverse scenarios), flexibility (i.e., examining under different protocols), and interpretability (i.e., scrutinizing models with explanations). In this paper, we propose a generative judge with 13B parameters, Auto-J, designed to address these challenges. Our model is trained on user queries and LLM-generated responses under massive real-world scenarios and accommodates diverse evaluation protocols (e.g., pairwise response comparison and single-response evaluation) with well-structured natural language critiques. To demonstrate the efficacy of our approach, we construct a new testbed covering 58 different scenarios. Experimentally, Auto-J outperforms a series of strong competitors, including both open-source and closed-source models, by a large margin. We also provide detailed analysis and case studies to further reveal the potential of our method and make a variety of resources public at https://github.com/GAIR-NLP/auto-j.

Motivation & Objective

  • To address the limitations of existing LLM evaluation methods in generality, flexibility, and interpretability for human-aligned generation tasks.
  • To develop a scalable, open-source evaluator that supports diverse evaluation protocols without relying on proprietary APIs.
  • To create a high-quality, scenario-specific dataset of real-world queries and responses for training a robust generative judge.
  • To enable detailed, natural language explanations for evaluation scores to improve reliability and human-in-the-loop usability.
  • To demonstrate the effectiveness of a fine-tuned, open-weight LLM as a general-purpose evaluator across varied alignment tasks.

Proposed method

  • Training Auto-J on a newly constructed dataset of 58 real-world scenarios derived from actual user queries and LLM responses.
  • Using GPT-4 to generate supervised evaluation labels with hand-crafted, scenario-specific criteria for each query-response pair.
  • Applying heuristic filtering and post-processing to standardize output formats and reduce annotation noise.
  • Designing a unified prompting framework that supports both single-response evaluation and pairwise comparison protocols.
  • Employing few-shot prompting and chain-of-thought prompting to elicit detailed, natural language critiques from Auto-J.
  • Fine-tuning the 13B-parameter model on the curated dataset to optimize for alignment evaluation performance.

Experimental results

Research questions

  • RQ1Can a fine-tuned, open-source LLM serve as a reliable, general-purpose evaluator across diverse real-world alignment tasks?
  • RQ2How does a generative judge with natural language explanations improve evaluation interpretability compared to numerical-only metrics?
  • RQ3To what extent can a single model support multiple evaluation protocols (e.g., pairwise vs. single-response) without performance degradation?
  • RQ4How does Auto-J compare to both open-source and closed-source evaluators in terms of alignment evaluation accuracy and consistency?
  • RQ5What impact does scenario-specific training data have on the generalization and robustness of a generative judge?

Key findings

  • Auto-J outperforms a range of strong open-source and closed-source baselines in alignment evaluation across 58 real-world scenarios.
  • The model achieves high agreement with human judgments, particularly in complex, scenario-specific evaluations requiring nuanced reasoning.
  • Auto-J demonstrates strong performance in both single-response evaluation and pairwise comparison protocols, showing high flexibility.
  • The inclusion of detailed natural language critiques significantly enhances the interpretability and trustworthiness of evaluation results.
  • Case studies show that Auto-J can identify subtle flaws in LLM responses, such as logical inconsistencies and factual inaccuracies, with high precision.
  • The model achieves a best-of-32 response selection score of 6.0 on a complex legal query, outperforming GPT-4 (9.0) in overall alignment, highlighting its robustness in high-stakes scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.