Lazy loaded image9.5 LLM-as-Judge

Problem Background and Progress

In the past year, large language models (LLMs) have made rapid progress across various natural language processing (NLP) tasks, approaching human-level performance. These tasks include question answering, text summarization, dialogue generation, and code generation. Despite these advances, LLMs still frequently produce hallucinations, unreliable, and inconsistent outputs. Therefore, how to evaluate the content generated by LLMs has become a highly valuable and important area of discussion.
In the current field of natural language processing (NLP), assessing the quality of text generation is a crucial challenge. With the emergence of LLMs such as GPT-4 and other advanced models, the capabilities of automatic text generation have made remarkable progress. These models can generate coherent and contextually relevant text and exhibit unprecedented abilities in multi-step reasoning, information provision, and producing accurate and information-rich responses. However, as these models are widely applied, evaluating the accuracy and fairness of their generated text has become increasingly important.
In traditional work, the quality evaluation of text generation mainly focuses on two aspects:
  • Whether the generated text reaches a correct conclusion.
  • The informativeness and usefulness of the text content.
Below are some commonly used metrics for evaluating text quality:
  • BLEU: Used to evaluate the quality of machine translation, but can also be applied to any text generation task. It works by comparing the overlap between machine-generated text and one or more reference texts.
  • ROUGE: Mainly used for automatic summarization. It evaluates the content coverage by comparing the overlap between generated summaries and reference summaries.
  • METEOR: Similar to BLEU but takes into account synonym matching and the influence of word order on translation quality.
  • BERTScore: Uses a pre-trained BERT model to evaluate the semantic similarity between generated and reference texts.
  • Perplexity: Evaluates the fluency of text generated by language models. Lower perplexity usually indicates higher text fluency.
The above metrics mainly focus on evaluating the surface form of text, such as word choice and grammatical structure, but provide limited assessment of logical consistency and semantic coherence in language. This is because most of these metrics are based on statistical methods and word-level matching, which make it difficult to fully capture the deep semantic information within the text. For evaluating logical coherence in language, higher-level comprehension and reasoning abilities are required. Logicality often involves understanding argumentation, causality, and logical relationships, which is a relatively complex task. Traditional automatic evaluation metrics struggle to accurately capture these aspects.

Evaluation Frameworks

Critic Models

💡
(Coming Soon) Shepherd: A Critic for Language Model Generation
(Coming Soon) TIGERScore: Towards Building Explainable Metric for All Text Generation Tasks
(Coming Soon) Digital Socrates: Evaluating LLMs through Explanation Critiques
(Coming Soon) CritiqueLLM: Towards an Informative Critique Generation Model for Evaluation of Large Language Model Generation

Strong Base-Models

💡
(Coming Soon) LM vs LM: Detecting Factual Errors via Cross Examination
(Coming Soon) A Closer Look into Automatic Evaluation Using Large Language Models
(Coming Soon) Large Language Models are not Fair Evaluators

Progress in LLM-as-Judge Research

notion image
Prev
9.4 Prompting
Next
10.1 Why GRPO training loss starts at 0
Loading...
Article List
LLM Learning Roadmap
✨ Awesome-Anything
🖼️ Digital Image Processing
🍃 LLM Components
🌱 LLM Pre-training
☘️ LLM Post-Training
🍀 LLM Popular Models
🪴 LLM Applications
🌿 LLM Optimization
🌾 LLM Compression
🌵 LLM Hands-on Practice
🌴 LLM Must-read Papers
🌳 LLM Q&A
🐝 VLM Image Encoders
📝 MISC.