Abstract
Traditional evaluation metrics for text generation, such as BLEU and ROUGE, rely on surface-form n-gram overlaps, often failing to capture semantic equivalence. We present MoverScore, a novel metric that combines contextualized embeddings with the Earth Mover’s Distance (EMD) to evaluate generated text. By utilizing soft alignments between word distributions, MoverScore achieves significantly higher correlations with human judgment across diverse tasks, including machine translation, summarization, and image captioning.
The Limitations of Surface-Form Metrics
For decades, the NLP community has relied on metrics like BLEU and ROUGE. These metrics operate by counting n-gram overlaps—checking if exact words appear in the same order in both the system output and a human reference. However, as neural text generation models have advanced, these "surface-form" metrics have become increasingly inadequate.
A model might produce a perfect paraphrase that conveys the exact same meaning as the reference but uses entirely different vocabulary. In such cases, BLEU yields a low score despite high human ratings. Conversely, a model could produce a nonsensical "word-salad" of high-frequency n-grams that scores well on ROUGE but lacks coherence. The challenge lies in creating an automated metric that understands semantics and rewards meaning preservation regardless of specific word choices.
Proposed Method: MoverScore
MoverScore addresses these challenges through two primary technical pillars:
- Contextualized Embeddings: Unlike static word vectors, MoverScore utilizes embeddings from transformer-based models like BERT. These embeddings capture word meaning based on surrounding context. The authors aggregate information across multiple layers of the transformer using "power means" to create a robust representation.
- Earth Mover’s Distance (EMD): Also known as the Wasserstein distance, EMD treats sentences as distributions of word/n-gram embeddings. It calculates the minimum "cost" required to transform the system distribution into the reference distribution.
A significant innovation in MoverScore is the use of soft alignments. While contemporaneous metrics like BERTScore often rely on "hard" one-to-one mappings, MoverScore allows for many-to-one mappings. This enables a single word in the system output to be mapped to multiple related words in the reference, better capturing complex paraphrasing and abstractive summaries.
Furthermore, the authors found that fine-tuning the underlying BERT model on Natural Language Inference (NLI) tasks—which require understanding entailment and contradiction—further enhances the metric's ability to judge semantic similarity.
Experimental Evaluation
The authors validated MoverScore across four diverse Natural Language Generation (NLG) tasks:
- Machine Translation: WMT17 news translation task (7 language pairs).
- Text Summarization: TAC-2008 and TAC-2009 datasets.
- Image Captioning: MS COCO dataset.
- Data-to-text: BAGEL and SFHOTEL datasets.
Results and Discussion
MoverScore consistently achieved the highest correlation with human judgments across nearly all tested benchmarks. In Machine Translation (WMT17), it reached an average Pearson correlation of 0.743, significantly outperforming BERTScore (0.719) and supervised baselines like RUSE (0.685). In summarization, it surpassed ROUGE-L and strong supervised models on the TAC datasets.
One of the metric's greatest strengths is its ability to distinguish quality. As illustrated in the score distributions below, MoverScore provides a much clearer separation between "bad" and "good" system outputs compared to lexical metrics like SentBLEU.
Key Insights
- Semantics Over Surface Forms: Combining deep contextual representations with robust distance measures consistently outperforms n-gram overlap methods.
- Optimization-Based Matching: Solving the EMD optimization problem allows for more nuanced relationships between sentences than simple greedy matching.
- Generalization: MoverScore is largely unsupervised and generalizes effectively across different domains and languages without task-specific training.
Limitations and Future Work
Despite its success, MoverScore has limitations. Current contextualized encoders can struggle with specific named entities and numerical data, which are critical in data-to-text tasks. Future research directions include reference-less evaluation, where the metric compares system output directly to the source text (e.g., the original document in summarization), potentially eliminating the need for expensive human-authored references.
Summary updated