Skip to main content
QUICK REVIEW

[Paper Review] Automatic Text Evaluation through the Lens of Wasserstein Barycenters

Paolo Colombo, Guillaume Staerman|arXiv (Cornell University)|Aug 27, 2021
Topic ModelingComputer Science11 citations
TL;DR

This paper introduces BaryScore, a novel BERT-based automatic text evaluation metric that leverages Wasserstein barycenters to aggregate deep contextualized embeddings across transformer layers, avoiding geometric distortions from traditional aggregation methods. BaryScore achieves state-of-the-art performance on four NLG tasks—machine translation, summarization, image captioning, and data-to-text generation—demonstrating superior consistency and robustness, especially in abstractive summarization where prior BERT-based metrics fail at the system level.

ABSTRACT

A new metric exttt{BaryScore} to evaluate text generation based on deep contextualized embeddings e.g., BERT, Roberta, ELMo) is introduced. This metric is motivated by a new framework relying on optimal transport tools, i.e., Wasserstein distance and barycenter. By modelling the layer output of deep contextualized embeddings as a probability distribution rather than by a vector embedding; this framework provides a natural way to aggregate the different outputs through the Wasserstein space topology. In addition, it provides theoretical grounds to our metric and offers an alternative to available solutions e.g., MoverScore and BertScore). Numerical evaluation is performed on four different tasks: machine translation, summarization, data2text generation and image captioning. Our results show that exttt{BaryScore} outperforms other BERT based metrics and exhibits more consistent behaviour in particular for text summarization.

Motivation & Objective

  • To address the geometric inconsistency introduced by aggregating multi-layer BERT embeddings using Euclidean-based methods like power means in existing metrics such as MoverScore and BertScore.
  • To develop a theoretically grounded, parameter-free method for combining contextualized embeddings across transformer layers using optimal transport principles.
  • To improve automatic text evaluation in natural language generation by leveraging the topological properties of Wasserstein space for more reliable semantic similarity measurement.
  • To demonstrate that Wasserstein barycenters provide a more robust and consistent aggregation framework than layer selection or power mean aggregation in BERT-based metrics.
  • To validate the proposed metric across diverse NLG tasks, including summarization, machine translation, image captioning, and data-to-text generation.

Proposed method

  • The method models the output of each transformer layer as a probability distribution in Wasserstein space, enabling the use of optimal transport theory for semantic comparison.
  • It computes the Wasserstein barycenter of the layer-wise embeddings to aggregate information across layers, preserving the geometric structure of the embedding space.
  • The barycenter is computed using the Wasserstein distance as the ground metric, ensuring that the aggregation is consistent with the underlying metric of the embedding space.
  • The framework avoids hyperparameter tuning by eliminating the need to select a single layer (as in BertScore) or an exponent for power means (as in MoverScore).
  • The final BaryScore is computed as the Wasserstein distance between the barycenter of the reference text and the candidate text, using contextualized embeddings from BERT, RoBERTa, or ELMo.
  • The method is applied uniformly across multiple NLG tasks, with evaluation against human judgments and standard baselines.

Experimental results

Research questions

  • RQ1Can Wasserstein barycenters provide a more consistent and theoretically grounded method for aggregating multi-layer contextual embeddings in text generation evaluation?
  • RQ2Does the proposed BaryScore metric outperform existing BERT-based metrics such as BertScore and MoverScore in terms of correlation with human judgments across diverse NLG tasks?
  • RQ3How does BaryScore perform in scenarios where previous metrics exhibit inconsistency, such as in extractive summarization systems?
  • RQ4Can the barycenter-based aggregation method alleviate the geometric distortion caused by Euclidean aggregation in optimal transport-based metrics?
  • RQ5Is BaryScore robust across different text generation tasks, including those with high lexical variation like summarization and data-to-text generation?

Key findings

  • BaryScore achieves the highest correlation with human judgments on the XSum summarization dataset, outperforming BertScore and MoverScore, particularly at the system level where prior metrics fail.
  • On the WebNLG2020 data-to-text task, BaryScore achieves the best results in 6 out of 9 configurations, demonstrating strong performance and consistency.
  • In image captioning on the MSCOCO dataset, BaryScore outperforms all BERT-based metrics except LEIC, which uses multimodal information, confirming its effectiveness in vision-language tasks.
  • BaryScore maintains high consistency across both text-level and system-level evaluations, unlike BertScore and MoverScore, which show significant performance collapse at the system level for extractive summarization.
  • The metric achieves a Pearson correlation of 0.917 with human judgments on correctness in the WebNLG task, with ρ = 0.900 and τ = 0.783, indicating strong alignment with human evaluation.
  • BaryScore +, a variant with additional normalization, achieves competitive results across all tasks, showing robustness and generalization potential.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.