Original: U NCERTAINTY E STIMATION IN A UTOREGRESSIVE S TRUCTURED P REDICTION
Revised: U NCERTAINTY E STIMATION IN A UTOREGRESSIVE S TRUCTURED P REDICTION

Original: A BSTRACT
Revised: A BSTRACT

Original: Uncertainty estimation is important for ensuring safety and robustness of AI systems.
Revised: Uncertainty estimation is important for ensuring safety and robustness of AI systems.

Original: While most research in the area has focused on un-structured prediction tasks, limited work has investigated general uncertainty estimation approaches for structured prediction.
Revised: While most research in the area has focused on un-structured prediction tasks, limited work has investigated general uncertainty estimation approaches for structured prediction.

Original: Thus, this work aims to investigate uncertainty estimation for autoregressive structured prediction tasks within a single uniﬁed and interpretable probabilistic ensemble-based framework.
Revised: Thus, this work aims to investigate uncertainty estimation for autoregressive structured prediction tasks within a single uniﬁed and interpretable probabilistic ensemble-based framework.

Original: We consider: uncertainty estimation for sequence data at the token-level and complete sequence-level; interpretations for, and applications of, various measures of uncertainty; and discuss both the theoretical and practical challenges associated with obtaining them.
Revised: We consider: uncertainty estimation for sequence data at the token-level and complete sequence-level; interpretations for, and applications of, various measures of uncertainty; and discuss both the theoretical and practical challenges associated with obtaining them.

Original: This work also provides baselines for token-level and sequence-level error detection, and sequence-level out-of-domain input detection on the WMT’14 English-French and
Revised: This work also provides baselines for token-level and sequence-level error detection, and sequence-level out-of-domain input detection on the WMT’14 English-French and

Original: WMT’17 English-German translation and LibriSpeech speech recognition datasets.
Revised: WMT’17 English-German translation and LibriSpeech speech recognition datasets.

Original:  I NTRODUCTION
Revised:  I NTRODUCTION

Original: Neural Networks (NNs) have become the dominant approach in numerous applications (Simonyan &
Revised: Neural Networks (NNs) have become the dominant approach in numerous applications (Simonyan &

Original: Zisserman, 2015; Mikolov et al., 2013; 2010; Bahdanau et al., 2015; Vaswani et al., 2017; Hinton et al., 2012) and are being widely deployed in production.
Revised: Zisserman, 2015; Mikolov et al., 2013; 2010; Bahdanau et al., 2015; Vaswani et al., 2017; Hinton et al., 2012) and are being widely deployed in production.

Original: As a consequence, predictive uncertainty estimation is becoming an increasingly important research area as it enables improved safety in automated decision making (Amodei et al., 2016).
Revised: As a consequence, predictive uncertainty estimation is becoming an increasingly important research area as it enables improved safety in automated decision making (Amodei et al., 2016).

Original: Important advancements have been the deﬁnition of baseline tasks and metrics (Hendrycks & Gimpel, 2016) and the development of ensemble approaches, such as Monte-Carlo Dropout (Gal & Ghahramani, 2016) and Deep Ensembles (Lakshminarayanan et al., 2017) 1 .
Revised: Important advancements have been the deﬁnition of baseline tasks and metrics (Hendrycks & Gimpel, 2016) and the development of ensemble approaches, such as Monte-Carlo Dropout (Gal & Ghahramani, 2016) and Deep Ensembles (Lakshminarayanan et al., 2017) 1 .

Original: Ensemble-based uncertainty estimates have been successfully applied to detecting misclassiﬁcations, out-of-distribution inputs and adversarial attacks (Carlini & Wagner, 2017; Smith & Gal, 2018; Malinin & Gales, 2019) and to active learning (Kirsch et al., 2019).
Revised: Ensemble-based uncertainty estimates have been successfully applied to detecting misclassiﬁcations, out-of-distribution inputs and adversarial attacks (Carlini & Wagner, 2017; Smith & Gal, 2018; Malinin & Gales, 2019) and to active learning (Kirsch et al., 2019).

Original: Crucially, they allow total uncertainty to be decomposed into data uncertainty , the intrinsic uncertainty associated with the task, and knowledge uncertainty , which is the model’s uncertainty in the prediction due to a lack of understanding of the data (Malinin, 2019) 2 .
Revised: Crucially, they allow total uncertainty to be decomposed into data uncertainty , the intrinsic uncertainty associated with the task, and knowledge uncertainty , which is the model’s uncertainty in the prediction due to a lack of understanding of the data (Malinin, 2019) 2 .

Original: Estimates of knowledge uncertainty are particularly useful for detecting anomalous and unfamiliar inputs (Kirsch et al., 2019; Smith & Gal, 2018; Malinin & Gales, 2019; Malinin, 2019).
Revised: Estimates of knowledge uncertainty are particularly useful for detecting anomalous and unfamiliar inputs (Kirsch et al., 2019; Smith & Gal, 2018; Malinin & Gales, 2019; Malinin, 2019).

Original: Despite recent advances, most work on uncertainty estimation has focused on unstructured tasks, such as image classiﬁcation.
Revised: Despite recent advances, most work on uncertainty estimation has focused on unstructured tasks, such as image classiﬁcation.

Original: Meanwhile, uncertainty estimation within a general, unsupervised , probabilistically interpretable ensemble-based framework for structured prediction tasks, such as language modelling, machine translation (MT) and speech recognition (ASR), has received little attention.
Revised: Meanwhile, uncertainty estimation within a general, unsupervised , probabilistically interpretable ensemble-based framework for structured prediction tasks, such as language modelling, machine translation (MT) and speech recognition (ASR), has received little attention.

Original: Previous work has examined bespoke supervised conﬁdence estimation techniques for each task separately (Evermann & Woodland, 2000; Liao & Gales, 2007;
Revised: Previous work has examined bespoke supervised conﬁdence estimation techniques for each task separately (Evermann & Woodland, 2000; Liao & Gales, 2007;

Original: Ragni et al., 2018; Chen et al., 2017; Koehn, 2009; Kumar & Sarawagi, 2019) which construct an "error-detection" model on top of the original ASR/NMT system.
Revised: Ragni et al., 2018; Chen et al., 2017; Koehn, 2009; Kumar & Sarawagi, 2019) which construct an "error-detection" model on top of the original ASR/NMT system.

Original: While useful, these approaches suffer from a range of limitations.
Revised: While useful, these approaches suffer from a range of limitations.

Original: Firstly, they require a token-level supervision, typically obtained via minimum edit-distance alignment to a ground-truth transcription (ASR) or translation (NMT), which can itself by noisy.
Revised: Firstly, they require a token-level supervision, typically obtained via minimum edit-distance alignment to a ground-truth transcription (ASR) or translation (NMT), which can itself by noisy.

Original: Secondly, such token-level supervision is generally inappropriate for translation, as it doesn’t account for the validity of re-arrangements.
Revised: Secondly, such token-level supervision is generally inappropriate for translation, as it doesn’t account for the validity of re-arrangements.

Original: Thirdly, we are unable to determine whether the error is due to knowledge or data uncertainty .
Revised: Thirdly, we are unable to determine whether the error is due to knowledge or data uncertainty .

Original: Finally, this model is itself subject to the pitfalls of the original system - domain shift, noise, etc.
Revised: Finally, this model is itself subject to the pitfalls of the original system - domain shift, noise, etc.

Original: Thus, unsupervised uncertainty-estimation methods are more desirable.
Revised: Thus, unsupervised uncertainty-estimation methods are more desirable.

Original: Recently, however, initial investigations into unsupervised uncertainty estimation for structured prediction have appeared.
Revised: Recently, however, initial investigations into unsupervised uncertainty estimation for structured prediction have appeared.

Original: The nature of data uncertainty for translation tasks was examined in (Ott et al., 2018a).
Revised: The nature of data uncertainty for translation tasks was examined in (Ott et al., 2018a).

Original: Estimation of sequence and word-level uncertainty estimates via Monte-Carlo Dropout ensembles has been investigated for machine translation (Xiao et al., 2019; Wang et al., 2019;
Revised: Estimation of sequence and word-level uncertainty estimates via Monte-Carlo Dropout ensembles has been investigated for machine translation (Xiao et al., 2019; Wang et al., 2019;

Original: Fomicheva et al., 2020).
Revised: Fomicheva et al., 2020).

Original: However, these works focus on machine translation, consider only a small range of uncertainty adhoc measures, provide limited theoretical analysis of their properties and do not make explicit their limitations.
Revised: However, these works focus on machine translation, consider only a small range of uncertainty adhoc measures, provide limited theoretical analysis of their properties and do not make explicit their limitations.

Original: Furthermore, they don’t identify or tackle challenges in estimating uncertainty arising from exponentially large output space.
Revised: Furthermore, they don’t identify or tackle challenges in estimating uncertainty arising from exponentially large output space.

Original: Finally, to our knowledge, no work has examined uncertainty estimation for autoregressive ASR models.
Revised: Finally, to our knowledge, no work has examined uncertainty estimation for autoregressive ASR models.

Original: This work examines uncertainty estimation for structured prediction tasks within a general, probabilistically interpretable ensemble-based framework.
Revised: This work examines uncertainty estimation for structured prediction tasks within a general, probabilistically interpretable ensemble-based framework.

Original: The ﬁve core contributions are as follows.
Revised: The ﬁve core contributions are as follows.

Original: First, we derive information-theoretic measures of both total uncertainty and knowledge uncertainty at both the token level and the sequence level , make explicit the challenges involved and state any assumptions made.
Revised: First, we derive information-theoretic measures of both total uncertainty and knowledge uncertainty at both the token level and the sequence level , make explicit the challenges involved and state any assumptions made.

Original: Secondly, we introduce a novel uncertainty measure, reverse mutual information , which has a set of desirable attributes for structured uncertainty.
Revised: Secondly, we introduce a novel uncertainty measure, reverse mutual information , which has a set of desirable attributes for structured uncertainty.

Original: Third, we examine a range of Monte-Carlo approximations for sequence-level uncertainty.
Revised: Third, we examine a range of Monte-Carlo approximations for sequence-level uncertainty.

Original: Fourth, for structured tasks there is a choice of how ensembles of models can be combined; we examine how this choice impacts predictive performance and derived uncertainty measures.
Revised: Fourth, for structured tasks there is a choice of how ensembles of models can be combined; we examine how this choice impacts predictive performance and derived uncertainty measures.

Original: Fifth, we explore the practical challenges associated with obtaining uncertainty estimates for structured predictions tasks and provide performance baselines for tokenlevel and sequence-level error detection, and out-of-domain (OOD) input detection on the WMT’
Revised: Fifth, we explore the practical challenges associated with obtaining uncertainty estimates for structured predictions tasks and provide performance baselines for tokenlevel and sequence-level error detection, and out-of-domain (OOD) input detection on the WMT’

Original: English-French and WMT’17 English-German translation datasets and the LibriSpeech ASR dataset.
Revised: English-French and WMT’17 English-German translation datasets and the LibriSpeech ASR dataset.

Original:  U NCERTAINTY FOR S TRUCTURED P REDICTION
Revised:  U NCERTAINTY FOR S TRUCTURED P REDICTION

Original: In this section we develop an ensemble-based uncertainty estimation framework for structured prediction and introduce a novel uncertainty measure.
Revised: In this section we develop an ensemble-based uncertainty estimation framework for structured prediction and introduce a novel uncertainty measure.

Original: We take a Bayesian viewpoint on ensembles, as it yields an elegant probabilistic framework within which interpretable uncertainty estimates can be obtained.
Revised: We take a Bayesian viewpoint on ensembles, as it yields an elegant probabilistic framework within which interpretable uncertainty estimates can be obtained.

Original: The core of the Bayesian approach is to treat the model parameters θ as random variables and place a prior p ( θ ) over them to compute a posterior p ( θ |D ) via Bayes’ rule, where D is the training data.
Revised: The core of the Bayesian approach is to treat the model parameters θ as random variables and place a prior p ( θ ) over them to compute a posterior p ( θ |D ) via Bayes’ rule, where D is the training data.

Original: Unfortunately, exact Bayesian inference is intractable for neural networks and it is necessary to consider an explicit or implicit approximation q ( θ ) to the true posterior p ( θ |D ) to generate an ensemble.
Revised: Unfortunately, exact Bayesian inference is intractable for neural networks and it is necessary to consider an explicit or implicit approximation q ( θ ) to the true posterior p ( θ |D ) to generate an ensemble.

Original: A number of different approaches to generating ensembles have been developed, such as Monte-Carlo Dropout (Gal & Ghahramani, 2016) and DeepEnsembles (Lakshminarayanan et al., 2017).
Revised: A number of different approaches to generating ensembles have been developed, such as Monte-Carlo Dropout (Gal & Ghahramani, 2016) and DeepEnsembles (Lakshminarayanan et al., 2017).

Original: An overview is available in (Ashukha et al., 2020; Ovadia et al., 2019).
Revised: An overview is available in (Ashukha et al., 2020; Ovadia et al., 2019).

Original: Consider an ensemble of models { P ( y | x ; θ ( m ) )
Revised: Consider an ensemble of models { P ( y | x ; θ ( m ) )

Original: } Mm =1 sampled from an approximate posterior q ( θ ) , where each model captures the mapping between variable-length sequences of inputs { x 1 , · · · , x T } = x ∈ X and targets { y 1 , · · · , y L } =
Revised: } Mm =1 sampled from an approximate posterior q ( θ ) , where each model captures the mapping between variable-length sequences of inputs { x 1 , · · · , x T } = x ∈ X and targets { y 1 , · · · , y L } =

Original: y ∈ Y , where x t ∈ { w 1 , · · · , w V } , y l ∈ { ω 1 , · · · , ω K } .
Revised: y ∈ Y , where x t ∈ { w 1 , · · · , w V } , y l ∈ { ω 1 , · · · , ω K } .

Original: The predictive posterior is obtained by taking the expectation over the ensemble:
Revised: The predictive posterior is obtained by taking the expectation over the ensemble:

Original: [Equation]
Revised: [Equation]

Original: The total uncertainty in the prediction of y is given by the entropy of the predictive posterior.
Revised: The total uncertainty in the prediction of y is given by the entropy of the predictive posterior.

Original: [Equation]
Revised: [Equation]

Original: The sources of uncertainty can be decomposed via the mutual information I between θ
Revised: The sources of uncertainty can be decomposed via the mutual information I between θ

Original: and y :
Revised: and y :

Original: I
Revised: I

Original: [Equation]
Revised: [Equation]

Original: y
Revised: y

Original: [Equation]
Revised: [Equation]

Original: Mutual information (MI) is a measure of ‘disagreement’ between models in the ensemble
Revised: Mutual information (MI) is a measure of ‘disagreement’ between models in the ensemble

Original: [Equation]
Revised: [Equation]

Original: and therefore a measure of knowledge uncertainty (Malinin, 2019).
Revised: and therefore a measure of knowledge uncertainty (Malinin, 2019).

Original: It can be expressed as the difference between the entropy of the predictive posterior and the expected entropy of each model in the ensemble.
Revised: It can be expressed as the difference between the entropy of the predictive posterior and the expected entropy of each model in the ensemble.

Original: The former is a measure of total uncertainty and the latter is a measure of data uncertainty (Depeweg et al., 2017).
Revised: The former is a measure of total uncertainty and the latter is a measure of data uncertainty (Depeweg et al., 2017).

Original: Another measure of ensemble diversity is the expected pairwise KL-divergence (EPKL):
Revised: Another measure of ensemble diversity is the expected pairwise KL-divergence (EPKL):

Original: [Equation]
Revised: [Equation]

Original: where q ( θ ) =
Revised: where q ( θ ) =

Original: q ( ˜ θ ) and ˜ θ is a dummy variable.
Revised: q ( ˜ θ ) and ˜ θ is a dummy variable.

Original: This measure is an upper bound on the mutual information, obtainable via Jensen’s inequality.
Revised: This measure is an upper bound on the mutual information, obtainable via Jensen’s inequality.

Original: A novel measure of diversity which we introduce in this work is the reverse mutual information (RMI) between each model and the predictive posterior:
Revised: A novel measure of diversity which we introduce in this work is the reverse mutual information (RMI) between each model and the predictive posterior:

Original: [Equation]
Revised: [Equation]

Original: This is the reverse-KL divergence counterpart to the mutual information (3), and has not been previously explored.
Revised: This is the reverse-KL divergence counterpart to the mutual information (3), and has not been previously explored.

Original: As will be shown in the next section, RMI is particularly attractive for estimating uncertainty in structured prediction.
Revised: As will be shown in the next section, RMI is particularly attractive for estimating uncertainty in structured prediction.

Original: Interestingly, RMI is the difference between EPKL and MI:
Revised: Interestingly, RMI is the difference between EPKL and MI:

Original: [Equation]
Revised: [Equation]

Original: While mutual information, EPKL and RMI yield estimates of knowledge uncertainty , only mutual information ‘cleanly’ decomposes into total and data uncertainty .
Revised: While mutual information, EPKL and RMI yield estimates of knowledge uncertainty , only mutual information ‘cleanly’ decomposes into total and data uncertainty .

Original: EPKL and RMI do not yield clean measures of total and data uncertainty , respectively.
Revised: EPKL and RMI do not yield clean measures of total and data uncertainty , respectively.

Original: For details see appendix A.
Revised: For details see appendix A.

Original: Unfortunately, we cannot in practice construct a model which directly yields a distribution over an inﬁnite set of variable-length sequences y ∈ Y .
Revised: Unfortunately, we cannot in practice construct a model which directly yields a distribution over an inﬁnite set of variable-length sequences y ∈ Y .

Original: Neither can we take expectations over the this set.
Revised: Neither can we take expectations over the this set.

Original: Instead, autoregressive models are used to factorize the joint distribution over y into a product of conditionals over a ﬁnite set of classes, such as words or BPE tokens (Sennrich et al., 2015).
Revised: Instead, autoregressive models are used to factorize the joint distribution over y into a product of conditionals over a ﬁnite set of classes, such as words or BPE tokens (Sennrich et al., 2015).

Original: [Equation]
Revised: [Equation]

Original: Here the distribution over each y l is conditioned on all the previous y <
Revised: Here the distribution over each y l is conditioned on all the previous y <

Original: l = { y 1 , · · · , y l − 1 } , which we shall refer to as the context .
Revised: l = { y 1 , · · · , y l − 1 } , which we shall refer to as the context .

Original: This set of conditional independence assumptions allows us to deﬁne a model on the ﬁnite space Y L .
Revised: This set of conditional independence assumptions allows us to deﬁne a model on the ﬁnite space Y L .

Original: This formulation describes all machine translation (Bahdanau et al., 2015; Vaswani et al., 2017), end-to-end speech recognition (Chan et al., 2015) and other related tasks.
Revised: This formulation describes all machine translation (Bahdanau et al., 2015; Vaswani et al., 2017), end-to-end speech recognition (Chan et al., 2015) and other related tasks.

Original: Alternative factorization orders, representing different conditional independence assumptions, can be considered.
Revised: Alternative factorization orders, representing different conditional independence assumptions, can be considered.

Original: However, without loss of generality, we will use the standard factorization.
Revised: However, without loss of generality, we will use the standard factorization.

Original: For these models uncertainty estimation can be examined at two levels - the token level , which considers uncertainty in the prediction of a single y l , and the sequence level , which considers the uncertainty of predicting the entire sequence y .
Revised: For these models uncertainty estimation can be examined at two levels - the token level , which considers uncertainty in the prediction of a single y l , and the sequence level , which considers the uncertainty of predicting the entire sequence y .

Original: Token-level uncertainty estimation for autoregressive models is isomorphic to un-structured uncertainty estimation with additional conditioning on the context y <l , and so is presented in appendix A.1.
Revised: Token-level uncertainty estimation for autoregressive models is isomorphic to un-structured uncertainty estimation with additional conditioning on the context y <l , and so is presented in appendix A.1.

Original: Instead, we focus on discussing sequence-level uncertainty estimation in autoregressive models.
Revised: Instead, we focus on discussing sequence-level uncertainty estimation in autoregressive models.

Original: We have chosen to focus on autoregressive models as they present interesting challenges, are more general than models with stronger conditional independence assumptions, and are widely applied to tasks of practical value.
Revised: We have chosen to focus on autoregressive models as they present interesting challenges, are more general than models with stronger conditional independence assumptions, and are widely applied to tasks of practical value.

Original: We emphasize that the proposed ensemble-based approach is general and can be applied to structured tasks with different conditional independence assumptions (Graves et al., 2006; Gales & Young, 2008; Gu et al., 2017)
Revised: We emphasize that the proposed ensemble-based approach is general and can be applied to structured tasks with different conditional independence assumptions (Graves et al., 2006; Gales & Young, 2008; Gu et al., 2017)

Original: [Equation]
Revised: [Equation]

Original: ARLO A PPROXIMATIONS
Revised: ARLO A PPROXIMATIONS

Original: The key challenge of autoregressive models is that expressions (2)-(5) are intractable to evaluate.
Revised: The key challenge of autoregressive models is that expressions (2)-(5) are intractable to evaluate.

Original: Speciﬁcally, all expectations over y are intractable to evaluate due to the combinatorial explosion of the hypothesis space - there are a total of | K | L possible L-length sequences in Y L , where K is the vocabulary size, and it is necessary to do a forward-pass through the model for each hypothesis.
Revised: Speciﬁcally, all expectations over y are intractable to evaluate due to the combinatorial explosion of the hypothesis space - there are a total of | K | L possible L-length sequences in Y L , where K is the vocabulary size, and it is necessary to do a forward-pass through the model for each hypothesis.

Original: This is an issue which was ignored in prior work (Wang et al., 2019; Fomicheva et al., 2020; Xiao et al., 2019).
Revised: This is an issue which was ignored in prior work (Wang et al., 2019; Fomicheva et al., 2020; Xiao et al., 2019).

Original: Clearly, it is necessary to consider Monte-Carlo approximations to make this tractable.
Revised: Clearly, it is necessary to consider Monte-Carlo approximations to make this tractable.

Original: A key desiderata of these approximations is that they should be obtainable at no extra cost on top of standard beam-search inference from the ensemble.
Revised: A key desiderata of these approximations is that they should be obtainable at no extra cost on top of standard beam-search inference from the ensemble.

Original: We examine two types of Monte-Carlo (MC) approximations for expressions (2)-(5) which are identical in the limit, but have different attributes given a ﬁnite sample size.
Revised: We examine two types of Monte-Carlo (MC) approximations for expressions (2)-(5) which are identical in the limit, but have different attributes given a ﬁnite sample size.

Original: Properties of these approximation are detailed in appendix A.
Revised: Properties of these approximation are detailed in appendix A.

Original: A result of the auto-regressive conditional independence assumption is that distributions over long sequences can have higher entropy than over short ones.
Revised: A result of the auto-regressive conditional independence assumption is that distributions over long sequences can have higher entropy than over short ones.

Original: To compare uncertainties of sequences of different lengths, in accordance with the desiderata in the introduction, we consider length-normalized ‘ rate ’ (Cover & Thomas, 2006) equivalents of all uncertainty measures, denoted by ‘ ∧ ’.
Revised: To compare uncertainties of sequences of different lengths, in accordance with the desiderata in the introduction, we consider length-normalized ‘ rate ’ (Cover & Thomas, 2006) equivalents of all uncertainty measures, denoted by ‘ ∧ ’.

Original: The simplest Monte-Carlo estimation for entropy is to approximate (2) using S samples:
Revised: The simplest Monte-Carlo estimation for entropy is to approximate (2) using S samples:

Original: [Equation]
Revised: [Equation]

Original: where y ( s ) is a realization of the random variable y .
Revised: where y ( s ) is a realization of the random variable y .

Original: Alternatively, we can approximate (2) as a sum of conditional entropies via the entropy chain-rule (Cover & Thomas, 2006):
Revised: Alternatively, we can approximate (2) as a sum of conditional entropies via the entropy chain-rule (Cover & Thomas, 2006):

Original: [Equation]
Revised: [Equation]

Original: Given a set of consistent contexts y <
Revised: Given a set of consistent contexts y <

Original: l ⊂ y ∀ l ≤ L , this approximation reduces to averages of token-level uncertainty estimates as a consequence of the entropy chain-rule.
Revised: l ⊂ y ∀ l ≤ L , this approximation reduces to averages of token-level uncertainty estimates as a consequence of the entropy chain-rule.

Original: Approximations (8) and (9) both yield exact estimates of total uncertainty (2) in the limit as S → ∞ .
Revised: Approximations (8) and (9) both yield exact estimates of total uncertainty (2) in the limit as S → ∞ .

Original: However, (8) only considers the probabilities of individual tokens y ( s ) l along a hypothesis y ( s ) , while (9) considers the entire conditional distribution over each y l .
Revised: However, (8) only considers the probabilities of individual tokens y ( s ) l along a hypothesis y ( s ) , while (9) considers the entire conditional distribution over each y l .

Original: Consequently, (9) may yield a more stable approximation using a smaller number of samples.
Revised: Consequently, (9) may yield a more stable approximation using a smaller number of samples.

Original: At the same time, while (8) yields a noisier estimate for a ﬁnite S , it is more sensitive to the particular set of hypotheses considered .
Revised: At the same time, while (8) yields a noisier estimate for a ﬁnite S , it is more sensitive to the particular set of hypotheses considered .

Original: Monte-Carlo approximations can also be considered for mutual information (3):
Revised: Monte-Carlo approximations can also be considered for mutual information (3):

Original: [Equation]
Revised: [Equation]

Original: Unfortunately, this requires sampling from each model individually - obtaining this estimate does not come ‘for free’ with standard ensemble inference.
Revised: Unfortunately, this requires sampling from each model individually - obtaining this estimate does not come ‘for free’ with standard ensemble inference.

Original: An efﬁcient approximation can be obtained via the relative-entropy chain-rule (Cover & Thomas, 2006):
Revised: An efﬁcient approximation can be obtained via the relative-entropy chain-rule (Cover & Thomas, 2006):

Original: [Equation]
Revised: [Equation]

Original: Unlike (10), (11) uses samples from the predictive posterior and reduces to averages of token-level mutual information I [ y l , θ | y ( s ) <l , x , D ] .
Revised: Unlike (10), (11) uses samples from the predictive posterior and reduces to averages of token-level mutual information I [ y l , θ | y ( s ) <l , x , D ] .

Original: Thus, it is obtained at no extra cost with standard ensemble inference.
Revised: Thus, it is obtained at no extra cost with standard ensemble inference.

Original: However, it will not yield (3) as S → ∞ .
Revised: However, it will not yield (3) as S → ∞ .

Original: Nevertheless, this estimate may still be useful in practice.
Revised: Nevertheless, this estimate may still be useful in practice.

Original: An approximation ˆ K ( S ) C-MC for EPKL (4) with identical properties is described in appendix A.
Revised: An approximation ˆ K ( S ) C-MC for EPKL (4) with identical properties is described in appendix A.

Original: Asymptotically exact joint-sequence and chain-rule MC estimates of knowledge uncertainty can be obtained ‘for free’ during inference from P ( y | x , D ) by considering the new measure RMI (5):
Revised: Asymptotically exact joint-sequence and chain-rule MC estimates of knowledge uncertainty can be obtained ‘for free’ during inference from P ( y | x , D ) by considering the new measure RMI (5):

Original: [Equation]
Revised: [Equation]

Original: [Equation]
Revised: [Equation]

Original: Similar to (9) and (11), (13) is also an average of token-level RMI M [ y l , θ | y ( s ) <
Revised: Similar to (9) and (11), (13) is also an average of token-level RMI M [ y l , θ | y ( s ) <

Original: l , x , D ] , and like (8), (12) is sensitive to a particular set of hypotheses, while (13) is more stable.
Revised: l , x , D ] , and like (8), (12) is sensitive to a particular set of hypotheses, while (13) is more stable.

Original: Practical Considerations Before applying the proposed Monte-Carlo approximations, two practicalities need to be considered.
Revised: Practical Considerations Before applying the proposed Monte-Carlo approximations, two practicalities need to be considered.

Original: Firstly, due to the vastness of the hypothesis space Y L , Monte-Carlo sampling requires prohibitively many samples and the introduction of a decision rule, whose approximation may require a costly computation and whose effectiveness is not yet fully understood, to ﬁnd a good set of hypotheses (Eikema & Aziz, 2020; Holtzman et al., 2019).
Revised: Firstly, due to the vastness of the hypothesis space Y L , Monte-Carlo sampling requires prohibitively many samples and the introduction of a decision rule, whose approximation may require a costly computation and whose effectiveness is not yet fully understood, to ﬁnd a good set of hypotheses (Eikema & Aziz, 2020; Holtzman et al., 2019).

Original: Instead, beam-search is typically used for inference, as it efﬁciently ﬁnds high-quality hypotheses.
Revised: Instead, beam-search is typically used for inference, as it efﬁciently ﬁnds high-quality hypotheses.

Original: With regards to the
Revised: With regards to the

Original: Monte-Carlo estimators above, beam-search can be interpreted as a form of importance-sampling which yields hypotheses from high-probability regions of the hypothesis space.
Revised: Monte-Carlo estimators above, beam-search can be interpreted as a form of importance-sampling which yields hypotheses from high-probability regions of the hypothesis space.

Original: As each hypothesis is seen only once during beam-search, the uncertainty associated with each hypothesis y ( b ) within a beam B in the MC estimators above must be importance-weighted in proportion to P ( y ( b ) | x , D ) .
Revised: As each hypothesis is seen only once during beam-search, the uncertainty associated with each hypothesis y ( b ) within a beam B in the MC estimators above must be importance-weighted in proportion to P ( y ( b ) | x , D ) .

Original: [Equation]
Revised: [Equation]

Original: Note that here we introduce temperature calibration T , which allows us to ‘soft-adjust’ the contribution of the lower-probability hypotheses to the resulting measures of uncertainty.
Revised: Note that here we introduce temperature calibration T , which allows us to ‘soft-adjust’ the contribution of the lower-probability hypotheses to the resulting measures of uncertainty.

Original: Higher temperature make the importance weights more uniform across the hypotheses.
Revised: Higher temperature make the importance weights more uniform across the hypotheses.

Original: The effects of this are detailed in appendix G. Equivalent expressions for ˆ I ( B ) C-IW , ˆ K ( B ) C-IW , ˆ M ( B ) S-IW and ˆ M ( B ) C-IW are provided in appendix A.
Revised: The effects of this are detailed in appendix G. Equivalent expressions for ˆ I ( B ) C-IW , ˆ K ( B ) C-IW , ˆ M ( B ) S-IW and ˆ M ( B ) C-IW are provided in appendix A.

Original: Second, we must consider how to obtain the predictive posterior for an ensemble of autoregressive models.
Revised: Second, we must consider how to obtain the predictive posterior for an ensemble of autoregressive models.

Original: The models can be combined either as a expectation-of-products or a product-of-expectations :
Revised: The models can be combined either as a expectation-of-products or a product-of-expectations :

Original: [Equation]
Revised: [Equation]

Original: The former represents sequence-level Bayesian model averaging , while the latter token-level Bayesian model averaging .
Revised: The former represents sequence-level Bayesian model averaging , while the latter token-level Bayesian model averaging .

Original: Both are methods to do model combination 3 , but only the former is fully consistent with the sequence-level uncertainty measure deﬁned in section 2, as they assume that all tokens in the sequence y are generated from the same θ ( m ) .
Revised: Both are methods to do model combination 3 , but only the former is fully consistent with the sequence-level uncertainty measure deﬁned in section 2, as they assume that all tokens in the sequence y are generated from the same θ ( m ) .

Original: However, it is not clear a-priori which combination yields superior predictive performance given a set of samples of parameters θ ( m ) from a particular q ( θ ) and an inference method.
Revised: However, it is not clear a-priori which combination yields superior predictive performance given a set of samples of parameters θ ( m ) from a particular q ( θ ) and an inference method.

Original: If hypotheses are obtained via beam-search, which is typically a sequence of token-level decisions, considering P PE ( y | x , D ) may be advantageous.
Revised: If hypotheses are obtained via beam-search, which is typically a sequence of token-level decisions, considering P PE ( y | x , D ) may be advantageous.

Original: The choice of combination also affects how the token-level predictive posterior P ( y l | y ( b ) <l , x , D ) is obtained:
Revised: The choice of combination also affects how the token-level predictive posterior P ( y l | y ( b ) <l , x , D ) is obtained:

Original: [Equation]
Revised: [Equation]

Original: This choice affects measures derived from the sequence and token-level predictive posteriors.
Revised: This choice affects measures derived from the sequence and token-level predictive posteriors.

Original: However, all measures can still be calculated for both forms at the same time, regardless of which was used for inference.
Revised: However, all measures can still be calculated for both forms at the same time, regardless of which was used for inference.

Original: Thus, the choice of combination depends on which yields superior performance.
Revised: Thus, the choice of combination depends on which yields superior performance.

Original:  E XPERIMENTAL E VALUATION
Revised:  E XPERIMENTAL E VALUATION

Original: The current section provides performance baselines on three applications of structured uncertainty estimates: sequence-level and token-level error detection, and out-of-distribution input (anomaly) detection.
Revised: The current section provides performance baselines on three applications of structured uncertainty estimates: sequence-level and token-level error detection, and out-of-distribution input (anomaly) detection.

Original: Additional analysis is provided in appendices C-J.
Revised: Additional analysis is provided in appendices C-J.

Original: We also compare performance to prior heuristic ensemble-based approaches.
Revised: We also compare performance to prior heuristic ensemble-based approaches.

Original: This work only considers ensembles of autoregressive neural machine translation (NMT) and speech recognition (ASR) models generated by training identical models from different random initializations (Lakshminarayanan et al., 2017).
Revised: This work only considers ensembles of autoregressive neural machine translation (NMT) and speech recognition (ASR) models generated by training identical models from different random initializations (Lakshminarayanan et al., 2017).

Original: This approach was shown to consistently outperform other ensemble generation techniques using exponentially smaller ensembles (Ashukha et al., 2020; Ovadia et al., 2019; Fort et al., 2019).
Revised: This approach was shown to consistently outperform other ensemble generation techniques using exponentially smaller ensembles (Ashukha et al., 2020; Ovadia et al., 2019; Fort et al., 2019).

Original: Ensembles of 10 transformerbig (Vaswani et al., 2017) models were trained on the WMT’17 English-to-German (EN-DE) and
Revised: Ensembles of 10 transformerbig (Vaswani et al., 2017) models were trained on the WMT’17 English-to-German (EN-DE) and

Original: WMT’14 English-to-French (EN-FR) translation tasks and evaluated on the newstest14 (nwt14) dataset.
Revised: WMT’14 English-to-French (EN-FR) translation tasks and evaluated on the newstest14 (nwt14) dataset.

Original: All models were trained using the conﬁguration described in (Ott et al., 2018b).
Revised: All models were trained using the conﬁguration described in (Ott et al., 2018b).

Original: Ensembles of 6 VGG-Transformer (Mohamed et al., 2019) models were trained on the LibriSpeech (Panayotov et al., 2015) (LSP) ASR dataset.
Revised: Ensembles of 6 VGG-Transformer (Mohamed et al., 2019) models were trained on the LibriSpeech (Panayotov et al., 2015) (LSP) ASR dataset.

Original: Standard Fairseq (Ott et al., 2019) implementations of all models are used.
Revised: Standard Fairseq (Ott et al., 2019) implementations of all models are used.

Original: Details of model conﬁgurations are available in appendix B. Note that no comparison is made to supervised uncertainty estimation techniques for NMT/ASR, such as those described in (Liao &
Revised: Details of model conﬁgurations are available in appendix B. Note that no comparison is made to supervised uncertainty estimation techniques for NMT/ASR, such as those described in (Liao &

Original: Gales, 2007; Koehn, 2009), for two reasons.
Revised: Gales, 2007; Koehn, 2009), for two reasons.

Original: Firstly, the focus of this work is general, unsupervised uncertainty estimation approaches based on ensemble methods.
Revised: Firstly, the focus of this work is general, unsupervised uncertainty estimation approaches based on ensemble methods.

Original: Secondly, to our knowledge, they have not been applied to autoregressive models and doing so is beyond the scope of this work.
Revised: Secondly, to our knowledge, they have not been applied to autoregressive models and doing so is beyond the scope of this work.

Original: [Table]
Revised: [Table]

Original: Choice of Ensemble Combination As discussed in section 3, ensembles can be combined as an expectation-of-products (ExPr) or as a product-of-expectations (PrEx) (16).
Revised: Choice of Ensemble Combination As discussed in section 3, ensembles can be combined as an expectation-of-products (ExPr) or as a product-of-expectations (PrEx) (16).

Original: Therefore, it is necessary to evaluate which yields superior predictive performance.
Revised: Therefore, it is necessary to evaluate which yields superior predictive performance.

Original: We evaluate EN-DE and EN-FR NMT models on newstest14 and the ASR models on LibriSpeech test-clean (LTC) and test-other (LTO).
Revised: We evaluate EN-DE and EN-FR NMT models on newstest14 and the ASR models on LibriSpeech test-clean (LTC) and test-other (LTO).

Original: Results in table 1 show that a product-of-expectations combination consistently yields marginally higher translation BLEU and lower ASR word-error-rate (WER) in beam-search decoding for all tasks 4 .
Revised: Results in table 1 show that a product-of-expectations combination consistently yields marginally higher translation BLEU and lower ASR word-error-rate (WER) in beam-search decoding for all tasks 4 .

Original: Beam-width for NMT and ASR models is 5 and 20, respectively.
Revised: Beam-width for NMT and ASR models is 5 and 20, respectively.

Original: We speculate that this is because beam-search inference, which is a sequence of greedy token-level decisions, beneﬁts more from token-level Bayesian model averaging.
Revised: We speculate that this is because beam-search inference, which is a sequence of greedy token-level decisions, beneﬁts more from token-level Bayesian model averaging.

Original: At the same time, both combination strategies yield equivalent teacher-forcing mean length-normalized negative-log-likelihood on reference data.
Revised: At the same time, both combination strategies yield equivalent teacher-forcing mean length-normalized negative-log-likelihood on reference data.

Original: This may be because the models in the ensemble yield consistent predictions on in-domain data, in which case the two combinations will yield similar probabilities.
Revised: This may be because the models in the ensemble yield consistent predictions on in-domain data, in which case the two combinations will yield similar probabilities.

Original: Further experiments in this work will use hypotheses obtained from a product-of-expectations ensemble combination, as it yields marginally better predictive performance.
Revised: Further experiments in this work will use hypotheses obtained from a product-of-expectations ensemble combination, as it yields marginally better predictive performance.

Original: Additional analysis and results are available in appendix C
Revised: Additional analysis and results are available in appendix C

Original: [Table]
Revised: [Table]

Original: [Table]
Revised: [Table]

Original: Sequence-level Error Detection We now investigate whether the sequence-level uncertainty measures can be used to detect sentences which are challenging to translate or transcribe.
Revised: Sequence-level Error Detection We now investigate whether the sequence-level uncertainty measures can be used to detect sentences which are challenging to translate or transcribe.

Original: In the following experiment a model’s 1-best hypotheses are sorted in order of decreasing uncertainty and incrementally replaced by the references.
Revised: In the following experiment a model’s 1-best hypotheses are sorted in order of decreasing uncertainty and incrementally replaced by the references.

Original: The mean sentence-BLEU (sBLEU) or sentence-WER (sWER) is plotted against the fraction of data replaced on a rejection curve .
Revised: The mean sentence-BLEU (sBLEU) or sentence-WER (sWER) is plotted against the fraction of data replaced on a rejection curve .

Original: If the uncertainties are informative, then the increase in sBLEU or decrease in sWER should be greater than random (linear).
Revised: If the uncertainties are informative, then the increase in sBLEU or decrease in sWER should be greater than random (linear).

Original: Rejection curves are summarised using the Prediction Rejection Ratio (PRR) (Malinin, 2019; Malinin et al., 2020), describe in appendix D.2, which is 100% if uncertainty estimates perfectly correlate with sentence BLEU/WER, and 0% if they are uninformative.
Revised: Rejection curves are summarised using the Prediction Rejection Ratio (PRR) (Malinin, 2019; Malinin et al., 2020), describe in appendix D.2, which is 100% if uncertainty estimates perfectly correlate with sentence BLEU/WER, and 0% if they are uninformative.

Original: In these experiments information only from the 1-best hypothesis is considered.
Revised: In these experiments information only from the 1-best hypothesis is considered.

Original: While the 1-best hypotheses are obtained from a product-ofexpectation combination, we consider uncertainty estimates obtained by expressing the predictive posterior both as a product-of-expectations (ENS-PrEx) and expectation-of-products (ENS-ExPr).
Revised: While the 1-best hypotheses are obtained from a product-ofexpectation combination, we consider uncertainty estimates obtained by expressing the predictive posterior both as a product-of-expectations (ENS-PrEx) and expectation-of-products (ENS-ExPr).

Original: Table 2 shows several trends.
Revised: Table 2 shows several trends.

Original: First, measures of total uncertainty yield the best performance.
Revised: First, measures of total uncertainty yield the best performance.

Original: Furthermore, joint-sequence estimates of total uncertainty consistently outperform chain-rule based estimates.
Revised: Furthermore, joint-sequence estimates of total uncertainty consistently outperform chain-rule based estimates.

Original: This is because, unlike chain-rule approximations, joint-sequence approximations do not account for probabilities of non-generated tokens and only consider probabilities along the 1-best hypothesis, and therefore assess its quality.
Revised: This is because, unlike chain-rule approximations, joint-sequence approximations do not account for probabilities of non-generated tokens and only consider probabilities along the 1-best hypothesis, and therefore assess its quality.

Original: This is consistent with results for unstructuredprediction (Malinin, 2019).
Revised: This is consistent with results for unstructuredprediction (Malinin, 2019).

Original: Second, measures derived from a product-of-expectation predictive
Revised: Second, measures derived from a product-of-expectation predictive

Original: BLEU posterior tend to yield superior performance than their expectation-of-products counterparts.
Revised: BLEU posterior tend to yield superior performance than their expectation-of-products counterparts.

Original: However, this does not seem to be a property of the 1-best hypotheses, as results in appendix D on hypotheses obtained from a expectation-of-products ensemble show a similar trend.
Revised: However, this does not seem to be a property of the 1-best hypotheses, as results in appendix D on hypotheses obtained from a expectation-of-products ensemble show a similar trend.

Original: Third, out of all measures of knowledge uncertainty, joint-sequence RMI performs best.
Revised: Third, out of all measures of knowledge uncertainty, joint-sequence RMI performs best.

Original: Finally, the performance gap between chain-rule and joint-sequence estimates of total uncertainty is larger for NMT.
Revised: Finally, the performance gap between chain-rule and joint-sequence estimates of total uncertainty is larger for NMT.

Original: This is because compared to ASR, NMT is a task with intrinsically higher uncertainty, and therefore more irrelevant information is introduced by considering the probabilities of non-generated tokens.
Revised: This is because compared to ASR, NMT is a task with intrinsically higher uncertainty, and therefore more irrelevant information is introduced by considering the probabilities of non-generated tokens.

Original: The results also show that uncertainty-based rejection works better for ASR than NMT.
Revised: The results also show that uncertainty-based rejection works better for ASR than NMT.

Original: The issue lies in the nature of NMT - it is inherently difﬁcult to objectively deﬁne a bad translation 6 .
Revised: The issue lies in the nature of NMT - it is inherently difﬁcult to objectively deﬁne a bad translation 6 .

Original: While WER is an objective measure of quality, BLEU is only a proxy measure.
Revised: While WER is an objective measure of quality, BLEU is only a proxy measure.

Original: While a high sBLEU indicates a good translation, a low sBLEU does not necessarily indicate a poor one.
Revised: While a high sBLEU indicates a good translation, a low sBLEU does not necessarily indicate a poor one.

Original: Thus, a model may yield a low uncertainty, high-quality translation which has little word-overlap with the reference and low sBLEU, negatively impacting PRR.
Revised: Thus, a model may yield a low uncertainty, high-quality translation which has little word-overlap with the reference and low sBLEU, negatively impacting PRR.

Original: A better, but more expensive, approach to assess uncertainty estimates in NMT is whether they correlate well with human assessment of translation quality.
Revised: A better, but more expensive, approach to assess uncertainty estimates in NMT is whether they correlate well with human assessment of translation quality.

Original: [Table]
Revised: [Table]

Original: Token-level Error Detection We now assess whether token-level uncertainties can be used to detect token-level errors in the models’ 1-best hypotheses.
Revised: Token-level Error Detection We now assess whether token-level uncertainties can be used to detect token-level errors in the models’ 1-best hypotheses.

Original: Note that token-level error labelling is ill-posed for translation, where correct tokens can be mislabelled as errors due valid word re-arrangements and substitutions.
Revised: Note that token-level error labelling is ill-posed for translation, where correct tokens can be mislabelled as errors due valid word re-arrangements and substitutions.

Original: Thus, token-level error detection is only investigated for ASR.
Revised: Thus, token-level error detection is only investigated for ASR.

Original: Ground-truth error-labels are obtained by aligning the hypotheses to the references using the SCLITE NIST scoring tool and marking insertions and substitutions 7 .
Revised: Ground-truth error-labels are obtained by aligning the hypotheses to the references using the SCLITE NIST scoring tool and marking insertions and substitutions 7 .

Original: Performance is assessed via area-under a Precision-Recall curve.
Revised: Performance is assessed via area-under a Precision-Recall curve.

Original: Random performance corresponds to the baseline recall, which is equal to the token error rate.
Revised: Random performance corresponds to the baseline recall, which is equal to the token error rate.

Original: Results in table 3 are consistent with the previous section.
Revised: Results in table 3 are consistent with the previous section.

Original: First, measures of total uncertainty outperform measures of knowledge uncertainty .
Revised: First, measures of total uncertainty outperform measures of knowledge uncertainty .

Original: Second, estimates derived from conditional logscores P of the generated token outperform the entropy H of the token-level predictive posterior.
Revised: Second, estimates derived from conditional logscores P of the generated token outperform the entropy H of the token-level predictive posterior.

Original: This is because the latter relates to probability of an error at this position , while the former relates to the probability of this particular token being an error.
Revised: This is because the latter relates to probability of an error at this position , while the former relates to the probability of this particular token being an error.

Original: Finally, deriving uncertainties from a product-of-expectation token-level predictive posterior P PE ( y l | y (1) <l , x , D ) yields superior results.
Revised: Finally, deriving uncertainties from a product-of-expectation token-level predictive posterior P PE ( y l | y (1) <l , x , D ) yields superior results.

Original: [Table]
Revised: [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: AMI  97.
Revised: AMI  97.

Original: [Table]
Revised: [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: C
Revised: C

Original: [Table]
Revised: [Table]

Original: FR
Revised: FR

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table]
Revised: [Table]

Original: NMT
Revised: NMT

Original: LTC
Revised: LTC

Original: [Table]
Revised: [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table] 
Revised: [Table] [Table] [Table]

Original: [Table] [Table][Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: PRM  82.
Revised: PRM  82.

Original: [Table]
Revised: [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: [Table] [Table]
Revised: [Table] [Table]

Original: L-FR
Revised: L-FR

Original: [Table]
Revised: [Table]

Original: L-DE
Revised: L-DE

Original: [Table]
Revised: [Table]

Original: Out-of-Domain input Detection We now consider out-of-domain input (anomaly) detection.
Revised: Out-of-Domain input Detection We now consider out-of-domain input (anomaly) detection.

Original: The goal is use uncertainty estimates to discriminate between in-domain test data and a selection of out-
Revised: The goal is use uncertainty estimates to discriminate between in-domain test data and a selection of out-

Original: Detecting deletions is, in general, a far more challenging task.
Revised: Detecting deletions is, in general, a far more challenging task.

Original: of-domain (OOD) datasets.
Revised: of-domain (OOD) datasets.

Original: Performance is assessed via area under a ROC-curve (ROC-AUC), where 100% is ideal performance, 50% is random and
Revised: Performance is assessed via area under a ROC-curve (ROC-AUC), where 100% is ideal performance, 50% is random and

Original: below 50% indicates that the model yields lower uncertainty for the OOD data.
Revised: below 50% indicates that the model yields lower uncertainty for the OOD data.

Original: Results are presented in table 4, additional results in appendices F,G,I.
Revised: Results are presented in table 4, additional results in appendices F,G,I.

Original: First, let’s examine OOD detection for speech recognition.
Revised: First, let’s examine OOD detection for speech recognition.

Original: Three OOD datasets are considered, each covering a different form of domain shift.
Revised: Three OOD datasets are considered, each covering a different form of domain shift.

Original: First, LibriSpeech test-other (LTO), which represents a set of sentences which are more noisy and difﬁcult to transcribe.
Revised: First, LibriSpeech test-other (LTO), which represents a set of sentences which are more noisy and difﬁcult to transcribe.

Original: Second, the AMI meeting transcription dataset (Kraaij et al., 2005), which represents spoken English from a different domain, mismatched to
Revised: Second, the AMI meeting transcription dataset (Kraaij et al., 2005), which represents spoken English from a different domain, mismatched to

Original: LibriSpeech, which consist of books being read.
Revised: LibriSpeech, which consist of books being read.

Original: Finally, we consider speech in a different language (French), taken from the Common Voice Project (Ardila et al., 2019).
Revised: Finally, we consider speech in a different language (French), taken from the Common Voice Project (Ardila et al., 2019).

Original: The results show that OOD detection becomes easier the greater the domain mismatch.
Revised: The results show that OOD detection becomes easier the greater the domain mismatch.

Original: Curiously, there is marginal difference between the performance of measures of uncertainty.
Revised: Curiously, there is marginal difference between the performance of measures of uncertainty.

Original: This is likely because ASR models tend to be very ‘sharp’ and are naturally more entropic in mismatched conditions.
Revised: This is likely because ASR models tend to be very ‘sharp’ and are naturally more entropic in mismatched conditions.

Original: Now let’s consider OOD detection for WMT’17 English-German machine translation.
Revised: Now let’s consider OOD detection for WMT’17 English-German machine translation.

Original: The following
Revised: The following

Original: OOD datasets are considered.
Revised: OOD datasets are considered.

Original: First, the LibriSpeech test-clean (LTC) reference transcriptions, which are OOD in terms of both domain and structure, as spoken English is structurally distinct from written English.
Revised: First, the LibriSpeech test-clean (LTC) reference transcriptions, which are OOD in terms of both domain and structure, as spoken English is structurally distinct from written English.

Original: Second, newstest14 sentences corrupted by randomly permuting the source-tokens (PRM).
Revised: Second, newstest14 sentences corrupted by randomly permuting the source-tokens (PRM).

Original: Third, French and German source-sentences from newstest14 (L-FR and L-DE).
Revised: Third, French and German source-sentences from newstest14 (L-FR and L-DE).

Original: Results show that discriminating between spoken and written English is challenging.
Revised: Results show that discriminating between spoken and written English is challenging.

Original: In contrast, it is possible to near-perfectly detect corrupted English.
Revised: In contrast, it is possible to near-perfectly detect corrupted English.

Original: Interestingly, detection of text from other languages is particularly difﬁcult.
Revised: Interestingly, detection of text from other languages is particularly difﬁcult.

Original: Inspection of the model’s output shows that the ensemble displays a pathological copy-through effect, where the input tokens are copied to the output with high conﬁdence.
Revised: Inspection of the model’s output shows that the ensemble displays a pathological copy-through effect, where the input tokens are copied to the output with high conﬁdence.

Original: As a result, estimates of total uncertainty are lower for the (OOD) French or German data than for (ID) English data.
Revised: As a result, estimates of total uncertainty are lower for the (OOD) French or German data than for (ID) English data.

Original: Notably, estimates of knowledge uncertainty , especially reverse mutual information (RMI), ˆ M ( B ) C-IW and ˆ M ( B ) S-IW , are affected far less and discriminate between the in-domain and OOD data.
Revised: Notably, estimates of knowledge uncertainty , especially reverse mutual information (RMI), ˆ M ( B ) C-IW and ˆ M ( B ) S-IW , are affected far less and discriminate between the in-domain and OOD data.

Original: This effect true in general, but is especially pronounced when the copy-through effect is triggered.
Revised: This effect true in general, but is especially pronounced when the copy-through effect is triggered.

Original: This highlights the value of the RMI, for which asymptotically exact approximations can be obtained.
Revised: This highlights the value of the RMI, for which asymptotically exact approximations can be obtained.

Original: Clearly, ASR ensembles are better at OOD detection than NMT ensembles.
Revised: Clearly, ASR ensembles are better at OOD detection than NMT ensembles.

Original: This is expected, as
Revised: This is expected, as

Original: ASR models receive a continuous-valued input signal which contains information not only about the content of the speech, but also the domain, language, speaker characteristics, background noise and recording conditions.
Revised: ASR models receive a continuous-valued input signal which contains information not only about the content of the speech, but also the domain, language, speaker characteristics, background noise and recording conditions.

Original: This makes the task easier, as the model conditions on more information.
Revised: This makes the task easier, as the model conditions on more information.

Original: This is also why ASR has low intrinsic data uncertainty and why the best OOD detection performance for
Revised: This is also why ASR has low intrinsic data uncertainty and why the best OOD detection performance for

Original: ASR is obtained using measures of total uncertainty .
Revised: ASR is obtained using measures of total uncertainty .

Original: In contrast, NMT models only have access to a sequence of discrete tokens, which contains far less information.
Revised: In contrast, NMT models only have access to a sequence of discrete tokens, which contains far less information.

Original: This also highlights the value of knowledge uncertainty , as it disregard the high intrinsic data uncertainty of NMT.
Revised: This also highlights the value of knowledge uncertainty , as it disregard the high intrinsic data uncertainty of NMT.

Original: An interesting effect, which is fully explored in appendix G, is that when considering all the hypotheses within the beam for uncertainty estimation, it is beneﬁcial for NMT to use a higher importance-weighting temperature ( T = 10 ), increasing the contribution from competing hypotheses.
Revised: An interesting effect, which is fully explored in appendix G, is that when considering all the hypotheses within the beam for uncertainty estimation, it is beneﬁcial for NMT to use a higher importance-weighting temperature ( T = 10 ), increasing the contribution from competing hypotheses.

Original: In contrast, this detrimental for ASR, and temperature is kept at T
Revised: In contrast, this detrimental for ASR, and temperature is kept at T

Original: = 1 .
Revised: = 1 .

Original: We hypothesise that this may be an artifact of the multi-modality of translation - multiple hypotheses could be equally good and contribute valuable information.
Revised: We hypothesise that this may be an artifact of the multi-modality of translation - multiple hypotheses could be equally good and contribute valuable information.

Original: In contrast, in ASR there is only one correct transcription, though not necessarily the 1-best, and considering competing hypotheses is detrimental.
Revised: In contrast, in ASR there is only one correct transcription, though not necessarily the 1-best, and considering competing hypotheses is detrimental.

Original: The results also show that chain-rule and joint-sequence approximations yield similar performance and that, with the exception of ˆ M ( B ) S-IW , using information from the full beam yields beneﬁts minor improvements compared during using just the 1-best hypotheses.
Revised: The results also show that chain-rule and joint-sequence approximations yield similar performance and that, with the exception of ˆ M ( B ) S-IW , using information from the full beam yields beneﬁts minor improvements compared during using just the 1-best hypotheses.

Original: Uncertainties derived from
Revised: Uncertainties derived from

Original: P EP ( y | x , D ) and P PE ( y | x , D ) yield comparable performance, with the exception of mutual information and EPKL, where P EP ( y | x , D ) yields consistently poorer performance.
Revised: P EP ( y | x , D ) and P PE ( y | x , D ) yield comparable performance, with the exception of mutual information and EPKL, where P EP ( y | x , D ) yields consistently poorer performance.

Original: This suggests that
Revised: This suggests that

Original: P PE ( y | x , D ) yields more robust uncertainty estimates.
Revised: P PE ( y | x , D ) yields more robust uncertainty estimates.

Original: Comparison to heuristic uncertainty measures We close with a comparison of the proposed information-theoretic measures of knowledge uncertainty to the ’heuristic’ measures describes in (Wang et al., 2019; Fomicheva et al., 2020; Xiao et al., 2019).
Revised: Comparison to heuristic uncertainty measures We close with a comparison of the proposed information-theoretic measures of knowledge uncertainty to the ’heuristic’ measures describes in (Wang et al., 2019; Fomicheva et al., 2020; Xiao et al., 2019).

Original: These measures, and our modiﬁcations thereof, are detailed in appendix I.
Revised: These measures, and our modiﬁcations thereof, are detailed in appendix I.

Original: We examine the variance of the length-normalized probability and log-probability of hypotheses across the ensemble, as well as the cross-hypothesis WER/BLEU.
Revised: We examine the variance of the length-normalized probability and log-probability of hypotheses across the ensemble, as well as the cross-hypothesis WER/BLEU.

Original: The use of more than the 1-best hypothesis is our extension for the variance-based measures.
Revised: The use of more than the 1-best hypothesis is our extension for the variance-based measures.

Original: All of these measures aim to evaluate the diversity of ensemble of models in different ways.
Revised: All of these measures aim to evaluate the diversity of ensemble of models in different ways.

Original: In this regard they are all measures of knowledge uncertainty .
Revised: In this regard they are all measures of knowledge uncertainty .

Original: Their main limitations, as originally presented, are the following.
Revised: Their main limitations, as originally presented, are the following.

Original: All measures focused on the diversity in the probabilities or surface forms of only the 1-best hypothesis.
Revised: All measures focused on the diversity in the probabilities or surface forms of only the 1-best hypothesis.

Original: While sufﬁcient in some tasks, such as sequence-error detection, this prevents them from fully capture information about the behavior of the space of possible translations/transcriptions.
Revised: While sufﬁcient in some tasks, such as sequence-error detection, this prevents them from fully capture information about the behavior of the space of possible translations/transcriptions.

Original: In this regard, the information theoretic measures presented in our work are an advantage, as they naturally allow to do this.
Revised: In this regard, the information theoretic measures presented in our work are an advantage, as they naturally allow to do this.

Original: We attempt to address this for the variance-based measures by considering the importance-weighted variance of the probability/log-probability of each hypothesis in the beam.
Revised: We attempt to address this for the variance-based measures by considering the importance-weighted variance of the probability/log-probability of each hypothesis in the beam.

Original: While not strictly rigorous, this nonetheless attempts to address the problem.
Revised: While not strictly rigorous, this nonetheless attempts to address the problem.

Original: Such an extension to cross-BLEU/WER is not possible, as it is not clear how to match up different hypotheses across all decodings of each model in the ensemble.
Revised: Such an extension to cross-BLEU/WER is not possible, as it is not clear how to match up different hypotheses across all decodings of each model in the ensemble.

Original: Cross-BLEU/WER have the additional limitation of needing a separate decoding of each model in the ensemble, which is undesirable and expensive.
Revised: Cross-BLEU/WER have the additional limitation of needing a separate decoding of each model in the ensemble, which is undesirable and expensive.

Original: Finally, it is likely that there is bias towards longer hypotheses as being more diverse, as there is a greater chance of a surface form mismatch.
Revised: Finally, it is likely that there is bias towards longer hypotheses as being more diverse, as there is a greater chance of a surface form mismatch.

Original: The results in table 5 show that information-theoretic measures consistently yield better performance, though sometimes only marginally.
Revised: The results in table 5 show that information-theoretic measures consistently yield better performance, though sometimes only marginally.

Original: Cross-BLEU/WER typically yields the worst performance, especially for NMT.
Revised: Cross-BLEU/WER typically yields the worst performance, especially for NMT.

Original: Finally, including information from competing hypotheses can be advantageous for the variance based measures.
Revised: Finally, including information from competing hypotheses can be advantageous for the variance based measures.

Original: However, sometimes the performance is degraded - this is because the information was integrated in an adhoc, rather than theoretically meaningful, fashion.
Revised: However, sometimes the performance is degraded - this is because the information was integrated in an adhoc, rather than theoretically meaningful, fashion.

Original: We also show in appendix I that length-normalization, which was used inconsistently in prior work, is important both for these measures, and appendix H for the information-theoretic ones.
Revised: We also show in appendix I that length-normalization, which was used inconsistently in prior work, is important both for these measures, and appendix H for the information-theoretic ones.

Original: [Table]
Revised: [Table]

Original:  C ONCLUSION
Revised:  C ONCLUSION

Original: This work investigated applying a general, probabilistically interpretable ensemble-based uncertainty estimation framework to structured tasks, focusing on autoregressive models.
Revised: This work investigated applying a general, probabilistically interpretable ensemble-based uncertainty estimation framework to structured tasks, focusing on autoregressive models.

Original: A range of informationtheoretic uncertainty measures both at the token level and sequence level were considered, including a novel measure of knowledge uncertainty called reverse mutual-information (RMI).
Revised: A range of informationtheoretic uncertainty measures both at the token level and sequence level were considered, including a novel measure of knowledge uncertainty called reverse mutual-information (RMI).

Original: Two types of
Revised: Two types of

Original: Monte-Carlo approximations were proposed - one based on the entropy chain rule, and the other on sequence samples.
Revised: Monte-Carlo approximations were proposed - one based on the entropy chain rule, and the other on sequence samples.

Original: Additionally, this work examined ensemble combination through both token-level and sequence-level Bayesian model averaging.
Revised: Additionally, this work examined ensemble combination through both token-level and sequence-level Bayesian model averaging.

Original: Performance baselines for sequence and token-level error detection, and out-of-domain (OOD) input detection were provided on the WMT’14 EnglishFrench and WMT’17 English-German translation datasets, and the LibriSpeech ASR dataset.
Revised: Performance baselines for sequence and token-level error detection, and out-of-domain (OOD) input detection were provided on the WMT’14 EnglishFrench and WMT’17 English-German translation datasets, and the LibriSpeech ASR dataset.

Original: The results show that ensemble-based measures of uncertainty are useful for all applications considered.
Revised: The results show that ensemble-based measures of uncertainty are useful for all applications considered.

Original: Estimates of knowledge uncertainty are especially valuable for NMT OOD detection.
Revised: Estimates of knowledge uncertainty are especially valuable for NMT OOD detection.

Original: Crucially, it was shown that RMI is consistently the most informative measure of knowledge uncertainty for structured prediction.
Revised: Crucially, it was shown that RMI is consistently the most informative measure of knowledge uncertainty for structured prediction.

Original: Notably, it was found that token-level Bayesian model averaging consistently yields both marginally better predictive performance and more robust estimates of uncertainty.
Revised: Notably, it was found that token-level Bayesian model averaging consistently yields both marginally better predictive performance and more robust estimates of uncertainty.

Original: However, it remains unclear why this is the case, which should be investigated in future work.
Revised: However, it remains unclear why this is the case, which should be investigated in future work.

Original: Future work should also investigate alternative ensemble generation techniques and compare ensemble-based uncertainty estimates to the task-speciﬁc conﬁdence-score estimates previously explored for ASR and NMT.
Revised: Future work should also investigate alternative ensemble generation techniques and compare ensemble-based uncertainty estimates to the task-speciﬁc conﬁdence-score estimates previously explored for ASR and NMT.

Original: Another interesting direction is to assess the calibration of autoregressive ASR models.
Revised: Another interesting direction is to assess the calibration of autoregressive ASR models.

Original: A D ERIVATIONS OF U NCERTAINTY M EASURES
Revised: A D ERIVATIONS OF U NCERTAINTY M EASURES

Original: The current appendix details token-level measures of uncertainty for autoregressive models and provides the derivations of the sequence-level measures of uncertainty discussed in section 3 as well as extended discussions of their theoretical properties.
Revised: The current appendix details token-level measures of uncertainty for autoregressive models and provides the derivations of the sequence-level measures of uncertainty discussed in section 3 as well as extended discussions of their theoretical properties.

Original: A. T OKEN - LEVEL UNCERTAINTY ESTIMATES
Revised: A. T OKEN - LEVEL UNCERTAINTY ESTIMATES

Original: As was stated in section 2, token-level ensemble-based uncertainty estimates for autoregressive models are isomorphic to un-structured uncertainty estimates (Malinin, 2019).
Revised: As was stated in section 2, token-level ensemble-based uncertainty estimates for autoregressive models are isomorphic to un-structured uncertainty estimates (Malinin, 2019).

Original: However, for completeness, they are described in the current section.
Revised: However, for completeness, they are described in the current section.

Original: First, let’s consider the predictive posterior P ( y l | y <l , x , D ) .
Revised: First, let’s consider the predictive posterior P ( y l | y <l , x , D ) .

Original: As discussed in section 3, the token-level predictive posterior of an autoregressive models can be obtained in two ways.
Revised: As discussed in section 3, the token-level predictive posterior of an autoregressive models can be obtained in two ways.

Original: One corresponds to token-level Bayesian model averaging, while the other corresponds to sequence-level Bayesian model averaging.
Revised: One corresponds to token-level Bayesian model averaging, while the other corresponds to sequence-level Bayesian model averaging.

Original: The ﬁrst can be expressed as follows:
Revised: The ﬁrst can be expressed as follows:

Original: [Equation]
Revised: [Equation]

Original: While the latter is expressed like so:
Revised: While the latter is expressed like so:

Original: [Equation]
Revised: [Equation]

Original: Clearly, token-level BMA is more consistent with estimating the uncertainty in the prediction of the current token y l , regardless of how the context tokens were generated.
Revised: Clearly, token-level BMA is more consistent with estimating the uncertainty in the prediction of the current token y l , regardless of how the context tokens were generated.

Original: In contrast, sequence-level
Revised: In contrast, sequence-level

Original: BMA considers how the entire sequence was generated.
Revised: BMA considers how the entire sequence was generated.

Original: Regardless of how the predictive posterior is obtained, the estimate of total uncertainty will be given its entropy:
Revised: Regardless of how the predictive posterior is obtained, the estimate of total uncertainty will be given its entropy:

Original: [Equation]
Revised: [Equation]

Original: Furthermore, by considering the mutual information between y l and θ we can obtain measures of total uncertainty , knowledge uncertainty and expected data uncertainty :
Revised: Furthermore, by considering the mutual information between y l and θ we can obtain measures of total uncertainty , knowledge uncertainty and expected data uncertainty :

Original: [Equation]
Revised: [Equation]

Original: Alternatively
Revised: Alternatively

Original: [Equation]
Revised: [Equation]

Original: the expected pair-wise KL-divergence (EPKL) between models in the ensemble at the token level can also be considered:
Revised: the expected pair-wise KL-divergence (EPKL) between models in the ensemble at the token level can also be considered:

Original: [Equation]
Revised: [Equation]

Original: where q ( θ ) =
Revised: where q ( θ ) =

Original: q ( ˜ θ ) .
Revised: q ( ˜ θ ) .

Original: This yields an alternative measure of ensemble diversity which is a Jensenderived upper bound on mutual information.
Revised: This yields an alternative measure of ensemble diversity which is a Jensenderived upper bound on mutual information.

Original: Both EPKL and mutual information yield the same estimate of data uncertainty .
Revised: Both EPKL and mutual information yield the same estimate of data uncertainty .

Original: We can also consider novel measures of diversity
Revised: We can also consider novel measures of diversity

Original: [Equation]
Revised: [Equation]

Original: and therefore knowledge uncertainty , called reverse mutual information (RMI) M deﬁned as follows:
Revised: and therefore knowledge uncertainty , called reverse mutual information (RMI) M deﬁned as follows:

Original: [Equation]
Revised: [Equation]

Original: This is effectively the reverse-KL divergence counterpart to the mutual information, which is the mean KL-divergence between each model and the predictive posterior.
Revised: This is effectively the reverse-KL divergence counterpart to the mutual information, which is the mean KL-divergence between each model and the predictive posterior.

Original: It yields the same estimates of total uncertainty .
Revised: It yields the same estimates of total uncertainty .

Original: Just like for the sequence-level measures of uncertainty, it is trivial to derive a relationship between these token-level measures of ensemble diversity:
Revised: Just like for the sequence-level measures of uncertainty, it is trivial to derive a relationship between these token-level measures of ensemble diversity:

Original: [Equation]
Revised: [Equation]

Original: Thus, RMI is the difference between the EPKL and mutual information.
Revised: Thus, RMI is the difference between the EPKL and mutual information.

Original: Consequently, while mutual information, EPKL and RMI all yield estimates of knowledge uncertainty , only mutual information ‘cleanly’ decomposes into total uncertainty and data uncertainty .
Revised: Consequently, while mutual information, EPKL and RMI all yield estimates of knowledge uncertainty , only mutual information ‘cleanly’ decomposes into total uncertainty and data uncertainty .

Original: In contrast, EPKL does not yield clean measures of total uncertainty and RMI does not yield clean measures of data uncertainty .
Revised: In contrast, EPKL does not yield clean measures of total uncertainty and RMI does not yield clean measures of data uncertainty .

Original: [Figure]

Original: All of these measures of uncertainty considered above use information from the full distribution over tokens y l .
Revised: All of these measures of uncertainty considered above use information from the full distribution over tokens y l .

Original: However, we can also examine measures which only consider the probability assigned to the predicted token ˆ ω l .
Revised: However, we can also examine measures which only consider the probability assigned to the predicted token ˆ ω l .

Original: Firstly, we can examine the log-likelihood of the predicted token under the predictive posterior:
Revised: Firstly, we can examine the log-likelihood of the predicted token under the predictive posterior:

Original: [Equation]
Revised: [Equation]

Original: This is a measure of total uncertainty .
Revised: This is a measure of total uncertainty .

Original: Alternatively, we can consider the mean negative Point-wise
Revised: Alternatively, we can consider the mean negative Point-wise

Original: Mutual Information (Murphy, 2012) between the model θ ( m ) and the prediction y l across all models:
Revised: Mutual Information (Murphy, 2012) between the model θ ( m ) and the prediction y l across all models:

Original: [Equation]
Revised: [Equation]

Original: [Figure] This is effectively the RMI at the point prediction, rather than an expectation over all classes. 
Revised: This is effectively the RMI at the point prediction, rather than an expectation over all classes. [Figure] [Equation]

Original: For autoregressive models, these measures represent uncertainty in the prediction given a speciﬁc combination of input x and context y <l .
Revised: For autoregressive models, these measures represent uncertainty in the prediction given a speciﬁc combination of input x and context y <l .

Original: However, at the beginning of a sequence token-level measures of uncertainty are more sensitive to the input x and at the end of a sequence become more sensitive to the context y <l .
Revised: However, at the beginning of a sequence token-level measures of uncertainty are more sensitive to the input x and at the end of a sequence become more sensitive to the context y <l .

Original: A. D ERIVATION OF S EQUENCE - LEVEL M ONTE -C ARLO APPROXIMATIONS
Revised: A. D ERIVATION OF S EQUENCE - LEVEL M ONTE -C ARLO APPROXIMATIONS

Original: In the current section we detail the derivations of joint-sequence and chain-rule derived Monte-Carlo approximations of sequence-level measures of uncertainty deﬁned in 3.
Revised: In the current section we detail the derivations of joint-sequence and chain-rule derived Monte-Carlo approximations of sequence-level measures of uncertainty deﬁned in 3.

Original: Crucially, they make use of the chain rules of entropy and relative entropy (Cover & Thomas, 2006):
Revised: Crucially [Equation] they make use of the chain rules of entropy and relative entropy (Cover & Thomas, 2006):

Original: [Equation]
Revised: [Equation]

Original: We omit the derivation for the entropy of the predictive posterior as they are straightforward.
Revised: We omit the derivation for the entropy of the predictive posterior as they are straightforward.

Original: Instead, we focus on measures of knowledge uncertainty .
Revised: Instead, we focus on measures of knowledge uncertainty .

Original: First, lets consider a direct joint-sequence Monte- Carlo estimate for mutual information:
Revised: First [Equation] lets consider a direct joint-sequence MonteCarlo estimate for mutual information:

Original: [Equation]
Revised: [Equation]

Original: Clearly, this is inference inefﬁcient , as it requires independently sampling from each model.
Revised: Clearly, this is inference inefﬁcient , as it requires independently sampling from each model.

Original: As a result, we cannot obtain this estimate of mutual information for free during sampling (or Beam-Search decoding) from the ensemble’s predictive posterior.
Revised: As a result, we cannot obtain this estimate of mutual information for free during sampling (or Beam-Search decoding) from the ensemble’s predictive posterior.

Original: However, it is possible to obtain an inference efﬁcient approximation by consider the chain rule of relative entropy:
Revised: However, it is possible to obtain an inference efﬁcient approximation by consider the chain rule of relative entropy:

Original: [Equation]
Revised: [Equation]

Original: Here [Equation] we have expressed mutual information as a sum of expected token-level KL-divergences.
Revised: Here, we have expressed mutual information as a sum of expected token-level KL-divergences.

Original: However, by replacing the expectation with respect to each individual model by the expectation with respect to the predictive posterior
Revised: However, by replacing the expectation with respect to each individual model by the expectation with respect to the predictive posterior

Original: [Equation]
Revised: [Equation]

Original: we obtain the following approximation:
Revised: we obtain the following approximation:

Original: [Equation]
Revised: [Equation]

Original: This reduces to the sum of token-level mutual information along hypotheses drawn from the ensemble’s predictive posterior.
Revised: This reduces to the sum of token-level mutual information along hypotheses drawn from the ensemble’s predictive posterior.

Original: However, this approximation will not longer yield equation 3 in the limit as
Revised: However, this approximation will not longer yield equation 3 in the limit as

Original: S → ∞ .
Revised: S → ∞ .

Original: Nevertheless, this approximation, while inexact, may still be useful in practice.
Revised: Nevertheless, this approximation, while inexact, may still be useful in practice.

Original: We can also examine sequence-level EPKL.
Revised: We can also examine sequence-level EPKL.

Original: Similar to the exact Monte-Carlo estimate of mutual information, exact Monte-Carlo estimation for EPKL is also inference in-efﬁcient, as it requires sampling for all models individually:
Revised: Similar to the exact Monte-Carlo estimate of mutual information, exact Monte-Carlo estimation for EPKL is also inference in-efﬁcient, as it requires sampling for all models individually:

Original: [Equation]
Revised: [Equation]

Original: As before
Revised: As before

Original: [Equation]
Revised: [Equation]

Original: we can use the chain-rule of relative entropy and replace sampling from each individual model with sampling from the predictive posterior:
Revised: we can use the chain-rule of relative entropy and replace sampling from each individual model with sampling from the predictive posterior:

Original: [Equation]
Revised: [Equation]

Original: This approximation becomes the sum of token-level EPKL along hypotheses generated by the ensemble’s predictive posterior.
Revised: This approximation becomes the sum of token-level EPKL along hypotheses generated by the ensemble’s predictive posterior.

Original: This approximation will also not yield equation 4 in the limit as
Revised: This approximation will also not yield equation 4 in the limit as

Original: S → ∞ .
Revised: S → ∞ .

Original: However, while asymptotically exact inference-efﬁcient Monte-Carlo estimates of sequence-level knowledge uncertainty cannot be obtained via mutual information and EPKL, they can by considering the novel measure RMI equation 5, which deﬁned as an expectation with respect to the predictive posterior.
Revised: However, while asymptotically exact inference-efﬁcient Monte-Carlo estimates of sequence-level knowledge uncertainty cannot be obtained via mutual information and EPKL, they can by considering the novel measure RMI equation 5, which deﬁned as an expectation with respect to the predictive posterior.

Original: A direct joint-sequence Monte-Carlo approximation can be obtained as follows:
Revised: A direct joint-sequence Monte-Carlo approximation can be obtained as follows:

Original: [Equation]
Revised: [Equation]

Original: Similarly

Original: [Equation]
Revised: [Equation]

Original:  we can also obtain an asymptotically exact chain-rule approximation:
Revised: Similarly, we can also obtain an asymptotically exact chain-rule approximation:

Original: [Equation]
Revised: [Equation]

Original: A. I MPORTANCE W EIGHTING
Revised: A. I MPORTANCE W EIGHTING

Original: As discussed in section 3, beam-search decoding can be interpreted as a form of importance sampling.
Revised: As discussed in section [Equation] beam-search decoding can be interpreted as a form of importance sampling.

Original: For the Monte-Carlo approximations for sequence-level measures of uncertainty to be used with beam search, they need to be adjusted such that uncertainty associated with each hypothesis y ( b ) within the beam B is weighted in proportion to it’s probability:
Revised: For the Monte-Carlo approximations for sequence-level measures of uncertainty to be used with beam search [Equation] they need to be adjusted such that uncertainty associated with each hypothesis y ( b ) within the beam B is weighted in proportion to it’s probability:

Original: [Equation]
Revised: [Equation]

Original: All chain-rule derived measures of uncertainty will be expressed as follows:
Revised: All chain-rule derived measures of uncertainty will be expressed as follows:

Original: [Equation]
Revised: [Equation]

Original: Joint-sequence measures of uncertainty are similarly modiﬁed:
Revised: Joint-sequence measures of uncertainty are similarly modiﬁed:

Original: [Equation]
Revised: [Equation]

Original: B E XPERIMENTAL C ONFIGURATION
Revised: B E XPERIMENTAL C ONFIGURATION

Original: The current section of the appendix provides both a description of the datasets and details of the models and experimental setups used in this work.
Revised: The current section of the appendix provides both a description of the datasets and details of the models and experimental setups used in this work.

Original: [Table]

Original: B. ASR MODEL CONFIGURATION
Revised: B. ASR MODEL CONFIGURATION

Original: In this work ensembles of the VGG-Transformer sequence-to-sequence ASR model (Mohamed et al., 2019) were considered.
Revised: In this work ensembles of the VGG-Transformer sequence-to-sequence ASR model (Mohamed et al., 2019) were considered.

Original: An ensemble of 6 models was constructed using a different seed for both initialization and mini-batch shufﬂing in each model.
Revised: An ensemble of 6 models was constructed using a different seed for both initialization and mini-batch shufﬂing in each model.

Original: We used ensembles of only 6 VGG-Transformer models for inference.
Revised: We used ensembles of only 6 VGG-Transformer models for inference.

Original: We used the Fairseq (Ott et al., 2019) implementation and training recipe for this model with no modiﬁcations.
Revised: We used the Fairseq (Ott et al., 2019) implementation and training recipe for this model with no modiﬁcations.

Original: Speciﬁcally, models were trained at a ﬁxed learning rate forepochs, where an epoch is a full pass through the entire training set.
Revised: Speciﬁcally, models were trained at a ﬁxed learning rate for [Table] epochs, where an epoch is a full pass through the entire training set.

Original: Checkpoints over the lastepochs were averaged together, which proved to be crucial to ensuring good performance.
Revised: Checkpoints over the lastepochs were averaged together, which proved to be crucial to ensuring good performance.

Original: Training took 8 days using 8 V100 GPUs.
Revised: Training took 8 days using 8 V100 GPUs.

Original: Models were trained on the full 960 hours of the LibriSpeech dataset (Panayotov et al., 2015) in exactly the same conﬁguration as described in (Mohamed et al., 2019).
Revised: Models were trained on the full 960 hours of the LibriSpeech dataset (Panayotov et al., 2015) in exactly the same conﬁguration as described in (Mohamed et al., 2019).

Original: LibriSpeech is a dataset with ∼ 1000 hours of read books encoded in 16-bit, 16kHz FLAC format.
Revised: LibriSpeech is a dataset with ∼ 1000 hours of read books encoded in 16-bit, 16kHz FLAC format.

Original: The reference transcriptions were tokenized using a vocabulary of 5000 tokens, as per the standard recipe in Fairseq for the VGG-transformer (Ott et al., 2019; Mohamed et al., 2019).
Revised: The reference transcriptions were tokenized using a vocabulary of 5000 tokens, as per the standard recipe in Fairseq for the VGG-transformer (Ott et al., 2019; Mohamed et al., 2019).

Original: For
Revised: For

Original: OOD detection we considered the evaluation subset of the AMI dataset (Kraaij et al., 2005), which is a dataset of meeting transcriptions, as well as the Russian and French datasets of the Common Voice
Revised: OOD detection we considered the evaluation subset of the AMI dataset (Kraaij et al., 2005), which is a dataset of meeting transcriptions, as well as the Russian and French datasets of the Common Voice

Original: Project (Ardila et al., 2019), which consist of people reading diverse text from the internet.
Revised: Project (Ardila et al., 2019), which consist of people reading diverse text from the internet.

Original: AMI is encoded in 16-bit, 16Khz WAV format.
Revised: AMI is encoded in 16-bit, 16Khz WAV format.

Original: Common Voice data was stored as 24kHz 32-bit MP3 ﬁles which were converted into 16-bit 16kHz WAV format via the SOX tool.
Revised: Common Voice data was stored as 24kHz 32-bit MP3 ﬁles which were converted into 16-bit 16kHz WAV format via the SOX tool.

Original: WER was evaluated using the NIST SCLITE scoring tool.
Revised: WER was evaluated using the NIST SCLITE scoring tool.

Original: B. NMT MODEL CONFIGURATION
Revised: B. NMT MODEL CONFIGURATION

Original: [Table]
Revised: [Table]

Original: This work considered ensembles of Transformer-Big (Vaswani et al., 2017) neural machine translation (NMT) models.
Revised: This work considered ensembles of Transformer-Big (Vaswani et al., 2017) neural machine translation (NMT) models.

Original: An ensemble 10 models was constructed using a different seed for both initialization and mini-batch shufﬂing in each model.
Revised: An ensemble 10 models was constructed using a different seed for both initialization and mini-batch shufﬂing in each model.

Original: NMT models were trained on the WMT’14 English-French and WMT’17 English-German datasets.
Revised: NMT models were trained on the WMT’14 English-French and WMT’17 English-German datasets.

Original: All models were trained using the standard Fairseq (Ott et al., 2019) implementation and recipe, which is consistent with the baseline setup in described in (Ott et al., 2018b).
Revised: All models were trained using the standard Fairseq (Ott et al., 2019) implementation and recipe, which is consistent with the baseline setup in described in (Ott et al., 2018b).

Original: The data was tokenized using a BPE vocabulary of 40,000 tokens as per the standard recipe (Sennrich et al., 2015).
Revised: The data was tokenized using a BPE vocabulary of 40,000 tokens as per the standard recipe (Sennrich et al., 2015).

Original: For each dataset and translation direction an ensemble of 10 models was trained using different random seeds.
Revised: For each dataset and translation direction an ensemble of 10 models was trained using different random seeds.

Original: All 10 models were used during inference.
Revised: All 10 models were used during inference.

Original: Models trained on WMT’17 English-German were trained for 193000 steps of gradient descent, which corresponds to roughly 49 epochs, while WMT’14 English-French models were trained for 800000 steps of gradient descent, which corresponds to roughly 19 epochs.
Revised: Models trained on WMT’17 English-German were trained for 193000 steps of gradient descent, which corresponds to roughly 49 epochs, while WMT’14 English-French models were trained for 800000 steps of gradient descent, which corresponds to roughly 19 epochs.

Original: Models were checkpoint-averaged across the last 10 epochs.
Revised: Models were checkpoint-averaged across the last 10 epochs.

Original: All models were trained using mixed-precision training.
Revised: All models were trained using mixed-precision training.

Original: Models were evaluated on newstest14, which was treated as in-domain data.
Revised: Models were evaluated on newstest14, which was treated as in-domain data.

Original: OOD data was constructed by considering
Revised: OOD data was constructed by considering

Original: BPE-token permuted and language-ﬂipped versions of the newstest14 dataset.
Revised: BPE-token permuted and language-ﬂipped versions of the newstest14 dataset.

Original: Furthermore, the khresmoi-summary medical dataset as well the reference transcriptions of the LibriSpeech test-clean and test-other datasets were also used as OOD evaluation datasets.
Revised: Furthermore, the khresmoi-summary medical dataset as well the reference transcriptions of the LibriSpeech test-clean and test-other datasets were also used as OOD evaluation datasets.

Original: All additional datasets used consistent tokenization using the 40K BPE vocabulary.
Revised: All additional datasets used consistent tokenization using the 40K BPE vocabulary.

Original: C P REDICTIVE P ERFORMANCE A BLATION S TUDIES
Revised: C P REDICTIVE P ERFORMANCE A BLATION S TUDIES

Original: The current section provides additional results assessing the predictive-performance and negative log-likelihood of ensembles of autoregressive NMT and ASR models.
Revised: The current section provides additional results assessing the predictive-performance and negative log-likelihood of ensembles of autoregressive NMT and ASR models.

Original: Additionally, we include an ablation study of how the number of models in an ensemble affects the performance in terms of
Revised: Additionally, we include an ablation study of how the number of models in an ensemble affects the performance in terms of

Original: BLEU and NLL.
Revised: BLEU and NLL.

Original: Tables 8 and 9 include expanded set of results.
Revised: Tables 8 and 9 include expanded set of results.

Original: Crucially the results show that for all languages, tasks and datasets a product-of-expectations yields superior performance (with one exception) in beam-search decoding and and a consistently lower NLL on reference transcriptions and translations.
Revised: Crucially the results show that for all languages, tasks and datasets a product-of-expectations yields superior performance (with one exception) in beam-search decoding and and a consistently lower NLL on reference transcriptions and translations

Original: [Table] [Table]
Revised: [Table] [Table]

Original: Finally

Original: [Table]
Revised: [Table]

Original:  we present an ablation study [Table] which shows how the predictive performance varies with the number of models in an ensemble.
Revised: Finally, we present an ablation study, which shows how the predictive performance varies with the number of models in an ensemble.

Original: The ablation shows several trends.
Revised: The ablation shows several trends.

Original: Firstly, both BLEU/WER and
Revised: Firstly, both BLEU/WER and

Original: NLL begin to shown diminishing returns for using more models.
Revised: NLL begin to shown diminishing returns for using more models.

Original: This suggests that using 4-6 NMT models and 2-3 ASR models will allow most of the gains to be derived at half the cost of a full 10 or 6-model ensemble.
Revised: This suggests that using 4-6 NMT models and 2-3 ASR models will allow most of the gains to be derived at half the cost of a full 10 or 6-model ensemble.

Original: Secondly [Table] it shows that the advantage of a product-of-expectations combination is remains consistent with the number of models.
Revised: Secondly, it shows that the advantage of a product-of-expectations combination is remains consistent with the number of models.

Original: This shows that regardless of the number of models available
Revised: This shows that regardless of the number of models available, it is always better to combine as a product-of-expectations.

Original: [Table]
Revised: [Figure]

Original: it is always better to combine as a product-of-expectations

Original: [Table]
Revised: [Figure]

Original: D S EQUENCE - LEVEL E RROR D ETECTION
Revised: D S EQUENCE - LEVEL E RROR D ETECTION

Original: The current appendix provides a description of the Prediction Rejection Ratio metric, the rejection curves which correspond to results in section [Table] and histograms of sentence-WER and sentence-BLEU which provide insights into the behaviour of the corresponding rejection curves.[Figure]
Revised: The current appendix provides a description of the Prediction Rejection Ratio metric, the rejection curves which correspond to results in section 4, and histograms of sentence-WER and sentence-BLEU which provide insights into the behaviour of the corresponding rejection curves.

Original: [Figure]

Original: [Figure]

Original: D. P REDICTION R EJECTION R ATIO
Revised: D. P REDICTION R EJECTION R ATIO

Original: Here we describe the Prediction Rejection Ratio metric, proposed in (Malinin, 2019;
Revised: Here we describe the Prediction Rejection Ratio metric, proposed in (Malinin, 2019;

Original: Malinin et al., 2017), which in this work is used to assess how well measures of sequence-level uncertainty are able to identify sentences which are hard to translate/transcribe.
Revised: Malinin et al., 2017), which in this work is used to assess how well measures of sequence-level uncertainty are able to identify sentences which are hard to translate/transcribe.

Original: Consider the task of identifying misclassiﬁcations - ideally we would like to detect all of the inputs which the model has misclassiﬁed based on a measure of uncertainty.
Revised: Consider the task of identifying misclassiﬁcations - ideally we would like to detect all of the inputs which the model has misclassiﬁed based on a measure of uncertainty.

Original: Then, the model can either choose to not provide any prediction for these inputs, or they can be passed over or ‘rejected’ to an oracle (ie: human) to obtain the correct prediction (or translation/transcription).
Revised: Then, the model can either choose to not provide any prediction for these inputs, or they can be passed over or ‘rejected’ to an oracle (ie: human) to obtain the correct prediction (or translation/transcription).

Original: The latter process can be visualized using a rejection curve depicted in ﬁgure 4, where the predictions of the model are replaced with predictions provided by an  oracle in some particular order based on estimates of uncertainty.
Revised: The latter process can be visualized using a rejection curve depicted in ﬁgure 4, where the predictions of the model are replaced with predictions provided by an [Figure] oracle in some particular order based on estimates of uncertainty.

Original: If the estimates of uncertainty are uninformative, then, in expectation, the rejection curve would be a straight line from base error rate to the lower right corner, given the error metric is a linear function of individual errors.
Revised: If the estimates of uncertainty are uninformative, then, in expectation, the rejection curve would be a straight line from base error rate to the lower right corner, given the error metric is a linear function of individual errors.

Original: However, if the estimates of uncertainty are ‘perfect’ and always bigger for a misclassiﬁcation than for a correct classiﬁcation, then they would produce the ‘oracle’ rejection curve.
Revised: However, if the estimates of uncertainty are ‘perfect’ and always bigger for a misclassiﬁcation than for a correct classiﬁcation, then they would produce the ‘oracle’ rejection curve.

Original: The ‘oracle’ curve will go down linearly to 0% classiﬁcation error at the percentage of rejected examples equal to the number of misclassiﬁcations.
Revised: The ‘oracle’ curve will go down linearly to 0% classiﬁcation error at the percentage of rejected examples equal to the number of misclassiﬁcations.

Original: A rejection curve produced by estimates of uncertainty which are not perfect, but still informative, will sit between the ‘random’ and ‘oracle’ curves.
Revised: A rejection curve produced by estimates of uncertainty which are not perfect, but still informative, will sit between the ‘random’ and ‘oracle’ curves.

Original: The quality of the rejection curve can be assessed by considering the ratio of the area between the ‘uncertainty’ and ‘random’ curves
Revised: The quality of the rejection curve can be assessed by considering the ratio of the area between the ‘uncertainty’ and ‘random’ curves

Original: AR uns (orange in ﬁgure 4) and the area between the ‘oracle’ and ‘random’ curves AR orc (blue in ﬁgure 4).
Revised: AR uns (orange in ﬁgure 4) and the area between the ‘oracle’ and ‘random’ curves AR orc (blue in ﬁgure 4).

Original: This yields the prediction rejection area ratio PRR :
Revised: This yields the prediction rejection area ratio PRR :

Original: [Equation]
Revised: [Equation]

Original: A rejection area ratio of 1.0 indicates optimal rejection, a ratio of 0.0 indicates ‘random’ rejection.
Revised: A rejection area ratio of 1.0 indicates optimal rejection, a ratio of 0.0 indicates ‘random’ rejection.

Original: A negative rejection ratio indicates that the estimates of uncertainty are ‘perverse’ - they are higher for accurate predictions than for misclassiﬁcations.
Revised: A negative rejection ratio indicates that the estimates of uncertainty are ‘perverse’ - they are higher for accurate predictions than for misclassiﬁcations.

Original: An important property of this performance metric is that it is independent of classiﬁcation performance, unlike AUPR, and thus it is possible to compare models with different base error rates.
Revised: An important property of this performance metric is that it is independent of classiﬁcation performance, unlike AUPR, and thus it is possible to compare models with different base error rates.

Original: Note, that similar approaches to assessing misclassiﬁcation detection were considered in (Lakshminarayanan et al., 2017; Malinin et al., 2017; Malinin, 2019).
Revised: Note, that similar approaches to assessing misclassiﬁcation detection were considered in (Lakshminarayanan et al., 2017; Malinin et al., 2017; Malinin, 2019).

Original: In this work instead of considered misclassiﬁcations we assess whether measures of uncertainty correlate well with sentence-level BLEU or WER.
Revised: In this work instead of considered misclassiﬁcations we assess whether measures of uncertainty correlate well with sentence-level BLEU or WER.

Original: The overall ‘error’ is then the average of sentence-level
Revised: The overall ‘error’ is then the average of sentence-level

Original: BLEU/WER over the test-set.
Revised: BLEU/WER over the test-set.

Original: D. R EJECTION C URVES
Revised: D. R EJECTION C URVES

Original: The rejection curves for all NMT models on newstest14 and the ASR model on LibriSpeech test-clean and test-other are presented in ﬁgure 5.
Revised: The rejection curves for all NMT models on newstest14 and the ASR model on LibriSpeech test-clean and test-other are presented in ﬁgure 5.

Original: The main difference between the NMT and ASR curves is that the ‘oracle’ rejection curve for the former is not much better than random, while the rejection curve for the latter is far better than random.
Revised: The main difference between the NMT and ASR curves is that the ‘oracle’ rejection curve for the former is not much better than random, while the rejection curve for the latter is far better than random.

Original: This can be explained by considering the histograms of sentence-level BLEU and sentence-level WER presented in ﬁgure 6.
Revised: This can be explained by considering the histograms of sentence-level BLEU and sentence-level WER presented in ﬁgure 6.

Original: Notice, that the sentence-level
Revised: Notice, that the sentence-level

Original: [Figure]

Original: BLEUs are varied across the spectrum, and very few sentences reach a BLEU of 100.
Revised: BLEUs are varied across the spectrum, and very few sentences reach a BLEU of 100.

Original: In contrast, 55-75% of all utterances transcribed by the ASR models have a sentence-WER of 0-10%, and then there are a few utterances with a much larger WER.
Revised: In contrast, 55-75% of all utterances transcribed by the ASR models have a sentence-WER of 0-10%, and then there are a few utterances with a much larger WER.

Original: Thus, if the measures of uncertainty can identify the largest errors, which contribute most to the mean WER over the dataset, then a large decrease can be achieved.
Revised: Thus, if the measures of uncertainty can identify the largest errors, which contribute most to the mean WER over the dataset, then a large decrease can be achieved.

Original: Hence the shape of the ‘oracle’ WER-rejection curve.
Revised: Hence the shape of the ‘oracle’ WER-rejection curve.

Original: In contrast, the contributions from each sentence to mean sentence-BLEU are more evenly spread.
Revised: In contrast, the contributions from each sentence to mean sentence-BLEU are more evenly spread.

Original: Thus, it is difﬁcult to signiﬁcantly raise the mean-sentence BLEU by rejecting just a few sentences.
Revised: Thus, it is difﬁcult to signiﬁcantly raise the mean-sentence BLEU by rejecting just a few sentences.

Original: Hence the shape of the ‘oracle’
Revised: Hence the shape of the ‘oracle’

Original: BLEU rejection curve for NMT.
Revised: BLEU rejection curve for NMT.

Original: [Figure]
Revised: [Figure]

Original: Figure 6e shows that the sentence-WER on AMI eval is distributed more like the sentence-BLEU is for NMT tasks - few correct sentence and a much more uniform distribution of error.
Revised: Figure 6e shows that the sentence-WER on AMI eval is distributed more like the sentence-BLEU is for NMT tasks - few correct sentence and a much more uniform distribution of error.

Original: Thus, the corresponding ‘oracle’ rejection curve’s shape is more similar to the NMT ‘oracle’ rejection curves.
Revised: Thus, the corresponding ‘oracle’ rejection curve’s shape is more similar to the NMT ‘oracle’ rejection curves.

Original: This clearly shows that the shape of the oracle curve is not determined by the task (ASR/NMT), but the error (BLEU/WER) distribution across a dataset.
Revised: This clearly shows that the shape of the oracle curve is not determined by the task (ASR/NMT), but the error (BLEU/WER) distribution across a dataset.

Original: The second trend in the results provided in section 4 is that score-based measures of uncertainty work better than entropy-based measures on NMT tasks, while on ASR they perform comparably.
Revised: The second trend in the results provided in section 4 is that score-based measures of uncertainty work better than entropy-based measures on NMT tasks, while on ASR they perform comparably.

Original: The justiﬁcation provided states that NMT models yield far less conﬁdent predictions, and therefore entropy-based measures suffer due to probability mass assigned to other tokens.
Revised: The justiﬁcation provided states that NMT models yield far less conﬁdent predictions, and therefore entropy-based measures suffer due to probability mass assigned to other tokens.

Original: In contrast, ASR  models yield more conﬁdent predictions, as shown in ﬁgure 7.
Revised: In contrast, ASR [Figure] models yield more conﬁdent predictions, as shown in ﬁgure 7.

Original: Notably, on AMI and Common Voice datasets the ASR model also yields less conﬁdent predictions, and thus the score-based measures of uncertainty do better than entropy-based ones in the AMI rejection curve in ﬁgure 5e.
Revised: Notably, on AMI and Common Voice datasets the ASR model also yields less conﬁdent predictions, and thus the score-based measures of uncertainty do better than entropy-based ones in the AMI rejection curve in ﬁgure 5e.

Original: These results show that on tasks where it is important to determine which particular translation/transcription hypotheses are worse, score-based measures of uncertainty do as well as or better than entropybased measures.
Revised: These results show that on tasks where it is important to determine which particular translation/transcription hypotheses are worse, score-based measures of uncertainty do as well as or better than entropybased measures.

Original: This result is consistent with conﬁdences being a better measure of uncertainty for misclassiﬁcation detection in unstructured prediction tasks (Malinin, 2019).
Revised: This result is consistent with conﬁdences being a better measure of uncertainty for misclassiﬁcation detection in unstructured prediction tasks (Malinin, 2019).

Original: [Figure]
Revised: [Figure]

Original: D. A DDITIONAL R ESULTS
Revised: D. A DDITIONAL R ESULTS

Original: The current section provides additional sequence-level error detection results.
Revised: The current section provides additional sequence-level error detection results.

Original: We examine sequencelevel error detection of hypotheses produced by an ensemble combined as an expectation-of-products .
Revised: We examine sequencelevel error detection of hypotheses produced by an ensemble combined as an expectation-of-products .

Original: Results presented in table 10 serve to conﬁrm the previously observed trends and illustrate that the superior performance of measures of uncertainty derived from an product-of-expectations [Table]
Revised: Results presented in table 10 serve to conﬁrm the previously observed trends and illustrate that the superior performance of measures of uncertainty derived from an product-of-expectations posterior does not depend on the nature of the hypotheses.

Original: E T OKEN - LEVEL E RROR D ETECTION
Revised: E T OKEN - LEVEL E RROR D ETECTION

Original: [Table]

Original: Current appendix provides additional results for token-level error detection.
Revised: Current appendix provides additional results for token-level error detection.

Original: Notably, we present results using a score-based measures of knowledge uncertainty M ω l , as well as results on hypotheses derived from an expectation-of-products ensemble combination.
Revised: Notably, we present results using a score-based measures of knowledge uncertainty M ω l , as well as results on hypotheses derived from an expectation-of-products ensemble combination.

Original: Results in table 11 that the new measures of uncertainty consistently outperforms token-level mutual-information and RMI.
Revised: Results in table 11 that the new measures of uncertainty consistently outperforms token-level mutual-information and RMI.

Original: Results in table 12 show that the observed trends do not depend from which ensemble-combination the hypotheses were obtained. 
Revised: Results in table 12 show that the observed trends do not depend from which ensemble-combination the hypotheses were obtained. [Table]

Original: [Table]
Revised: [Table]

Original: F O UT - OF -D ISTRIBUTION I NPUT D ETECTION
Revised: F O UT - OF -D ISTRIBUTION I NPUT D ETECTION

Original: In the current section additional OOD input detection results are provided for En-De and En-Fr NMT models and the ASR model in a Beam-Search decoding regime.
Revised: In the current section additional OOD input detection results are provided for En-De and En-Fr NMT models and the ASR model in a Beam-Search decoding regime.

Original: Additionally, we provide results for
Revised: Additionally [Table] we provide results for

Original: En-De and En-Fr models on reference hypotheses in a teacher-forcing regime.
Revised: En-De and En-Fr models on reference hypotheses in a teacher-forcing regime

Revised: [Table]

Original: F. A DDITIONAL RESULTS
Revised: F. A DDITIONAL RESULTS

Original: Table 13 provides a full of OOD detection results using an ensemble of EN-FR translation models.
Revised: Table 13 provides a full of OOD detection results using an ensemble of EN-FR translation models.

Original: All hypotheses are derived from a product-of-expectations ensemble.
Revised: All hypotheses are derived from a product-of-expectations ensemble.

Original: These results tell essentially the same story as OOD detection on En-De models.
Revised: These results tell essentially the same story as OOD detection on En-De models.

Original: However, it seem that because WMT’14 En-Fr is roughly ten times larger than WMT’17 En-Fr, OOD detection in some cases, notably LTC, PRM and
Revised: However, it seem that because WMT’14 En-Fr is roughly ten times larger than WMT’17 En-Fr, OOD detection in some cases, notably LTC, PRM and

Original: L-FR is easier.
Revised: L-FR is easier.

Original: However, L-DE are signiﬁcantly worse.
Revised: However, L-DE are signiﬁcantly worse.

Original: Note that for En-FR, L-DE is the heldout language, while L-FR is more familiar.
Revised: Note that for En-FR, L-DE is the heldout language, while L-FR is more familiar.

Original: One explanation is that the copy-through effect is so strong on an unfamiliar language that even measures of knowledge uncertainty are drastically affected.
Revised: One explanation is that the copy-through effect is so strong on an unfamiliar language that even measures of knowledge uncertainty are drastically affected.

Original: This suggests that it is necessary to eliminate this regime, as it strongly compromises the measures of uncertainty.[Table] [Table]
Revised: This suggests that it is necessary to eliminate this regime, as it strongly compromises the measures of uncertainty.

Original: ENDE [Table] Table 14 provides a full set of OOD detection results on hypotheses generated from an ensemble combined as an expectation-of-products .
Revised: Table 14 provides a full set of OOD detection results on hypotheses generated from an ensemble combined as an expectation-of-products .

Original: The results essentially tell the same story those obtained on hypotheses generated from an ensemble combined as a product-of-expectations .
Revised: The results essentially tell the same story those obtained on hypotheses generated from an ensemble combined as a product-of-expectations .

Original: This conﬁrms the trend that measures of uncertainty derived by expressing the predictive posterior as a productof-expectations typically yield marginally better performance, with expceptions where they yield signiﬁcantly better performance, regardless of the nature of the hypotheses [Table]
Revised: This conﬁrms the trend that measures of uncertainty derived by expressing the predictive posterior as a productof-expectations typically yield marginally better performance, with expceptions where they yield signiﬁcantly better performance, regardless of the nature of the hypotheses.

Original: F. T EACHER - FORCING
Revised: F. T EACHER - FORCING

Original: [Table] Table 15 provides a set of OOD detection results for EN-DE/EN-FR translation models evaluated in a teacher-forcing regime, where ‘references’ are fed into the decoder.
Revised: Table 15 provides a set of OOD detection results for EN-DE/EN-FR translation models evaluated in a teacher-forcing regime, where ‘references’ are fed into the decoder.

Original: The aim is to further explore
Revised: The aim is to further explore

Revised: [Table]

Revised: [Table]

Original: OOD detection of foreign languages and the copy-through effect.
Revised: [Table] LTC  63. [Table] PRM  93.

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: ˆ I (1) C-IW

Revised: ˆ K (1) C-IW ˆ M (1) C-IW ˆ M (1) S-IW ˆ I (1)

Revised: C-IW ˆ K (1) C-IW ˆ M (1) C-IW ˆ M (1) S-IW

Revised: ENDE

Revised: [Table]

Revised: DEEN

Revised: [Table]

Revised: [Table]

Revised: DEDE

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: DEEN

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: OOD detection of foreign languages and the copy-through effect.

Original: Here, in-domain data is En-De and En-Fr newstest14 for En-De and En-Fr models, respectively.
Revised: Here, in-domain data is En-De and En-Fr newstest14 for En-De and En-Fr models, respectively.

Original: As OOD data we also consider newstest14 data, but where the either source, target or both languages are changed.
Revised: As OOD data we also consider newstest14 data, but where the either source, target or both languages are changed.

Original: The results show that when the source and target languages are both changed (L-DEEN, L-FREN), then this is an easy to detect scenario, as copy-though is forcibly avoided.
Revised: The results show that when the source and target languages are both changed (L-DEEN, L-FREN), then this is an easy to detect scenario, as copy-though is forcibly avoided.

Original: We also consider situations where we forcibly initiate copy-through.
Revised: We also consider situations where we forcibly initiate copy-through.

Original: Here, we have matched pairs of source-source or target-target language.
Revised: Here, we have matched pairs of source-source or target-target language.

Original: Measures of total uncertainty fail, while measures of knowledge uncertainty do not.
Revised: Measures of total uncertainty fail, while measures of knowledge uncertainty do not.

Original: However, the effect is more severe when source sentences are copied through, rather than target sentences.
Revised: However, the effect is more severe when source sentences are copied through, rather than target sentences.

Original: We speculate that this is an affect of the decoder being familiar with target sentences and still trying to do something sensible.
Revised: We speculate that this is an affect of the decoder being familiar with target sentences and still trying to do something sensible.

Original: These results clearly show that if the copy-through effect is somehow eliminated, then detection of OOD sentences by NMT models because as easy as for
Revised: These results clearly show that if the copy-through effect is somehow eliminated, then detection of OOD sentences by NMT models because as easy as for

Original: ASR models, where copy-though cannot occur by construction.
Revised: ASR models, where copy-though cannot occur by construction.

Original: Finally, we note that again, deriving uncertainties from a product-of-expectations predictive posterior yields marginally better results.
Revised: Finally, we note that again, deriving uncertainties from a product-of-expectations predictive posterior yields marginally better results.

Original: Additionally, chain-rule RMI seems to be the best measures of knowledge uncertainty overall.
Revised: Additionally, chain-rule RMI seems to be the best measures of knowledge uncertainty overall.

Original: Note that in teacher-forcing, we have access to only a single hypothesis per input, which is a regime where joint-sequence estimates of knowledge uncertainty, speciﬁcally RMI, tend to perform worse than chain-rule derived estimates.
Revised: Note that in teacher-forcing, we have access to only a single hypothesis per input, which is a regime where joint-sequence estimates of knowledge uncertainty, speciﬁcally RMI, tend to perform worse than chain-rule derived estimates.

Original: G S ENSITIVITY OF MC ESTIMATORS TO NUMBER OF SAMPLES AND CALIBRATION
Revised: G S ENSITIVITY OF MC ESTIMATORS TO NUMBER OF SAMPLES AND CALIBRATION

Original: In this section we explore in detail the effect of using more than the 1-best hypothesis in the MonteCarlo estimation of entropy and reverse mutual information (RMI).
Revised: In this section we explore in detail the effect of using more than the 1-best hypothesis in the MonteCarlo estimation of entropy and reverse mutual information (RMI).

Original: We consider both chain-rule and joint-sequence estimators.
Revised: We consider both chain-rule and joint-sequence estimators.

Original: Performance is evaluated on the tasks of sequence error detection and OOD detection.
Revised: Performance is evaluated on the tasks of sequence error detection and OOD detection.

Original: Figure 8 shows that for sequence error detection using more hypotheses within the beam either has little effect, or is detrimental.
Revised: Figure 8 shows that for sequence error detection using more hypotheses within the beam either has little effect, or is detrimental.

Original: This is expected, as this makes the estimate less sensitive to the particular hypothesis which is being assessed.
Revised: This is expected, as this makes the estimate less sensitive to the particular hypothesis which is being assessed.

Original: Notable, joint-sequence estimates are affected the most, while chain-rule estimators demonstrate more stable behaviour.
Revised: Notable, joint-sequence estimates are affected the most, while chain-rule estimators demonstrate more stable behaviour.

Original: Figure 8 shows that considering more hypotheses is generally beneﬁcial for OOD detection, especially for joint-sequence estimates of RMI.
Revised: Figure 8 shows that considering more hypotheses is generally beneﬁcial for OOD detection, especially for joint-sequence estimates of RMI.

Original: This is also expected, as for OOD detection it is useful to have information about the effect of the input on more than just the 1-best hypothesis.
Revised: This is also expected, as for OOD detection it is useful to have information about the effect of the input on more than just the 1-best hypothesis.

Original: The performance gain is, ultimately, unsatisfying.
Revised: The performance gain is, ultimately, unsatisfying.

Original: We consider what happens if we increase the importance weighting temperature T, which increases the contribution for the remaining hypotheses to the uncertainty estimate.
Revised: We consider what happens if we increase the importance weighting temperature T, which increases the contribution for the remaining hypotheses to the uncertainty estimate.

Original: Figure 10 shows, unsurprisingly that this is extremely detrimental to sequence error detection, as it introduce even more irrelevant information.
Revised: Figure 10 shows, unsurprisingly that this is extremely detrimental to sequence error detection, as it introduce even more irrelevant information.

Original: However, ﬁgure 11 shows that for OOD detection, the is unexpectedly interesting behaviour.
Revised: However, ﬁgure 11 shows that for OOD detection, the is unexpectedly interesting behaviour.

Original: Using higher temperature for NMT always leads to signiﬁcantly performance, especially for joint-sequence estimates of RMI.
Revised: Using higher temperature for NMT always leads to signiﬁcantly performance, especially for joint-sequence estimates of RMI.

Original: However, what is especially surprising, is that for ASR the
Revised: However, what is especially surprising, is that for ASR the

Original: OOD detection performance degrades.
Revised: OOD detection performance degrades.

Original: It is not entirely clear why up-weighting information from competing hypotheses is detrimental to performance.
Revised: It is not entirely clear why up-weighting information from competing hypotheses is detrimental to performance.

Original: Unfortunately, investigating the underlying cause of this effect is beyond the scope of this work.
Revised: Unfortunately, investigating the underlying cause of this effect is beyond the scope of this work.

Original: Ultimately, it suggests that analysis of the calibration of autoregressive structured prediction models is an interesting area of future research.
Revised: Ultimately, it suggests that analysis of the calibration of autoregressive structured prediction models is an interesting area of future research

Original: H E FFECTS OF LENGTH - NORMALIZATION
Revised: H E FFECTS OF LENGTH - NORMALIZATION

Original: In section 3 we make the claim that length-normalization in important - in this section we provide evidence in support of that claim.
Revised: In section 3 we make the claim that length-normalization in important - in this section we provide evidence in support of that claim.

Original: Here we compare sequence error detection and OOD detection performance for WMT’17 EN-DE NMT and LibriSpeech ASR systems when using the standard length-normalized versions of the uncertainties as well as their non-length-normalized counterparts.
Revised: Here we compare sequence error detection and OOD detection performance for WMT’17 EN-DE NMT and LibriSpeech ASR systems when using the standard length-normalized versions of the uncertainties as well as their non-length-normalized counterparts.

Original: In these experiments we only consider translation/transcription hypotheses obtained via beam-search decoding from a product-of-expectations ensemble [Table] and uncertainty measures obtained using the same combination approach [Table]
Revised: In these experiments we only consider translation/transcription hypotheses obtained via beam-search decoding from a product-of-expectations ensemble, and uncertainty measures obtained using the same combination approach.

Original: [Table]
Revised: [Table]

Original: The results in tables 16-17 deﬁnitively show, with one exception, that length-normalization consistently boosts the performance on all tasks.
Revised: The results in tables 16-17 deﬁnitively show, with one exception, that length-normalization consistently boosts the performance on all tasks.

Original: The only exception in for OOD detection when French (L-FR) input sentences are given to the ensemble.
Revised: The only exception in for OOD detection when French (L-FR) input sentences are given to the ensemble.

Original: In this case there is a large improvement from not using length normalization.
Revised: In this case there is a large improvement from not using length normalization.

Original: This seems odd, given than when German input sentences are using (in and En-De system) the same effect does not appear.
Revised: This seems odd, given than when German input sentences are using (in and En-De system) the same effect does not appear.

Original: Not that in both of these cases the pathological copy-through effect appears.
Revised: Not that in both of these cases the pathological copy-through effect appears.

Original: However, it seems likely that the copy-through effect is far more pronounced for L-FR.
Revised: However, it seems likely that the copy-through effect is far more pronounced for L-FR.

Original: The likely reason for length-norm proving detrimental is for long sentences - as the length of the translation increases, so does the chance of a token which is not copied successfully, on which the models will yield a far higher estimate of ensemble diversity.
Revised: The likely reason for length-norm proving detrimental is for long sentences - as the length of the translation increases, so does the chance of a token which is not copied successfully, on which the models will yield a far higher estimate of ensemble diversity.

Original: Length-normalization would mask such an effect relative.
Revised: Length-normalization would mask such an effect relative.

Revised: [Table]

Revised: [Table]

Revised: 66.4 + 66.

Revised: PRM  -

Original: [Table]
Revised: [Table]

Revised: 92.1 + 82.

Revised: L-FR63.

Revised: + 27.

Revised: [Table]

Revised: [Table]

Revised: DE  -

Revised: [Table]

Revised: [Table]

Revised: [Table]

Revised: 85.8 + 40.

Original: I C OMPARISON TO HEURISTIC MEASURES OF UNCERTAINTY
Revised: I C OMPARISON TO HEURISTIC MEASURES OF UNCERTAINTY

Original: In this work we considered a range of information-theoretic measures of uncertainty, describe them theoretically in section 2 and provide Monte-Carlo estimators in section 3.
Revised: In this work we considered a range of information-theoretic measures of uncertainty, describe them theoretically in section 2 and provide Monte-Carlo estimators in section 3.

Original: However, in (Xiao et al., 2019; Fomicheva et al., 2020; Wang et al., 2019) a range of other measures was considered, though their properties were not analyzed.
Revised: However, in (Xiao et al., 2019; Fomicheva et al., 2020; Wang et al., 2019) a range of other measures was considered, though their properties were not analyzed.

Original: Firstly, (Xiao et al., 2019) considered computing the cross-BLEU or ’BLEU-Variance‘ of an ensemble.
Revised: Firstly, (Xiao et al., 2019) considered computing the cross-BLEU or ’BLEU-Variance‘ of an ensemble.

Original: Here, the average square of the complement of pairwise sentence-BLEU between 1-best hypotheses ˆ y ( m ) produced by each individual model in the ensemble is used as a measure of uncertainty:
Revised: Here, the average square of the complement of pairwise sentence-BLEU between 1-best hypotheses ˆ y ( m ) produced by each individual model in the ensemble is used as a measure of uncertainty:

Original: [Equation]
Revised: [Equation]

Original: Similarly, an equivalent measure of ASR can be derived, which we will call cross-WER :
Revised: Similarly, an equivalent measure of ASR can be derived, which we will call cross-WER :

Original: [Equation]

Original: [Equation]
Revised: [Equation]

Original: These two measure of uncertainty assess the diversity between the 1-best hypotheses of each model in an ensemble.
Revised: These two measure of uncertainty assess the diversity between the 1-best hypotheses of each model in an ensemble.

Original: In this way they are conceptually related to measures of knowledge uncertainty .
Revised: In this way they are conceptually related to measures of knowledge uncertainty .

Original: Notably, as they are only sensitive to the 1-best hypothesis, they are ‘hard’ versions of ensemble diversity, as they operate on the surface forms, rather than over probabilities.
Revised: Notably, as they are only sensitive to the 1-best hypothesis, they are ‘hard’ versions of ensemble diversity, as they operate on the surface forms, rather than over probabilities.

Original: While a heuristically sensible measure, the main detraction is that this requires doing beam-search inference of each model in an ensemble, which is expensive and undesirable.
Revised: While a heuristically sensible measure, the main detraction is that this requires doing beam-search inference of each model in an ensemble, which is expensive and undesirable.

Original: Especially if the ﬁnal prediction is derived through inference of the joint-ensemble.
Revised: Especially if the ﬁnal prediction is derived through inference of the joint-ensemble.

Original: Additionally, Fomicheva et al.
Revised: Additionally, Fomicheva et al.

Original: ; Wang et al.
Revised: ; Wang et al.

Original: (2019) consider the variance of the sentencelevel probability and length-normalized log-probability of the 1-best hypothesis across models in an ensemble:
Revised: (2019) consider the variance of the sentencelevel probability and length-normalized log-probability of the 1-best hypothesis across models in an ensemble:

Original: [Equation]
Revised: [Equation]

Original: These are also measures of diversity, and therefore knowledge uncertainty .
Revised: These are also measures of diversity, and therefore knowledge uncertainty .

Original: However, they are not strictly information-theoretically meaningful and it is not how to relate them to concepts, such as entropy.
Revised: However, they are not strictly information-theoretically meaningful and it is not how to relate them to concepts, such as entropy.

Original: Given these two measures, it is unclear how to include information from other hypotheses and whether length-normalization is necessary.
Revised: Given these two measures, it is unclear how to include information from other hypotheses and whether length-normalization is necessary.

Original: First we address the latter - we consider a lengthnormalized version of variance [Equation] and the non-length-normalized variance of the log-probability
Revised: First we address the latter - we consider a lengthnormalized version of variance, and the non-length-normalized variance of the log-probability.

Original: [Equation]
Revised: [Equation]

Original: Secondly
Revised: Secondly

Original: [Equation]
Revised: [Equation]

Original: we extend all four of these measures to average variances of the hypotheses within the beam as follows:
Revised: we extend all four of these measures to average variances of the hypotheses within the beam as follows:

Original: [Equation]
Revised: [Equation]

Original: Thus, we explore the effect of considering additional hypotheses and whether these measures need length-normalization or not.
Revised: Thus, we explore the effect of considering additional hypotheses and whether these measures need length-normalization or not.

Original: Table 18 explores the utility of these uncertainty measures and compares them to the best-performing measures of knowledge uncertainty uncertainty - reverse mutual information on the task of OOD input detection.
Revised: Table 18 explores the utility of these uncertainty measures and compares them to the best-performing measures of knowledge uncertainty uncertainty - reverse mutual information on the task of OOD input detection.

Original: The results show that, with one exception, estimates of reverse mutual information outperform these ‘heuristic’ measures.
Revised: The results show that, with one exception, estimates of reverse mutual information outperform these ‘heuristic’ measures.

Original: With regards to the measures - it is clear that length-normalization, with one exception, improves performance.
Revised: With regards to the measures - it is clear that length-normalization, with one exception, improves performance.

Original: We can also see that these heuristic measures can be improved by considering importance-weighted averages across the hypotheses within the beam.
Revised: We can also see that these heuristic measures can be improved by considering importance-weighted averages across the hypotheses within the beam.

Original: However, these gains are inconsistent, and sometimes this is detrimental.
Revised: However, these gains are inconsistent, and sometimes this is detrimental.

Original: This highlights both the value of information theoretic measures, whose behaviour is far more consistent.
Revised: This highlights both the value of information theoretic measures, whose behaviour is far more consistent [Table] [Table]

Original: J C HECKPOINT E NSEMBLES
Revised: J C HECKPOINT E NSEMBLES

Original: This work focused mainly on ensemble of models constructed by training from different random initializations.
Revised: This work focused mainly on ensemble of models constructed by training from different random initializations.

Original: While this tends to yield the best ensembles, this is an extremely expensive process, especially for large transformer models trained on industrial scale corpora.
Revised: While this tends to yield the best ensembles, this is an extremely expensive process, especially for large transformer models trained on industrial scale corpora.

Original: Thus, in this section we conduct a preliminary investigation of checkpoint ensembles - ensembles of models constructed by considering different checkpoints within a single training run.
Revised: Thus, in this section we conduct a preliminary investigation of checkpoint ensembles - ensembles of models constructed by considering different checkpoints within a single training run.

Original: In this work we consider the checkpoints for the 10 last epochs for NMT model training.
Revised: In this work we consider the checkpoints for the 10 last epochs for NMT model training.

Original: For ASR, we checkpoint averagecheckpoints at 5-checkpoint intervals within the last 30 epochs, yielding an ensemble of 6 checkpoints, where each is an average of ﬁve checkpoints.
Revised: For ASR, we checkpoint averagecheckpoints at 5-checkpoint intervals within the last 30 epochs, yielding an ensemble of 6 checkpoints, where each is an average of ﬁve checkpoints.

Original: Results in tables 19-20 shows that checkpoint ensemble yield better predictive performance than single models (CPT-AVG), on average.
Revised: Results in tables 19-20 shows that checkpoint ensemble yield better predictive performance than single models (CPT-AVG), on average.

Original: However, random-init ensembles (those considered in the main work), yield consistently superior performance.
Revised: However, random-init ensembles (those considered in the main work), yield consistently superior performance [Table] [Table]

Original: We also compare checkpoint ensembles with random-init ensembles of OOD detection.
Revised: We also compare checkpoint ensembles with random-init ensembles of OOD detection.

Original: The results, which are a pleasant surprise, show that while checkpoint ensembles are consistently inferior, they are only marginally so.
Revised: The results, which are a pleasant surprise, show that while checkpoint ensembles are consistently inferior, they are only marginally so.

Original: The biggest differences occur on NMT L-FR and L-DE datasets, where the pathological ’copy-through’ effect kicks in.
Revised: The biggest differences occur on NMT L-FR and L-DE datasets, where the pathological ’copy-through’ effect kicks in.

Original: However, even here the difference between the best
Revised: However, even here the difference between the best

Original: [Table] [Table] [Table] CPT-ENS and RND-ENS measures is only about 6% ROC-AUC points.
Revised: CPT-ENS and RND-ENS measures is only about 6% ROC-AUC points.

Original: This shows that the approach considered in this work need to be too expensive for practical application, and useful ensembles can  be formed even from the last 10 checkpoints of a standard transformer model training run , enabling usage in extreme-scale industrial applications
Revised: This shows that the approach considered in this work need to be too expensive for practical application, and useful ensembles can [Table] be formed even from the last 10 checkpoints of a standard transformer model training run , enabling usage in extreme-scale industrial applications

Original: [Table] [Table]
Revised: [Table] [Table]