Title: STYLE EXAMPLE-GUIDED TEXT GENERATION USING GENERATIVE ADVERSARIAL TRANSFORMERS

Abstract: We introduce a language generative model framework for generating a styled paragraph based on a context sentence and a style reference example. The framework consists of a style encoder and a texts decoder. The style encoder extracts a style code from the reference example, and the text decoder generates texts based on the style code and the context. We propose a novel objective function to train our framework. We also investigate different network design choices. We conduct extensive experimental validation with comparison to strong baselines to validate the effectiveness of the proposed framework using a newly collected dataset with diverse text styles. Both code and dataset will be released upon publication.

1. INTRODUCTION:

Text generation refers to the task of generating a new text based on some user input. The task exists in many forms, but arguably the most common form concerns generating a coherent and consistent text based on an input context such as the first few sentences of the target output. This is often achieved by giving the context to a generative language model. Generative language models play a central role in machine learning and natural language processing (NLP). Not only they serve as the main mean for unsupervised feature representation learning but also find use in various applications, including question answering, dialogue agents, summarization, and content creation systems.

Thanks to the introduction of novel deep learning architectures and the availability of large-scale training corpora, the state-of-the-art text generation has advanced significantly in recent years. We can now train language models capable of generating fluent and coherent texts that people cannot tell them apart from those written by humans. However, despite the great achievement, existing generative models are limited and inflexible in the sense that a trained model is only capable in generating texts of one style. It can not be used to generate texts of different styles. For instance, a news generative model can only be used to generate news, and a lyric generative model can only be used to generate lyrics. In contrast, humans can compose texts in various styles.

To bridge the gap, we propose a style example-guided text generation framework that can generate styled texts based on the style of the example reference text. In our framework, the generator takes two inputs where one is the context input while the other is the style reference example. We use the style reference example to change the generation behavior of our generative model dynamically. For a fixed context, when the provided style reference is a paragraph sampled from a news article, it becomes a news generator. When the provided style reference is a review, it becomes a review generator. In other words, the same generator can generate texts of different styles based on the examples. In Tab. 1, we show example outputs of the proposed framework where we generate texts of dramatically different styles for the same input sentence.

The proposed style example-guided text generation framework is based on the generative adversarial networks (GANs), and we utilize the transformer in both the generator and discriminator design. We collect a large dataset containing documents with many different styles for training. Using a novel learning objective function, our network learns to generate styled texts based on the input style example in an unsupervised manner. We conduct extensive experimental validations with comparisons to strong baselines. We also investigate different ways of designing the generator and compare their performance. Through detailed quantitative and user study results, we prove the effectiveness of the proposed framework for the style example-guided text generation task.

1 Under review as a conference paper at ICLR 2020 Context -Wiki Style (Machine Learning Intro.) Machine learning (ML) is the scientific study of algorithms and statistical models that computer systems use to perform a specific task without using explicit instructions, relying on patterns and inference instead. It is seen as a subset of artificial intelligence. Machine learning algorithms build a mathematical model based on sample data, known as "training data", in order to make predictions or decisions without being explicitly programmed to perform the task. [1] [2]:

Reference -News Style (CNN)Remember that robot dog that went viral a few years ago? The one that can run uphill, climb stairs, and looks like the killer robot dogs in the TV show "Black Mirror"? It's now available for select customers.

Boston Dynamics, the company behind the dog, which is named Spot, released a video on Tuesday advertising its launch. It shows Spot navigating challenging terrain, picking up construction objects, moving through bad weather, and picking itself up after a fall. The video and the product launch page also show off Spot's capabilitiesfor instance, it can run at 1.6 meters per second (about 5.2 feet per second), has 360degree cameras that give it a full range of vision, is dust-and water-proof, and can operate in temperatures ranging from -20 to 45 degrees Celsius (-4 to 113 Fahrenheit).

Reference -Yelp Reviews Style Yumm:

The line was AWFUL! Came by Saturday around 5:20pm and the line was CRAZY. I do feel like they're understaffed. Despite that, it was my first time and i got the chance to taste test two flavors, matcha and milk tea! Both were great!! I got the : -Matcha swirl with a custard fish, sprinkles and coconut flakes : The custard was so good! Paired great with the ice cream.

Staff were so friendly! Especially the cashier (guy) and person who swirled the ice cream that shift! She was super patient as I, myself is very indecisive, haha! Most definitely coming by again!! Generated Machine Learning is an ancient concept that has entered the mainstream today, which means that it can survive in the face of such heightened competition. In its application, Flurry wants to improve the efficiency of AI driven computing machines, and with a large footprint. As is seen on me, Flurry has designed a large extension that (unfortunately) can be used in its development, but with lower speed lag. Now that the hybrid technology is here, it's there for the taking.

There may also be a Something About Mary in the future. "So it's nice to be able to mount a cat across your desk without requiring any backup access."

Generated:

Since the day machines started boosting up, dozens of companies have recently done so. In fact, I highly recommend RoboSports, an example of small-batch ice cream places that have taken up artificial advances in AI; their ice cream is the perfect size, slim and hot, it was great. If you are a connoisseur of ice cream, check out this wonderful ice cream shop. 

2. RELATED WORK:

Language modeling has seen many advancements in recent years, which has resulted in significant improvements on various NLP tasks. Early language models focused on using n-grams to represent a text distribution. Bengio et al. (2003) introduced a neural language model in a shift from more traditional n-gram models. Many works later (Mikolov et al. (2013) 2019)) used transformer model and obtained significant improvements on downstream tasks (Wang et al. (2019) ; Rajpurkar et al. (2016) ; Zellers et al. (2018) ). Lately, (Radford et al. (2019) ) introduced GPT-2, a generative left-to-right language model based on the transformer and showed that these models are able to generate coherent text when pretrained on a large corpus. Shoeybi et al. (2019) further scaled up the GPT-2 model and demonstrated improved performance. Our work differs from the prior works because we aim for allowing user flexible control over the style of the generated text.

Texts generation includes review generation (Radford et al. (2018) ; Zang & Wan (2017) ), sentiment texts generation (Wang & Wan (2018) ; Hu et al. (2017) ; Merity et al. (2017) ), Wikipedia generation (Liu et al. (2018) ; Lebret et al. (2016) ), fake news generation (Bakhtin et al. (2019) ; Zellers et al. (2019) ), abstractive summarization (Li et al. (2018) ; Zhang et al. (2019) ; Pasunuru et al. (2017) ), and conversation/dialogue system (Vinyals & Le (2015) ; Budzianowski & Vulić (2019) ). Although many of them trained a transformer on large-scale corpora, their results were limited in their specific domain (e.g., reviews, news, etc.) because they either utilized domain-specific priors in their model design or were not designed to generate texts in many different domains or styles.

Control on texts generation. In addition, there are literature utilizing insertion-base (Stern et al. (2019) ; Chan et al. (2019) ), GAN-based (Yu et al. (2017); d'Autume et al. (2019) ), variational autoencoder-based (Xu et al. (2019) ), normalizing flow-based (Tran et al. (2019) ) approaches for general texts generation task. However, we instead focus on generating styled paragraphs conditioning on a context and a reference paragraph. A recent work by Keskar et al. (2019) is most related to ours. They propose a conditional transformer using a control code to perform language generation in a sequence-to-sequence manner. We demonstrate our method outperforms theirs by a large margin in the experiment section.

Text style transfer concerns transferring an input text of one style to a different style (Kerpedjiev (1992) ; Rao & Tetreault (2018) ; Xu (2017) ; Xu et al. (2012) ; Fu et al. (2018) ; Hu et al. (2017); Prabhumoye et al. (2018) ; Shen et al. (2017) ; Li et al. (2019) ). Our work is different since we do not aim for changing the style of a given text. Instead, we aim for a style-controllable way for generating texts from scratch. Also, rather than handling transferring between two styles (e.g., positive ↔ negative sentiments), our model can generate texts of many different styles. Finally, our model outputs paragraphs while existing text style transfer works mostly output sentences.

Image Style transfer is a popular topic in computer vision. There are many successful techniques, including iterative optimization on the gram matrix (Gatys et al. (2016) ), perceptual loss (Johnson et al. (2016) ; Gupta et al. (2017) ), feature transformation (Li et al. (2017) ), adaptive instancenormalization (Dumoulin et al. (2017) ; Huang & Belongie (2017) ), and GAN-based methods (Zhu et al. (2017) ; Kim et al. (2017) ). Our proposed framework also gets inspiration from them.

3. PRELIMINARIES:

Our framework is based on the transformer network (Vaswani et al. (2017) ) and the GAN framework (Goodfellow et al. (2014) ). In this section, we briefly review these two components.

Transformer is the state-of-the-art network for various natural language processing tasks. Different from RNNs (Hochreiter & Schmidhuber (1997) ; Bengio et al. (2003) ; Chung et al. (2014) ), which consume a sequence token by token, in a transformer network, the entire sequence is fed into layers of transformer modules. The representation of a token at a layer is then computed by attending to the latent representations of all the other tokens in the preceding layer.

Variants of transformer networks are available. We build our model based on GPT-2 transformer network (Radford et al. (2019) ; Shoeybi et al. (2019) ), which train a deep transformer using a leftto-right language model:

EQUATION

where w t 's denote the word tokens. Different from BERT-like transformer networks (Devlin et al. (2019) ; Liu et al. (2019d) ), GPT-2 makes a casual assumption, i.e., the latent representation of a token is calculated using only the latent representations of the preceding tokens. Thus, during generation, GPT-2 can be directly applied to complete the text given the context sentence.

GAN defines a zero-sum game played by a generator F and a discriminator D. Under some nice conditions, the generator learns to convert a random noise vector to a realistic signal in a way that the discriminator cannot tell it apart from real signals. In this case, the distribution of the output signals produced by the generator converges to the distribution of signals observed in the real world.

We use a conditional GAN where F takes a context sentence and a style reference example as inputs. To avoid non-differentiability in text decoding (e.g., beam search), we use a latent GAN formulation (Achlioptas et al. (2017) ). We first divide F into a feature extractor F f and an output embedding layer 

F o ; that is F ≡ F o • F f . Now, instead

4. STYLE EXAMPLE-GUIDED TEXT GENERATION:

We propose a language generative model framework that allows us to control style of the output text using a style reference example. Given few context sentences w = {w t } T t=1 and a reference text s, our generator F generates output text y that has the same style as the reference example s given by

y = F (w, s) ≡ F o (F f (w, s)).

(2)

We divide the feature extractor F f into a style encoder F s and a text decoder F g where the style encoder extracts a style representation from the style example, z = F s (s), and the text decoder F g consumes the style representation and the context sentences to compute a feature for F o to generate LGAN . Note that we decompose each network into a feature extractor and an embedding layer.

the styled text y. In this section, we will first introduce the data streams employed during training and our novel learning objective function. We will then discuss various generator design choices. Reconstruction stream (RS). For this steam, we first sample two documents with the same style from D: (d i , l i ) and (d j , l j ) where l i = l j . We then sample two paragraphs1 : p i ∼ d i and p j ∼ d j .

We extract the first few sentences from p i as the input context w = ψ(p i ), where ψ is the extraction function, and use p j for the style reference s. Feeding w and p j to the generator F , we expect F should be able to reconstruct p i : F (ψ(p i ), p j ) ≈ p i .

Cross-style generation stream (CS). We first sample two documents (d i , l i ) ∼ D and (d k , l k ) ∼ D where l i = l k . We then sample paragraphs p i ∼ d i and p k ∼ d k . We again extract the first few sentences from p i as the input context w = ψ(p i ) and use p k for the style reference s. As feeding w and p k to the generator F , we expect F should output p i→k = F (ψ(p i ), p k ) where p i→k should has the same style as d k . Let C * be an oracle style comparator function that outputs 1 if the two input texts have the same style and 0 otherwise. We aim for C * (p i→k , p k ) = 1.

4.2. LEARNING OBJECTIVE:

We propose an objective function consisting of four carefully designed loss terms for training the proposed framework using the above two data streams. The objective function is given by

EQUATION

where L LM is the language modeling loss, L DIST the distillation loss, L ST Y LE is a style comparison loss, and L GAN is the latent GAN loss. The scalars λ DIST , λ ST Y LE , and λ GAN are the hyper-parameters controlling relative importance of the terms. The values for these hyperparameters and the method for determining their values are discussed in Appendix A. We visualizes training with the proposed objective function using the two data streams in Fig. 1 .

Language modeling loss L LM formulates the probability distribution of a paragraph p as the product of the conditional probability of each token w t given the previous tokens {w t } T -1 t as shown in (1). We use L LM to supervise the training of the data reconstruction stream. It is given by

L LM = E (pi,pj )∼RS -1 T T t

log( e F (wt|w1:t-1,pj )

V v e F (wv|w1:t-1,pj )

) ,

where (p i , p j ) ∼ RS denotes that p i and p j are from the reconstruction stream. The variable T is the total number of tokens in p i and V is the size of the vocabulary.

Distillation loss. We use L DIST to regularize the learning as processing the data reconstruction steam. We pretrain a GPT-2 model using our dataset D and use it as our distillation target. We denote the pretrained GPT-2 model as H. (Note that H does not have the desired style control capability.) By jointly optimizing L LM and L DIST , we train F to generate fluent texts (by minimizing L LM ) as well as behave similarly to H (by minimizing L DIST ). The distillation loss is calculated by minimizing the mutual information between output distributions of F and H, which is given by

L DIST = E (pi,pj )∼RS -1 T T t |ν| v e H(wt=v|w1:t-1)

|ν| v e H(wv|w1:t-1)

log( e F (wt|w1:t-1,pj )

|ν| v e F (wv|w1:t-1,pj )

) .

(5)

We note that the distillation loss has been used in various tasks including model compression, transfer learning, life-long learning, etc (Hinton et al. (2015) ; Kim & Rush (2016) 2018)). In this paper, we extend its use to the style example-guided language generative model training task.

Style loss L ST Y LE helps ensure the output from the cross-style generation stream has the same style as the input reference. A pretrained style comparator C is used for computing the loss. The comparator takes two paragraphs as input and is trained to output 1 when the two paragraphs have the same style and 0 otherwise. We use D for pretraining C since it contains style labels for each document. We pretrain C using the binary cross entropy loss. The comparator C is highly accurate. It achieves a classification accuracy of 87.8% to 98.8% in our held-out validation sets. After pretaining, we fix C and use it to train F . The style loss L ST Y LE is then given by

EQUATION

where (p i , p k ) ∼ CS denotes the pair is sampled from the cross-style generation stream.

Here, we would like to make two remarks. First, since C takes the latent feature from F f as input, we avoid the non-differentiability of the text decoding mechanism and can directly train F f . Second, despite that C is pretrained using feature extracted from H f , we use the feature extracted from F f as input. We can perform this operation not only because these two features have the same dimension but also because we enforce them to have a similar distribution via optimizing the GAN loss, discussed below.

GAN loss L GAN is used to match the distributions of the features generated by F f and those generated by H f , respectively, as processing the cross-style generation stream. We use a latent GAN formulation where we train a GAN discriminator D to differentiate features extracted from F f to H f . The GAN loss is given by

EQUATION

We realize the discriminator D using a -based transformer network.

4.3. GENERATOR DESIGN:

We realize the style encoder F s using a GPT-2-based transformer identical to H f . After extracting a representation z t for each token t in s, we utilize a 3-layer position-wise fully-connected network to obtain the final style code z as illustrated in Fig. 2 . The text decoder F g is also a GPT-2-based transformer identical to H. We initialize the weights in F s and F g using the weights in the pretrained H. Next, we compare four different ways of injecting outputs from F s into F g , which represent different inductive biases and result in difference performances.

Model A: style code as a bias to the input. In this model, the style code z = F s (s) is directly summed up with the token-embedding and position embedding before inputting to the first transformer module in F g . In other words, the input to the first transformer module in F g is e w t + e p t + z where e w t denotes as the tth word embedding, and e p t denotes as the tth position embedding. Model B: style code as a summarization token. In this model, the computed style code z = F s (s) is treated as a special token that is inserted to the beginning of the input sequence and is directed fed in the first transformer module in F g . That is the input sequence length becomes T + 1. This design is motivated by the traditional sequence-to-sequence modeling techniques (Chung et al. (2014) Model C: style-aware self-attention. In this model, we input z into each self-attention layer in F g to influence its computation given by Sof tmax(

qmk T m-1 √ B

)v m-1 where q m = η m (z) which η m denotes an affine transformation, k m-1 and v m-1 denotes the key and value embeddings from the (m -1)th hidden layer, and B denotes the hidden dimension. 

EQUATION

where h a m,c,t denotes the cth hidden representation of the tth token at the mth transformer layer. We note a = {1, 2} since there are two layer normalization layers in each transformer in our implementation. The mean and deviation µ a m,t and σ a m,t are computed across the channel dimension. We illustrate how these models inject z to F g in Fig. 2 . In Section 5, we compare the performance of these variants and show that Model D achieves the best style generation performance.

5. EXPERIMENTS:

Implementation. We set the latent dimension B to 768, number of attention-heads to 16, number of transformer layers M to 16, number of tokens in a paragraph T to 512, and the vocabulary size V to 50257 using BPE-encoding (Sennrich et al. (2015) ) vocabulary from Radford et al. (2019) throughout out all the models and experiments. We use a pretrained GPT-2 model H and a style comparator C in our framework. The training details of these two models are given in Appendix B. All of the experiments are conducted using an NVIDIA DGX1 machine.

Datasets. We compare competing methods using two newly composed datasets based on (Zhu et al. (2015) ; Zellers et al. (2019) ; Santiago (2015); See et al. (2017) ).

3-Style.:

The dataset consists of documents from the RealNews dataset (Zellers et al. (2019) ), the BookCorpus dataset (Zhu et al. (2015) ), and the Reviews dataset (Yelp (2019) ; McAuley & Leskovec (2013) ; Maas et al. (2011) ; Dataworld (2017) ; Liu (2017) ). The 3 styles are news, book, and review. In detail, the news set has 33M documents and 113B words, the books set has 50K documents and 7.2B words, and the review set has 4.8M documents and 5.4B words after cleaning. The total dataset has 37.85M documents and 125.6B words. We hold out 3.78M documents as the validation set and 6K documents as the testing set.

21-Style.:

We build a dataset that contains 21 text styles. We first classify the documents in Real-News into 9 styles, including Sciences, Sport, Politics, Business, Technology, Entertainment, Opinion, Life, and News. Then, we divide the documents in BookCorpus into 8 different styles, which are Romance, Fantasy, Sciencefiction, Childrensbooks, Thriller, Adventure, Poetry, and Plays. We split the documents into multiple small documents by extracting the dialogues except for the Poetry and Plays. We divide the Review dataset into 3 styles, namely Yelp, Hotel, and Movie. Finally, we crawl 0.77M lyrics from http://www.azlyrics.com/. The total dataset has 35.5M documents. We hold out 3.55M documents as the validation set and 21K documents as the testing set.

Auto-evaluation metrics. We evaluate different models using fluency score, style score, style diversity score, and content novelty score. The fluency score measures whether the output paragraph reads like a human-written one. The style score checks whether the output text carries the target style. Our framework supports multimodal outputs (Huang et al. (2018) ). For the same input context but different reference examples of the same style, our framework should produce different output texts but all with the same style. To measure how different these outputs are, we use the style diversity score. Finally, the content novelty score is used to measure the difference between the output and the reference example. A model that directly duplicates the reference to the output is undesirable. The details of these automatic evaluation metrics are available in Appendix C.

Human study settings. We use the Amazon Mechanical Turk (AMT) platform for user studies. We conduct two studies where one evaluates fluency of the generated paragraphs while the other verifies the style correctness. For the fluency study, we present a human-written text and a machinegenerated text in random order and ask the worker to choose which one is written by a human. For this metric, the closer the preference score to 50%, the better the performance.

For the style study, we perform two tests. In one test, we present a worker a generated paragraph that supposes to be in the target style. We also give the worker two human-written reference paragraphs where one is with the target style while the other is not. We then ask the worker to choose which reference paragraph has a style more similar to the generated one. In the other test, we again present a worker a generated paragraph but this time with the style categorical labels to choose from instead of the reference paragraphs. We compute the frequency that the worker selects the right style. The higher the score, the better the performance. More details are in Appendix D.

Strong baselines. We compare our framework to three strong baselines, namely the general GPT-2 model (G-GPT-2), a baseline consists of multiple style-specialized GPT-2 models (S-GPT-2), and the style-code encoding (SC) method based on the description in Keskar et al. (2019) . G-GPT-2 is trained on the entire dataset using L LM . It does not allow style control but can generate fluent texts. In S-GPT-2, we train a GPT-2 model per style. As training a GPT-2 model is costly, we only use this baseline for the 3-Style dataset evaluation. In SC, an one-hot encoding of the style class label is used as a special token for style-controllable paragraph generation. Unlike the proposed method that extracts the style code from the input paragraph, SC input the style label. The rest of the model is similar to our Model B without the style encoder.

5.1. RESULTS:

In Fig. 3 , we plot the fluency and style scores achieved by our models as well as those by the baselines on the 3-Style and 21-Style datasets. The closer the model to the top-right corner, the more superior the model is. From the figure, we found that among our models, Model D performs the best. As expected, G-GPT-2 achieves the best fluency score. However, since it does not support style control, it has a poor style score. On the other hand, S-GPT-2 achieves good fluency and style scores for the 3-Style dataset. This is understandable as it utilizes a GPT-2 model for each style. However, such an approach does not scale well as GPT-2 training is expensive. We also found that SC does not achieve good style score and is inferior to our models. We suspect this is because the one-hot style class code is largely ignored during inference. Since Model D performs the best in our framework, for the rest of the paper, we use it as our representative model for performance comparison as well as ablation study.

In Tab. 1, we show several generation results from our Model D. We find that the output texts are fluent and respect the styles of the references. More output examples are available in Appendix E.

In Tab. 2, we show the style diversity scores achieved by our models. We found that all of our 4 models can generate diverse styled paragraphs conditioning on the same context and different reference examples with the same style.

Human evaluation. In Tab. 3, we report user study results on fluency and style control. We found that our model achieves great fluency on both of the datasets. Compared to SC, our model performs better in controlling the style in the output texts.

Ablation study. We conduct an ablation study on the loss terms in the proposed objective function and report the results in Tab. 4 using the 21-Style dataset. The results show that each term is important. Removing L DIST leads to a degraded content novelty score. Removing L ST Y LE leads to a degraded style score, thought an improved fluency score and a content novelty score. Removing L GAN leads to both degraded fluency and style diversity scores.

A HYPER-PARAMETERS TUNNING:

We tune the hyper-parameters on a pilot-test dataset. This pilot-test dataset has 3K training examples and 400 hold-out examples. We perform a grid search on log-scale. We utilize the Frechet Embedding Distance (Semeniuta et al. (2018) ) to select best hyper-parameters. For λ DIST , λ ST Y LE , and λ GAN , we try {1.0, 0.1, 0.1}, {0.1, 0.1, 0.1}, and {1.0, 0.01, 0.01}. For betas used in Adam Optimizer, we try {0.9, 0.999} and {0.0, 0.9}. For weight decay, we try 0.01 and 0.0. For the initial learning rate, we try 0.00025 and 0.000025. Eventually, we use 0.00025 as initial learning rate and {1.0, 0.01, 0.01} for λ DIST , λ ST Y LE , as well as λ GAN for all models except for the Model B. We use {1.0, 0.01, 0.1} for the Model B instead.

B PRETRAINING OF H AND C:

Pretraining of the GPT-2 model H. We pretrain H on our collected dataset D from scratch. We use Adam optimizer with 0.00015 initial learning rate, β 1 and β 2 are set by {0.9, 0.999}, cosine learning rate decay style, and 0.01 weight decay. The batch size is set to 512. The total training iterations is 320K which takes 2 weeks.

Pretraining of the style comparator C. We pretrain the Style Comparator C using 256 and 512 batch size, respectively. The initial learning rate is 0.00015 with 0.01 weight decay and cosine learning rate decay style. The optimizer is also Adam with β 1 = 0.9 and β 2 = 0.999. Since the training converges very quickly, we do early stopping if the accuracy on validation set plateaus. Eventually, we use the checkpoint at 28K and 50K iterations to train on the 3-style and 21-style datasets, respectively. The accuracy on hold-out validation set are 98.8% and 87.8% on 3-styles and 21-styles datasets, respectively.

C AUTO-EVALUATION METRICS:

Fluency score. To ensure the generated paragraph is fluent and coherent, we utilize a pretrained GPT-2 model to measure the perplexity of the generated paragraph. We compute the generation likelihood over each token using the model and treat the generated paragraph y 0:T -1 as inputs and y 1:T as labels. Given the input text, the pretrained GPT-2 returns the probability distribution of next token over the vocabulary. Then, we measure the perplexity by this probability distribution and label. Since our dictionary size is 50257, the random guess of the next token would result in 50257 perplexity (L LM = log(50257) ≈ 10.83). Thus, we set 10.83 as an upper bound and define the fluency score of the generated paragraph as 10.83 -log(perplexity). In this sense, a higher fluency score means lower perplexity.

Style score. We train 3/21 binary style classifiers (since we have 3/21 different styles in the 3-Style/21-Style dataset) by finetuning a GPT-2 network to automatically evaluate whether the generated text carries the style of a target class. These 3/21 classifiers achieve average classification accuracies of 99.1%/96.3%. During the testing phase, for a target style, if the corresponding style classifier correctly predicts 1 for the generated paragraph computed by a model, we count it as a successful trial. We compute the success rate over the test set and use the result as the style score for the model.

Style diversity score. We adopt the LPIPS distance (Zhang et al. (2018) ) to measure the diversity of the generation outputs conditioning on the same context. To implement this metric, we first extract the feature representation from each token in a generated paragraph by a pretrained GPT-2 model. We compute the mean representation of the tokens in a paragraph as the paragraph-level representation. Then, we measure the L 2 distance between two paragraph-level representations of two different paragraphs generated using the same context but two different references written in the same style. In this sense, a larger distance value implies the styles of the two generated paragraphs are more different.

To get an idea of the range of this metric, we compute an upper bound and a lower bound. We consider two paragraphs from two documents of different styles should have a high style diversity score. We hence sample 1000 paragraphs from each style and use the pretrained GPT-2 model to extract deep features. After taking average over the token-dimension, we obtain 1000 by 768 representation for each style. Then, we compute the L 2 distance between of these matrices divided by 1000. This gives us a matrix of size 21 × 21 measuring the pairwise distance between two styles. We use the largest value in this matrix as our upper bound, which is 15.67.

For the lower bound, since two different paragraphs from the same document should have a low style diversity score, we use their scores for the lower bound computation. Specifically, we compute the average distance between two different paragraphs from the same document. We do this for each style and obtain 21 different values. We obtain the lower bound by taking average over these values, which is 4.52.

Content novelty score. To verify that our model is not simply duplicating the content from reference paragraph, we utilize LPIPS distance (Zhang et al. (2018) ) to measure the difference between the generated paragraph and the input reference paragraph. We again use a pretrained GPT-2 model for extracting a feature representation for each token. To compute the distance between two paragraphs, we compute the bipartite matching cost between the tokens from the two paragraphs. Specifically, we first compute the L2 distances between any token representation in one paragraph to all the token representations in the other paragraph. We then compute the minimum cost assignment by solving a bipartite matching problem. In order to get an idea about the range of the content novelty score, we compute an upper bound and a lower bound using a similar approach as the one used for the style diversity score. We find the upper bound value is 31.46 and the lower bound value is 15.13.

D HUMAN EVALUATION:

To participate in our user study, a worker has to be awarded the Master Qualification by AMT and has at least 97% life-long HIT approval rate. We generate 2 paragraphs for a context with 2 different reference paragraphs from the same style. 

Reference -Hotel Reviews Style:

We loved our stay at Koloa Landing Resort. Wish we could afford to stay longer than a weekend. Rooms are gorgeous with lots of amenities -kitchen, free WiFi, washer, dryer, A/C and more. Great pool with water slides. Holoholo Grill has great tasting burgers and Kalua Nachos.

Satellites shared our love? South Side Estate. This is a great place to sample attorneys, chefs, therapists, etc. Dr Kirk Abad's is amazing! My family and friends stay at Sunset at Crinke Plaza for pretty cheap food and/or great view. We took our daughter there because I hate visiting Vegas.

Overall, even this rating is disappointing. "Doubt" is not a justifiable call for self-indulgence. It's a Deveuulment of humans. It's an attempt to give it more than its due. But, at least, today, Hollywood isn't offering it the world. That's what movie fans do with their cliches.

Unless this story imagines a level of desperation that negative things just cannot get.

Context -News Style:

September 18, 2019 Today, CNN 10 is explaining a recent rise and fall in oil prices and how they're tied to an attack on Saudi Arabian oil facilities. Afterward, a pair of scientific stories highlight studies on sharks and rats. And we're jumping into a 10 out of 10 segment featuring the world's largest bounce house.

Reference -Movie Reviews Style:

Trailer was better than the movie. To me this movie just never takes off. It's a shame because there is some fantastic imagery and a wonderful theme lying underneath but in the end it can not overcome its plot holes and failed delivery of the message its trying to speak. It truly believes it's deeper than it is, but left me unfulfilled. Kind of lazy/rushed writing in my opinion. Kind of just throws a bunch of mediocre stuff at you without any real substance and expects the audience to give it purpose and deeper meaning in there own heads. Which is fine to do but to me this movie wasn't worthy of that merit of thought. You keep waiting for it to evolve but it just never does. Honestly can't believe critics are putting this on such a pedestal giving it such rave reviews.

Because CNN 10 just isn't accurate and does no justice. Instead, it conveys the film far too much to it's due and serves to give it more credibility. It's light sci-fi instead of enough fuel for actors helping to bring this premium piece down to its current disgustingnessespecially not because that story is so good and necessary but because we live in a world where people like that can succeed.

Overall, even this rating is disappointing. "Doubt" is not a justifiable call for self-indulgence. It's a Deveuulment of humans. It's an attempt to give it more than its due. But, at least, today, Hollywood isn't offering it the world. That's what movie fans do with their cliches.

Unless this story imagines a level of desperation that negative things just cannot get.

Context -Paper Style (Abstract of this paper):

We introduce a language generative model framework for generating a styled paragraph based on a context sentence and a style reference example. The framework consists of a style encoder and a texts decoder. The style encoder extracts a style code from the reference example, and the text decoder generates texts based on

Reference -Paper Reviews Style:

This paper proposes a new unsupervised learning approach based on maximizing the mutual information between the input and the representation. The results are strong across several image datasets. Essentially all of the reviewer's concerns were directly addressed in revisions of the paper, including additional experiments. The only weakness is that only image datasets were experimented with; however, the image-based experiments and comparisons are extensive. The reviewers and I all agree that the paper should be accepted, and I think it should be considered for an oral presentation.

Generated a z and, if the pupils offer enough color to illuminate an image, the ones not enough are marked to be retouched.

The grating is an issue with the words where thoughts can be expressed thought. However, both concepts are related, as well as relationships in general.

For example, hate being done by children means that all books on life end matter:

positive-positive-negative expectations, creating a model in which the writers at the top of Google and the bottom will be able to deliver claims regarding better quality than everyone else. There are theories in the research literature explicitly regarding these effects, but the mechanisms flating in elementary tasks that if they are crudely understood are generally significant (albeit less elaborated yet). A further test is to also decide:

What is presented in the order

Context -Wiki Style (Alan Turing Bio):

During the Second World War, Turing worked for the Government Code and Cypher School (GC&CS) at Bletchley Park, Britain's codebreaking centre that produced Ultra intelligence. For a time he led Hut 8, the section that was responsible for German naval cryptanalysis. Here, he devised a number of techniques for speeding the breaking of German ciphers, including improvements to the pre-war Polish bombe method, an electromech Reference -Yelp Reviews Style I heard about SomiSomi from my Socal and Norcal friends before I even knew what it was! Taiyaki, soft serve, dessert goodness galore.

We happened to get a taste of SomiSomi during their first day of soft opening inside the Westfield Valley Fair mall. They're located by the Men's Macy's, but also in PRIME location by Ramen Nagi and the new Pokeatery that will be opening soon apparently. There weren't a lot of seating options once we got our orders, which was a bummer. There were a few couches and more smaller seats, but when it gets busy like that, seating is important. Onto the food:

We were given a free custard taiyaki with an ah-boong order, which is the soft serve in a cup and topped with a taiyaki of your choice. IT WAS AMAZING. Such a great deal. Pro Tip: Each somisomi has different mixed flavors. So I chose the milk tea mixed with ube and the taiyaki with taro. THE TARO FLAVOR IS THE BOMB. I don't think I could try anything else inside the taiyaki. Also, the taiyaki is made to perfection and are puffy delicious eggy-ness. It reminds me of Taiwan's egg puffs.

The custard taiyaki was very tasty-not too sweet and the perfect consistency! They allow any and all toppings, and I really loved their coconut flakes. They also allow either a topping of a macaron or strawberry slice. I can't wait to come back and get some more SomiSomi.

propellant that helps vaporise the CJU Terminator atomic bombs, and other advancements so that the so-called uiorat! working meter could be controlled if its represented on a metal meter not such a big deal if you'reme like me, or as someone who tends to enjoy standing in front of the clock. There were also other inspirations from his Bletchley Park, namely Nieman K. Amer says: "The best bits of Toni Sun's Kaki at Burien are Mavi Huli's. Sanjan and Caputo Kim (expectedly my favorite) sold out this ONE time and even there was part of our meeting there that made me queasy." Apple: The raison d'etre resting in a gotcha which was all tin from Customer Service. Pocket: A new candy bar, brie strips (lots to choose from) The secret, new dessert. I love Crunchycris and all of the other dungbibats that will be available. It will melt on your lips while reading a book like The Fast and The Furious or any OMG crayon/fancy-rock. I want Tartan with a tangy sesame, Ma Tom Hagegai Fresh and Maaaadure -Bietan-Rose. But no miso ice cream cake or puns. Be aware: get your shop prepared. Definitely not an artisanal place.

Table 6 : Qualitative Results: to reviews style.

Context -Children Books Style (Snow White and the Seven Dwarfs):

Once upon a time . . . in a great castle, a Prince's daughter grew up happy and contented, in spite of a jealous stepmother. She was very pretty, with blue eyes and long black hair. Her skin was delicate and fair, and so she was called Snow White.

Everyone was quite sure she would become very beautiful. Though her stepmother was a wicked woman, she too was very beautiful, and the magic mirror told her

Reference -Poetry Style:

A black vulture crushes my bones.

A white vulture in a photograph. Houses open their mouths, swallow flowers. Lightning doesn't choose. I brushed the spruces by hand. A car has a tire, a farmhand a whip, trash cans are falling. We have two natures. The vulture circles the belfry at Ptujska Gora. Gingerbread hearts, red blood, something awaits! Dawn bangs into the bricks of Brooklyn. I'm still asleep in silvery milk. When the wind strokes the grass, I'll be in front of the house. Crickets will burn the air. The sound will be like in the hall where there's plush lining in Christ's tomb. 

And a piano:



Context -Instagram Style:

An amazing meal had at @thestratford, testing their newly opened restaurant. Buttermilk deep-fried chicken with a doughnut and salad. An absolute must. Thank you @thestratford #thestratford #london #londonrestaurant #londonrestaurants #cuisine #food #foodporn #foodphotography #foody #foodgasm #foodstagram #foodlover

A black vulture crushes my bones.

A white vulture in a photograph. Houses open their mouths, swallow flowers. Lightning doesn't choose. I brushed the spruces by hand. A car has a tire, a farmhand a whip, trash cans are falling. We have two natures. The vulture circles the belfry at Ptujska Gora. Gingerbread hearts, red blood, something awaits! Dawn bangs into the bricks of Brooklyn. I'm still asleep in silvery milk. When the wind strokes the grass, I'll be in front of the house. Crickets will burn the air. The sound will be like in the hall where there's plush lining in Christ's tomb.

shows in the building news feeds, adorned with neon signs and mason jars. Just how much of the thrikers are griting compassion, you know thoughts, for weeks burning in the hemispheres. I call my guests 'the french!'s, the eggs and cream, the eggs and chicken

The Kinnear growling embers of bees tingle inside each woman. "Beat a cusha a crow."

She pauses, looking at Anna, doubt sitting heavy on her face. "You are warm as a fly. For you, those who want to live you will be happy,

Context -Sport News Style:

Stating the obvious apparently costs $50,000 in the NBA.

According to Shams Charania of Stadium and The Athletic, the league fined the Milwaukee Bucks after general manager Jon Horst told fans at a town hall event the Bucks plan to offer Giannis Antetokounmpo a supermax extension when they're eligible to do so.

Horst referenced how league rules prevent Milwaukee from formally discussing specifics regarding what it would

It is written somewhere in the skywe are supposed to forget quickly. How? An elephant stands on a tiny pedestal. In a field under a tent. The ringmaster spectacular in his tails and topcoat, expert in redirection, points towards the acrobat. The acrobat astounds because he could fall.

The other day I told my friend the story in which you fell through the floorboards of an old barn. As I told the story, I recalled the manner in which you carefully transferred milk to a newborn calf. You beckoned to Babette singing come Bossy Boss come Boss.

Years since you carved onto your forearm that pig with wings but have you ever noticed that the word pigeon encompasses the word pig? Once, in the evening on Fifth or Third, I saw a pigeon drop into a vat of mustard. I watched its dark wings thrash. Then yield. So what were the rules?

At first, we thought between letting training and verbal communication come into play. Now, with the way you communicate, you just have to make some other rational request.

There's a tall castle rising in the sky, and a great sweet tale conjured up right. I cover a chandelier in a gift box; over the ledge you can spot a diamond with feathers on it. Learn to try again.

We can't afford to My friend and I decided to visit this location a few days after it opened and surprisingly, there was a really short line. This location had 6 flavors (matcha, milk, oreo, ube, coffee, and milk tea). What

Reference -Children Books Style (Snow White and the Seven Dwarfs) Once upon a time . . . in a great castle, a Prince's daughter grew up happy and contented, in spite of a jealous stepmother. She was very pretty, with blue eyes and long black hair. Her skin was delicate and fair, and so she was called Snow White.

Everyone was quite sure she would become very beautiful. Though her stepmother was a wicked woman, she too was very beautiful, and the magic mirror told her this every day, whenever she asked it. "Mirror, mirror on the wall, who is the loveliest lady in the land?" The reply was always; "You are, your Majesty," until the dreadful day when she heard it say, "Snow White is the loveliest in the land." The stepmother was furious and, wild with jealousy, began plotting to get rid of her rival. Calling one of her trusty servants, she bribed him with a rich reward to take Snow White intc the forest, far away from the Castle. Then, unseen, he was to put her to death. The greedy servant, attracted to the reward, agreed to do this deed, and he led the innocent little girl away. However, when they came to the fatal spot, the man's courage failed him and, leaving Snow White sitting beside a tree, he mumbled an excuse and ran off. Snow White was all alone in the forest. Night came, but the servant did not return. Snow White, alone in the dark forest, began to cry bitterly. She thought she could feel terrible eyes spying on her, and she heard strange sounds and rustlings that made her heart thump. At last, overcome by tiredness, she fell asleep curled under a tree. Snow White slept fitfully, wakening from time to time with a start and staring into the darkness round her. Several times, she thought she felt something, or somebody touch her as she slept. At last, dawn woke the forest to the song of the birds, and Snow White too, awoke. A whole world was stirring to life and the little girl was glad to see how silly her fears had been. However, the thick trees were like a wall round her, and as she tried to find out where she was, she came upon a path. She walked along it, hopefully. On she walked till she came to a clearing. There stood a strange cottage, with a tiny door, tiny windows and a tiny chimney pot. Everything about the cottage was much tinier than it ought to be. Snow White pushed the door open.

Designs concerned: Some hail the hero, Verdicts seem to be the wrath of the storm,

The main reason sweets can't provide a lot of herace;

One side calls her errible, the other side tells her, "Watch out, this is a great purity factory."

"Oh, she we are degraded," a low voice whispered into her, "the delight heights thus are deeds rather than love."

"For only things that are great, and that happiness cannot wast; For she appears so what is best.

In this changing season, Regan might win a daily battle, In the surprise that revealing her majesty brings.

At the end of the day, surprised and amused and bewildered," says Regan, "What did I wait for," demands a woman, "burst upon your beautiful mother?"

The crease goes on and on as they argue over the choices best, Even though the simpler justice began to prevail, the evil abyss began to mend.

"Such is her heart she didn't even know that,

The mercy of her master she feared would take her life," she said, "a woman who looked only for herself.

She pretended to think the choice that befell him was her love,But true, she turned to the figure in her bed."

"If you like the sweetness of this sweet song," Violet sighed, "you will love them either." "This sweet song," says Regan with astonishing strength, "a marriage, a husband who loves her.

This sweet song, on the one side of which is the inner figure in the solution to her woes; the sensual dictates; by which she might follow the recipe of the book of grateful dreams,

The sweetest song I ever had ever heard, to this new flourishes. Perfect!" she said to Violet, "not just found but realised it had mean Context -Movie Reviews Style I am struggling to find a good reason to give you in order to see this movie, but I cannot. I will not stick to how the actors were playing because it was not their fault about the role they had been given. On the other hand I will base my review on the scenario. What was the meaning of the movie? Which was the target of the plot? I did not manage to answer neither of the aforementioned queries. I read that

Reference -Politic News Style (CNN)President Donald Trump is wasting no time in attempting to torch House Speaker Nancy Pelosi's impeachment gamble in a battle that will define his presidency and the 2020 election.

Trump has pledged to publish an un-redacted and declassified transcript on Wednesday of a phone call with Ukraine's leader at the center of what Democrats allege is his abuse of presidential power. The White House is also planning to release to Congress a whistleblower's complaint that triggered the week-long crisis that has rocked the Trump presidency.

Trump's decision marks a departure for a White House that has a record of obstructing oversight and bending fact. So his critics will await events on Wednesday with particular interest. The transcript and the congressional reaction to the whistleblower's report could be critical in establishing the early terrain of the impeachment fight and to shaping public opinion that will ultimately dictate how it turns out. Regardless of the outcome, Trump finds himself at the center of a rare and historic showdown as only the fourth president in US history to face the realistic threat of impeachment.

Generated a short about a World War II president contemplating a secret meeting with Hitler won't be released, but the person being asked that it is, in fact, a statement he made in Munich on May 6, 1938 that would lead to the end of World War II. I also assume that modern life in the present moment right now is much more uncomfortable, and it's difficult for my biographer to provide empathy because what narratives I have are so blended with existing views that the idea of Trump president is only in the realm of his childish vote to reject the Supreme Court that motivated him to do what, instead of taking a stance that is less adversarial, may be demagogic.

Trump by comparison isn't such a setting to gain the desired political stature that Monty Python's sketch computer shows him. Nor, it's just a new territory he's taking to be killed. Contentious and creative questions are looming. The real question is whether all this will ultimately lead to the abolition of the Supreme Court.

We introduce a language generative model framework for generating a styled paragraph based on a context sentence and a style reference example. The framework consists of a style encoder and a texts decoder. The style encoder extracts a style code from the reference example, and the text decoder generates texts based on the style code and the context. We propose a novel objective function to train

Reference -News Style (CNN)Massachusetts Gov. Charlie Baker has called for a temporary statewide ban on the sale of all e-cigarettes and vaping products in response to a nationwide outbreak of lung injuries associated with vaping.

"I'm officially declaring a public health emergency in the Commonwealth due to severe lung disease associated with the use of e-cigarettes and marijuana-infused vaping products," Baker said during a press conference on Tuesday. "I'm requesting that the public health council order a four-month temporary ban on the sale of all vaping products in retail establishments, online and through any other means, effective immediately," he said. "We as a Commonwealth need to pause sales in order for our medical experts to collect more information about what is driving these life-threatening vaping-related illnesses." Generated everyone through a useful tool or method; each custom bound to require instruction from an expert inside the business community. This type of exercise should be done in a timely manner and without fanfare and cooing from the sports, entertainment and educational communities, and in a highly professional scientist setting, where everyone could help us understand things we need to improvewe want people to be able to start thele by entering into an active conversation with scientists -which is a "great idea," if, by definition, is humans for."

The medical community has an primary role in the global health and well-being of the globe beyond infections, obesity, heart disease, diabetes, and opioid addiction," Bolton added. "This includes controlling just-induced drugs. But as a potent encapsulation of these drugs, we cannot defend their efficacy for all measures, including food. Simply creating something that doesn't currently prohibit prescription drugs, and packaging them for adult use, is wholly irresponsible on both sides of the political aisle, our ability to regulate the reflux to the world's thirsty, and the health of the Australian people."

Context -Children Books Style (Little Three Pigs) Once upon a time there was an old mother pig who had three little pigs and not enough food to feed them. So when they were old enough, she sent them out into the world to seek their fortunes.

The first little pig was very lazy. He didn't want to work at all and he built his house out of straw. The second little pig worked a little bit harder but he was somewhat lazy too and he built his house out of sticks. Then, they sang and danced and played together the rest of the day.

The third little pig worked hard all day and built Reference -News Style (CNN)For Quentin Tarantino, time travel is entirely possible. And it didn't take green screens or computer generated backdrops to make it back to 1969-era Los Angeles. All it required were fond, vivid memories of the time, an exhausting attention to period detail and a production designer like Barbara Ling.

The filmmaker was determined that the environments featured in his ninth film "Once Upon a Time ... in Hollywood" as tactile and immersive as humanly possible without turning to the now-ubiquitous digital effects houses, says Ling, who lavishly and convincingly resurrects a period some 50 years gone: the then-vibrant storefronts of Hollywood Boulevard, the classic movie theaters of Westwood Village, enduring eateries like Musso & Frank Grill and El Coyote, the Playboy Mansion, and the Charles Manson family inhabited ranch where Westerns were shot.

"Quentin is so not into digital or CGI," Ling, whose film credits include "The Doors," "Falling Down" and "Batman Forever," told CNN. "He's not someone who wants to do performance in front of green screen. He wants to see the real deal. To me, that is, of course, the absolute best way. It's the hardest way, but you actually get a real 3-D world that's not hazy, so to speak, or that you have to keep people at a certain distance. You're not dealing with green screens. You're dealing with real streets and real people and real everything...He loves the real world, so you can actually see it and smell it and touch it."

Generated a new house, away from that stage, away from the theater, away from the movie.

But the fourth little pig worked hard it had to be him.

Steven Spielberg is one of us white people, whom we think of as "the lovable Dear Dad".

In the end, Spielberg created the "Ralph" sequence with Donkey Kong.

Everyone who adopts a culture of old blood, that's Abraham Lincoln for those of you white people.

I once invited a school animal to a movie so that I could ask him, 'Maybe Jaws + Shaun of the Dead', forever. She said, 'Sure.' 'I'll be your film, but I don't want to be one of you gum and crackers any more.' She's this confused bunny."

(Click here to see a video line-up of Teri Garr's past "Ralph" scenes and upcoming "Dreaming Tom Shadow.") 

:

For the purpose of data augmentation, in our implementation, a paragraph we sample may not be the full paragraph in the nominal sense. It could starting from the middle of a nominal paragraph.

CONCLUSIONWe presented a language generative framework for style example-guided paragraph generation. To the best of our knowledge, we were the first to achieve such style-controllability on paragraph generation. We attributed the success to our carefully designed learning objective function, the generator network, and the newly composed large-scale dataset consisting of documents of various text styles.

Figures and Tables:

; Pennington et al. (2014)) focused on word embeddings as a way to represent tokens within the text. More recently, Peters et al. (2018) used bi-directional LSTMs to obtain deep contextualized word representation. However, RNNs can only represent a limited context. Vaswani et al. (2017) introduced the transformer networks which use the connections between long-distance word pairs embedded in attention mechanisms and can easily enable the learning of long-term dependency. Many later models (Devlin et al. (2019); Liu et al. (2019d); Dai et al. (2019); Yang et al. (

Figure 1: We employ two data streams to train our framework. While pi and pj have the same style, pi and p k do not. (a) The reconstruction stream is trained using the language modeling loss LLM and the distillation loss LDIST . (b) The cross-style generation stream is trained using the style loss LST Y LE and the GAN lossLGAN . Note that we decompose each network into a feature extractor and an embedding layer.

; Liu et al. (2019c); Mirzadeh et al. (2019); Liu et al. (2019b); Hou et al. (

;Cho et al. (2014);Sutskever et al. (2014);Bahdanau et al. (2016);Vinyals & Le (2015)).

Figure 2: (a) Style encoder Fs. (b) Text decoder Fg. We consider 4 different ways of injecting the style code z into Fg termed Model A, B, C, and D. Checkout main texts for more details.

Model D: adaptive layer normalization. Inspired by the recent success in image generation tasks (Park et al. (2019); Karras et al. (2019)), we utilize the style code to modulate the hidden representations within the text decoder via normalization layers. Specifically, we replace the scale and bias parameters in the affine transformation step of the layer normalization (Ba et al. (2016)) with a style code determined scale and bias. That is

Fluency vs. style on the 21-Style dataset.

Figure 3: Fluency and style scores achieved by the competing models on the 3-Style and 21-Style datasets.

For 3-style dataset, we randomly sample 50 examples from each style and do style generation for all 3 styles. Thus, there are 900 examples for each testing model. For 21-style dataset, we randomly sample 42 examples from testing set and do style generation on all 21 styles. Thus, there are 1764 examples for each testing model. There is a typical example for experiment of fluency human study in Fig. 4.

Figure 4: A typical example of the questionnaire for our A/B test on AMT for the fluency study.

wait for my goddaughter to faint! For my stepmother is the thought of greenery, gardens and swyrels! Still having a conversation scraped off the edge of my own couch, I hear the Ming river cry over the hearth, A tide will strain, and so will flowers. Up me through her hair, More flowers, A thistle bleeds, a urine of vibrant sugar. A red half of my fangs open and reach my face, Several holes in my chest.

earrudgeed its way in May for a warrant to call.After the conditions were waived, Indiana Pacers head coach Luke Walton and Bucks forward Patrick Ewing came into the meeting to see what those rules meant.

Given the same context sentences but different style reference examples, our generation model can generate paragraphs of different styles. The output paragraph shares the same style as the reference example.

Table content: <table/>

of using the output text from F o as the discriminator input, we feed the latent representation computed by F f to the discriminator. For real text, we use a pretrained trained GPT-2 model H. Again, we decompose H into a feature extractor H f and an output embedding layer H o (H ≡ H o • H f ). The GAN discriminator then takes features extracted by H f as input for real texts. Using this latent GAN formulation, we aim for aligning the feature distribution of our generator to the feature distribution of the pretrained GPT-2 model.

Table content: <table/>

Style diversity scores achieved by the computing methods. We note the lower bound and upper bound for the style diversity scores are 4.52 and 15.67, respectively.

Table content: <table><tr><td/><td/><td/><td/><td>(%)</td><td>Model D</td><td>SC</td><td>Random</td></tr><tr><td>(%)</td><td>Model D</td><td>SC</td><td>Random</td><td>3-Style by reference</td><td>56</td><td>52</td><td>50</td></tr><tr><td>3-Style</td><td>56</td><td>54</td><td>50</td><td>3-Style by category</td><td>65</td><td>54</td><td>50</td></tr><tr><td>21-Style</td><td>57</td><td>63</td><td>50</td><td>21-Style by reference</td><td>66</td><td>49</td><td>50</td></tr><tr><td/><td/><td/><td/><td>21-Style by category</td><td>69</td><td>50</td><td>50</td></tr></table>



Table content: <table><tr><td>Model D</td><td>Fluency Score</td><td>Style Score</td><td>Style Diversity Score</td><td>Content Novelty Score</td></tr><tr><td>L DIST</td><td>7.32</td><td>51.16</td><td>11.40</td><td>24.01</td></tr><tr><td>L ST Y LE</td><td>7.35</td><td>5.40</td><td>9.22</td><td>29.27</td></tr><tr><td>L GAN</td><td>6.85</td><td>28.67</td><td>10.35</td><td>26.77</td></tr><tr><td>All</td><td>7.14</td><td>27.90</td><td>10.52</td><td>25.85</td></tr></table>

Ablation study on the various loss terms in the proposed objective function.

Table content: <table/>

Context -Poetry StyleIf anything, I'm a petty thief in a world of forgetting, a blade in an elm, a bottled note in the sea of Victory Boulevard at dusk. Friends, family, gallows saints & ghosts, rig a swing at the edge of the shore when I'm gone for the birds to perch & the bats to glide through, to disappear & appear in the small places the moon cannot touch. Thank you for the amorous & discontented beauty you saved for me here, though most days, my silence was a soldier's slogged hand hiding a match. I love you. I leave you the match. Ten minutes of news explained. There are a lot of fast moving political headlines from the United States right now. On Wednesday the White House is expected to release the transcript of a phone call. A conversation between the presidents of the United States and Ukraine. The circumstances surrounding that call and something allegedly discussed on it were the reasons why on Tuesday Democrats from the U.S. House of Representatives announced they were moving forward on an impeachment inquiry, an investigation

Table content: <table><tr><td>Reference -Lyrics Style (Senorita)</td></tr><tr><td>I love it when you call me senorita</td></tr><tr><td>I wish I could pretend I didn't need ya</td></tr><tr><td>But every touch is ooh la la la</td></tr><tr><td>It's true, la la la</td></tr><tr><td>Ooh, I should be running</td></tr><tr><td>Ooh, you keep me coming for you</td></tr><tr><td>Land in Miami</td></tr><tr><td>The air was hot from summer rain</td></tr><tr><td>Sweat dripping off me</td></tr><tr><td>Before I even knew her name, la la la</td></tr><tr><td>It felt like ooh la la la</td></tr><tr><td>Generated</td></tr><tr><td>I turn your body in my lap</td></tr><tr><td>your purse, a Pen, of a beautiful people</td></tr><tr><td>and I love you the way you love me, look at you drop a hand</td></tr><tr><td>You wake up your ad libs Cirospis, cetachi, cetachi, cetachi, cetachi, cetachi, massageas, cetachi, cetachi, massageas, London Cirospis</td></tr><tr><td>I love you inside, I love you at the foot of your bed,</td></tr><tr><td>I love you inside, I love you at the foot of your bed,</td></tr><tr><td>Leave your big collar, you leave your small collar, you leave your little collar</td></tr><tr><td>Your life is just a half hour, it's your dance courses</td></tr><tr><td>you take a high vase of [real] ciche</td></tr><tr><td>just like our flowers</td></tr><tr><td>We all want it so much, we want it so much, everybody</td></tr><tr><td>Then kiss thing, girl go kiss it</td></tr><tr><td>Reference -Lyrics Style (Baby Shark)</td></tr><tr><td>Baby Shark doo doo, doo doo doo doo</td></tr><tr><td>Baby Shark doo doo, doo doo doo doo</td></tr><tr><td>Baby Shark doo doo, doo doo doo doo</td></tr><tr><td>Baby Shark</td></tr><tr><td>Mummy Shark doo doo, doo doo doo doo</td></tr><tr><td>Mummy Shark doo doo, doo doo doo doo</td></tr><tr><td>Mummy Shark doo doo, doo doo doo doo</td></tr><tr><td>Mummy Shark</td></tr><tr><td>Generated</td></tr><tr><td>of a real, if not hoaxed, race in the United States.</td></tr><tr><td>All right, hey can I have a snack, Bob Bush?</td></tr><tr><td>A little snack baby!</td></tr><tr><td>Measures how to speed up the Country children?</td></tr><tr><td>Programs be grateful, Goodwill be giving.</td></tr><tr><td>Messages like, what is this thing about 8 am in the Middle?</td></tr><tr><td>Benjamin Franklin? Go</td></tr><tr><td>Nintendo Wii, Mario</td></tr><tr><td>Nintendo DS, U</td></tr><tr><td>Maria Barbara, Nice Guy</td></tr><tr><td>Johnny Cash, Mickey Mouse 2, Magic Tony 3, Superman, Backzapper, Yellowjack, Bambi, Pig</td></tr><tr><td>His sister Diva, Saaath, Lil Saaath</td></tr><tr><td>A sad, sad, sad</td></tr></table>

Qualitative Results: to lyrics style.

Table content: <table><tr><td>Context -Lyrics Style (USA National Song)</td></tr><tr><td>Oh, say can you see,</td></tr><tr><td>By the dawn's early light,</td></tr><tr><td>What so proudly we hailed,</td></tr><tr><td>At the twilight's last gleaming?</td></tr><tr><td>Whose broad stripes and bright</td></tr></table>

Qualitative Results: to poetry style. Somisomi is easily one of my go-to spots for dessert because there's no lactose in the ice cream, it's very instagrammable, and they have rotating flavors.

Table content: <table><tr><td>Context -Random sentence</td><td>Reference -Children Books Style (Little Red Cap)</td></tr><tr><td>I have a cute dog</td><td>"Good day to you, Little Red Cap."</td></tr><tr><td/><td>"Thank you, wolf."</td></tr><tr><td/><td>"Where are you going so early, Little Red Cap?"</td></tr><tr><td/><td>"To grandmother's."</td></tr><tr><td/><td>"And what are you carrying under your apron?"</td></tr><tr><td/><td>"Grandmother is sick and weak, and I am taking her some cake and wine. We baked</td></tr><tr><td/><td>yesterday, and they should be good for her and give her strength."</td></tr><tr><td/><td>"Little Red Cap, just where does your grandmother live?"</td></tr><tr><td/><td>"Her house is good quarter hour from here in the woods, under the three large oak</td></tr><tr><td/><td>trees. There's a hedge of hazel bushes there. You must know the place," said Little</td></tr><tr><td/><td>Red Cap.</td></tr><tr><td>Generated</td><td/></tr><tr><td>"Well, I found a small white dog worth the trouble."</td><td/></tr><tr><td>"What species are my family?"</td><td/></tr><tr><td>"I'm sure of something. She is a farm."</td><td/></tr><tr><td>"It's been a while since your last Christmas story," said George.</td><td/></tr><tr><td>"I give up and hang up my Christmas album."</td><td/></tr><tr><td>"Good, how many stores on earth now is the size of Big Red?"</td><td/></tr><tr><td>He didn't feel right.</td><td/></tr><tr><td>"I suppose ten," he said</td><td/></tr><tr><td>Context -Yelp Style</td><td/></tr></table>

Qualitative Results: to children books style.

Table content: <table/>

Qualitative Results: to News style.

Table content: <table/>

Peer review (iclr2020):
The paper introduces a model for generating text, conditionally on a context content and on a style information. Given a context sentence or paragraph, the task consists in generating plausible text with a content corresponding to this initial context and a style corresponding to another piece of text. The model is based on a transformer architecture inspired from GPT2. It is trained using a combination of loss functions: log likelihood, distillation w.r.t a pre-trained GPT2, style and adversarial loss. The model is evaluated on aggregations of multiple text corpora building a multi-style corpus. The proposed model combines several interesting features like making use of large pre-trained language models to guide the generation or the use of a latent GAN formulation for text decoding in order to avoid non differentiability. The authors propose different variants of the model for incorporating the style component into the transformer architecture. The role of the different loss components should however be better motivated. The _DIST and _GAN components are not directly linked to the objective and their importance for the model should be better stressed. The global model is probably quite heavy and a discussion on its complexity and on the training strategy would be useful in order to complete the description. The evaluation is performed on two corpora assembled by the authors and representing a variety of styles. This contribution could be helpful to the community. The authors introduce a series of evaluation criteria: perplexity of the generated text, style classifier, diversity and novelty. They also provide human evaluation. According to the quantitative criteria, one of the variants seems to perform reasonably well compared to the baselines. However, the evaluation is not convincing. It requires to be pushed further and the results and the system behavior should be better analyzed. The different examples of generated text are not consistent, and rather look like a random sampling over the vocabulary. This is in contradiction with the scores appearing in the tables and on the figures. One of the Baselines (SC) generates much more coherent texts – at least in the examples provided by the authors – while its perplexity score is similar to the authors’ model. The ablation study does not show the importance of the different loss components. For example, the models without the GAN or the DIST loss terms behave as well as the complete model does. Concerning the human evaluation, I do not understand the numbers in table 3-right: it seems that the model performs better at generating among 21 styles (-category) than it does with 3 styles? Overall, the paper represents a large amount of experimental work, but deserves a more in depth discussion of the usefulness of the different components. The experimental evaluation is still preliminary.