MAUVE (metric)

Metric for evaluating open-ended text generation From Wikipedia, the free encyclopedia

MAUVE is a metric for automatically evaluating the quality of open-ended text generation and other generative models. Developed by researchers at the University of Washington, Allen Institute for AI, and Stanford University, it was first introduced at NeurIPS 2021, where it received and Outstanding Paper Award.[1][2]

Unlike earlier metrics such as BLEU or ROUGE, which rely on n-gram overlap between a candidate and a reference, MAUVE measures how close the distribution of generated text is to the distribution of human-written text in a high-dimensional embedding space.

In 2023, the metric was extended to support the evaluation of computer vision applications (comparing favorably to the Fréchet Inception Distance).[3]

Background

Evaluation of open-ended generation (such as story generation or long-form dialogue) is notoriously difficult. Traditional metrics penalize "creative" but valid deviations from a single reference text. Furthermore, neural language models often suffer from issues like repetitive loops or lack of long-range coherence that n-gram metrics fail to capture.

MAUVE was designed to align more closely with human judgments of "quality" and "diversity" by treating text evaluation as a comparison of two probability distributions: the distribution of human-written text () versus the distribution of machine-generate text ().

Methodology

The calculation of MAUVE involves three primary steps:

  1. Embedding: large batches of human and machine-generated text are mapped into a vector space using a pre-trained transformer model.
  2. Vector quantization: the continuous embeddings are clustered into a finite set of codewords using k-means clustering to form discrete distributions.
  3. Divergence frontier: the metric calculates the trade-off between Type I and type II errors (precision and recall) between the two distributions using the Kullback-Leibler divergence.

Mathematical definition

MAUVE is based on the area under the divergence frontier.[4] For a mixing parameter , the mixture distribution is defined as:

The frontier is composed of the points defined by:

where refers to the Kullback-Leibler divergence. MAUVE is the integral of this curve, providing a single scalar value between 0 and 1. A higher MAUVE score indicates the model distribution is more similar to the human distribution .

Comparison with other metrics

More information Metric, Granularity ...
Comparison of NLG Evaluation Metrics
MetricGranularityCore MechanismBest Use Case
BLEUWord/N-gramExact string overlapMachine Translation
BERTScoreTokenEmbedding similarityParaphrasing
MAUVEDistributionalKL-Divergence on clustersOpen-ended generation
Close

Advantages

MAUVE has shown a much higher correlation with human judgement in tasks like web text generation compare to earlier metrics. It effectively capture the "self-repetition" problem where models become stuck in loops.[1]

Limitations

The metric requires a large sample size (often more than 1000 generations) to provide a stable distributional estimate. It is also computationally expensive as it requires running a large model to generate embeddings and perform clustering. Independent analysis has identified potential "blind spots" in the metric, for example relative insensitivity to errors located at the beginning or middle of generated text sequences.[5]

References

Related Articles

Wikiwand AI