Evaluating Large Language Models at Evaluating Instruction Following

Zhiyuan Zeng, Jiatong Yu, Tianyu Gao, Yu Meng, Tanya Goyal, Danqi Chen

In the rapidly evolving world of AI, we’ve reached a meta-conundrum: we are increasingly using Large Language Models (LLMs) to evaluate the performance of other LLMs. While this "LLM-as-a-judge" approach is scalable and cost-effective, it raises a critical question: Can these evaluators actually tell if a model followed instructions, or are they just distracted by a polite tone and good formatting?

A new paper from researchers at Princeton, Tsinghua, and UIUC tackles this head-on by introducing LLMBar, a benchmark designed to expose the "superficiality bias" of AI evaluators.

TL;DR

The authors introduce LLMBar, a manually curated meta-evaluation benchmark of 419 instances where one AI response follows instructions and the other "deceptively" fails. They discover that while humans have 94% agreement on these tasks, most LLM evaluators struggle—often preferring the "prettier" wrong answer. However, novel prompting strategies introduced in the paper can significantly bridge this gap.

What Problem Does This Paper Address?

As we move away from simple multiple-choice benchmarks toward open-ended chat assistants, human evaluation remains the "gold standard." However, humans are expensive and slow. Consequently, researchers have turned to "LLM evaluators" (like GPT-4) to rank model outputs.

The problem is that existing meta-evaluation benchmarks (which evaluate the evaluators) are often too subjective. If two AI responses are both "okay," a human might prefer one for arbitrary reasons, leading to low inter-annotator agreement. This makes it impossible to tell if an LLM evaluator is actually "smart" or just lucky. Furthermore, LLMs are known to have biases: they prefer longer responses, certain positions (first vs. second), and polite tones, even if the actual content is factually wrong or ignores the user's constraints.

Comparison of previous subjective evaluation versus LLMBar's objective instruction-following evaluation.

Methods

The researchers proposed a two-pronged solution: a harder test and better ways to take that test.

  1. Objective Meta-Evaluation: They built LLMBar, focusing strictly on instruction following—a non-subjective metric. For example, either the model sorted the list alphabetically, or it didn't.
  2. Advanced Prompting Strategies: To improve LLM evaluators, they introduced three new techniques:
  3. Rules: Explicitly instructing the evaluator to prioritize "instruction adherence" over "helpfulness" or "tone."
    • Metrics: Forcing the LLM to first generate three specific questions (metrics) based on the prompt before looking at the outputs.
  4. Swap & Synthesize: Running the evaluation twice with the order of outputs swapped. If the LLM gives contradictory answers, a third "synthesis" step is used to resolve the conflict and mitigate positional bias.

Datasets

The core contribution is the LLMBar dataset (419 pairs), which is divided into two main sections:

  • The Natural Set: 100 instances filtered from existing datasets where one response is objectively better at following instructions.
  • The Adversarial Set: 319 instances specifically designed to trick AI. This includes using similar but different instructions to generate "distractor" outputs, using GPT-4 to intentionally craft responses that look high-quality but fail the specific task, and human-crafted "trap" responses.

Key Insights and Ideas

  • The "Pretty" Trap: LLMs are highly susceptible to superficial qualities. A model might prefer a response that says, "Certainly! Here is your list..." even if the list is incorrectly sorted, over a plain response that is perfectly accurate.
  • CoT isn't a Silver Bullet: Interestingly, the authors found that Chain-of-Thought (CoT) prompting—usually the go-to for improving LLM reasoning—can actually hurt evaluation. The models often use the reasoning step to "hallucinate" justifications for why the more attractive (but wrong) response is actually better.
  • GPT-4 is the Only Contender (For Now): While models like LLaMA-2-70B and ChatGPT performed near chance (50%) on the adversarial sets, GPT-4 showed a clear ability to discern quality, though it still lags behind human experts.

Key Results

  • Human vs. Machine: Expert humans achieved 94% agreement on LLMBar, proving the tasks have objective "right" answers.
  • The Performance Gap: On the Adversarial set, standard GPT-4 achieved only ~73% accuracy. However, using the authors' Rules + Metrics + Reference strategy boosted this to 82.8%.
  • Positional Bias: The "Swap" strategy significantly improved "positional agreement" (consistency when the order of responses is changed), reaching nearly 97% for GPT-4.
Accuracy of various LLM evaluators across Natural and Adversarial sets, comparing vanilla prompting to the proposed advanced strategies.

Unlike other benchmarks where most models look similar, LLMBar showed a massive performance spread, making it a much more sensitive tool for identifying truly capable evaluators.

Limitations and Future Work

  • Single-Turn Focus: The current benchmark only looks at one-off instructions. Real-world AI use involves multi-turn conversations where instructions might evolve.
  • The GPT-4 "Home Field" Advantage: Some adversarial outputs were generated by GPT-4. The authors note that GPT-4-based evaluators might have an unfair advantage in recognizing their own "unhelpful" style, a phenomenon that requires more study.
  • Scope: The paper focuses on instruction following and math/logic. It doesn't deeply explore other vital evaluator qualities like safety, toxicity detection, or creative nuance.

For researchers and engineers, the message is clear: if you're using an LLM to grade your models, don't just ask it "which is better?" Give it rules, make it define its own metrics, and always swap the order to check for bias.

Summary updated

BibTeX
@inproceedings{zeng2024evaluating,
  author = {Zhiyuan Zeng and Jiatong Yu and Tianyu Gao and Yu Meng and Tanya Goyal and Danqi Chen},
  title = {{Evaluating Large Language Models at Evaluating Instruction Following}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=tr0KidwPLc},
}
Figure