Skip to main content
QUICK REVIEW

[Paper Review] Perplexity from PLM Is Unreliable for Evaluating Text Quality

Yequan Wang, Jiawen Deng|arXiv (Cornell University)|Oct 12, 2022
Natural Language Processing TechniquesComputer Science13 citations
TL;DR

This paper demonstrates that perplexity (PPL) computed by pre-trained language models (PLMs) is an unreliable metric for evaluating text quality due to its sensitivity to text length, repetition of spans, and punctuation marks. Despite being widely used to assess fluency, PPL favors longer texts, penalizes minimal punctuation changes, and rewards redundant repetitions—factors that do not reflect true text quality, calling for more robust, multi-faceted evaluation metrics.

ABSTRACT

Recently, amounts of works utilize perplexity~(PPL) to evaluate the quality of the generated text. They suppose that if the value of PPL is smaller, the quality(i.e. fluency) of the text to be evaluated is better. However, we find that the PPL referee is unqualified and it cannot evaluate the generated text fairly for the following reasons: (i) The PPL of short text is larger than long text, which goes against common sense, (ii) The repeated text span could damage the performance of PPL, and (iii) The punctuation marks could affect the performance of PPL heavily. Experiments show that the PPL is unreliable for evaluating the quality of given text. Last, we discuss the key problems with evaluating text quality using language models.

Motivation & Objective

  • To investigate the reliability of perplexity (PPL) as a proxy for text quality in natural language generation.
  • To identify systematic biases in PPL that distort its ability to reflect true fluency and quality.
  • To challenge the widespread assumption that lower PPL always indicates better text quality.
  • To propose design principles for future evaluation metrics that are robust to length, repetition, and minor punctuation changes.

Proposed method

  • Used GPT-2-large to compute PPL on high-quality sentences from the WikiText-2 dataset.
  • Measured PPL changes after systematically modifying input text: varying length, introducing repeated spans, and removing punctuation.
  • Applied cross-entropy loss to compute PPL: PPL(s) = exp(1/m * Σ cross-entropy(ti, Pi)) for token sequence s.
  • Filtered sentences by length to isolate length effects, focusing on PPL stability across different lengths.
  • Compared PPL values before and after removing punctuation marks (especially the final period) to assess sensitivity.
  • Used controlled experiments to isolate the impact of repetition by duplicating spans within sentences.

Experimental results

Research questions

  • RQ1How does text length affect PPL values when evaluating high-quality sentences?
  • RQ2To what extent does PPL penalize or reward redundant or repeated text spans in generated text?
  • RQ3How sensitive is PPL to minor punctuation changes, particularly the removal of terminal punctuation?
  • RQ4Can PPL reliably distinguish between semantically meaningful emphasis and meaningless repetition?
  • RQ5What are the key limitations of using PLM-based PPL as a standalone metric for text fluency and quality?

Key findings

  • PPL values are significantly higher for shorter texts compared to longer ones, even when both are high-quality, indicating a length bias.
  • Repeated text spans consistently reduce PPL values, suggesting PPL favors redundancy over semantic diversity or coherence.
  • Removing the final punctuation mark often leads to a substantial increase in PPL, despite minimal impact on human perception of sentence quality.
  • PPL is highly sensitive to punctuation changes, especially in short sentences, where PPL shifts can be large and inconsistent.
  • The PPL of high-quality Wikipedia-derived sentences varies widely due to non-semantic factors, undermining its reliability as a quality proxy.
  • PPL fails to distinguish between meaningful emphasis and meaningless repetition, making it unsuitable as a standalone fluency metric.

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.