G-Eval - NLG Evaluation using GPT-4 with Better Human Alignment

Summary

score=i=1np(si)×si

Example Prompt

You will be given one summary written for a news article.  
Your task is to rate the summary on one metric. 

Please make sure you read and understand these instructions carefully. Please keep this document open while reviewing, and refer to it as needed.  

Evaluation Criteria:  
Coherence (1-5) - the collective quality of all sentences. We align this dimension with the DUC quality question of structure and coherence whereby ”the summary should be well-structured and well-organized. The summary should not just be a heap of related information, but should build from sentence to sentence to a coherent body of information about a topic.”  

Evaluation Steps:  
1. Read the news article carefully and identify the main topic and key points.  
2. Read the summary and compare it to the news article. Check if the summary covers the main topic and key points of the news article, and if it presents them in a clear and logical order.  
3. Assign a score for coherence on a scale of 1 to 5, where 1 is the lowest and 5 is the highest based on the Evaluation Criteria.  

Example:  
Source Text:  
{{Document}}  
Summary:  
{{Summary}}  

Evaluation Form (scores ONLY):  
- Coherence:

Annotations

Annotation

« In this work, we present G-EVAL, a framework of using large language models with chain-of-thoughts (CoT) and a form-filling paradigm, to assess the quality of NLG outputs. »()

Annotation

« We experiment with two generation tasks, text summarization and dialogue generation »()

Annotation

« Moreover, the probabilities of the output rating tokens can be used to refine the final metric. »()

Annotation

« LLM-based metrics have a potential issue of preferring LLM-generated texts over humanwritten texts, which may lead to the selfreinforcement of LLMs if LLM-based metrics are used as the reward signal for improving themselves. »(2)

Annotation

« We find that LLM can generate such evaluation steps by itself »(3)

Annotation

« The scoring function calls the LLM with the designed prompt, auto CoT, the input context and the target text that needs to be evaluated »(3)

Annotation

« However, we notice this direct scoring function has two issues »(3)

Annotation

« For some evaluation tasks, one digit usually dominates the distribution of the scores, such as 3 for a 1 - 5 scale. »(3)

Annotation

« LLMs usually only output integer scores, even when the prompt explicitly requests decimal values. This leads to many ties in evaluation scores »(3)


Related Notes