[Paper Review] SemScore: Automated Evaluation of Instruction-Tuned LLMs based on Semantic Textual Similarity
SemScore evaluates instruction-tuned LLM outputs by measuring semantic similarity to gold targets, showing the best correlation with human judgments among 9 metrics across 12 models.
Instruction-tuned Large Language Models (LLMs) have recently showcased remarkable advancements in their ability to generate fitting responses to natural language instructions. However, many current works rely on manual evaluation to judge the quality of generated responses. Since such manual evaluation is time-consuming, it does not easily scale to the evaluation of multiple models and model variants. In this short paper, we propose a straightforward but remarkably effective evaluation metric called SemScore, in which we directly compare model outputs to gold target responses using semantic textual similarity (STS). We conduct a comparative evaluation of the model outputs of 12 prominent instruction-tuned LLMs using 8 widely-used evaluation metrics for text generation. We find that our proposed SemScore metric outperforms all other, in many cases more complex, evaluation metrics in terms of correlation to human evaluation. These findings indicate the utility of our proposed metric for the evaluation of instruction-tuned LLMs.
Motivation & Objective
- Motivate scalable, automated evaluation of instruction-tuned LLMs to replace time-consuming manual judgments.
- Assess the shortcomings of traditional n-gram metrics for evaluating diverse instruction-following tasks.
- Propose a simple, effective semantic similarity-based metric (SemScore) and compare it to existing metrics against human rankings.
- Provide insights into the robustness of SemScore across models and tasks.
Proposed method
- Compute SemScore by embedding model outputs and target responses with a sentence transformer (all-mpnet-base-v2) and taking cosine similarity.
- Collect human evaluations for 12 models (GPT-4, GPT-3.5-turbo, text-davinci variants, LLaMA, Alpaca) on 252 instructions.
- Evaluate 8 baseline text-generation metrics (BLEU, ROUGE-L, BERTScore, BLEURT, BARTScore, BARTScore para, DiscoScore, G-Eval) plus SemScore.
- Correlate automated metric scores with human rankings using Kendall’s tau and Pearson r.
- Ablation: compare SemScore using different pooling strategies (CLS vs mean-pooling) and alternative transformers.
Experimental results
Research questions
- RQ1How well does SemScore correlate with human judgments compared to 8 existing metrics?
- RQ2Does a simple embedding-based STS approach suffice for evaluating instruction-tuned LLM outputs across diverse tasks?
- RQ3What is the impact of the underlying transformer model and pooling strategy on SemScore’s performance?
- RQ4How do instruction-tuned models rank relative to non-instruction-tuned baselines in human evaluations?
Key findings
- SemScore achieves the strongest correlation to human judgments among all metrics tested (Kendall τ = 0.879, Pearson r = 0.970).
- SemScore outperforms LLM-based evaluators like G-Eval in correlation with human rankings under the reported setup.
- Among embedding-based metrics, SemScore slightly outperforms BERTScore for the evaluated dataset.
- Ablation shows SemScore with all-mpnet-base-v2 and normal pooling performs best compared to DeBERTa variants.
- G-Eval and BERTScore also show high correlations, but SemScore remains the top performer in this study.
- The method remains simple, reproducible, and does not require special access to proprietary evaluators.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.