Skip to main content
QUICK REVIEW

[Paper Review] A Better LLM Evaluator for Text Generation: The Impact of Prompt Output Sequencing and Optimization

KuanChao Chu, Yi-Pei Chen|arXiv (Cornell University)|Jun 14, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

This paper investigates how prompt structure—specifically the sequencing of output instructions—affects LLM-based text evaluation. It finds that ordering reasons before scores ('reason-first') significantly improves scoring consistency and alignment with human judgments, especially when combined with prompt optimization using labeled data, leading to measurable improvements in correlation with human ratings.

ABSTRACT

This research investigates prompt designs of evaluating generated texts using large language models (LLMs). While LLMs are increasingly used for scoring various inputs, creating effective prompts for open-ended text evaluation remains challenging due to model sensitivity and subjectivity in evaluation of text generation. Our study experimented with different prompt structures, altering the sequence of output instructions and including explanatory reasons. We found that the order of presenting reasons and scores significantly influences LLMs' scoring, with a different level of rule understanding in the prompt. An additional optimization may enhance scoring alignment if sufficient data is available. This insight is crucial for improving the accuracy and consistency of LLM-based evaluations.

Motivation & Objective

  • To investigate how the order of output instructions in LLM prompts affects scoring consistency in text generation evaluation.
  • To examine whether including explanatory reasons alongside scores improves LLM evaluation reliability.
  • To evaluate the impact of prompt optimization techniques on LLM scorer performance when labeled data is available.
  • To identify structural prompt designs that enhance alignment between LLM scores and human judgments.

Proposed method

  • Systematically varied output instruction sequences in prompts: score-first (s), reasons-first (rs), and JSON-structured variants (json(s), json(sr), json(rs)).
  • Integrated five task-specific rules into prompts to prioritize issue count and severity over averaging.
  • Conducted 50 trials per prompt configuration across four GPT models (gpt-3.5-turbo and gpt-4 variants) to assess scoring stability.
  • Applied GRIPS and OPRO prompt optimization techniques to refine output instructions using labeled data from SummEval.
  • Used mean absolute error (MAE) and correlation coefficients (Pearson’s r, Kendall’s τ) to evaluate LLM scorer performance against human ratings.
  • Employed temperature settings of 0.3 for training and 1.0 for inference, with 10–20 trials per sample to ensure robustness.

Experimental results

Research questions

  • RQ1How does the sequence of output instructions (e.g., score before or after reasons) affect LLM scoring behavior in text generation evaluation?
  • RQ2Does including explanatory reasons in the output improve the consistency and accuracy of LLM-based evaluations?
  • RQ3Can prompt optimization techniques like GRIPS and OPRO enhance LLM scorer performance when sufficient labeled data is available?
  • RQ4How do different LLM architectures (e.g., gpt-3.5-turbo vs. gpt-4) respond to variations in prompt structure and optimization?
  • RQ5To what extent does the inclusion of task-specific rules influence the sensitivity of LLMs to prompt design?

Key findings

  • The 'reasons-first' output instruction (json(rs)) produced significantly higher average scores (e.g., 6.09 ± 1.23 for gpt-3.5-turbo-0613) compared to 'score-first' (e.g., 3.68 ± 1.17), indicating that model reasoning is more effective when it can reference the input and reasons before assigning a score.
  • The 'reasons-first' configuration led to better alignment with human judgments, as evidenced by a 0.015 increase in Kendall’s τ (0.449 vs. 0.439) and a 0.043 increase in Pearson’s r (0.614 vs. 0.599) compared to the baseline.
  • Prompt optimization using OPRO improved LLM scorer performance on the test set, reducing MAE from 0.739 to 0.780, though this was less effective than GRIPS, which reduced MAE from 0.739 to 0.696.
  • GRIPS optimization yielded statistically significant improvements over the initial prompt (p < 0.05 via Williams’ test), with changes focused on refining output instruction wording and structure.
  • The 'reasons-first' structure was particularly effective in amplifying the impact of task-specific rules, suggesting that model reasoning benefits from contextual priming before scoring.
  • Despite optimization, OPRO’s performance was suboptimal due to limited iterations (50 vs. 100 in original), indicating that full convergence is necessary for optimal results.

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.