Abstract
Human evaluation is indispensable and inevitable for assessing the quality of texts generated by machine learning models or written by humans. However, human evaluation is very difficult to reproduce and its quality is notoriously unstable, hindering fair comparisons among different natural language processing (NLP) models and algorithms. Recently, large language models (LLMs) have demonstrated exceptional performance on unseen tasks when only the task instructions are provided. In this paper, we explore if such an ability of the LLMs can be used as an alternative to human evaluation. We present the LLMs with the exact same instructions, samples to be evaluated, and questions used to conduct human evaluation, and then ask the LLMs to generate responses to those questions; we dub this LLM evaluation. We use human evaluation and LLM evaluation to evaluate the texts in two NLP tasks: open-ended story generation and adversarial attacks. We show that the result of LLM evaluation is consistent with the results obtained by expert human evaluation: the texts rated higher by human experts are also rated higher by the LLMs. We also find that the results of LLM evaluation are stable over different formatting of the task instructions and the sampling algorithm used to generate the answer. We are the first to show the potential of using LLMs to assess the quality of texts and discuss the limitations and ethical considerations of LLM evaluation.
Introduction
In the field of Natural Language Processing (NLP), determining whether a model's output is truly "high quality" remains a significant challenge. While automated metrics such as BLEU or ROUGE provide quick feedback, they often fail to capture the nuances of coherence, creativity, and semantic meaning. Consequently, human evaluation remains the "gold standard." However, this standard is fraught with practical difficulties: it is expensive, slow, and notoriously difficult to reproduce. Human annotators, even those recruited from platforms like Amazon Mechanical Turk, often exhibit high variance in judgment, and their performance can fluctuate over time.
This paper investigates whether the zero-shot capabilities of advanced Large Language Models (LLMs) can serve as a stable, expert-level proxy for human evaluators. By introducing a framework called LLM evaluation, we test whether models like ChatGPT and GPT-3 can replicate the judgment of human experts when provided with the same instructions and evaluation rubrics.
Methodology
The core premise of LLM evaluation is to treat the language model as a human participant in a study. The researchers provided the models with the exact same task instructions, text samples, and Likert-scale questions (e.g., "Rate this story from 1 to 5 based on its cohesiveness") that were given to human evaluators.
To validate the efficacy of this approach, the study compared several models—including T0, text-curie-001, text-davinci-003, and ChatGPT—against a baseline of certified English teachers. This comparison focused on two distinct NLP tasks:
- Open-ended Story Generation: Assessing stories for grammaticality, cohesiveness, likability, and relevance.
- Adversarial Attacks: Evaluating the fluency and meaning-preservation of sentences modified to deceive AI classifiers.
Furthermore, the researchers conducted robustness tests by varying the "persona" of the prompt (e.g., instructing the model to act as a human worker) and adjusting the sampling temperature to determine the stability of the AI's ratings.
Experimental Setup
The study utilized two primary datasets to benchmark the evaluations:
- WritingPrompts: This included 200 pairs of human-written stories versus stories generated by a fine-tuned GPT-2 medium model.
- Adversarial Samples: 100 pairs of benign news titles and their "attacked" counterparts. These were generated using three classic adversarial algorithms (Textfooler, PWWS, and BAE) targeting a BERT classifier on the AG-News dataset.
Key Results and Analysis
1. Alignment with Human Experts
The study found that high-end models (specifically text-davinci-003 and ChatGPT) demonstrated a clear preference for human-written stories over machine-generated ones, mirroring the judgment of the English teachers. For story relevance, text-davinci-003 achieved a Kendall’s $\tau$ correlation of 0.38–0.43 with human teachers—a strong positive correlation in the context of subjective text evaluation.
In the adversarial attack task, ChatGPT correctly identified that BAE-generated attacks were more fluent and preserved meaning better than those generated by Textfooler or PWWS, aligning with the consensus of human experts.
2. The Importance of Model Scale
Interestingly, smaller or older models like T0 and text-curie-001 failed to provide reliable evaluations. They were unable to consistently distinguish between human and machine-written text. This suggests that the ability to perform nuanced evaluation is an emergent property of larger, instruction-tuned models.
3. Stability and Explainability
Contrary to the perception of LLMs as unpredictable, the study found that LLM evaluation was remarkably stable across different prompt formats. Lowering the sampling temperature to $T=0$ (greedy decoding) increased the Inter-Annotator Agreement (IAA) of the model.
Additionally, ChatGPT offered a unique advantage: explainability. Unlike a numerical score, ChatGPT can provide text-based justifications for its ratings. When these explanations were reviewed, human teachers largely agreed with the AI's reasoning, suggesting that the model is not just "guessing" but applying a consistent logic.
4. Efficiency and Cost
The economic implications are significant. Evaluating 200 stories cost approximately $140 for human teachers and required over a week to complete. In contrast, the same task cost less than $5 using the best InstructGPT model and was completed in a matter of hours.
Discussion and Limitations
While LLMs show immense promise, they are not yet a total replacement for human judgment. The authors identified several key limitations:
- Content Filtering: ChatGPT occasionally refuses to rate content it deems "objectionable" (e.g., violence), which can lead to missing data in certain research contexts.
- Lack of Visual Context: Humans use visual formatting to parse complex instructions; LLMs process raw text, which may lead to misinterpretations of complex rubrics.
- Inherent Biases: LLMs may exhibit a "positivity bias" or specific stylistic preferences. For instance, ChatGPT was found to be more "fastidious" than
davinci-003, generally providing lower scores.
Conclusion
This research demonstrates that advanced LLMs can serve as a viable, cost-effective, and reproducible alternative to human evaluation in many NLP contexts. While human experts are still necessary for final validation and for handling sensitive content, LLMs can provide a "first-pass" filter that allows researchers to iterate much faster during the development of new models.
Summary updated