V ARIATIONAL
T EMPLATE
M ACHINE
FOR
D ATA - TO -
T EXT G ENERATION
Anonymous authors
Paper under double-blind review
A BSTRACT
How to generate descriptions from structured data organized in tables?
Existing approaches using neural encoder-decoder models often suffer from lacking diversity.
We claim that an open set of templates is crucial for enriching the phrase constructions and realizing varied generations.
Learning such templates is prohibitive since it often requires a large paired <table,description> corpus, which is seldom available.
This paper explores the problem of automatically learning reusable “templates” from paired and non-paired data.
We propose the variational template machine (VTM), a novel method to generate text descriptions from data tables.
Our contributions include: a) we carefully devise a speciﬁc model architecture and losses to explicitly disentangle text template and semantic content information, in the latent spaces, and b) we utilize both small parallel data and large raw text without aligned tables to enrich the template learning.
Experiments on datasets from a variety of different domains show that VTM is able generate more diversely while keeping a good ﬂuency and quality.
I NTRODUCTION
Generating text descriptions from structured data (data-to-text) is an important task with many practical applications.
Data-to-text have been used to generate different kinds of texts, such as weather reports (Angeli et al., 2010), sports news (Mei et al., 2016;
Wiseman et al., 2017) and biographies (Lebret et al., 2016; Wang et al., 2018b; Chisholm et al., 2017).
Figure 1 gives an example of data-to-text task.
We take an infobox 1 as the input and output a brief description of the information in the table.
There are several recent methods utilizing neural encoder-decoder frameworks to generate text description from data tables (Lebret et al., 2016;
Bao et al., 2018; Chisholm et al., 2017; Liu et al., 2018).
Although current table-to-text models could generate high quality sentences, the diversity of these output sentences are not satisfactory.
We ﬁnd that templates are crucial in increasing the variations of sentence structure.
For example, Table 1 gives three descriptions with their templates for the given table input.
Different templates control the sentence arrangement, thus vary the generation.
Some related works (Wiseman et al., 2018; Dou et al., 2018) employ the semi-Markov hidden model to extract templates from the table-text pairs, then induce generation, which leads to interpretable table-to-text generation and makes the output more diverse.
We argue that templates can be better considered for generating more diverse outputs.
First, it is non-trivial to sample different templates for obtaining different output utterances.
Directly adopting variational auto-encoders (VAEs, Kingma & Welling (2013)) in table-to-text only enables to sample in the latent space.
VAEs always generate irrelevant outputs, which may change the table content instead of sampling templates but ﬁx table contents.
This may harm the quality of output sentences.
To address the above problem, if we can directly sample in the template space, we may get more diverse outputs while keeping the good quality of output sentences.
Additionally, we can hardly obtain promising sentences by sampling in the template space, if the template space is less informative.
Namely, no matter encoder-decoder models or VAE-based models, they all require abundant parallel table-text pairs during the training, and constructing high-
[Table]
[Table]
[Table]
quality parallel dataset is often labor-intensive.
With limited table-sentence pairs, a VAE model cannot construct an informative template space.
In such case, how to fully utilize raw sentences (without table annotation) to enrich the latent template space is under study.
In this paper to address the above two problems, we propose the variational template machine (VTM) for data-to-text generation, which enables generating sentences with diverse templates while preserving the high quality.
Particularly, we introduce two latent variables, representing template and content , to control the generation.
The two latent variables are disentangled, and thus we can generate diverse outputs by directly sampling in the template space.
Moreover, we propose a novel approach for semi-supervised learning in the VAE framework, which could fully exploit the raw sentences for enriching the template space.
Inspired by back-translation (Sennrich et al., 2016;
Burlot & Yvon, 2018; Artetxe et al., 2018), we design a variational back-translation process.
Instead of training a sentence-to-table backward generation model, the content latent variable is taken as the representation of table.
And the inference network for the content latent variable is taken as the backward generator to help training the forward generative model of pair-wise data.
Auxiliary losses are introduced to ensure the learning of meaningful and disentangled latent variables.
Experimental results on Wikipedia biography dataset (Lebret et al., 2016) and sentence planning dataset (Reed et al., 2018) show that our model can generate texts with more diversity while keeping a good ﬂuency quality.
In addition, training together with a large amount of raw text, VTM is able to improve the generation performance compared with learning only from paired data.
Besides, ablation studies show the effectiveness of the auxiliary losses on the disentanglement of template and content spaces.
P ROBLEM F ORMULATION AND N OTATIONS
As a data-to-text task, we have table-text pairs D p
= { ( x i , y i ) } Ni =1 , where x i is the table, and y i is the output sentence.
Following the description scheme of Lebret et al.
a table x can be viewed as a set of K records of ﬁeld-position-value triples, i.e., x = { ( f, p, v ) i } Ki =1 , where f is the ﬁeld and p is the index of value v in the ﬁeld f .
For example, an item “Name: John Lennon” is denoted as two corresponding records: ( Name, 1, John ) and ( Name, 2, Lennon ).
For each triple, we ﬁrst embed ﬁeld, position and value as d -dim vectors e p , e f , e v ∈ R d .
Then, the d t -dim representation of the record is obtained by h
i = tanh
( W [ e f , e p , e v ] T + b ) , i = 1 ...K , where W ∈ R d t × 3 d and b ∈ R d t are parameters.
The ﬁnal representation of the table, denoted as f enc ( x ) , is obtained by max-pooling over all ﬁeld-position-value triple records, f enc ( x ) =
h = MaxPool i { h i ; i = 1 ...K } .
In addition to the table-text pairs, we also have raw texts without table input, denoted as D r = { y i } Mi =1 . It usually has M (cid:29) N .
V ARIATIONAL T EMPLATE M ACHINE
As shown in the graphical model in Figure 2, our VTM modiﬁes the vanilla VAE model by introducing two independent latent variables z and c , representing template latent variable and content latent variable respectively.
c models the content information in the table, while z models the sentence template information.
Target sentence y is generated by both content and template variables.
The two latent variables are disentangled, which makes it possible to generate diverse and relevant
sentences by sampling template variable and retraining the content variable.
Considering pairwise and raw data presented in Figure 1, their generation process for the content latent variable c is different.
• For a given table-text pair (
x, y ) ∈
D p , the content is observable from table x .
As a result, c is assumed to be deterministic given table x , whose prior is deﬁned as a delta distribution p ( c | x ) =
δ ( c = f enc ( x )) .
The marginal log-likelihood is:
[Equation]
• For raw text y ∈ D n , the content is unobservable with the absence of table x .
As a result, the content latent variable c should be sampled from prior of Gaussian distribution N (0 , I ) .
The marginal log-likelihood is:
[Equation]
In order to make full use of both table-text pair data and raw text data, the above marginal loglikelihood should be optimized jointly:
[Equation]
Directly optimizing Equation 3 is intractable.
Following the idea of variational inference (Kingma & Welling, 2013), a variational posterior q φ ( · ) is constructed as an inference model (dashed lines in Figure 2) to approximate the true posterior.
Instead of optimizing the marginal log-likelihood in
Equation 3, we maximize the evidence lower bound ( ELBO ).
In Section 3.1 and 3.2, the ELBO of table-text pairwise data and raw text data are discussed, respectively.
3. L EARNING FROM T ABLE - TEXT P AIR D ATA
In this section, we will show the learning loss of table-text pair data.
According to the aforementioned assumption, the content variable c is observable and follows a delta distribution centred in the hidden representation of the table x .
ELBO
objective .
Assuming that the template variable z only relies on the template of target sentence, we introduce q φ ( z | y ) as an approximation of the true posterior p ( z | y, c, x ) ,
The ELBO loss of Equation 1 is written as
[Equation]
The variational posterior q φ z ( z | y ) is assumed as a multivariate Gaussian distribution
N ( µ φ z ( y ) , Σ φ z ( y )) , while the prior p ( z ) is taken as a normal distribution N (0 , I ) .
Preserving-Template Loss .
Without any supervision, the ELBO loss alone does not guarantee to learn a good template representation space.
Inspired by the work in style-transfer (Hu et al., 2017b;
Shen et al., 2017; Bao et al., 2019; John et al., 2018), an auxiliary loss is introduced to embed the template information of sentences into template variable z .
With table, we are able to roughly align the tokens in sentence with the records in the table.
By replacing these tokens with a special token < ent > , we can remove the content information from sentences and get the sketchy sentence template, denote as ˜ y .
We introduce the preserving-template loss L pt to ensure that the latent variable z only contains the information of the template.
[Equation]
where m is the length of the ˜ y , and η denotes the parameters of the extra template generator.
L pt is trained via parallel data.
In practice, due to the insufﬁcient amount of parallel data, template generator p η may not be well-learned.
However, experimental results show that this loss is sufﬁcient to provide a guidance for learning a template space.
3. L EARNING FROM R AW T EXT D ATA
Our model is able to make use of a large number of raw data without table since the content information of table could be obtained by the content latent variable.
ELBO objective .
According to the deﬁnition of generative model in Equation 2, the ELBO of raw text data is
[Equation]
With the mean ﬁeld approximation (Xing et al., 2003), q φ ( z, c | x ) can be factorized as: q φ ( z, c | y )
=
q φ z ( z | y )
q φ c ( c | y ) .
We have:
[Equation]
In order to make use of template information contained in raw text data effectively, the parameters of generation network p θ ( y | z, c ) and posterior network q φ z ( z | y ) are shared for pairwise and raw data.
In decoding process, for raw text data, we use content variable c as the table embedding for the missing of table x .
Variational posterior for c is deployed as another multivariate Guassian q φ c ( c | y )
=
N ( µ φ c ( y ) , Σ φ c ( y )) .
Both p ( z ) and p ( c ) are taken as normal distribution N (0 , I ) .
Preserving-Content Loss.
In order to make the posterior q φ c ( c | y ) correctly infers the content information, the table-text pairs are used as the supervision to train the recognition network of q φ c ( c | y ) .
To this end, we add a preserving-content loss
[Equation]
where h = f enc ( x ) is the embedding of table obtained by the table encoder.
Minimizing L pc is also helpful to bridge the gap of c between pairwise (taking c = h ) and raw training data (sampling from q φ ( c | y ) ).
Moreover, we ﬁnd that the ﬁrst term of L pc is equivalent to (1) make the mean of q φ ( c | y ) closer to h ; (2) minimize the trace of co-variance of q φ ( c | y ) .
The second term serves as a regularization.
Detailed explanations and proof are referred in supplementary materials.
[Table]
[Table] [Table] [Table]
[Table]
[Table] [Table] [Equation] As introduced by previous works (Chen et al., 2016; Zhao et al., 2017; 2018), adding mutual information term to ELBO could alleviate KL collapse effectively and improve the quality of variational posterior.
Adding mutual information terms directly imposes the association of content and template latent variables with target sentences.
Besides, theoretical proof 2 and experimental results show that introducing mutual information bias is necessary in the presence of preserving-template loss L pt ( x p , y p ) .
As a result, in our work, the following mutual information term is added to objective
[Equation]
3. T RAINING P ROCESS
The ﬁnal loss of VTM is made up of the ELBO losses and extra losses:
[Equation]
λ MI , λ pt and λ pc are hyperparameters with respect to auxiliary losses.
The training procedure is shown in Algorithm 1.
The parameters of generation network θ and posterior network φ z,c could be trained jointly by both table-text pair data and raw text data.
In this way, a large number of raw text data can be used to enrich the generation diversity.
E XPERIMENT 4. D ATASETS AND B ASELINE MODELS
Dataset.
We perform the experiment on W IKI (Lebret et al., 2016; Wang et al., 2018b) and
S P N LG (Reed et al., 2018) 3 .
Two datasets come from two different domains.
The former contains 728 , 321 sentences of biographies from Wikipedia.
The latter is descriptions of restaurants, which expands the E2E dataset 4 into a total of 204 , 955 utterances with more varied sentence structures and instances.
To simulate the environment that a large number of raw texts provided, we just use part of the table-text pairs from two datasets, leaving most of the instances as raw texts.
Concretely, for two datasets, we initially keep the ratio of table-text pairs to raw texts as 1:10.
For W IKI dataset, in addition to the data from WikiBio , the raw text data is further extended by the biographical descriptions of people 5 from external Wikipedia Person and Animal Dataset (Wang et al., 2018a).
The statistics for the number of table-text pairs and raw texts in the training, validation and test sets are shown in Table 2.
Evaluation Metrics. For W IKI dataset, we evaluate the generation quality based on BLEU-4, NIST, ROUGE-L (F-score).
For S P N LG , we use BLEU-4, NIST, METEOR, ROUGE-L (F-score), and CIDEr.
We use the same automatic evaluation script from E2E NLG Challenge 6 .
The diversity of generation is evaluated by self-BLEU (Zhu et al., 2018).
The lower self-BLEU, the more diversely model generates. Train Valid
[Table] [Table] [Table] [Table]
BLEU Self
[Table]
BLEU
[Figure]
Baseline models .
We implement the following models as baselines:
• Table2seq : Table2seq model ﬁrst encodes the table into hidden representations then generates the sentence in a sequence-to-sequence architecture (Sutskever et al., 2014).
For a fair comparison, we apply the same table-encoder architecture as in Section 2 and the same LSTM decoder with attention mechanism as our model.
The model is only trained on pair-wise data.
During the testing, we generate ﬁve sentences with beam size ranging from one to ﬁve to increase some variations. We denote the model as Table2seq-beam .
We also implement the decoding with forward sampling strategy (namely Table2seq-sample ).
Moreover, to incorporate raw data, we ﬁrst pretrain the decoder using raw text as a language model, then train Table2seq on the table-text pairs, which is noted as Table2seq-pretrain .
Table2seq-pretrain has the same decoding strategy as Table2seq-beam.
• Temp-KN : Template-KN model (Lebret et al., 2016)
ﬁrst generates a template according to the interpolated 5-gram Kneser-Ney (KN) language modeled over sentence templates, then replaces the special token for the ﬁeld with the corresponding words from the table.
The hype-parameters of the VTM are chosen based on the lowest L ELBO p + L ELBO r on the validation set.
Word embeddings are randomly initialized with 300-dimension.
During training, we use Adam optimizer (Kingma & Ba, 2014) with the initial learning rate as 0.001.
Details on hyperparameters are listed in Appendix D.
4. E XPERIMENTAL RESULTS ON W IKI DATASET
Quantitative analysis.
According to the results in Table 3, we ﬁnd that our variational template machine (VTM) can generally produce sentences with more diversity under a promising performance in terms of BLEU metrics.
Table2seq with beam search algorithm (Table2seq-beam), which is only trained on parallel data, generates the most ﬂuent sentences, but its diversity is rather poor.
Although the sampling decoder (Table2seq-sample) gets the lowest self-BLEU, it sacriﬁces the ﬂuency at the cost. Table2seq performs even worse when the decoder is pre-trained by raw data as a language model. Because there is still a gap between the language model and data-to-text task, the decoder fails to learn how to use raw text in the generation of data-to-text stage. On the contrary,
VTM can make full use of the raw data with the help of content variables.
As a template-based model, Temp-KN receives the lowest self-BLEU score, but it fails to generate ﬂuent sentences.
Ablation study.
To study the effectiveness of the auxiliary loses and the augmented raw texts, we progressively remove the auxiliary losses and raw data in the ablation study.
We reach the conclusions as follows. [Table]
• Without the preserving-content loss L pc , the model has a relative decline in generation quality.
This implies that, by training the same inference model of content variable in pairwise data, preserving-content loss provides an effective instruction for learning the content space.
• VTM-noraw is the model trained without using raw data, where only the loss functions in Section 3.1 are optimized.
Comparing with VTM-noraw, VTM gets a substantial improvement in generation quality.
More importantly, without extra raw text data, there is also a decline in diversity (self-BLEU).
Experimental results show that raw data plays a valuable role in improving both generation quality and diversity, which is often neglected by previous studies.
• We further remove the mutual information loss and preserving-template loss from VTM-noraw model. Both generation quality and diversity continuously decline, which veriﬁes the effectiveness of the two losses.
Computational cost. We further compare the computational cost of VTM with other models, for both training and testing phases. We train and test the models on a single Tesla V100 GPU. The time spent to reach the lowest ELBO in the validation set is listed in Table 4.
VTM is trained about ﬁve times longer than the baseline Table2seq model (160 minutes, 15 epochs in total) because of the training of an extra large number of raw data (84k pairwise data and 841k raw texts). In the testing phase, VTM enjoys the same speed as other competitor models, approximately 80 minutes to generate 72k wiki sentences in the test set.
Case study.
Table 5 shows an example of sentences generated by different models.
Although forward sampling enables the Table2seq model to generate diversely, it is more likely to generate incorrect and irrelevant content. For example, it generates the wrong club name in Sentence 3.
By sampling from template space, VTM-noraw can generate texts with multiple templates, like different expressions for birth date and death date, while preserving readability.
Furthermore, with extra raw data, VTM is able to generate more diverse expressions, which other models cannot produce, such as “[ fullname ], also known as [ nickname ] ([ birth date ] – [ daeth date ]) was a [ country ] [ article name 4 ].”
(Sentence 5).
It implies that raw sentences not in the pairwise dataset could additionally enrich the information in template space.
4. E XPERIMENTAL RESULTS ON S P NLG DATASET
Table 6 shows the results for S P N LG dataset, the same conclusions can be drawn as in the W IKI experiments for both the quantitative analysis and ablation study .
Since the S P N LG dataset provides many simpler tables than W IKI dataset, Table2seq model can learn to generate well even if there are no adequate training samples provided.
VTM is still able to produce sentences with the commensurate quality as Table2seq-beam and more diversity.
Moreover, the automatic evaluation results of VTM-noraw- L MI - L pt empirically show that preserving-template loss may be a hinder if we only add it during the training, as illustrated in Section 3.3.
Experiment on quality and diversity trade-off. The quality and diversity trade-off is further analyzed to illustrate the superiority of VTM. In order to evaluate the quality and diversity under different sampling methods, we conduct experiment on sampling from the softmax with different temperatures. Sampling from the softmax with temperature is commonly applied to shape the distribution (Ficler & Goldberg, 2017; Holtzman et al., 2019).
Given the logits u 1: | V | and temperature τ , we sample from the distribution:
[Equation]
When τ → 0 , it approaches greedy decoding.
When τ = 1 . 0 , it is the same as forward sampling.
In the experiment, we gradually adjust temperature from 0 to 1, taking τ =
[Table]
[Table]
cricketer
[Table]
league
[Table]
king
[Table]
[Table]
[Table]
BLEU and self-BLEU
under different temperatures are evaluated for both Table2seq and VTM.
The self-BLEU in different temperatures and BLEU and self-BLEU curves are plotted in Figure 3.
It empirically demonstrates the trade-off between the generation quality and diversity.
By sampling from different temperatures, we can plot the portfolios of (Self-BLEU,BLEU) pairs of Table2seq and VTM.
The closer the curve is to the upper left, the better the performance of the model.
VTM generally gets lower self-BLEU with more diverse outputs under the comparable level of BLEU score.
Human evaluation
In addition to the quantitative experiments, human evaluation is conducted as well.
We randomly select 120 generated samples (each has ﬁve sentences) and ask three annotators to rate them on a 1-5 Likert scale in terms of the following features:
• Accuracy : whether the generated sentences are consistent with the content in
the
table.
• Coherence : whether the generated sentences are coherent.
• Diversity : whether the sentences have as many patterns/structures as possible.
Based on the qualitative results in Table 7, VTM generates the best sentences with the highest accuracy and coherence.
Besides, VTM is able to obtain the comparable diversity with Table2seq-
[Table] [Figure] [Table] [Figure]
[Table] sample and Temp-KN. Compared with the model without using raw data (VTM-no raw), there is a signiﬁcant improvement in diversity, which indicates that raw data essentially enriches the latent template space. Although obtaining the highest scores in diversity for Table2seq-sample and TempKN, their generation qualities are much inferior to the VTM, and comparable generation quality is the prerequisite when comparing the diversity.
Experiment on the diversity under different proportions of raw.
In order to show how much raw data may contribute to the VTM model, we train the model under different proportions of raw data to pairwise data in training.
Speciﬁcally, we control the ratio of raw sentences to the table-text pairs under 0.5:1, 1:1, 2:1, 3:1, 5:1, 7:1 and 10:1.
As shown in Figure 4, the self-BLEU rapidly decreases even adding a small number of raw data, and continuously decreases until the ratio equals 5:1.
The improvement is marginal after adding more than 5 times of raw data.
Case study .
According to Table 8 (in Appendix E), despite template-like structures vary much in a forward sampling model, the information in sentences may be wrong.
For example, Sentencesays that the restaurant is a Japanese place.
Notably, VTM produces correct texts with more diversity of templates. VTM is able to generate different number of sentences and conjunctions.
For example, “[ name ] is a [ food ] place in [ area ] with a price range of [ priceRange ].
It is a [ eatType ].”
(Sentence 1, two sentences, “with” aggregation), “[ name ] is a [ eatType ] with a price range of [ priceRange ].
It is in [ area ].
It is a [ food ] place.”
(Sentence 2, three sentences, “with” aggregation), “[ name ] is a [ food ] restaurant in [ area ] and it is a [ food ].”
(Sentence 4, one sentence, “and” aggregation).
R ELATED W ORK
Data-to-text Generation.
Data-to-text generation aims to produce summary for the factual structured data, such as numerical table.
Neural language models have made distinguished progress by generating sentences from the table in an end-to-end style.
Jain et al.
(2018) proposed a mixed hierarchical attention model to generate weather report from the standard table.
Gong et al.
(2019) proposed a hierarchical table-encoder and a decoder with dual attention.
Although encoder-decoder models can generate ﬂuent sentences, they are criticized for deﬁciency in sentence diversity.
Other works focused on controllable and interpretable generation by introducing templates as latent variables.
Wiseman et al.
(2018) designed a Semi-HMM decoder to learn discrete templates representation, and Dou et al.
(2018) created a platform, Data2TextStudio, equipped with a Semi-HMMs model, to extract template and generate from table input in an interactive way.
Semi-supervised Learning From Raw Data.
It is easier to acquire raw text than to get structured data, and most neural generators cannot make the best use of raw text, universally.
Ma et al.
(2019) proposed that encoder-decoder framework may fail when not enough parallel corpus is provided.
In the area of machine translation, back-translation have been proved to be an effective method to utilize monolingual data (Sennrich et al., 2016; Burlot & Yvon, 2018).
Latent Variable Generative Model.
Deep generative models, especially variational autoencoders (VAE) (Kingma & Welling, 2013) have shown a promising performance in generation.
Bowman et al.
(2016) showed that a RNN-based VAE model can produce diverse and well-formed sentences by sampling from the prior of continuous latent variable.
Recent works explored methods to learn disentangled latent variables (Hu et al., 2017a;
Zhou & Neubig, 2017; Bao et al., 2019).
For instance, Bao et al.
(2019) devised multi-task losses adversarial losses to disentangle the latent space into syntactic space and semantic space.
Motivated by the idea of back-translation and variational autoencoders, VTM model proposed in this work can not only fully utilize the non-parallel text corpus, but also learn a disentangled representation for template and content.
C ONCLUSION
In this paper, we propose Variational Template Machine (VTM) based on a semi-supervised learning approach in the VAE framework.
Our method not only builds independent latent spaces for template and content to contribute in diverse generation, but also exploits raw texts without tables to further expand the template diversity.
Experimental results on two datasets show that VTM outperforms the model without using raw data in terms of both generation quality and diversity, and it can achieve a comparable quality in generation with Table2seq, as well as promote the diversity by a large margin.
A E XPLANATION FOR P RESERVING -C ONTENT LOSS
The ﬁrst term of −L pc ( x, y ) is equivalent to:
[Equation]
When we minimize it, we jointly minimize the distance between mean of approximated posterior distribution, and the trace of the co-variance matrix.
B P ROOF FOR ANTI - INFORMATION PROPERTY OF ELBO
Consider the KL divergence over the whole dataset (or a mini-batch of data), we have
[Equation]
where q ( z ) =
E x ∼D ( q ( z | x )) and I ( z, x )
=
H ( z ) − H ( z | x ) .
Since KL divergence can be viewed as a regularization term in ELBO loss, When ELBO is maximized, the KL term is minimized, and mutual information between x and latent z , I ( z, x ) is minimized.
This implies that z and x eventually become more independent.
C P ROOF FOR THE PRESERVING - TEMPLATE LOSS WHEN POSTERIOR COLLAPSE HAPPENS
When posterior collapse happens, D KL ( q ( z | y )
|| p ( z ))
≈ 0 ,
[Equation]
During the back-propagation, || (cid:53)
[Equation]
| =thus, φ z is not updated.
D I MPLEMENTATION D ETAILS
For the model trained on W IKI dataset, the the dimension of latent template variable is set as 100, and the dimension of latent content variable is set as 200.
The dimension of the hidden for table is 300.
During the tuning, we ﬁnd that there is a trade-off between the generation quality and diversity.
For the hyperparameters of total loss L tot , we set λ MI = 0 .
5 , λ pt = 1 .
and λ pc = 0 .
For the model trained on S P N LG dataset, the dimension of latent template variable is set as
[Table]
and the dimension of latent content variable is set as 100.
The dimension of the hidden for table is also 300.
For the hyperparameters of total loss L tot , we set λ MI = λ pt = λ pc = 1 . 0 .
E C ASE STUDY ON S P N LG EXPERIMENT
[Table]
1: nameVariable is a pub with a price range of 20-25.
It is a French place in riverside.
2: nameVariable is a pub with a price range of 20-25.
it is a pub.
It is in riverside.
3: nameVariable is a French place in riverside with a price range of 20-25.
It is a pub.
4: nameVariable is a French place in riverside with a price range of 20-25.
It is a pub.
[Table]
: nameVariable is a French place in riverside with a price range of 20-
[Table]
It is a pub.
[Table]
[Table] nameVariable is a French place in riverside with a price range of 20-25.
It is a pub.
2: nameVariable is a pub with a price range of 20-25.
It is in riverside.
It is a French place.
3: nameVariable is a French pub in riverside with a price range of 20-25, and it is a pub.
4: nameVariable is a French restaurant in riverside and it is a pub.
5: nameVariable is a French place in riverside with a price range of 20-25.
It is a pub.