user: text: Write a concise one-sentence TLDR summary of the scientific paper content below.

Title: 

Paper content:
For typical sequence prediction problems such as language generation, maximum likelihood estimation (MLE) has commonly been adopted as it encourages the predicted sequence most consistent with the ground-truth sequence to have the highest probability of occurring.
However, MLE focuses on once-to-all matching between the predicted sequence and gold-standard, consequently treating all incorrect predictions as being equally incorrect.
We refer to this drawback as {\it negative diversity ignorance} in this paper.
Treating all incorrect predictions as equal unfairly downplays the nuance of these sequences' detailed token-wise structure.
To counteract this, we augment the MLE loss by introducing an extra Kullback--Leibler divergence term derived by comparing a data-dependent Gaussian prior and the detailed training prediction.
The proposed data-dependent Gaussian prior objective (D2GPo) is defined over a prior topological order of tokens and is poles apart from the data-independent Gaussian prior (L2 regularization) commonly adopted in smoothing the training of MLE.
Experimental results show that the proposed method makes effective use of a more detailed prior in the data and has improved performance in typical language generation tasks, including supervised and unsupervised machine translation, text summarization, storytelling, and image captioning.
Language understanding is the crown jewel of artificial intelligence.
As the well-known dictum by Richard Feynman states, "what I cannot create, I do not understand."
Language generation therefore reflects the level of development of language understanding.
Language generation models have seen remarkable advances in recent years, especially with the rapid development of deep neural networks (DNNs).
There are several models typically used in language generation, namely sequenceto-sequence (seq2seq) models (Kalchbrenner & Blunsom, 2013; Sutskever et al., 2014; Bahdanau et al., 2015; Luong et al., 2015; Vaswani et al., 2017) , generative adversarial networks (GANs) (Goodfellow et al., 2014) , variational autoencoders (Kingma & Welling, 2013) , and auto-regressive networks (Larochelle & Murray, 2011; Van Oord et al., 2016) .
Language generation is usually modeled as a sequence prediction task, which adopts maximum likelihood estimation (MLE) as the standard training criterion (i.e., objective).
MLE has had much success owing to its intuitiveness and flexibility.
However, sequence prediction has encountered the following series of problems due to MLE.
• Exposure bias: The model is not exposed to the full range of errors during training.
• Loss mismatch: During training, we maximize the log-likelihood, whereas, during inference, the model is evaluated by a different metric such as BLEU or ROUGE.
• Generation diversity: The generations are dull, generic (Sordoni et al., 2015; Serban et al., 2016; Li et al., 2016a) , repetitive, and short-sighted (Li et al., 2016b ).
• Negative diversity ignorance: MLE fails to assign proper scores to different incorrect model outputs, which means that all incorrect outputs are treated equally during training.
A variety of work has alleviated the above MLE training shortcomings apart from negative diversity ignorance.
Negative diversity ignorance is a result of unfairly downplaying the nuance of sequences' detailed token-wise structure.
When the MLE objective compares its predicted and ground-truth sequences, it takes a once-for-all matching strategy; the predicted sequence is given a binary label, either correct or incorrect.
However, these incorrect training predictions may be quite diverse and letting the model be aware of which incorrect predictions are more incorrect or less incorrect than others may more effectively guide model training.
For instance, an armchair might be mistaken with a deckchair, but it should usually not be mistaken for a mushroom.
To alleviate the issue of the negative diversity ignorance, we add an extra Gaussian prior objective to augment the current MLE training with an extra Kullback-Leibler divergence loss term.
The extra loss is computed by comparing two probability distributions, the first of which is from the detailed model training prediction and the second of which is from a ground-truth token-wise distribution and is defined as a kind of data-dependent Gaussian prior distribution.
The proposed data-dependent Gaussian prior objective (D2GPo) is then injected into the final loss through a KL divergence term.
The D2GPo is poles apart from the commonly adopted data-independent Gaussian prior (L2 regularization) for the purpose of smoothing the training of MLE, which is also directly added into the MLE loss.
Experimental results show that the proposed method makes effectively use of a more detailed prior in the data and improves the performance of typical language generation tasks, including supervised and unsupervised machine translation, text summarization, storytelling, and image captioning.
Natural language generation (NLG) has long been considered the most challenging natural language processing (NLP) task (Murty & Kabadi, 1987) .
NLG techniques have been widely adopted as a critical module in various tasks, including control-free sentence or poem generation (Zhang & Lapata, 2014) and input-conditioned language generation, such as machine translation, image captioning, text summarization, storytelling (Vaswani et al., 2017; Lample et al., 2018; Karpathy & Fei-Fei, 2015; Fan et al., 2018) , and sentiment/tense-controlled sentence generation .
In this work, we focus on input-conditioned language generation tasks, though our proposed method can also be applied to other language generation fields.
Input-conditioned language generation tasks are challenging because there is an information imbalance between the input and output in these tasks, especially for cases with non-text input (Shapiro, 1992) .
Reiter & Dale (2000) discussed different ways of building complicated knowledge-based systems for NLG.
In recent years, neural networks (NNs), especially DNNs, have shown promising results in many NLP tasks.
Bengio et al. (2003) first proposed the NN language model (NNLM) to exploit the advantages of NNs for language generation tasks.
In an NNLM, the n-gram paradigm is extended by the generalization ability of NNs.
Given the ground truth sequence s = w 1 , w 2 , ..., w t−1 , the NNLM adopts the equation p t ≈ p(w t |w t−n , w t−n+1 , ..., w t−1 ).
(1) Mikolov et al. (2010) developed a more general implementation for a language model (called the recurrent NN language model (RNNLM) by integrating a Markov property using a recurrent NN (RNN) to address the NNLMs' theoretical inability to capture long-term dependencies:
The RNNLM is an effective solution because it is designed to capture long-term dependencies.
Because of the vanishing gradient problem in RNNs, however, the long-term dependency processing capability is limited.
In contrast to an RNN, the Transformer (Vaswani et al., 2017) provides a new self-attention mechanism for handling long-term dependencies in text, resulting in robust performance across diverse tasks.
Radford et al. (2018) proposed a Transformer language model called GPT, which uses a left-to-right architecture, where each token pays attention to previous tokens in the self-attention layers of the Transformer.
Devlin et al. (2019) introduced a new pre-training objective: the masked language model (MLM), which enables the representation to fuse the left and right contexts and allows us to pre-train a deep bidirectional Transformer called BERT.
The generators of the most current language generation model use the RNNLM or Transformer language model structure.
However, as pointed out by , fitting the distribution of observation data does not mean that satisfactory text will be generated, because the model is not exposed to the full range of errors during training.
This is called the exposure bias problem.
Reinforcement learning, GANs (Goodfellow et al., 2014; Yu et al., 2017) , and end-to-end re-parameterization techniques (Kusner & Hernández-Lobato, 2016) have been proposed to solve this problem.
The exposure bias is no longer an issue in reinforcement learning models because the training sequences are generated by the model itself.
Using MLE for the training objective leads to the problem of loss mismatch.
Ranzato et al. (2015) incorporated the evaluation metric into the training of sequence-to-sequence (seq2seq) models and proposed the mixed incremental cross-entropy reinforce (MIXER) training strategy, which is similar to the idea of minimum risk training (Smith & Eisner, 2006; Li & Eisner, 2009; Ayana et al., 2016; There is an increasing interest in incorporating problem field knowledge in machine learning approaches (Taskar et al., 2004; Ganchev et al., 2010; Hu et al., 2016) .
One common way is to design specialized network architectures or features for specific knowledge (e.g., ).
In contrast, for structured probabilistic models, posterior regularization and related frameworks (Ganchev et al., 2010; Liang et al., 2009; Bellare et al., 2009 ) provide a general means to impose knowledge constraints during model estimation.
established a mathematical correspondence between posterior regularization and reinforcement learning and, using this correspondence, expanded posterior regularization to learn knowledge constraints as the extrinsic reward in reinforcement learning.
Our approach can be seen as incorporating a priori knowledge of the language field into language generation learning.
Additionally, Welleck et al. (2019) proposed a new objective, unlikelihood training, which forces unlikely generations to be assigned lower probability by the model.
The difference is that (Welleck et al., 2019) focuses on low-frequency words while our model focuses on negative tokens.
It is claimed that the likelihood objective itself is at fault, resulting in a model that assigns too much probability to sequences containing repetition and frequent words, unlike those from the human training distribution.
From this point of view, there is a point in common with our motivation, which is to make the model prediction consistent with human training distribution to some extent.
Consider a conditional probability model for sequence predictions y ∼ p θ (x) with parameters θ.
The target sequence y can be conditioned on any type of source x (e.g., a phrase, sentence, or passage of human language or even an image), which is omitted for simplicity of notation.
For the sequence y = y 1 , y 2 , ..., y l , the probability p θ (y|x) is
Published as a conference paper at ICLR 2020
Commonly, sequence prediction models are trained using MLE (also known as teacher forcing) (Williams & Zipser, 1989) .
MLE minimizes the negative log-likelihood of p θ (y|x):
Optimizing the MLE objective L MLE (θ) is straightforward and meets the principle of empirical risk minimization while focusing on only minimizing losses of the correct target on the training data set.
However, there may be noise in the training data, and forcibly learning the distribution of a training set does not enable the obtained model to reach good generalization.
Additionally, for sequence prediction, models trained subject to MLE cursorily evaluate all predictions as either correct or incorrect and ignore the similarity between the correct and "less incorrect" predictions.
Incorrect predictions might range from nearly perfect (i.e., one token is mistaken with a synonym) to completely wrong, having nothing in common with the gold sequence.
However, MLE training treats all incorrect training predictions equally, which implies that MLE fails to accurately assign scores to diverse (especially negative) model predictions.
To capture the diversity of negative training predictions, we augment the MLE objective of the model with an additional objective O that more accurately models such a negative diversity.
Without loss of generality, supposingỹ is the prediction candidate, we introduce a general evaluation function f (ỹ, y) ∈ R independent of the model prediction, such that with a golden target token y * , a higher f (ỹ, y * ) value indicates a better p θ (ỹ|x) for a target candidateỹ ∈ V (where V is the target candidate set).
Note that f (ỹ, y) can also involve other factors such as latent variables and extra supervisions.
There are two main methods of learning f (ỹ, y) in the model.
If p θ is a GAN-like implicit generative model or an explicit distribution that can be efficiently reparametrized (e.g., Gaussian) (Kingma & Welling, 2013) , then one effective method is maximizing E p θ [f (ỹ, y)].
The other method is computing the gradient ∇ θ E p θ [f (ỹ, y)] using the log-derivative trick that can suffer from high variance but is often used for the large set of non-parameterizable explicit distributions.
Corresponding to the probability distribution of model predictions p θ (·), we define a prior distribution q(y) (for each target y i , it has its own unique distribution of q i = q(y i )) which is extracted and derived from the ground-truth data (e.g., language text in language generation tasks).
To guide the probability distribution of model predictions p θ (·) to match the prior probability distributions q(·), we adopt Kullback-Leibler divergence.
Considering also the learning of the evaluation function f (ỹ, y), the loss for objective O is calculated as
where α is a weight for the evaluation function learning term.
We derive the prior distribution q(y) from the ground-truth data (which is independent of model parameters θ), and therefore
in which KL divergence can be expanded as
The final objective for learning the model is written as
where λ is the balancing hyperparameter.
Because optimizing the original model objective L MLE (θ) is straightforward, in the following, we omit the discussion of L MLE (θ) and focus on the proposed
The prior probability distribution q(y * ) on y * can be obtained from the evaluation function f (·, ·) with a softmax operation.
To expose the mass of the distribution over the classes, Hinton et al. (2015) introduced a softmax temperature mechanism; therefore, the relationship between q and f (ỹ, y) is
where T is a temperature parameter.
When T → 0, the distribution becomes a Kronecker distribution (and is equivalent to a one-hot target vector); when T → +∞, the distribution becomes a uniform distribution.
The softmax operation always turns an evaluation function f (·, ·) into a form of probability distribution no matter the form of the original f (·, ·); thus, we only focus on f (·, ·).
To find a good evaluation function, we have to mine token-wise diversity for all y * .
Considering all token typesỹ j in a vocabulary, with respect to each y * , there exists a prior topological order ORDER(y * ) among all the known tokens, in which y * is always ranked top priority.
f (ỹ j , y * ) can then be defined as a monotonic function over the corresponding topological order so that it has a maximal value only when the input is y * itself.
Note that defining f (·, ·) in this way leads to the resulting q also being monotonic over the corresponding topological order.
Considering that q is a priori, it is fixed throughout the learning process.
The remaining questions are about how to find a meaningful evaluation function f (·, ·) for the distribution q. In language generation tasks, we may conveniently take word embedding as the token representation, and let the embedding distance determine such an order ORDER(y * ) for each y * .
In this work, we adopt the cosine similarity of pre-trained embeddings to sort the token (word/subword) order.
Discussion For the evaluation function f (·, ·) of q, we adopt the Gaussian probability density function, though later we also present experimental results for other types of functions in an ablation study.
As the adopted Gaussian prior used in the training objective is derived from a datadependent token-wise distribution, we call it the data-dependent Gaussian prior objective (D2GPo).
This objective is a big departure from the Gaussian prior commonly adopted for smoothing in MLE training (which we the data-independent Gaussian prior).
The following briefly explains why we chose the Gaussian probability density function and how our D2GPo mathematically differs from the data-independent Gaussian prior.
The central limit theorem indicates that suitably standardized sums of independent random variables have an approximately normal distribution.
Thus, any random variable that arises as the sum of a sufficiently large number of small random components can be modeled accurately using a normal distribution.
Embedding has a linear additive property (e.g., king -man + woman ≈ queen).
The additive property of embedding can be explained by inspecting the training objective (Mikolov et al., 2013) .
Each dimension of an embedding represents a potential feature of the token.
Considering each potential feature as an independent random variable, the sum follows a Gaussian distribution centered on the correct vocabulary unit y * according to the linear additive property.
We can therefore use a Gaussian distribution for the embedding-distance-determined order to effectively model the distribution q(y * ).
An overview of the concepts underlying D2GPo is illustrated in Appendix A.1.
The D2GPo in this paper is different from the data-independent Gaussian prior in machine learning optimization theory.
We hypothesize and experimentally verify that the embedding feature extracted from the data obeys the Gaussian distribution.
The distribution from the prior knowledge of language data is used as a soft target to guide the model language generation process using knowledge distillation.
The Gaussian prior in the machine learning optimization theory assumes that each component in the parameter θ is subject to a zero-mean Gaussian prior distribution, which is equivalent to L2 regularization.
In general, our Gaussian prior objective is to act on the guiding target probability, while the Gaussian prior in machine learning is applied to the selection of model parameters.
This section describes the experimental evaluation of D2GPo on a variety of typical language generation tasks: neural machine translation (NMT), text summarization, storytelling, and image captioning.
The hyperparameters in D2GPo and effect analysis are given in Appendix A.7.
Our proposed D2GPo approach for experimental tasks requires either word embeddings or bytepair-encoding (BPE) (Sennrich et al., 2016b) subword embeddings.
We generated the pretrained embeddings using fastText (Bojanowski et al., 2017) with an embedding dimension of 512, a context window of size 5, and 10 negative samples.
For NMT, fastText was applied to the concatenation of source and target language monolingual corpora, resulting in cross-lingual BPE subword embedding.
For text summarization, we generated BPE subword embedding only on the English monolingual corpora, while for the storytelling and image captioning, we obtained the word embedding also on the English monolingual corpora.
We evaluated the model on several widely used translation tasks: WMT14 English-to-German (EN-DE), English-to-French (EN-FR), and WMT16 English-to-Romanian (EN-RO) 1 tasks, which all have standard large-scale corpora for NMT evaluation.
Owing to space limits, the data details are provided in Appendix A.3.
The sentences were encoded using sub-word types based on BPE, which has a shared vocabulary of 40,000 sub-word units for all three tasks.
We chose the Transformer NMT (Vaswani et al., 2017) model as our baseline.
For the hyperparameters of the Transformer (base/big) models, we followed the settings used by Vaswani et al. (2017) .
The BLEU (Papineni et al., 2002) score with multi-bleu.pl was calculated during the evaluation.
Table 1 : Comparison with baseline and existing systems on supervised translation tasks.
Here, "++/+" after the BLEU score indicates that the proposed method was significantly better than the corresponding baseline Transformer (base or big) at significance levels p <0.01/0.05.
"STD" represents synthetic training data from (Sennrich et al., 2016b) .
In Table 1 , we report the performance of our full model, the baseline, and existing systems.
Our baseline model obtains results similar to those of Vaswani et al. (2017) , the existing strong model used for these tasks.
The results indicate that our method performed better than the strong baselines for all language pairs.
Our model is not only an improvement on the translation model of large-scale training sets but also performs better for small-scale training sets.
Refer to Appendix A.8 and A.9 for analysis of the low-resource scenario and generation diversity.
For unsupervised machine translation, we also used the three language pairs EN-DE, EN-FR, and EN-RO as our evaluation targets.
Note that the evaluation performed on EN-DE uses newstest2016 instead of newstest2014 to ensure the results are comparable with the results of other works; this is unlike supervised machine translation.
We used the masked sequence to sequence the pre-training (MASS) model (Song et al., 2019) as our baseline.
Following the practice of Song et al. (2019) , we pretrained our model with a masked sequence-to-sequence pre-training (MASS) objective (without D2GPo) on EN, FR, DE, and RO monolingual data samples from WMT 2007-2018 News Crawl datasets that respectively cover 190M, 60M, 270M, and 10M sentences.
We then fine-tuned the models on the same monolingual data using the back-translation cross-entropy loss (Lample et al., 2018) and our D2GPo loss.
For the training dataset, we filtered out sentences longer than 175 words in length and jointly learned 60K BPE sub-word units for each language pair.
Table 2 : BLEU score comparisons between MASS and previous methods of unsupervised NMT.
As shown in Table 2 , D2GPo consistently outperformed MASS (the state-of-the-art baseline) on all unsupervised translation pairs.
Meanwhile, the MASS and XLMsystems leverage large-scale monolingual pre-training, and the decoder (generator, language model) can still be improved by our D2GPo loss in the fine-tuning phase.
This demonstrates the efficiency of the proposed method.
Text summarization is a typical language generation task that creates a short and fluent summary of the given long-text document.
Song et al. (2019) fine-tuned the MASS pretrained model on the text summarization task and achieved state-of-the-art results.
We chose this model as our baseline, maintained consistent pre-training, and used D2GPo loss for enhancements in the fine-tuning phase.
We used the Annotated Gigaword corpus as the benchmark, as detailed in Appendix A.4.
In the evaluation, ROUGE-1, ROUGE-2, and ROUGE-L (Lin, 2004) are reported.
Table 3 .
We compared our +D2GPo with our baseline MASS, which is the current state-of-the-art model; +D2GPo consistently outperformed the baseline on all evaluation metrics.
The models with a semi-supervised setting yielded a large-margin improvement relative to the model without any pre-training, which demonstrates that the supervised pre-training is effective in the text summarization task.
Storytelling is at the frontier of current language generation technologies; i.e., stories must maintain a consistent theme throughout and require long-distance dependency modeling.
Additionally, stories require creativity and a high-level plot with planning ahead rather than word-by-word generation (Wiseman et al., 2017) .
We used the hierarchical story generation model (Fan et al., 2018) (which is introduced in Appendix A.5) as our baseline to test the improvements of D2GPo for the storytelling task.
To guarantee the single-variable principle, we added only the D2GPo loss to the story generation model.
The prompt generation model is consistent with Fan et al. (2018) .
For automatic evaluation, we measured the model perplexity on validation and test sets.
Table 4 shows results obtained using D2GPo.
It is seen that with the addition of D2GPo, the Conv seq2seq + self-attention model substantially improved the likelihood of human-generated stories and even outperformed the ensemble or fusion models without increasing the number of parameters.
Perplexity was further reduced with the addition of the fusion mechanism.
These results suggest that Table 4 : Perplexity on WRITINGPROMPTS.
D2GPo improves the quality of language generation greatly, especially in settings where there are fewer restrictions on story generation tasks.
Image captioning is a task that combines image understanding and language generation.
It continues to inspire considerable research at the boundary of computer vision and natural language processing.
We elected to experiment with image captioning to verify the performance of D2GPo on a language generation model having diverse types of input.
In our experiments, we evaluated our model on an ablated baseline (top-down, as detailed in Appendix A.6) (Anderson et al., 2018) against prior work on the MSCOCO 2014 caption dataset (Lin et al., 2014) , which has became the standard benchmark for image captioning.
For validation of model hyperparameters and offline testing, we used Karpathy splits (Karpathy & Fei-Fei, 2015) , which have been used extensively in prior work.
SPICE (Anderson et al., 2016) , CIDEr (Vedantam et al., 2015) , METEOR (Denkowski & Lavie, 2014) , ROUGE-L, and BLEU were used to evaluate the caption quality.
Table 5 : Image caption performance on the MSCOCO Karpathy test split.
Table 5 summarizes the performance of our full model and the ResNet Top-down baseline in comparison with the existing strong Self-critical Sequence Training (SCST) (Rennie et al., 2017) approach on the test portion of the Karpathy splits.
To ensure a fair comparison, results are only reported for models trained with standard cross-entropy loss (i.e., MLE).
All results are reported for a single model with no fine tuning of the input ResNet model.
Our ResNet baseline performs slightly better than the SCST models.
After incorporating our proposed D2GPo loss, our model improves further across all metrics.
According to the analysis in Section 4, for the embedding, we used the Gaussian probability density function as our evaluation function f (·); however, to evaluate the effectiveness of different evaluation functions, we changed the function and tested the performance changes on the supervised NMT EN-DE task.
We used the same experiment settings as described in Section 5.2 and compared the BLEU score changes on the test set, as listed in Table 6 .
Table 6 : Ablation study on our proposed D2GPo with different evaluation functions on the supervised NMT WMT14 EN-DE task, with the Transformer-base model.
The table shows that the performance of Gaussian density, linear, and cosine functions increased while the performance of the random function decreased.
This shows that the distance information obtained from embedding can effectively guide the generation process.
Among these functions, the Gaussian density function had the greatest improvement, which agrees with our analysis of the embedding features obeying the Gaussian distribution.
We postulate that because the linear and cosine functions are rough approximations of the Gaussian density function, they perform similarly to the Gaussian density function.
This work proposed a data-dependent Gaussian prior objective (D2GPo) for language generation tasks with the hope of alleviating the difficulty of negative diversity ignorance.
D2GPo imposes the prior from (linguistic) data over the sequence prediction models.
D2GPo outperformed strong baselines in experiments on classic language generation tasks (i.e., neural machine translation, text summarization, storytelling, and image captioning tasks).
A.1 CONCEPTS UNDERLYING D2GPO Figure 1 : Overview of the concepts underlying D2GPo taking the example of the sentence The little boy sits on the armchair.
Specifically, for target y i , we calculate the embedding cosine similarity as the distance dist(i, j) of y i and all other token types in the vocabularyỹ j , which are used to give the distance: dist i,j = cosine similarity(emb(y i ), emb(ỹ j )).
(10) Sorting by distance from small to large to obtain the topological order of token types yields
A.3 SUPERVISED NMT DATA For the EN-DE translation task, 4.43M bilingual sentence pairs from the WMT'14 dataset, which includes the Common Crawl, News Commentary, and Europarl v7 datasets, were used as training data.
The newstest2013 and newstest2014 datasets were used as the dev set and test set, respectively.
For the EN-FR translation task, 36M bilingual sentence pairs from the WMT'14 dataset were used as training data.
The newstest2012 and newstest2013 datasets were combined for validation and newstest2014 was used as the test set, following the configuration of Gehring et al. (2017) .
For the EN-RO task, we tested two settings; i.e., Europarl v7, which uses only the officially provided parallel corpus, and SETIMES2, which yields 600,000 sentence pairs for a low-resource supervised machine translation study.
Alternatively, following the work of Sennrich et al. (2016a) , we used synthetic training data (STD) of Sennrich et al. (2016a) , which provides 2.8M sentence pairs for training.
We used newsdev2016 as the dev set and newstest2016 as the test set.
Our reported results on EN-RO are evaluated on a reference for which diacritics are removed from letters.
The Annotated Gigaword corpus (Napoles et al., 2012) was used as a benchmark (Rush et al., 2015) .
This data set is derived from news articles and comprises pairs of main sentences in the article (longer) and headline (shorter).
The article and headline were respectively used as the source input sentence and reference.
The data include approximately 3.8M training samples, 400,000 validation samples, and 2000 test samples.
The hierarchical story generation model (Fan et al., 2018) was proposed for the situation in which a sentence called a prompt that describes the topic of the upcoming story generation is first generated, and then conditions on the prompt are applied when generating the story.
Specifically, Fan et al. (2018) used a self-attention gated convolutional language model (GCNN) as the sequence-to-sequence prompt generation model with top-k random sampling.
For prompt-tostory generation, they collected a dataset from Reddit's WRITINGPROMPTS forum in which each prompt has multiple story responses.
With the dataset, they trained a story generation model that benefitted from a novel form of model fusion that improved the relevance of the story to the prompt and added a new gated multi-scale self-attention mechanism to model the long-range context.
The top-down image captioning model uses a ResNet convolutional neural net pretrained on ImageNet (Deng et al., 2009 ) to encode each image.
Similar to previous work (Rennie et al., 2017) , the cited study encoded the full-sized input image with the final convolutional layer of Resnet-101 and used bilinear interpolation to resize the output to a fixed-size spatial representation of 10×10.
This is equivalent to the maximum number of spatial regions used in our full model.
During training with our D2GPo, the value of the standard deviation of the KL diversity item λ was set to 0.1, and the softmax temperature was T = 2.0 in all experiments.
To study the effects of hyperparameters (i.e., the standard deviation λ and softmax temperature T The experimental results reveal that λ affects the model training process.
We believe that the reason is that a small value of λ results in the model being unable to make full use of the prior knowledge (distribution), while a larger value of λ will make the model more uncertain because of the higher probability of there being incorrect or even opposite words whose fastText embeddings are similar.
In addition, experimental results show that a small value of T can improve the model to some extent, whereas a large value of T will seriously decrease the performance of the model.
Theoretically, when T approaches infinity, the distribution q becomes uniform, and there is no prior knowledge with which to guide the model.
A loss penalty is applied to any model prediction, and an excessively high value of T is thus harmful to training.
Priors are generally more helpful in low-data regimes.
We sampled 10,000, 100,000, and 600,000 paired sentences from the bilingual training data of WMT16 EN-RO to explore the performance of D2GPo in different low-resource scenarios.
We used the same BPE code and learned fastText embeddings in all WMT16 EN-RO training data.
Table 7 : Comparison of our baseline and our D2GPo method under different training data scales in terms of BLEU on the WMT16 EN-RO test set.
As shown in Table 7 , D2GPo outperforms the baseline model, demonstrating the effectiveness of our method in low-resource scenarios.
At the same time, the results show that the performance improvement provided by D2GPo increases with fewer training data.
This shows that prior knowledge can substantially improve the performance of the model when training data are scarce.
A possible reason is that the training data are insufficient to train a robust model.
In this case, the injection of prior knowledge can help train the parameters of the model and substantially improve the translation performance.
However, with an increase in the number of training data, the model itself can be optimized well, and the improvement gained by introducing prior knowledge is not as substantial as before.
Compared with traditional MLE training, D2GPo encourages negative diversity.
To examine differences between D2GPo and MLE models, we counted high-and low-frequency words in the training set and compared the frequencies of low-frequency words predicted by the two models and the golden reference on the test set.
Table 8 : The statics of low frequency words in the reference and generations.
The experiment was carried out on WMT14 EN-DE, the baseline model was Transformer-base, and the statistics were calculated at the word level.
We chose words with a frequency less than or equal to 100 in the training set as low-frequency words.
We used the golden reference (#GOLD), baseline model prediction output, and +D2GPo model prediction output to count the total number of tokens (#SUM) and the number of low-frequency words (#LF).
Results are given in Table 8 .
The results show that compared with the baseline, the D2GPo optimized model generates more lowfrequency words and has a higher ratio of low-frequency words.
However, the number is still far less than the golden reference.
It is thus demonstrated that D2GPo increases the diversity of model output.
Top-down: a woman holding an umbrella in her hand + D2GPo: a woman is holding an umbrella + SCST: a woman holding an umbrella in a street + SCST+ D2GPo: a woman is holding an umbrella in the street Top-down: a large airplane sitting on top of an airport runway + D2GPo: an airplane is sitting on top of an airport runway + SCST: a large jetliner sitting on top of an airport runway + SCST+ D2GPo: a large jetliner is sitting on top of an airport runway Top-down: a woman holding a surf board in the ocean + D2GPo: a woman is standing on the beach with a surfboard + SCST: a woman holding a surfboard on the beach + SCST+ D2GPo: a woman is standing on the beach with a surfboard
Top-down: a traffic light with a traffic light on it + D2GPo: a traffic light on the side of a traffic light + SCST: a yellow traffic light on the side of a street + SCST+ D2GPo: yellow traffic lights on the side of a street Table 9 : Captions generated for the left image by the various models described in the paper.
The models trained with SCST return a more accurate and more detailed summary of the image.
The models trained with D2GPo return a more grammatically complete sentence.

assistant: text: We introduce an extra data-dependent Gaussian prior objective to augment the current MLE training, which is designed to capture the prior knowledge in the ground-truth data.