Use multiple LLMs together to auto-generate preference datasets and improve model responses

August 16, 20247 min

Overview

Production Readiness

0.6

Novelty Score

0.5

Cost Impact Score

0.6

Citation Count

0

Authors

Samee Arif, Sualeha Farid, Abdul Hameed Azeemi, Awais Athar, Agha Ali Raza

Links

Abstract / PDF

Why It Matters For Business

Automating preference-data creation with multi-model workflows can cut annotation costs and produce higher-quality fine-tuning data, but expect higher compute bills and proprietary model dependency.

Summary TLDR

The paper proposes an end-to-end pipeline that uses multiple LLMs for (1) automated evaluation of candidate responses and (2) iterative multi-model generation (feedback loops) to produce synthetic preference-optimization (PO) datasets. They find GPT-4o is the most consistent automatic judge across several benchmarks using a combined scoring prompt (score-out-of-10). For generation, a feedback loop with Llama-3.1-8b as generator and Gemma-2-9b as reviewer gave the best judged improvements (e.g., 71.8% win rate vs Llama, 73.8% vs Gemma). The code and generated datasets are publicly released.

Problem Statement

Creating preference-optimization training data (pairs of accepted/rejected responses) relies on slow, costly human raters. The authors ask whether multiple LLMs can reliably automate both evaluation and iterative response generation to scale PO dataset creation.

Main Contribution

Systematic comparison of three LLM-based evaluation setups: LLM-as-a-Judge, LLMs-as-a-Jury, and multi-agent LLM Debate across Alpaca-Eval, FairEval, PandaLM-Eval and MT-Bench

Design and evaluation of an LLM Feedback Loop (generator + reviewer iterations) for producing refined responses

Demonstration that GPT-4o (combined scoring, out-of-10) is the most consistent automatic judge for their tasks

Generation and public release of synthetic DPO and KTO style PO datasets using the chosen evaluation and generation pipelines

Key Findings

GPT-4o is the most consistent single automatic judge across evaluated benchmarks

NumbersCohen's kappa 0.688 on PandaLM-Eval; 0.410 on MT-Bench (Table 3)

Combined Scoring prompts outperform Independent Scoring and Direct Comparison for LLM-as-a-Judge

NumbersBest combined kappa 0.401 (GPT-4o) vs direct 0.372 and independent 0.249 on Alpaca-Eval (Table 2)

A multi-model feedback loop improves generated response quality versus single-model baselines under GPT-4o judgment

NumbersLlama (generator) + Gemma (reviewer) win rates: 49.0% vs GPT-4o, 71.8% vs Llama, 73.8% vs Gemma (Table 7)

Results

Cohen's Kappa (GPT-4o, Alpaca-Eval, combined scoring)

Value0.401

BaselineDirect Comparison 0.372; Independent 0.249

Cohen's Kappa (GPT-4o, PandaLM-Eval)

Value0.688

Win rate (Llama generator + Gemma reviewer)

Value49.0% vs GPT-4o; 71.8% vs Llama; 73.8% vs Gemma

Baselinesingle-model Llama (39.2% vs GPT); Gemma (38.6% vs GPT)

Who Should Care

What To Try In 7 Days

Prototype a combined-scoring prompt (score-out-of-10) with a strong external judge (GPT-4o if available) on 500 of your prompts.

Run a 2–3 iteration LLM feedback loop using two complementary smaller models (e.g., Llama-3.1-8b generator + Gemma-2-9b reviewer) on a pilot task and compare win rate to single-mod

Measure evaluator bias by computing agreement and a simple bias score for candidate families before using automatic labels for training.

Agent Features

Frameworks

  • LLM-as-a-Judge
  • LLM-as-a-Jury
  • LLM Debate

Collaboration

  • LLM Feedback Loop
  • LLM Debate
  • LLMs-as-a-Jury

Reproducibility

Code Available

Data Available

Open Source Status

  • partial

Risks & Boundaries

Limitations

  • Higher compute and latency due to multi-model iterative loops compared to single-model pipelines
  • Dependence on proprietary GPT-4o for evaluation reduces reproducibility for groups without access
  • Evaluation variance across datasets: jury/debate gains do not generalize uniformly
  • Many experiments were single-run, limiting statistical robustness

When Not To Use

  • When you lack compute or API budget for multi-model iterations
  • When human-level gold labels are required for safety-critical applications
  • If the judge model appears among candidate generators (introduces self-bias)

Failure Modes

  • Automated judge reproduces and amplifies its training biases into the generated PO dataset
  • High variance across datasets leads to overfitting generation strategy to specific benchmarks
  • Using the judge model as a candidate response source biases acceptance toward the judge's family

Core Entities

Models

  • GPT-4o
  • GPT-4o-mini
  • Llama-3.1-8b
  • Llama-3.1-70b
  • Gemma-2-9b
  • Gemma-2-27b
  • Vicuna-13b

Metrics

  • Cohen's Kappa
  • Win rate
  • Bias Score

Datasets

  • Alpaca-Eval
  • FairEval
  • PandaLM-Eval
  • MT-Bench
  • Argilla Capybara DPO
  • NoRobots

Benchmarks

  • Alpaca-Eval
  • FairEval
  • PandaLM-Eval
  • MT-Bench