TL;DR
This paper introduces CSEM, a novel method for training evaluation models for sequence generation tasks without relying on human-labeled data. CSEM leverages Large Language Models (LLMs) to generate synthetic evaluation data, significantly reducing the cost and effort typically required for metric development. The resulting evaluation models demonstrate strong performance and can be customized for various evaluation scenarios, improving sequence generation tasks like machine translation and summarization.
What Problem Does This Paper Address?
Traditional automatic evaluation metrics for sequence generation, such as BLEU and ROUGE, primarily rely on n-gram overlap. While simple and fast, these metrics often fail to capture the true semantic meaning of generated text, leading to inaccurate assessments. More advanced model-based metrics like BLEURT and COMET offer better semantic understanding but are heavily dependent on large amounts of human-labeled evaluation data for training. This data scarcity is a significant bottleneck, making it difficult and expensive to develop high-quality evaluation models for diverse tasks and scenarios. The paper aims to overcome this limitation by proposing a method that uses LLMs to generate the necessary labeled data, democratizing the development of sophisticated evaluation metrics.
Methods
The core of the proposed method is the Customized Sequence Evaluation Metric (CSEM), a three-stage process:
- Data Collection: A standard sequence generation model is trained using MLE. This model is then used to generate diverse candidate sequences for a given input. The goal is to create a rich dataset of input-output pairs.
- LLM-based Annotation: A pre-trained LLM (like ChatGPT) is prompted with specific instructions and evaluation criteria to assign scores (e.g., 1-5 stars) to the generated sequences. This step leverages the LLM's inherent evaluation capabilities to create labeled data without human annotators. The authors found that a zero-shot prompt template was effective, and using a single LLM (ChatGPT) yielded better results than combining multiple LLMs.
- Evaluation Model Training: The LLM-annotated data is used to fine-tune a lightweight language model (e.g., RoBERTa-base/large) to act as the evaluation model. This model is trained using a regression loss function to predict the annotated scores.
CSEM is designed to be flexible, allowing for customization of evaluation types, including:
- Single-aspect vs. Multi-aspect: Evaluating specific qualities (e.g., fluency) or a combination of qualities (e.g., meaning and grammar).
- Reference-free vs. Reference-based: Evaluating sequences with or without a ground-truth reference.
Datasets
The paper utilizes several standard datasets for training and evaluation:
- SummEval: Used for evaluating the performance of CSEM-trained evaluation models on summarization tasks.
- IWSLT'14 German-English (De-En) and WMT'14 English-German (En-De): Used for machine translation experiments.
- Grammarly's Yahoo Answers Formality Corpus (GYAFC): Used for text style transfer experiments.
- CNN/DM: Used for summarization experiments.
- HelpSteer2: Used for evaluating CSEM on a general-purpose task.
No new benchmarks were introduced, but the paper demonstrates how CSEM can be applied to existing benchmarks to create customized evaluation metrics.
Key Insights and Ideas
- LLMs as Data Annotators: The most significant insight is that LLMs can effectively generate high-quality labeled evaluation data, circumventing the need for expensive and time-consuming human annotation. This democratizes the development of advanced evaluation metrics.
- Rating vs. Comparison Ranking: The study found that using a rating-based annotation (e.g., star ratings) is more effective for training evaluation models than comparison ranking. While ranking is useful for learning relative preferences, rating directly assesses the quality of a single sequence, which is the primary goal of an evaluation metric.
- Regression Loss Superiority: Training evaluation models with a regression loss function yielded better results than classification loss, allowing the models to capture more subtle differences in sequence quality.
- Customization is Key: CSEM's ability to be adapted for various evaluation types (single/multi-aspect, reference-free/based) is crucial for real-world applications, allowing metrics to be tailored to specific needs.
- LLM-based Metrics Align with LLM Evaluators: The CSEM-trained metrics show strong correlation with ChatGPT's evaluations, indicating that the learned metrics effectively capture what LLMs consider good quality.
Key Results
- SummEval Benchmark: CSEM achieved a 4% absolute improvement in Spearman correlation on the SummEval benchmark compared to BARTScore, while using 69% fewer parameters.
- Machine Translation: Using CSEM metrics for RL and reranking in machine translation led to significant improvements, including a +7.46 COMET-20 point gain and a +3.50 ChatGPT point gain.
- Text Style Transfer & Summarization: Similar substantial improvements were observed in text style transfer and summarization tasks when using CSEM-based metrics for RL and reranking.
- Efficiency: CSEM-trained models are significantly faster than direct LLM evaluation, processing queries in under 0.2 seconds compared to ChatGPT's 5+ seconds, making them suitable for large-scale applications.
- Data Scale: CSEM can achieve strong correlation with LLM evaluations using as few as 15K LLM-labeled samples, demonstrating efficiency in data usage.
Limitations and Future Work
- LLM Performance Ceiling: The paper notes that when LLMs themselves are exceptionally strong evaluators (e.g., GPT-4), CSEM's performance might be limited by the underlying encoder (RoBERTa) capabilities. Future work could explore stronger encoders.
- Computational Cost of RL+RR: While combining RL and reranking with multiple metrics yields superior results, it comes with significant computational costs. The authors plan to explore ways to balance efficiency and effectiveness in future work.
- General-purpose Evaluation: While CSEM shows promise on general-purpose tasks, further research is needed to fully explore its capabilities in this domain.
- Human vs. LLM Labeled Data: The study found that for comparable data sizes, human-labeled data outperformed LLM-labeled data. However, the scalability of LLM-labeled data is a significant advantage. Future work could investigate methods to bridge this gap further.
Summary updated