Abstract
Evaluation of natural language generation (NLG) is complex and multi-dimensional. Generated text can be evaluated for fluency, coherence, factuality, or any other dimensions of interest. Most frameworks that perform such multi-dimensional evaluation require training on large manually or synthetically generated datasets. In this paper, we study the efficacy of large language models as multi-dimensional evaluators using in-context learning, obviating the need for large training datasets. Our experiments show that in-context learning-based evaluators are competitive with learned evaluation frameworks for the task of text summarization, establishing state-of-the-art on dimensions such as relevance and factual consistency. We then analyze the effects of factors such as the selection and number of in-context examples on performance. Finally, we study the efficacy of in-context learning based evaluators in evaluating zero-shot summaries written by large language models such as GPT-3.
Introduction
Evaluating the quality of text summarization is a multifaceted challenge. Beyond simple word overlap, a high-quality summary must exhibit fluency, coherence, relevance, and factual consistency. Traditional metrics like ROUGE are often insufficient as they fail to capture these nuanced dimensions and correlate poorly with human judgment. While recent "learned" evaluators like UniEval or CTC offer improvements, they typically require extensive training on large-scale human-annotated or synthetic datasets. This dependency makes them "brittle" — introducing a new evaluation dimension often necessitates retraining from scratch. Furthermore, these metrics frequently struggle to evaluate summaries produced by modern Large Language Models (LLMs) in a zero-shot setting, often penalizing them for stylistic deviations from human-written references.
Methodology
To address these limitations, we propose ICE (In-Context learning-based Evaluator). ICE leverages the inherent in-context learning (ICL) capabilities of LLMs, specifically GPT-3 (text-davinci-003), to perform multi-dimensional evaluation without specialized training.
The core of the ICE framework is a carefully structured prompt. As illustrated in Figure 1, the prompt consists of three main components: (1) a few-shot demonstration containing several pairs of source texts, summaries, and their corresponding human-assigned scores for a specific dimension; (2) the test case consisting of a new source text and summary; and (3) a query asking the model to predict a numeric score.
We explored two primary strategies for selecting in-context examples:
- Uniform Random Sampling: Examples are selected randomly from a candidate pool.
- Stratified Sampling: The score range is divided into buckets, and examples are drawn from each bucket to ensure the model observes a full spectrum of quality levels.
The framework was evaluated using the SummEval benchmark, which contains 1,600 summaries across 16 systems, and a custom dataset of 500 summaries generated by GPT-3, BRIO, and T0 to test the evaluation of zero-shot LLM outputs.
Experimental Results
Our experiments demonstrate that ICE is highly effective, achieving state-of-the-art (SOTA) performance on several key dimensions. As shown in Figure 2, ICE established new SOTA correlations with human judgment for Consistency and Relevance on the SummEval benchmark. Notably, ICE (using Uniform Sampling) outperformed specialized models like UniEval and CTC in factual consistency.
A key finding was the impact of sampling strategies. For dimensions like factual consistency, where the distribution of scores is often skewed (most summaries are relatively consistent), Uniform Sampling proved superior to Stratified Sampling. This suggests that seeing the "natural" distribution of data helps the LLM calibrate its scoring more effectively.
Furthermore, ICE demonstrated a unique advantage in evaluating summaries generated by other LLMs. Traditional metrics like ROUGE or BARTScore often assign low scores to GPT-3 summaries because they differ stylistically from human references. In contrast, ICE aligns much more closely with human preferences, recognizing the quality of a summary even when it does not strictly match a reference text. We also observed that for complex dimensions like Relevance and Coherence, increasing the number of in-context examples from one to four led to a consistent improvement in correlation with human scores.
Discussion and Conclusion
ICE represents a significant step toward flexible, multi-dimensional NLG evaluation. Its primary strength lies in its extensibility; new evaluation dimensions can be added simply by updating the prompt examples, bypassing the need for expensive retraining.
However, challenges remain for widespread deployment. The use of massive models like GPT-3 introduces higher costs and latency compared to smaller, dedicated BERT-based metrics. Additionally, reliance on closed-source APIs poses risks for reproducibility. Future work will explore the application of ICE to other NLG tasks, such as dialogue generation, and investigate the use of smaller, open-source models to mitigate cost and accessibility issues.
The code for ICE is available at github.com/JainSameer06/ICE.
Summary updated