Robots Atlas>ROBOTS ATLAS
Evaluation

ROUGE-L

2004ActivePublished: 10 September 2026Updated: 10 September 2026Published
Key innovation
Replaced fixed-length n-gram matching with the Longest Common Subsequence (LCS), so the metric rewards preservation of word order without requiring contiguous matches or a pre-set n-gram length.
Category
Evaluation
Abstraction level
Primitive
Operation level
Evaluation (runtime)
Use cases
Automatic summarization evaluationText generation evaluationMachine translationQuestion generation and QASequence-to-sequence model benchmarks

How it works

1) Candidate and reference are tokenized (optionally with stemming and stop-word removal). 2) The Longest Common Subsequence (LCS) is computed — the longest sequence of tokens appearing in both texts in the same order but not necessarily contiguously; solved by dynamic programming in O(m·n) time. 3) LCS recall R_lcs = LCS/m (m = reference length) and LCS precision P_lcs = LCS/n (n = candidate length) are computed. 4) The score is the F-measure: F_lcs = (1+β²)·R_lcs·P_lcs / (R_lcs + β²·P_lcs), where β = P_lcs/R_lcs controls the weight of recall relative to precision. 5) For summary level (ROUGE-Lsum), LCS is computed per sentence pair and unioned (union LCS), capturing the sentence structure of the whole summary.

Problem solved

Fixed-length n-gram metrics (like ROUGE-N or BLEU) penalize valid rewordings with different word order and require an arbitrary choice of n-gram length. ROUGE-L addresses this by measuring the longest order-preserving common subsequence, without requiring contiguity or a fixed n-gram length.

Components

LCS computationCore agreement measurement

Dynamic programming that finds the longest order-preserving common token subsequence, without requiring contiguity.

INTwo token sequences.
OUTLCS length.
LCS F-measureNormalization and scoring

Combines LCS recall and precision into a single beta-weighted F-measure.

Union LCS (summary level)Aggregation variant for multi-sentence summaries

Summary-level LCS aggregation as the union of pairwise sentence LCS; sensitive to sentence splitting.

Official

Implementation

Implementation pitfalls
Confusing ROUGE-L with ROUGE-LsumHigh

ROUGE-L (sentence-level) and ROUGE-Lsum (summary-level, with sentence splitting) differ; reporting without stating the variant yields incomparable results.

Fix:Always state the variant and sentence-splitting method; use the same implementation when comparing.
Inconsistent tokenization and stemmingMedium

Different libraries (Perl ROUGE 1.5.5, rouge-score, pyrouge) produce different scores due to differing tokenization, stemming and stop-word handling.

Fix:Standardize on a single implementation and preprocessing configuration across the study.
Insensitivity to semanticsMedium

ROUGE-L measures only lexical overlap and order; correct paraphrases with different words are undervalued.

Fix:Complement with semantic metrics (BERTScore, BLEURT) and human evaluation.

Evolution

Original paper · 2004 · Text Summarization Branches Out (ACL 2004 Workshop) · Chin-Yew Lin
ROUGE: A Package for Automatic Evaluation of Summaries
Chin-Yew Lin
2004
Introduction of ROUGE and the ROUGE-L variant
Inflection point

Chin-Yew Lin defines the ROUGE package, including the LCS-based ROUGE-L, at the Text Summarization Branches Out workshop.

2004
Adopted as an official DUC metric

ROUGE becomes the standard evaluation metric at the Document Understanding Conference.

2017
Standard in neural abstractive summarization

Models such as the pointer-generator (See et al., 2017) report ROUGE-1/2/L as the primary metric.

2020
ROUGE-Lsum in transformer benchmarks

Work such as PEGASUS (Zhang et al., 2020) reports ROUGE-Lsum, popularizing the google-research/rouge-score implementation.

Hyperparameters (configurable axes)

Beta (recall vs precision weight)High

The β parameter in the F-measure; in original ROUGE β=P_lcs/R_lcs, heavily favoring recall.

1.2Default in google-research/rouge-score (favors recall).
Aggregation levelMedium

Sentence-level (ROUGE-L) vs summary-level (ROUGE-Lsum).

rougeLsumRequires splitting text into sentences.
Preprocessing (stemming / stop-words)Medium

Optional stemming and stop-word removal; changes values and cross-study comparability.

Porter stemmer on/offMust match across compared systems.

Computational complexity

Time complexity: O(m · n). Space complexity: O(m · n).

Compute bottleneck

Dynamic-programming LCS computation

Cost dominated by filling the m×n DP table for each candidate-reference pair; negligible for typical text lengths.

Parallelism

Parallelism level
Fully parallel

A single pair's LCS is internally sequential, but dataset-level evaluation is fully parallel.

Scope
Inference
Constraints
!Each candidate-reference pair is computed independently, allowing full parallelism at the dataset level.

Hardware requirements

Primary

Lightweight string-based algorithm; computed on CPU with no need for accelerators.