ACL 2022Text generation · Human evaluation

How Do Seq2Seq Models Perform on End-to-End Data-to-Text Generation?

Xunjian Yin, Xiaojun Wan

Peking University

A high generation score does not explain what a model gets wrong. Fine-grained human annotation reveals how copying, pre-training, and dataset structure affect data-to-text errors.

Result
ToTTo human error scores: adding a copy mechanism to Transformer cuts Omission from 19.74 to 7.48 but raises Addition from 4.38 to 11.01 (lower is better).
New vs prior
Ferreira et al. (2019) compare pipeline and end-to-end data-to-text systems, and PolyTope (Huang et al., 2020) annotates summarization errors; this work applies MQM error annotation to five Seq2Seq models on four datasets.
Limitation
Each model–dataset score rests on 80 annotated outputs, and only models up to 220M parameters were tested; T5-large and BART-large were omitted for compute reasons.

Fluent text can put the right entity in the wrong role

In the paper's Table 2 example, the input gives Round Rock as the largest city of Williamson County and Georgetown as its county seat; the output calls Georgetown the largest city and omits the county seat. The sentence reads naturally, yet it contains a distorted fact and a missing one, each needing a different repair, and a single overlap score cannot say which.

Earlier human evaluations of data-to-text systems covered few samples, datasets, models, or error dimensions. Here annotators locate every error and record its type and severity, giving each model an error profile instead of one number.

Closest prior work

Ferreira et al. (2019) compared pipeline and end-to-end architectures for neural data-to-text generation, and Thomson and Reiter (2020) proposed a protocol for human evaluation of accuracy. Most model comparisons still rely on BLEU or ROUGE, which can disagree with human judgment (Novikova et al., 2017a; Reiter, 2018), and existing human evaluations cover few samples, datasets, models, or error dimensions. This study adapts the MQM-based PolyTope scheme of Huang et al. (2020), developed for summarization, to annotate five Seq2Seq models on four data-to-text datasets.

Faithfulness and content selection are distinct requirements

The study adapts the Multidimensional Quality Metrics (MQM) framework, via the PolyTope scheme for summarization, to eight error types. Inaccuracy Intrinsic distorts information in the input; Inaccuracy Extrinsic adds information absent from it; Addition, narrower than hallucination, is unnecessary material taken from the input. Omission, Positive-Negative Aspect, Duplication, Word Form, and Word Order complete the set. Addition versus Omission matters most for ToTTo, where only highlighted cells should be described.

Published example · Table 2

Annotate the output, then compare with the paper

The study scores outputs from human error annotations: each error segment receives a type and a severity, the severity weight is multiplied by the segment length, and the total is normalized by the word count (Section 4.3). Annotate the paper’s Table 2 output yourself, then reveal the paper’s annotation.

Input triples · Table 2

  1. Austin Texas · is Part Of · Texas
  2. Texas · language · English language
  3. Austin Texas · is Part Of · Williamson County Texas
  4. Williamson County Texas · largest City · Round Rock Texas
  5. Williamson County Texas · county Seat · Georgetown Texaspaper: not expressed in the output

Model output · Table 2

Austin is part of Williamson County Texas where the English is spoken . The largest city in Williamson County is Georgetown.

The paper’s annotation of this output

SegmentTypeSeverityL
GeorgetownInaccuracy Intrinsicnot reported1
county Seat relation (missing)Omissionnot reported1 (fixed)

Adapted · Table 2 caption Georgetown is the county seat, not the largest city, so it is an Inaccuracy Intrinsic error; the county seat is never mentioned, so there is an Omission. The paper does not give the severities, so the score of its annotation depends on them:

Inaccuracy Intrinsic ↓ · Omission →Minor (1)Major (3)Critical (7)
Minor (1)90.080.060.0
Major (3)80.070.050.0
Critical (7)60.050.030.0

Computed · Equation 2 (1 − (α1 + α2) / 20) × 100 for one output of 20 words.

The paper marks two errors here but does not report their severities: with both Major the output scores 70.0; the range is 30.0 to 90.0.

Adapted: input triples and output verbatim from Table 2; error types from Section 4.1; severities and the 1:3:7 ratio from Sections 4.2–4.3; omission length fixed to 1 (footnote 3). Computed: every score, using Equations 1–2 over this single output (20 words, punctuation not counted). The paper normalizes by all annotated outputs of a dataset (80 per model), so one output moves a system score far less. Table 2 does not report severities; its annotation is scored for every severity combination. The measured Table 6 averages appear under Reading the evidence.Paper (ACL 2022) ↗

Each error span gets a type and a severity: minor, major, or critical. Five annotators, selected from eight by a qualification test, labeled 1,600 outputs (80 inputs × four datasets × five models), each twice; outputs whose two error scores diverged too much were replaced, and annotators did not know which model produced an output.

  1. 01

    Compare representative models

    Evaluate Transformer, a pointer-generator Transformer, T5-small, T5-base, and BART-base on E2E, WebNLG, WikiBio, and ToTTo.

  2. 02

    Annotate specific errors

    Use an adapted MQM framework with eight error types covering accuracy and fluency, rather than relying only on automatic scores.

  3. 03

    Analyze the contributing factors

    Compare error profiles across architectures, pre-training, model sizes, and dataset structures to identify useful techniques and remaining weaknesses.

An architectural improvement can move errors between categories

Measured · Table 6

Which error types cost the most across the study

Average severity-weighted, length-normalized error score of each type over all models and datasets (Table 6, lower is better). Each score is Σ αe Le / wordcount for that type, the quantity the annotation demo in Inside the method computes for one output.

Error typeAverage error score ↓
Omission5.97
Inaccuracy Intrinsic5.25
Inaccuracy Extrinsic2.30
Addition1.48
Duplication0.63
Word Order0.56
Word Form0.23
Positive-Negative Aspect0.17

Measured · Table 6 printed averages. Shaded rows are the two error types of the Table 2 example (Omission and Inaccuracy Intrinsic); they carry the two largest average penalties. The other six types together sum to 5.37.

Copying preserves input content but also pulls in content the description does not need: on ToTTo, the copy model's Omission score falls by more than half while its Addition score more than doubles (Table 5). The paper attributes the extra additions to an auto-regressive decoder that copies long input spans and is hard to interrupt.

BLEU's overall trend agrees with human evaluation, but the paper reports a Pearson correlation of 0.61 between BLEU and the accuracy score and only 0.08 for fluency (Section 6), and rankings of close models can flip, as on E2E. Pre-training has the largest effect in Table 3: pre-trained models beat the others by a wide margin on every dataset except E2E.

Table 5 (ToTTo rows; the Positive-Negative Aspect column, 0 for every model on ToTTo, is omitted), with each model's overall ToTTo human score from Table 3. Error columns are severity-weighted, length-normalized error scores from human MQM annotation of 80 outputs per model, lower is better; the human score is 100 minus the summed error scores, up to rounding, higher is better. ptr-gen is the Transformer with a copy mechanism. On ToTTo, copying reduces Omission but raises Addition and Word Form; the rise in Addition also appears on WikiBio and WebNLG, but not on E2E. Source ↗

Model (ToTTo)AdditionDuplicationExtrinsicIntrinsicOmissionWord FormWord OrderHuman score↑
Transformer4.382.3811.0317.0219.740045.41
ptr-gen11.011.319.1113.477.483.01054.57
T5-small0005.369.190085.44
T5-base001.864.384.3800.7688.59
BART-base001.792.412.6602.4190.71

Scope. All four datasets are English and differ in how much content selection they require, from fully specified WebNLG triples and partially specified E2E records to ToTTo's highlighted cells and WikiBio's unspecified infobox content (Table 1). Read the study ↗

Further reading in the paperPaper · Sections 4–6 and Tables 2–5 ↗Evaluation code and data ↗
Read the abstract

With the rapid development of deep learning, Seq2Seq paradigm has become prevalent for end-to-end data-to-text generation, and the BLEU scores have been increasing in recent years. However, it is widely recognized that there is still a gap between the quality of the texts generated by models and the texts written by human. In order to better understand the ability of Seq2Seq models, evaluate their performance and analyze the results, we choose to use Multidimensional Quality Metric(MQM) to evaluate several representative Seq2Seq models on end-to-end data-to-text generation. We annotate the outputs of five models on four datasets with eight error types and find that 1) copy mechanism is helpful for the improvement in Omission and Inaccuracy Extrinsic errors but it increases other types of errors such as Addition; 2) pre-training techniques are highly effective, and pre-training strategy and model size are very significant; 3) the structure of the dataset also influences the model’s performance greatly; 4) some specific types of errors are generally challenging for seq2seq models.

Full paper ↗
Citation BibTeX
@inproceedings{yin-wan-2022-seq2seq,
    title = "How Do {S}eq2{S}eq Models Perform on End-to-End Data-to-Text Generation?",
    author = "Yin, Xunjian and Wan, Xiaojun",
    booktitle = "Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics",
    year = "2022",
    url = "https://aclanthology.org/2022.acl-long.531/",
    pages = "7701--7710"
}