INSTRUCTSCORE: Towards Explainable Text Generation Evaluation with Automatic Feedback

Wenda Xu, Danqing Wang, Liangming Pan, Zhenqiao Song, Markus Freitag, William Wang, Lei Li

Abstract

InstructScore is an explainable evaluation metric for text generation that provides detailed diagnostic reports alongside numerical scores. By fine-tuning a 7B LLaMA model on synthetic data and implementing an automatic refinement loop with GPT-4 meta-feedback, InstructScore achieves high correlation with human judgment and provides actionable feedback. It outperforms larger models like GPT-4 in evaluation accuracy and rivals state-of-the-art supervised metrics without requiring human-annotated training data.

Introduction

Evaluating AI-generated text is a significant challenge. Traditional metrics like BLEU or ROUGE rely on word overlap, failing to capture semantic nuances. Newer "learned" metrics like COMET or BERTScore correlate better with human judgment but operate as "black boxes," providing a single score without explanation. This lack of transparency hinders developers who need to understand specific errors—such as mistranslations or stylistic mismatches—to improve models. InstructScore addresses this by providing human-like diagnostic feedback automatically.

InstructScore provides explainable diagnostic reports (error type, location, and explanation) compared to traditional black-box metrics.

Methodology

The InstructScore pipeline consists of three stages designed to build an explainable evaluator without expensive human data:

  1. Guided Error & Explanation Synthesis: GPT-4 generates synthetic "broken" sentences from high-quality references, including various error types and natural language explanations of the error's location and severity.
  2. Fine-tuning the Exp-Generator: A 7B LLaMA model is fine-tuned on this synthetic dataset to generate structured diagnostic reports from a reference and a candidate output.
  3. Refinement with Meta-Feedback: To mitigate hallucinations, GPT-4 acts as a meta-evaluator, identifying failure modes in the 7B model's reports. The model is then further refined on reports confirmed as accurate.
The three-stage pipeline: guided synthesis, fine-tuning the LLaMA-based Exp-Generator, and refinement via a meta-feedback loop.

The final score is derived by deducting points based on the report: -5 for "Major" errors and -1 for "Minor" errors.

Evaluation and Results

InstructScore was trained on 10,000 sentences across 100 domains and evaluated on benchmarks including WMT22 (Machine Translation), WebNLG20 (Table-to-Text), and CommonGen (Commonsense Generation).

Key results include:

  • Accuracy: InstructScore surpassed all other unsupervised metrics in 8 out of 9 evaluation directions.
  • Competitive Performance: It performed on par with state-of-the-art supervised metrics like COMET22, despite not using human-rated data during training.
  • Feedback Quality: Human evaluators rated 89.4% of diagnostic reports as correct post-refinement.
  • Refinement Impact: The meta-feedback loop improved alignment with human scores by 13.7%.

Conclusion

InstructScore demonstrates that task-specific fine-tuning of smaller models can outperform general-purpose large models in specialized tasks like evaluation. While currently optimized for English, future work aims to expand its multilingual capabilities and incorporate Reinforcement Learning from Human Feedback (RLHF) to further align explanations with expert needs.

Summary updated

BibTeX
@inproceedings{xu2023instructscore,
  author = {Wenda Xu and Danqing Wang and Liangming Pan and Zhenqiao Song and Markus Freitag and William Wang and Lei Li},
  title = {{INSTRUCTSCORE: Towards Explainable Text Generation Evaluation with Automatic Feedback}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=FY0WB4ztX5},
}
Figure