EMNLP_17_submission
The dataset and statistical analysis code released with the submission of EMNLP 2017 paper "Why We Need New Evaluation Metrics for NLG"
view repo
The majority of NLG evaluation relies on automatic metrics, such as BLEU . In this paper, we motivate the need for novel, system- and data-independent automatic evaluation methods: We investigate a wide range of metrics, including state-of-the-art word-based and novel grammar-based ones, and demonstrate that they only weakly reflect human judgements of system outputs as generated by data-driven, end-to-end NLG. We also show that metric performance is data- and system-specific. Nevertheless, our results also suggest that automatic metrics perform reliably at system-level and can support system development by finding cases where a system performs poorly.
READ FULL TEXT VIEW PDFThe dataset and statistical analysis code released with the submission of EMNLP 2017 paper "Why We Need New Evaluation Metrics for NLG"
Automatic evaluation measures, such as bleu (Papineni et al., 2002)
, are used with increasing frequency to evaluate Natural Language Generation (NLG) systems: Up to 60% of NLG research published between 2012–2015 relies on automatic metrics
(Gkatzia and Mahamood, 2015). Automatic evaluation is popular because it is cheaper and faster to run than human evaluation, and it is needed for automatic benchmarking and tuning of algorithms. The use of such metrics is, however, only sensible if they are known to be sufficiently correlated with human preferences. This is rarely the case, as shown by various studies in NLG (Stent et al., 2005; Belz and Reiter, 2006; Reiter and Belz, 2009), as well as in related fields, such as dialogue systems (Liu et al., 2016), machine translation (MT) (Callison-Burch et al., 2006), and image captioning (Elliott and Keller, 2014; Kilickaya et al., 2017). This paper follows on from the above previous work and presents another evaluation study into automatic metrics with the aim to firmly establish the need for new metrics. We consider this paper to be the most complete study to date, across metrics, systems, datasets and domains, focusing on recent advances in data-driven NLG. In contrast to previous work, we are the first to:Target end-to-end data-driven NLG, where we compare 3 different approaches. In contrast to NLG methods evaluated in previous work, our systems can produce ungrammatical output by (a) generating word-by-word, and (b) learning from noisy data.
Compare a large number of 21 automated metrics, including novel grammar-based ones.
Report results on two different domains and three different datasets, which allows us to draw more general conclusions.
Conduct a detailed error analysis, which suggests that, while metrics can be reasonable indicators at the system-level, they are not reliable at the sentence-level.
Make all associated code and data publicly available, including detailed analysis results.111Available for download at: https://github.com/jeknov/EMNLP_17_submission
In this paper, we focus on recent end-to-end, data-driven NLG methods, which jointly learn sentence planning and surface realisation from non-aligned data (Dušek and Jurčíček, 2015; Wen et al., 2015; Mei et al., 2016; Wen et al., 2016; Sharma et al., 2016; Dušek and Jurčíček, 2016, Lampouras and Vlachos, 2016). These approaches do not require costly semantic alignment between Meaning Representations (MR) and human references (also referred to as “ground truth” or “targets”), but are based on parallel datasets, which can be collected in sufficient quality and quantity using effective crowdsourcing techniques, e.g. (Novikova et al., 2016), and as such, enable rapid development of NLG components in new domains. In particular, we compare the performance of the following systems:
rnnlg:222https://github.com/shawnwun/RNNLG The system by Wen et al. (2015)
uses a Long Short-term Memory (LSTM) network to jointly address sentence planning and surface realisation. It augments each LSTM cell with a gate that conditions it on the input MR, which allows it to keep track of MR contents generated so far.
TGen:333https://github.com/UFAL-DSG/tgen The system by Dušek and Jurčíček (2015) learns to incrementally generate deep-syntax dependency trees of candidate sentence plans (i.e. which MR elements to mention and the overall sentence structure). Surface realisation is performed using a separate, domain-independent rule-based module.
lols:444https://github.com/glampouras/JLOLS_NLG The system by Lampouras and Vlachos (2016) learns sentence planning and surface realisation using Locally Optimal Learning to Search (lols
), an imitation learning framework which learns using
bleu and rougeas non-decomposable loss functions.
System | Dataset | Total | ||
---|---|---|---|---|
Bagel | SFRest | SFHotel | ||
lols | 202 | 581 | 398 | 1,181 |
rnnlg | - | 600 | 477 | 1,077 |
TGen | 202 | - | - | 202 |
[0.5pt/2pt] Total | 404 | 1,181 | 875 | 2,460 |
We consider the following crowdsourced datasets, which target utterance generation for spoken dialogue systems. Table 1 shows the number of system outputs for each dataset. Each data instance consists of one MR and one or more natural language references as produced by humans, such as the following example, taken from the Bagel dataset:555Note that we use lexicalised versions of SFHotel and SFRest and a partially lexicalised version of Bagel, where proper names and place names are replaced by placeholders (“X”), in correspondence with the outputs generated by the systems, as provided by the system authors.
MR: inform(name=X, area=X, pricerange=moderate, type=restaurant)
Reference: “X is a moderately priced restaurant in X.”
SFHotel & SFRest (Wen et al., 2015) provide information about hotels and restaurants in San Francisco. There are 8 system dialogue act types, such as inform, confirm, goodbye etc. Each domain contains 12 attributes, where some are common to both domains, such as name, type, pricerange, address, area, etc., and the others are domain-specific, e.g. food and kids-allowed for restaurants; hasinternet and dogs-allowed for hotels. For each domain, around 5K human references were collected with 2.3K unique human utterances for SFHotel and 1.6K for SFRest. The number of unique system outputs produced is 1181 for SFRest and 875 for SFHotel.
Bagel (Mairesse et al., 2010) provides information about restaurants in Cambridge. The dataset contains 202 aligned pairs of MRs and 2 corresponding references each. The domain is a subset of SFRest, including only the inform act and 8 attributes.
NLG evaluation has borrowed a number of automatic metrics from related fields, such as MT, summarisation or image captioning, which compare output texts generated by systems to ground-truth references produced by humans. We refer to this group as word-based metrics. In general, the higher these scores are, the better or more similar to the human references the output is.666Except for ter whose scale is reversed. The following order reflects the degree these metrics move from simple -gram overlap to also considering term frequency (TF-IDF) weighting and semantically similar words.
Word-overlap Metrics (WOMs): We consider frequently used metrics, including ter (Snover et al., 2006), bleu (Papineni et al., 2002), rouge (Lin, 2004), nist (Doddington, 2002), lepor (Han et al., 2012), cider (Vedantam et al., 2015), and meteor (Lavie and Agarwal, 2007).
Semantic Similarity (sim): We calculate the Semantic Text Similarity measure designed by Han et al. (2013). This measure is based on distributional similarity and Latent Semantic Analysis (LSA) and is further complemented with semantic relations extracted from WordNet.
Grammar-based measures have been explored in related fields, such as MT (Giménez and Màrquez, 2008) or grammatical error correction (Napoles et al., 2016), and, in contrast to WBMs, do not rely on ground-truth references. To our knowledge, we are the first to consider GBMs for sentence-level NLG evaluation. We focus on two important properties of texts here – readability and grammaticality:
Readability quantifies the difficulty with which a reader understands a text, as used for e.g. evaluating summarisation (Kan et al., 2001) or text simplification (Francois and Bernhard, 2014). We measure readability by the Flesch Reading Ease score (re) (Flesch, 1979), which calculates a ratio between the number of characters per sentence, the number of words per sentence, and the number of syllables per word. Higher re score indicates a less complex utterance that is easier to read and understand. We also consider related measures, such as characters per utterance (len) and per word (cpw), words per sentence (wps), syllables per sentence (sps) and per word (spw), as well as polysyllabic words per utterance (pol) and per word (ppw). The higher these scores, the more complex the utterance.
Grammaticality: In contrast to previous NLG methods, our corpus-based end-to-end systems can produce ungrammatical output by (a) generating word-by-word, and (b) learning from noisy data. As a first approximation of grammaticality, we measure the number of misspellings (msp) and the parsing score as returned by the Stanford parser (prs). The lower the msp, the more grammatically correct an utterance is. The Stanford parser score is not designed to measure grammaticality, however, it will generally prefer a grammatical parse to a non-grammatical one.777http://nlp.stanford.edu/software/parser-faq.shtml Thus, lower parser scores indicate less grammatically-correct utterances. In future work, we aim to use specifically designed grammar-scoring functions, e.g. (Napoles et al., 2016), once they become publicly available.
To collect human rankings, we presented the MR together with 2 utterances generated by different systems side-by-side to crowdworkers, which were asked to score each utterance on a 6-point Likert scale for:
Informativeness: Does the utterance provide all the useful information from the meaning representation?
Naturalness: Could the utterance have been produced by a native speaker?
Quality: How do you judge the overall quality of the utterance in terms of its grammatical correctness and fluency?
Each system output (see Table 1) was scored by 3 different crowdworkers. To reduce participants’ bias, the order of appearance of utterances produced by each system was randomised and crowdworkers were restricted to evaluate a maximum of 20 utterances. The crowdworkers were selected from English-speaking countries only, based on their IP addresses, and asked to confirm that English was their native language.
To assess the reliability of ratings, we calculated the intra-class correlation coefficient (ICC), which measures inter-observer reliability on ordinal data for more than two raters (Landis and Koch, 1977). The overall ICC across all three datasets is 0.45 (), which corresponds to a moderate agreement. In general, we find consistent differences in inter-annotator agreement per system and dataset, with lower agreements for lols than for rnnlg and TGen. Agreement is highest for the SFHotel dataset, followed by SFRest and Bagel (details provided in supplementary material).
max width=1 Bagel SFHotel SFRest metric TGen lols rnnlg lols rnnlg lols WOMs More overlap More overlap* More overlap* sim More similar More similar* More similar [1pt/3pt] GBMs Better grammar(*) Better grammar(*) Better grammar re More complex* More complex* More complex* inform 4.77(Sd=1.09) 4.91(Sd=1.23) 5.47*(Sd=0.81) 5.27(Sd=1.02) 5.29*(Sd=0.94) 5.16(Sd=1.07) natural 4.76(Sd=1.26) 4.67(Sd=1.25) 4.99*(Sd=1.13) 4.62(Sd=1.28) 4.86(Sd=1.13) 4.74(Sd=1.23) quality 4.77(Sd=1.19) 4.54(Sd=1.28) 4.54(Sd=1.18) 4.53(Sd=1.26) 4.51(Sd=1.14) 4.58(Sd=1.33)
Table 2 summarises the individual systems’ overall corpus-level performance in terms of automatic and human scores (details are provided in the supplementary material).
All WOMs produce similar results, with sim showing different results for the restaurant domain (Bagel and SFRest). Most GBMs show the same trend (with different levels of statistical significance), but re is showing inverse results. System performance is dataset-specific: For WBMs, the lols system consistently produces better results on Bagel compared to TGen, while for SFRest and SFHotel, lols is outperformed by rnnlg in terms of WBMs. We observe that human informativeness ratings follow the same pattern as WBMs, while the average similarity score (sim) seems to be related to human quality ratings.
Looking at GBMs, we observe that they seem to be related to naturalness and quality ratings. Less complex utterances, as measured by readability (re) and word length (cpw), have higher naturalness ratings. More complex utterances, as measured in terms of their length (len), number of words (wps), syllables (sps, spw) and polysyllables (pol, ppw), have lower quality evaluation. Utterances measured as more grammatical are on average evaluated higher in terms of naturalness.
These initial results suggest a relation between automatic metrics and human ratings at system level. However, average scores can be misleading, as they do not identify worst-case scenarios. This leads us to inspect the correlation of human and automatic metrics for each MR-system output pair at utterance level.
max width=1 Bagel SFHotel SFRest TGen lols rnnlg lols rnnlg lols Best inform. 0.30* (bleu-1) 0.20* (rouge) 0.09 (bleu-1) 0.14* (lepor) 0.13* (sim) 0.28* (lepor) WBM natural. -0.19* (ter) -0.19* (ter) 0.10* (meteor) -0.20* (ter) 0.17* (rouge) 0.19* (meteor) quality -0.16* (ter) 0.16* (meteor) 0.10* (meteor) -0.12* (ter) 0.09* (meteor) 0.18* (lepor) Best inform. 0.33* (wps) 0.16* (ppw) -0.09 (ppw) 0.13* (cpw) 0.11* (len) 0.21* (len) GBM natural. -0.25* (len) -0.28* (wps) -0.17* (len) -0.18* (sps) -0.19* (wps) -0.21* (sps) quality -0.19* (cpw) 0.31* (prs) -0.16* (ppw) -0.17* (spw) 0.11* (prs) -0.16* (sps)
We calculate the correlation between automatic metrics and human ratings using the Spearman coefficient (
). We split the data per dataset and system in order to make valid pairwise comparisons. To handle outliers within human ratings, we use the median score of the three human raters.
888As an alternative to using the median human judgment for each item, a more effective way to use all the human judgments could be to use Hovy et al. (2013)’s MACE tool for inferring the reliability of judges. Following Kilickaya et al. (2017), we use the Williams’ test (Williams, 1959) to determine significant differences between correlations. Table 3 summarises the utterance-level correlation results between automatic metrics and human ratings, listing the best (i.e. highest absolute ) results for each type of metric (details provided in supplementary material). Our results suggest that:In sum, no metric produces an even moderate correlation with human ratings, independently of dataset, system, or aspect of human rating. This contrasts with our initially promising results on the system level (see Section 6) and will be further discussed in Section 8. Note that similar inconsistencies between document- and sentence-level evaluation results are observed in MT (Specia et al., 2010).
Similar to our results in Section 6, we find that WBMs show better correlations to human ratings of informativeness (which reflects content selection), whereas GBMs show better correlations to quality and naturalness.
Human ratings for informativeness, naturalness and quality are highly correlated with each other, with the highest correlation between the latter two () reflecting that they both target surface realisation.
All WBMs produce similar results (see Figure 1 and 2): They are strongly correlated with each other, and most of them produce correlations with human ratings which are not significantly different from each other. GBMs, on the other hand, show greater diversity.
Correlation results are system- and dataset-specific (details provided in supplementary material). We observe the highest correlation for TGen on Bagel (Figures 1 and 2) and lols on SFRest, whereas rnnlg often shows low correlation between metrics and human ratings. This lets us conclude that WBMs and GBMs are sensitive to different systems and datasets.
The highest positive correlation is observed between the number of words (wps) and informativeness for the TGen system on Bagel (,, see Figure 1). However, the wps metric (amongst most others) is not robust across systems and datasets: Its correlation on other datasets is very weak, () and its correlation with informativeness ratings of lols outputs is insignificant.
As a sanity check, we also measure a random score which proves to have a close-to-zero correlation with human ratings (highest ).
We now evaluate a more coarse measure, namely the metrics’ ability to predict relative human ratings. That is, we compute the score of each metric for two system output sentences corresponding to the same MR. The prediction of a metric is correct if it orders the sentences in the same way as median human ratings (note that ties are allowed). Following previous work (Vedantam et al., 2015; Kilickaya et al., 2017), we mainly concentrate on WBMs. Results summarised in Table 4 show that most metrics’ performance is not significantly different from that of a random score (Wilcoxon signed rank test). While the random score fluctuates between 25.4–44.5% prediction accuracy, the metrics achieve an accuracy of between 30.6–49.8%. Again, the performance of the metrics is dataset-specific: Metrics perform best on Bagel data; for SFHotel, metrics show mixed performance while for SFRest, metrics perform worst.
max width=0.5 informat. naturalness quality Bagel raw data ter, bleu1-4, rouge, nist, lepor, cider, meteor, sim ter, bleu1-4, rouge, nist, lepor, cider, meteor, sim ter, bleu1-4, rouge, nist, lepor, cider, meteor, sim SFHotel raw data ter, bleu1-4, rouge, lepor, cider, meteor, sim meteor N/A SFRest raw data sim lepor N/A 2-5[1pt/3pt] quant. data ter, bleu1-4, rouge, nist, lepor, cider, meteor sim N/A N/A
Discussion: Our data differs from the one used in previous work (Vedantam et al., 2015; Kilickaya et al., 2017), which uses explicit relative rankings (“Which output do you prefer?”), whereas we compare two Likert-scale ratings. As such, we have 3 possible outcomes (allowing ties). This way, we can account for equally valid system outputs, which is one of the main drawbacks of forced-choice approaches (Hodosh and Hockenmaier, 2016). Our results are akin to previous work: Kilickaya et al. (2017) report results between 60-74% accuracy for binary classification on machine-machine data, which is comparable to our results for 3-way classification.
Still, we observe a mismatch between the ordinal human ratings and the continuous metrics. For example, humans might rate system A and system B both as a 6, whereas bleu, for example, might assign 0.98 and 1.0 respectively, meaning that bleu will declare system B as the winner. In order to account for this mismatch, we quantise our metric data to the same scale as the median scores from our human ratings.999Note that this mismatch can also be accounted for by continuous rating scales, as suggested by Belz and Kow (2011). Applied to SFRest, where we previously got our worst results, we can see an improvement for predicting informativeness, where all WBMs now perform significantly better than the random baseline (see Table 4). In the future, we will investigate related discriminative approaches, e.g. (Hodosh and Hockenmaier, 2016; Kannan and Vinyals, 2017), where the task is simplified to distinguishing correct from incorrect output.
In this section, we attempt to uncover why automatic metrics perform so poorly.
We first explore the hypothesis that metrics are good in distinguishing extreme cases, i.e. system outputs which are rated as clearly good or bad by the human judges, but do not perform well for utterances rated in the middle of the Likert scale, as suggested by Kilickaya et al. (2017). We ‘bin’ our data into three groups: bad, which comprises low ratings (2); good, comprising high ratings (5); and finally a group comprising average ratings.
We find that utterances with low human ratings of informativeness and naturalness correlate significantly better () with automatic metrics than those with average and good human ratings. For example, as shown in Figure 3, the correlation between WBMs and human ratings for utterances with low informativeness scores ranges between (moderate correlation), while the highest correlation for utterances of average and high informativeness barely reaches (very weak correlation). The same pattern can be observed for correlations with quality and naturalness ratings.
This discrepancy in correlation results between low and other user ratings, together with the fact that the majority of system outputs are rated “good” for informativeness (79%), naturalness (64%) and quality (58%), whereas low ratings do not exceed 7% in total, could explain why the overall correlations are low (Section 7) despite the observed trends in relationship between average system-level performance scores (Section 6). It also explains why the rnnlg system, which contains very few instances of low user ratings, shows poor correlation between human ratings and automatic metrics.
max width=1 No. system MR system output human reference WOMs sim humans 1 lols inform(name = the donatello, hasinternet = yes) well there is a hotel with internet access called the donatello the donatello has internet 1.4 5 6 2 lols inform_nomatch(area = embarcadero, kidsallowed = yes, pricerange = expensive) i but i but i but i but i but i but i but i but i but i unfortunately i could not find any expensive restaurants in embarcadero that allow kids. 1.1 1 1 3 TGen inform(name = X, area = riverside, eattype = restaurant, food = fastfood, pricerange = cheap) x is a restaurant on the riverside called located at the riverside and at is x is a cheap fastfood restaurant located near the riverside 2.4 4 1 4 rnnlg inform_nomatch(kidsallowed = yes, food = moroccan) i am sorry, i did not find any restaurants that allows kids and serve moroccan. sorry, there are no restaurants allowing kids and serving moroccan food 1.85 4 5
Characteristics of Data: In Section 7.1, we observed that datasets have a significant impact on how well automatic metrics reflect human ratings. A closer inspection shows that Bagel data differs significantly from SFRest and SFHotel, both in terms of grammatical and MR properties. Bagel has significantly shorter references both in terms of number of characters and words compared to the other two datasets. Although being shorter, the words in Bagel references are significantly more often polysyllabic. Furthermore, Bagel only consists of utterances generated from inform MRs, while SFRest and SFHotel also have less complex MR types, such as confirm, goodbye, etc. Utterances produced from inform MRs are significantly longer and have a significantly higher correlation with human ratings of informativeness and naturalness than non-inform utterance types. In other words, Bagel is the most complex dataset to generate from. Even though it is more complex, metrics perform most reliably on Bagel here (note that the correlation is still only weak). One possible explanation is that Bagel only contains two human references per MR, whereas SFHotel and SFRest both contain 5.35 references per MR on average. Having more references means that WBMs naturally will return higher scores (‘anything goes’). This problem could possibly be solved by weighting multiple references according to their quality, as suggested by (Galley et al., 2015), or following a reference-less approach (Specia et al., 2010).
Quality of Data: Our corpora contain crowdsourced human references that have grammatical errors, e.g. “Fifth Floor does not allow childs” (SFRest reference). Corpus-based methods may pick up these errors, and word-based metrics will rate these system utterances as correct, whereas we can expect human judges to be sensitive to ungrammatical utterances. Note that the parsing score (while being a crude approximation of grammaticality) achieves one of our highest correlation results against human ratings, with . Grammatical errors raise questions about the quality of the training data, especially when being crowdsourced. For example, Belz and Reiter (2006) find that human experts assign low rankings to their original corpus text. Again, weighting (Galley et al., 2015) or reference-less approaches (Specia et al., 2010) might remedy this issue.
max width=1 Dimension of human ratings Study Sentence Planning Surface Realisation Domain this paper weak positive (, WPS) weak negative (, parser) NLG, restaurant/hotel search (Reiter and Belz, 2009) none strong positive (Pearson’s , nist) NLG, weather forecast (Stent et al., 2005) weak positive (, LSA) negative (, nist) paraphrasing of news (Liu et al., 2016) weak positive (, bleu-4) N/A dialogue/Twitter pairs (Elliott and Keller, 2014) positive (, meteor) N/A image caption (Kilickaya et al., 2017) positive (, spice) N/A image caption (Cahill, 2009) N/A negative (, rouge) NLG, German news texts (Espinosa et al., 2010) weak positive (, ter) positive (, bleu-4) NLG, news texts
As shown in previous sections, word-based metrics moderately agree with humans on bad quality output, but cannot distinguish output of good or medium quality. Table 5 provides examples from our three systems.101010Please note that WBMs tend to match against the reference that is closest to the generated output. Therefore, we only include the closest match in Table 5 for simplicity. Again, we observe different behaviour between WOMs and sim scores. In Example 1, lols generates a grammatically correct English sentence, which represents the meaning of the MR well, and, as a result, this utterance received high human ratings (median = 6) for informativeness, naturalness and quality. However, WOMs rate this utterance low, i.e. scores of bleu1-4, nist, lepor, cider, rouge and meteor normalised into the 1-6 range all stay below 1.5. This is because the system-generated utterance has low overlap with the human/corpus references. Note that the sim score is high (5), as it ignores human references and computes distributional semantic similarity between the MR and the system output. Examples 2 and 3 show outputs which receive low scores from both automatic metrics and humans. WOMs score these system outputs low due to little or no overlap with human references, whereas humans are sensitive to ungrammatical output and missing information (the former is partially captured by GBMs). Examples 2 and 3 also illustrate inconsistencies in human ratings since system output 2 is clearly worse than output 3 and both are rated by human with a median score of 1. Example 4 shows an output of the rnnlg system which is semantically very similar to the reference (sim=4) and rated high by humans, but WOMs fail to capture this similarity. GBMs show more accurate results for this utterance, with mean of readability scores 4 and parsing score 3.5.
Table 6 summarises results published by previous studies in related fields which investigate the relation between human scores and automatic metrics. These studies mainly considered WBMs, while we are the first study to consider GBMs. Some studies ask users to provide separate ratings for surface realisation (e.g. asking about ‘clarity’ or ‘fluency’), whereas other studies focus only on sentence planning (e.g. ‘accuracy’, ‘adequacy’, or ‘correctness’). In general, correlations reported by previous work range from weak to strong. The results confirm that metrics can be reliable indicators at system-level (Reiter and Belz, 2009), while they perform less reliably at sentence-level (Stent et al., 2005). Also, the results show that the metrics capture realization better than sentence planning. There is a general trend showing that best-performing metrics tend to be the more complex ones, combining word-overlap, semantic similarity and term frequency weighting. Note, however, that the majority of previous works do not report whether any of the metric correlations are significantly different from each other.
This paper shows that state-of-the-art automatic evaluation metrics for NLG systems do not sufficiently reflect human ratings, which stresses the need for human evaluations. This result is opposed to the current trend of relying on automatic evaluation identified in
(Gkatzia and Mahamood, 2015).A detailed error analysis suggests that automatic metrics are particularly weak in distinguishing outputs of medium and good quality, which can be partially attributed to the fact that human judgements and metrics are given on different scales. We also show that metric performance is data- and system-specific.
Nevertheless, our results also suggest that automatic metrics can be useful for error analysis by helping to find cases where the system is performing poorly. In addition, we find reliable results on system-level, which suggests that metrics can be useful for system development.
Word-based metrics make two strong assumptions: They treat human-generated references as a gold standard, which is correct and complete. We argue that these assumptions are invalid for corpus-based NLG, especially when using crowdsourced datasets. Grammar-based metrics, on the other hand, do not rely on human-generated references and are not influenced by their quality. However, these metrics can be easily manipulated with grammatically correct and easily readable output that is unrelated to the input. We have experimented with combining WBMs and GBMs using ensemble-based learning. However, while our model achieved high correlation with humans within a single domain, its cross-domain performance is insufficient.
Our paper clearly demonstrates the need for more advanced metrics, as used in related fields, including: assessing output quality within the dialogue context, e.g. (Dušek and Jurčíček, 2016); extrinsic evaluation metrics, such as NLG’s contribution to task success, e.g. (Rieser et al., 2014; Gkatzia et al., 2016; Hastie et al., 2016); building discriminative models, e.g. (Hodosh and Hockenmaier, 2016), (Kannan and Vinyals, 2017); or reference-less quality prediction as used in MT, e.g. (Specia et al., 2010). We see our paper as a first step towards reference-less evaluation for NLG by introducing grammar-based metrics. In current work (Dušek et al., 2017)
, we investigate a reference-less quality estimation approach based on recurrent neural networks, which predicts a quality score for a NLG system output by comparing it to the source meaning representation only.
Finally, note that the datasets considered in this study are fairly small (between 404 and 2.3k human references per domain). To remedy this, systems train on de-lexicalised versions (Wen et al., 2015), which bears the danger of ungrammatical lexicalisation (Sharma et al., 2016) and a possible overlap between testing and training set (Lampouras and Vlachos, 2016). There are ongoing efforts to release larger and more diverse data sets, e.g. (Novikova et al., 2016, 2017).
This research received funding from the EPSRC projects DILiGENt (EP/M005429/1) and MaDrIgAL (EP/N017536/1). The Titan Xp used for this research was donated by the NVIDIA Corporation.
Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)
. Beijing, China, pages 451–461. http://aclweb.org/anthology/P15-1044.Proceedings of the 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR)
. Boston, MA, USA, pages 4566–4575. https://doi.org/10.1109/CVPR.2015.7299087.max width=1 Bagel SFHotel SFRest Inf: 0.16* Nat: 0.36* Qua: 0.38* Inf: 0.41* Nat: 0.47* Qua: 0.52* Inf: 0.35* Nat: 0.29* Qua: 0.35* TGen: 0.42* lols: 0.24* rnnlg: 0.52* lols: 0.45* rnnlg: 0.28* lols: 0.38* Total Bagel: 0.31* Total SFHotel: 0.50* Total SFRest: 0.35* Total all data: 0.45*
Bagel | SFHotel | SFRest | ||||
TGen | lols | rnnlg | lols | rnnlg | lols | |
metric | Avg / StDev | Avg / StDev | Avg / StDev | Avg / StDev | Avg / StDev | Avg / StDev |
ter | 0.36/0.24 | 0.33/0.24 | 0.28*/0.27 | 0.65*/0.32 | 0.41*/0.35 | 0.65*/0.27 |
bleu1 | 0.75*/0.21 | 0.81*/0.16 | 0.85*/0.18 | 0.66*/0.23 | 0.73*/0.24 | 0.59*/0.23 |
bleu2 | 0.68/0.23 | 0.72/0.21 | 0.78*/0.25 | 0.54*/0.28 | 0.62*/0.31 | 0.45*/0.29 |
bleu3 | 0.60/0.28 | 0.63/0.26 | 0.69*/0.32 | 0.42*/0.33 | 0.52*/0.37 | 0.34*/0.33 |
bleu4 | 0.52/0.32 | 0.53/0.33 | 0.56*/0.40 | 0.28*/0.33 | 0.44*/0.41 | 0.24*/0.32 |
rouge | 0.76/0.18 | 0.78/0.17 | 0.83*/0.18 | 0.64*/0.21 | 0.72*/0.24 | 0.58*/0.22 |
nist | 4.44*/2.05 | 4.91*/2.04 | 4.37*/2.19 | 3.49*/1.99 | 4.86*/2.55 | 4.01*/2.07 |
lepor | 0.46*/0.22 | 0.50*/0.19 | 0.52*/0.23 | 0.30*/0.16 | 0.51*/0.25 | 0.30*/0.17 |
cider | 2.92/2.40 | 3.01/2.27 | 3.08*/2.05 | 1.66*/1.67 | 3.39*/2.53 | 2.09*/1.73 |
meteor | 0.50/0.22 | 0.53/0.23 | 0.62*/0.27 | 0.44*/0.20 | 0.54*/0.28 | 0.41*/0.19 |
sim | 0.66/0.09 | 0.65/0.12 | 0.76*/0.15 | 0.73*/0.14 | 0.76/0.13 | 0.77/0.14 |
re | 86.79/19.48 | 83.39/20.41 | 70.90/17.07 | 69.62/19.14 | 64.67/19.07 | 64.27/22.22 |
msp | 0.04*/0.21 | 0.14*/0.37 | 0.68/0.78 | 0.69/0.77 | 0.78/0.82 | 0.85/0.89 |
prs | 84.51*/25.78 | 93.30*/27.04 | 97.58*/32.58 | 107.90*/36.41 | 93.74/34.98 | 97.20/39.30 |
len | 38.20*/14.22 | 42.54*/14.11 | 49.06*/15.77 | 51.69*/17.30 | 53.27*/19.50 | 50.92*/18.74 |
wps | 10.08*/3.10 | 10.94*/3.19 | 11.43*/3.63 | 12.07*/4.17 | 11.15*/4.37 | 10.52*/4.21 |
sps | 13.15*/4.98 | 14.61*/5.13 | 16.03*/4.88 | 17.02*/5.90 | 16.39*/6.17 | 15.41*/5.92 |
cpw | 3.77/0.60 | 3.88/0.59 | 4.34/0.58 | 4.36/0.63 | 4.86*/0.64 | 4.94*/0.76 |
spw | 1.30/0.22 | 1.33/0.23 | 1.43/0.23 | 1.43/0.26 | 1.50/0.26 | 1.50/0.29 |
pol | 2.22/1.21 | 2.40/1.16 | 1.24/1.04 | 1.33/1.04 | 1.69/1.12 | 1.57/1.07 |
ppw | 0.22/0.09 | 0.22/0.09 | 0.11/0.10 | 0.12/0.09 | 0.16/0.11 | 0.16/0.12 |
informativeness | 4.77/1.09 | 4.91/1.23 | 5.47*/0.81 | 5.27/1.02 | 5.29*/0.94 | 5.16/1.07 |
naturalness | 4.76/1.26 | 4.67/1.25 | 4.99*/1.13 | 4.62/1.28 | 4.86/1.13 | 4.74/1.23 |
quality | 4.77/1.19 | 4.54/1.28 | 4.54/1.18 | 4.53/1.26 | 4.51/1.14 | 4.58/1.33 |
stands for standard deviation, “*” denotes a statistically significant difference (
) between the two systems on the given dataset.max width=1 Bagel SFHotel SFRest TGen lols rnnlg lols rnnlg lols metric inf nat qual inf nat qual inf nat qual inf nat qual inf nat qual inf nat qual ter -0.21* -0.19* -0.16* -0.16* -0.19* -0.16* -0.03 -0.09 -0.08 -0.06 -0.20* -0.12* 0.02 -0.14* -0.08 -0.16* -0.14* -0.14* bleu1 0.30* 0.15* 0.13 0.13 0.15* 0.13 0.09 0.09* 0.08 0.01 0.12* 0.06 0.02 0.12* 0.06 0.19* 0.15* 0.13* bleu2 0.30* 0.17* 0.14 0.12 0.14* 0.11 0.08 0.09* 0.07 0.00 0.12* 0.07 0.01 0.13* 0.07 0.14* 0.10* 0.08* bleu3 0.27* 0.17* 0.12 0.11 0.13 0.10 0.06 0.08 0.06 0.01 0.11* 0.08 0.02 0.13* 0.09* 0.12* 0.08 0.07 bleu4 0.23* 0.15* 0.11 0.11 0.13 0.10 0.06 0.05 0.07 0.00 0.02 0.03 0.03 0.12* 0.07 0.12* 0.04 0.05 rouge 0.20* 0.11 0.09 0.20* 0.17* 0.15* 0.07 0.09 0.08 -0.01 0.04 0.02 0.04 0.17* 0.09* 0.12* 0.11* 0.08 nist 0.24* 0.07 0.02 0.16* 0.13 0.11 0.07 0.05 0.01 0.02 0.14* 0.11* 0.03 0.07 0.01 0.15* 0.08 0.07 lepor 0.17* 0.12 0.07 -0.07 0.02 -0.04 0.03 0.03 0.03 0.14* 0.17* 0.10* 0.00 0.05 -0.02 0.28* 0.17* 0.18* cider 0.26* 0.14* 0.10 0.14* 0.19* 0.14* 0.07 0.07 0.00 0.03 0.13* 0.09 0.02 0.12* 0.03 0.10* 0.11* 0.08 meteor 0.29* 0.09 0.09 0.20* 0.18* 0.16* 0.07 0.10* 0.10* 0.05 0.06 0.04 0.06 0.16* 0.09* 0.23* 0.19* 0.17* sim 0.16* 0.04 0.06 0.14* 0.13 0.09 -0.05 -0.12* -0.11* 0.03 -0.03 -0.08 0.13* -0.06 -0.08* 0.19* 0.01 0.02 re -0.06 0.09 0.13 -0.09 -0.04 0.04 0.00 0.03 0.10* -0.01 0.03 0.09 0.00 -0.05 0.02 0.04 0.09* 0.08* cpw 0.03 -0.12 -0.19* 0.08 0.05 -0.03 0.02 -0.02 -0.09* 0.13* 0.14* 0.06 0.02 0.11* 0.01 0.06 0.10* 0.09* len 0.25* -0.25* -0.21* 0.04 -0.19* -0.24* 0.01 -0.17* -0.09 0.12* -0.08 -0.07 0.11* -0.17* -0.08 0.21* -0.14* -0.09* wps 0.33* -0.17* -0.12 -0.05 -0.28* -0.29* 0.01 -0.15* -0.05 0.08 -0.12* -0.08 0.11* -0.19* -0.07 0.18* -0.15* -0.11* sps 0.25* -0.20* -0.17* 0.03 -0.17* -0.23* -0.02 -0.16* -0.08 0.02 -0.18* -0.16* 0.07 -0.17* -0.08 0.12* -0.21* -0.16* spw 0.01 -0.07 -0.13 0.10 0.09 0.02 -0.08 -0.02 -0.11* -0.10* -0.10* -0.17* -0.07 0.06 -0.03 -0.14* -0.10* -0.11* pol 0.16* -0.06 -0.07 0.11 -0.03 -0.12 -0.07 -0.10* -0.15* 0.01 -0.09 -0.14* -0.04 -0.04 -0.03 -0.02 -0.13* -0.11* ppw -0.02 0.06 0.00 0.16* 0.15* 0.08 -0.09 -0.06 -0.16* -0.02 -0.01 -0.09 -0.09* 0.08 0.00 -0.13* -0.05 -0.07 msp -0.02 -0.06 -0.11 0.02 -0.02 -0.10 -0.01 -0.10* -0.08 0.05 -0.02 -0.03 0.05 0.02 -0.06 0.12* 0.01 0.07 prs -0.23* 0.18* 0.13 0.05 0.24* 0.31* -0.02 0.13* 0.09 -0.13* 0.05 0.04 -0.11* 0.15* 0.11* -0.16* 0.20* 0.16*
max width=0.75 Bagel SFHotel SFRest inf nat qual inf nat qual inf nat qual ter -0.19* -0.19* -0.15* -0.10* -0.19* -0.07* -0.09* -0.15* -0.08* bleu1 0.23* 0.14* 0.11* 0.11* 0.18* 0.07* 0.11* 0.14* 0.07* bleu2 0.21* 0.15* 0.12* 0.10* 0.17* 0.07* 0.09* 0.13* 0.06* bleu3 0.19* 0.15* 0.11* 0.09* 0.16* 0.07* 0.08* 0.12* 0.06* bleu4 0.18* 0.14* 0.10* 0.08* 0.10* 0.06 0.09* 0.09* 0.05 rouge 0.20* 0.13* 0.11* 0.09* 0.15* 0.06 0.09* 0.15* 0.06* nist 0.21* 0.09 0.06 0.07* 0.13* 0.06 0.10* 0.08* 0.03 lepor 0.07 0.07 0.01 0.13* 0.15* 0.05 0.16* 0.12* 0.04 cider 0.21* 0.16* 0.12* 0.10* 0.16* 0.05 0.08* 0.12* 0.04 meteor 0.25* 0.13* 0.12* 0.11* 0.15* 0.08* 0.15* 0.18* 0.11* sim 0.15* 0.09 0.07 0.01 -0.04 -0.09* 0.15* -0.02 -0.02 re -0.08 0.03 0.09 0.01 0.04 0.10* 0.02 0.02 0.06 cpw 0.05 -0.04 -0.12* 0.07* 0.05 -0.02 0.04 0.10* 0.06 len 0.14* -0.22* -0.24* 0.05 -0.14* -0.07* 0.16* -0.15* -0.09* wps 0.14* -0.23* -0.23* 0.03 -0.14* -0.06 0.14* -0.17* -0.10* sps 0.14* -0.19* -0.21* -0.01 -0.18* -0.12* 0.10* -0.18* -0.12* spw 0.05 0.00 -0.06 -0.10* -0.06 -0.14* -0.11* -0.02 -0.07* pol 0.13* -0.05 -0.10* -0.04 -0.10* -0.14* -0.03 -0.08* -0.08* ppw 0.06 0.11* 0.04 -0.06 -0.04 -0.13* -0.11* 0.01 -0.04 msp 0.02 -0.04 -0.11* 0.02 -0.06 -0.06 0.08* 0.01 0.01 prs -0.10 0.22* 0.25* -0.05 0.12* 0.07 -0.13* 0.18* 0.13*
max width=0.75 TGen lols rnnlg inf nat qual inf nat qual inf nat qual ter -0.21* -0.19* -0.16* -0.07* -0.15* -0.11* -0.02 -0.13* -0.08* bleu1 0.30* 0.15* 0.13 0.08* 0.12* 0.08* 0.07* 0.13* 0.07* bleu2 0.30* 0.17* 0.14 0.05 0.11* 0.07* 0.06* 0.14* 0.08* bleu3 0.27* 0.17* 0.12 0.04 0.09* 0.07* 0.06 0.13* 0.08* bleu4 0.23* 0.15* 0.11 0.04 0.04 0.04 0.06 0.11* 0.08* rouge 0.20* 0.11 0.09 0.05 0.09* 0.05 0.07* 0.15* 0.09* nist 0.25* 0.07 0.02 0.07* 0.11* 0.09* 0.04 0.06* 0.01 lepor 0.17* 0.12 0.07 0.13* 0.13* 0.11* 0.02 0.05 0.00 cider 0.26* 0.14* 0.10 0.05 0.13* 0.09* 0.04 0.10* 0.02 meteor 0.29* 0.09 0.09 0.14* 0.13* 0.12* 0.08* 0.15* 0.10* sim 0.16* 0.04 0.06 0.14* 0.02 0.00 0.05 -0.08* -0.09* re -0.06 0.09 0.13 -0.02 0.04 0.07* 0.02 -0.01 0.06* cpw 0.03 -0.12 -0.19* 0.11* 0.11* 0.08* -0.02 0.02 -0.05 len 0.25* -0.25* -0.21* 0.17* -0.12* -0.10* 0.06 -0.18* -0.08* wps 0.33* -0.17* -0.12 0.11* -0.17* -0.13* 0.07* -0.17* -0.06 sps 0.25* -0.20* -0.17* 0.09* -0.19* -0.17* 0.03 -0.17* -0.08* spw 0.01 -0.07 -0.13 -0.07* -0.06* -0.10* -0.09* 0.01 -0.07* pol 0.16* -0.06 -0.07 -0.02 -0.09* -0.11* -0.08* -0.08* -0.09* ppw -0.02 0.06 0.00 -0.08* 0.00 -0.05 -0.11* 0.00 -0.07* msp -0.02 -0.06 -0.11 0.10* 0.00 0.02 0.02 -0.04 -0.07* prs -0.23* 0.18* 0.13 -0.12* 0.16* 0.15* -0.07* 0.14* 0.10*
max width=1 Accuracy rand ter bleu1 bleu2 bleu3 bleu4 rouge nist lepor cider mete re sim Bagel inform 37.13 45.05* 41.58* 41.58* 42.57* 42.08* 43.07* 43.07* 41.58* 43.07* 45.54* 37.13 41.09* natural 42.08 47.03* 46.04* 45.54* 44.06* 45.05* 46.04* 44.55* 46.53* 45.05* 45.05* 42.08 43.07* quality 33.17 45.54* 43.07* 40.10* 40.59* 43.56* 43.07* 41.09* 40.59* 42.08* 41.58* 37.62 42.57* SFHotel inform 25.38 34.92* 35.68* 35.18* 35.68* 34.67* 36.43* 31.41 32.16* 33.92* 36.43* 34.92* 33.92* natural 41.96 45.73 46.48 45.48 46.48 45.23 48.74 41.21 43.72 44.72 49.75* 37.19 46.98 quality 44.47 40.95 40.95 42.21 44.72 41.46 43.22 40.2 40.95 42.46 45.98 33.67 37.44 SFRest inform 33.68 36.27 35.41 34.02 34.72 36.96 33.16 35.58 36.27 32.47 34.72 38.34* 42.66* natural 36.10 40.41 40.07 38.86 38.34 38.86 38.17 39.38 41.11* 36.79 39.38 39.38 38.00 quality 39.38 37.13 36.96 39.21 37.65 39.55 36.10 38.69 39.72 35.23 34.89 40.93 37.31 SFRest, quant. inform 31.95 35.75* 36.27* 34.37* 35.92* 34.54* 36.44* 39.55* 37.13* 36.27* 36.79* 38.17* 42.83* quality 39.21 33.33 34.37 32.3 30.57 26.94 34.54 33.16 35.92 30.92 31.61 32.47 35.41 naturalness 37.13 37.82 38.69 36.1 35.75 32.3 36.96 39.21 38.86 35.23 38.34 34.2 36.1
informativeness | naturalness | quality | ||||
---|---|---|---|---|---|---|
Bad | Good and avg | Bad | Good and avg | Bad | Good and avg | |
ter | 0.48* | 0.07* | 0.31* | 0.15* | 0.08 | 0.06* |
bleu1 | 0.45* | 0.11* | 0.26* | 0.13* | 0.07 | 0.04 |
bleu2 | 0.49* | 0.09* | 0.29* | 0.13* | 0.05 | 0.04* |
bleu3 | 0.40* | 0.08* | 0.25* | 0.13* | 0.01 | 0.05* |
bleu4 | 0.41* | 0.07* | 0.21* | 0.08* | 0.01 | 0.04 |
rouge | 0.50* | 0.08* | 0.28* | 0.13* | 0.07 | 0.04* |
nist | 0.26 | 0.08* | 0.23* | 0.08* | 0.08 | 0.03 |
lepor | 0.40* | 0.09* | 0.23* | 0.10* | 0.03 | 0.01 |
cider | 0.42* | 0.09* | 0.21* | 0.12* | 0.02 | 0.04 |
meteor | 0.45* | 0.14* | 0.24* | 0.15* | 0.03 | 0.08* |
sim | 0.37* | 0.12* | 0.29* | -0.03 | 0.21* | -0.08* |
informativeness | naturalness | quality | ||||
Inform | Not inform | Inform | Not inform | Inform | Not inform | |
ter | -0.08* | -0.10 | -0.17* | -0.18* | -0.09* | -0.11* |
bleu1 | 0.11* | 0.09 | 0.14* | 0.20* | 0.07* | 0.11* |
bleu2 | 0.09* | 0.10 | 0.14* | 0.20* | 0.07* | 0.13* |
bleu3 | 0.07* | 0.11* | 0.13* | 0.20* | 0.06* | 0.14* |
bleu4 | 0.06* | 0.11* | 0.09* | 0.18* | 0.05* | 0.14* |
rouge | 0.08* | 0.12* | 0.14* | 0.22* | 0.06* | 0.16* |
nist | 0.08* | 0.05 | 0.10* | 0.06 | 0.07* | -0.06 |
lepor | 0.09* | 0.16* | 0.11* | 0.16* | 0.05* | 0.04 |
cider | 0.10* | 0.01 | 0.16* | 0.04 | 0.07* | 0.02 |
meteor | 0.14* | 0.17* | 0.15* | 0.22* | 0.09* | 0.18* |
sim | 0.15* | 0.09 | -0.01 | -0.03 | -0.05* | -0.10 |
cpw | 0.12* | -0.15* | 0.09* | -0.14* | 0.01 | -0.11* |
len | 0.17* | 0.08 | -0.15* | -0.12* | -0.12* | -0.05 |
wps | 0.11* | 0.19* | -0.19* | -0.03 | -0.12* | 0.01 |
sps | 0.09* | 0.18* | -0.20* | -0.02 | -0.17* | 0.02 |
spw | -0.06* | 0.09 | -0.03 | 0.01 | -0.12* | 0.01 |
pol | -0.08* | 0.05 | -0.10* | -0.03 | -0.09* | -0.03 |
ppw | -0.14* | -0.01 | 0.00 | -0.03 | -0.03 | -0.05 |
msp | 0.11* | -0.03 | 0.00 | -0.08 | -0.03 | -0.08 |
prs | -0.10* | -0.18* | 0.18* | 0.04 | 0.15* | 0.02 |