summaries: This paper proposes an extension to hredGAN, which is an adversarial framework for multi-turn dialogue model, to simultaneously learns a set of attribute embeddings that represents the persona of each speaker and generate persona-based responses. The generator of the proposed system phredGAN is conditioned on both the history utterances and the speakers’ persona by concatenating the utterance encoding with attribute embeddings. For discriminator, the authors explore two versions: 1) phredGAN_a takes attributes as inputs; 2) phredGAN_d adds a dual discriminator that predicts the attribute(s) for each utterance.  This paper uses the idea from 'A Persona-Based Neural Conversation Model' by Li et al and incrementally applies it to the 'Multi-turn Dialogue Response Generation in an Adversarial Learning Framework' work-in-progress by Olabiyi et al. The paper by Olabiyi uses the idea of adversarial training to the HRED work by Xing et al (Hierarchical Recurrent Attention Network for Response Generation). The paper shows very promising results for controlling the response generation based on input attributes with adversarial training. Compared to the persona based model, this work seems to outperform that model significantly as reported in Table 1 (in terms of Perplexity/Bleu). It would have been great to see the quantitative comparison in terms of other metrics (if the authors could try to reproduce their results). There are other interesting ways to incorporate attribute information into the dialogue model such as reported in the work of Lee et al (SCALABLE SENTIMENT FOR SEQUENCE-TO-SEQUENCE CHATBOT RESPONSE WITH PERFORMANCE ANALYSIS) - since this paper is primarily about personalization of responses - a comparison to some of the methods used in Lee's work would have been very relevant and made the paper much more convincing in terms of core contributions. The model and architecture is pretty convincing but the paper lacks more in-depth analysis, comparison and evaluation of the model.
abstractText: In this paper, we extend the persona-based sequence-to-sequence (Seq2Seq) neural network conversation model to a multi-turn dialogue scenario by modifying the state-of-the-art hredGAN architecture to simultaneously capture utterance attributes such as speaker identity, dialogue topic, speaker sentiments and so on. The proposed system, phredGAN has a persona-based HRED generator (PHRED) and a conditional discriminator. We also explore two approaches to accomplish the conditional discriminator: (1) phredGANa, a system that passes the attribute representation as an additional input into a traditional adversarial discriminator, and (2) phredGANd, a dual discriminator system which in addition to the adversarial discriminator, collaboratively predicts the attribute(s) that generated the input utterance. To demonstrate the superior performance of phredGAN over the persona SeqSeq model, we experiment with two conversational datasets, the Ubuntu Dialogue Corpus (UDC) and TV series transcripts from the Big Bang Theory and Friends. Performance comparison is made with respect to a variety of quantitative measures as well as crowd-sourced human evaluation. We also explore the trade-offs from using either variant of phredGAN on datasets with many but weak attribute modalities (such as with Big Bang Theory and Friends) and ones with few but strong attribute modalities (customer-agent interactions in Ubuntu dataset).
references.authors: D. Bahdanau K. Cho Y. Bengio
references.title: Neural machine translation by jointly learning to align and translate
references.venue: In Proceedings of International Conference of Learning Representation
references.authors: R.E. Banchs
references.title: Movie-dic: A movie dialogue corpus for research and development
references.venue: In Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics,
references.authors: X. Glorot Y. Bengio
references.title: Understanding the difficulty of training deep feedforward neural networks
references.venue: In International conference on artificial intelligence and statistics,
references.authors: S. Jean K. Cho R. Memisevic Y. Bengio
references.title: On using very large target vocabulary for neural machine translation
references.venue: In arXiv preprint arXiv:1412.2007,
references.authors: J. Li M. Galley C. Brockett J. Gao B. Dolan
references.title: A diversity-promoting objective function for neural conversation models
references.venue: In Proceedings of NAACL-HLT,
references.authors: J. Li M. Galley C. Brockett G. Spithourakis J. Gao B. Dolan
references.title: A persona-based neural conversation model
references.venue: In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics,
references.authors: C.Y. Lin
references.title: Rouge: a package for automatic evaluation of summaries
references.venue: In Proceedings of the Workshop on Text Summarization Branches Out,
references.authors: H. Nguyen D. Morales T. Chin
references.title: A neural chatbot with personality
references.venue: In Stanford NLP Course website:
references.authors: O. Olabiyi A. Salimov A. Khazane E. Mueller
references.title: Multi-turn dialogue response generation in an adversarial learning framework
references.venue: In arXiv preprint arXiv:1805.11752,
references.authors: K. Papineni S. Roukos T. Ward W. Zhu
references.title: Bleu: A method for automatic evalution of machine translation
references.venue: In Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics,
references.authors: I. Serban A. Sordoni Y. Bengio A. Courville J. Pineau
references.title: Building end-to-end dialogue systems using generative hierarchical neural network models
references.venue: In Proceedings of The Thirtieth AAAI Conference on Artificial Intelligence (AAAI 2016),
references.authors: I.V. Serban T. Klinger G. Tesauro K. Talamadupula B. Zhou Y. Bengio A. Courville
references.title: Multiresolution recurrent neural networks: An application to dialogue response generation
references.venue: In Proceedings of The Thirty-first AAAI Conference on Artificial Intelligence (AAAI 2017),
references.authors: I.V. Serban A. Sordoni R. Lowe L. Charlin J. Pineau A. Courville Y. Bengio
references.title: A hierarchical latent variable encoder-decoder model for generating dialogue
references.venue: In Proceedings of The Thirty-first AAAI Conference on Artificial Intelligence (AAAI 2017),
references.authors: I. Sutskever O. Vinyals Q. Le
references.title: Sequence to sequence learning with neural networks
references.venue: In Proceedings of Advances in Neural Information Processing Systems (NIPS),
references.authors: O. Vinyals Q. Le
references.title: A neural conversational model
references.venue: In Proceedings of ICML Deep Learning Workshop,
references.authors: C. Xing W. Wu Y. Wu M. Zhou Y. Huang W. Ma
references.title: Hierarchical recurrent attention network for response generation
references.venue: In arXiv preprint arXiv:1701.07149,
references.authors: S. Zhang E. Dinan J. Urbanek A. Szlam D. Kiela J. Weston
references.title: Personalizing dialogue agents: I have a dog, do you have pets too
references.venue: In arXiv preprint arXiv:1801.07243v3,
references.authors: Olabiyi
references.title: toN − 1 do Update the context state. hi = cRNN(eRNN(E(Xi)),hi−1, Ci) Compute the generator output similar to Eq
references.venue: PθG
sections.heading: 1 INTRODUCTION
sections.text: Recent advances in machine learning especially with deep neural networks has lead to tremendous progress in natural language processing and dialogue modeling research (Sutskever et al., 2014; Vinyals & Le, 2015; Serban et al., 2016). Nevertheless, developing a good conversation model capable of fluent interaction between a human and a machine is still in its infancy stage. Most existing work relies on limited dialogue history to produce response with the assumption that the model parameters will capture all the modalities within a dataset. However, this is not true as dialogue corpora tend to be strongly multi-modal and practical neural network models find it difficult to disambiguate characteristics such as speaker personality, location and sub-topic in the data.
  Most work in this domain has primarily focused on optimizing dialogue consistency. For example, Serban et al. (Serban et al., 2016; 2017b;a) and Xing et al. (2017) introduced a Hierarchical Recurrent Encoder-Decoder (HRED) network architecture that combines a series of recurrent neural networks to capture long-term context state within a dialogue. However, the HRED system suffers from lack of diversity and does not have any guarantee on the generator output since the output conditional probability is not calibrated. Olabiyi et al. (2018) tackles these problems by training a modified HRED generator alongside an adversarial discriminator in order to increase diversity and provide a strong and calibrated guarantee to the generator’s output. While the hredGAN system improves upon response quality, it does not capture speaker and other attributes modality within a dataset and fails to generate persona specific responses in datasets with multiple modalities.
  On the other hand, there has been some recent work on introducing persona into dialogue models. For example, Li et al. (2016b) integrates attribute embeddings into a single turn (Seq2Seq) generative dialogue model. In this work, Li et al. consider persona models one with Speaker-only representation and the other with Speaker and Addressee representations (Speaker-Addressee model), both of which capture certain speaker identity and interactions. Nguyen et al. (2018) continue along the
  same line of thought by considering a Seq2Seq dialogue model with Responder-only representation. In both of these cases, the attribute representation is learned during the system training. Zhang et al. (2018) proposed a slightly different approach. Here, the attributes are a set of sentences describing the profile of the speaker. In this case, the attributes representation is not learned. The system however learns how to attend to different parts of the attributes during training. Still, the above persona-based models have limited dialogue history (single turn); suffer from exposure bias worsening the trade-off between personalization and conversation quality and cannot generate multiple responses given a dialogue context. This is evident in the relatively short and generic responses produced by these systems, even though they generally capture the persona of the speaker.
  In order to overcome these limitations, we propose two variants of an adversarially trained persona conversational generative system, phredGAN , namely phredGANa and phredGANd. Both systems aim to maintain the response quality of hredGAN and still capture speaker and other attribute modalities within the conversation. In fact, both systems use the same generator architecture (PHRED generator), i.e., an hredGAN generator (Olabiyi et al., 2018) with additional utterance attribute representation at its encoder and decoder inputs as depicted in Figure 1. Conditioning on external attributes can be seen as another input modality as is the utterance into the underlying system. The attribute representation is an embedding that is learned together with the rest of model parameters similar to Li et al. (2016b). Injecting attributes into a multi-turn dialogue system allows the model to generate responses conditioned on particular attribute(s) across conversation turns. Since the attributes are discrete, it also allows for exploring different what-if scenarios of model responses. The difference between the two systems is in the discriminator architecture based on how the attribute is treated.
  We train and sample both variants of phredGAN similar to the procedure for hredGAN (Olabiyi et al., 2018). To demonstrate model capability, we train on a customer service related data such as the Ubuntu Dialogue Corpus (UDC) that is strongly bimodal between question poser and answerer, and transcripts from a multi-modal TV series The Big Bang Theory and Friends with quantitative and qualitative analysis. We examine the trade-offs between using either system in bi-modal or multi-modal datasets, and demonstrate system superiority over state-of-the-art persona conversational models in terms of dialogue response quality and quantitatively with perplexity, BLEU, ROUGE and distinct n-gram scores.
sections.heading: 2 MODEL ARCHITECTURE
sections.text: In this section, we briefly introduce the state-of-the-art hredGAN model and subsequently show how we derive the two persona versions by combining it with the distributed representation of the dialogue speaker and utterance attributes, or with an attribute discrimination layer at the end of the model pipeline.
  2.1 hredGAN : ADVERSARIAL LEARNING FRAMEWORK
  Problem Formulation: The hredGAN (Olabiyi et al., 2018) formulates multi-turn dialogue response generation as: given a dialogue history of sequence of utterances, Xi = ( X1, X2, · · · , Xi ) ,
  where each utterance Xi = ( X1i , X 2 i , · · · , X Mi i ) contains a variable-length sequence of Mi word tokens such that Xij ∈ V for vocabulary V , the dialogue model produces an output Yi = ( Y 1i , Y 2 i , · · · , Y Ti i ) , where Ti is the number of generated tokens. The framework uses conditional GAN structure to learn a mapping from an observed dialogue history to a sequence of output tokens. The generator, G, is trained to produce sequences that cannot be distinguished from the ground truth by an adversarially trained discriminator, D akin to a two-player min-max optimization problem. The generator is also trained to minimize the cross-entropy loss LMLE(G) between the ground truthXi+1, and the generator output Yi. The following objective summarizes both goals:
  G∗, D∗ = argmin G max D
  ( λGLcGAN (G,D) + λMLMLE(G) ) . (1)
  where λG and λM are training hyperparamters andLcGAN (G,D) andLMLE(G) are defined in Eqs. (5) and (7) of Olabiyi et al. (2018) respectively. Please note that the generator G and discriminator D share the same encoder and embedding representation of the word tokens.
  2.2 phredGAN : PERSONA ADVERSARIAL LEARNING FRAMEWORK
  The proposed architecture of phredGAN is very similar to that of hredGAN (Olabiyi et al., 2018). The only difference is that the dialogue history is now Xi = ( (X1, C1), (X2, C2), · · · , (Xi, Ci) ) where Ci is additional input that represents the speaker and/or utterance attributes. Please note that Ci can either be a sequence of tokens or single token such that Cij ∈ V c for vocabulary V c. Also, at the ith turn, Ci and Ci+1 are the source/input attribute and target/output attribute to the generator respectively. The embedding for attribute tokens is also learned similar to that of word tokens.
  Both versions of phredGAN shares the same generator architecture (PHRED) but different discriminators. Below is the highlight of how they are derived from the hredGAN architecture.
  Encoder: The context RNN, cRNN takes the source attribute Ci as an additional input by concatenating its representation with the output of eRNN as in Figure 1. If the attribute Ci is a sequence of tokens, then an attention (using the output of eRNN ) over the source attribute representations is concatenated with the output of eRNN . This output is used by the generator to create a context state for a turn i.
  Generator: The generator decoder RNN, dRNN takes the target attribute Ci+1 as an additional input as in Fig. 1. If the attribute Ci+1 is a sequence of tokens, then an attention (using the output of dRNN ) over the attribute representations is concatenated with the rest of the decoder inputs. This forces the generator to draw a connection between the generated responses and the utterance attributes such as speaker identity.
  Noise Injection: As in Olabiyi et al. (2018), we also explore different noise injection methods.
  Objective: For phredGAN , the optimization objective in eq. (1) can be updated as:
  G∗, D∗adv, D ∗ att = argmin
  G ( max Dadv λGadvLadvcGAN (G,Dadv) (2)
  +min Datt
  λGattLattc (G,Datt) + λMLMLE(G) ) .
  where LadvcGAN (G,Dadv) and Lattc (G,Datt) are the traditional adversarial and attribute prediction loss respectively and dependent on the architectural variation. It is worth to point out that while the former is adversarial, the later is collaborative in nature. The MLE loss is common and can be expressed as:
  LMLE(G) = EXi+1 [−log PG ( Xi+1|Xi, Ci+1, Zi ) ]. (3)
  where Zi the noise sample and depends on the choice of either utterance-level or word-level noise input into the generator (Olabiyi et al., 2018).
  2.3 phredGANa: ATTRIBUTES AS A DISCRIMINATOR INPUT
  phredGANa shares the same discriminator architecture as the hredGAN but with additional input, Ci+1. Since it does not use attribute prediction, λGatt = 0.
  The adversarial loss, LadvcGAN (G,D) can then be expressed as:
  LadvcGAN (G,Dadv) = EXi,Ci+1,Xi+1 [logDadv(Xi, Ci+1, Xi+1)] (4) + EXi,Ci+1,Zi [1− logDadv(Xi, Ci+1, G(Xi, Ci+1, Zi))]
  The addition of speaker or utterance attributes allows the dialogue model to exhibit personality traits given consistent responses across style, gender, location, and so on.
  2.4 phredGANd: ATTRIBUTES AS A DISCRIMINATOR TARGET
  phredGANd does not take the attribute representation at its input but rather use the attributes as the target of an additional discriminator Datt. The adversarial and the attribute prediction losses can be respectively expressed as:
  LadvcGAN (G,Dadv) = EXi,Xi+1 [logDadv(Xi, Xi+1)] (5) + EXi,Zi [1− logDadv(Xi, G(Xi, Ci+1, Zi))]
  Lattc (G,Datt) = ECi+1 [− logDatt(Ci+1|Xi, Xi+1)] (6) + ECi+1 [− logDatt(Ci+1|Xi, G(Xi, Ci+1, Zi))]
  Attribute Discriminator: In addition to the existing word-level adversarial discriminator Dadv from hredGAN , we add an attribute discriminator, Datt, that discriminates on an utterance level to capture attribute modalities since attributes are assigned at utterance level. The discriminator uses a unidirectional RNN (DattRNN ) that maps the input utterance to the particular attribute(s) that generated it. The attributes can be seen as hidden states that inform or shape the generator outputs. The attribute discriminator can be expressed as:
  Datt(Ci+1|Xi, χ) = DattRNN (hi, E(χ)) (7) where E(.) is the word embedding lookup (Olabiyi et al., 2018), χ = Xi+1 for groundtruth and χ = Yi for the generator output.
sections.heading: 3 MODEL TRAINING AND INFERENCE
sections.heading: 3.1 MODEL TRAINING
sections.text: We train both the generator and the discriminator (with shared encoder) of both variants of phredGAN using the training procedure in Algorithm 1 (Olabiyi et al., 2018). For both variants, λGadv = λM = 1, and for phredGANa and phredGANd, λGatt = 0 and λGatt = 1 respectively. Since the encoder, word embedding and attribute embedding are shared, we are able to train the system end-to-end with back-propagation.
  Encoder: The encoder RNN, eRNN , is bidirectional while cRRN is unidirectional. All RNN units are 3-layer GRU cell with hidden state size of 512. We use word vocabulary size, V = 50, 000 with word embedding size of 512. The number of attributes, V c is dataset dependent but we use an attribute embedding size of 512. In this study, we only use one attribute per utterance so that is no need to use attention to combine the attribute embeddings.
  Generator: The generator decoder RNN, dRNN is also a 3-layer GRU cell with hidden state size of 512. The aRNN outputs are connected to the dRNN input using an additive attention mechanism (Bahdanau et al., 2015).
  Adversarial Discriminator: The word-level discriminator RNN, DRNN is a bidirectional RNN, each 3-layer GRU cell with hidden state size of 512. The output of both the forward and the backward cells for each word are concatenated and passed to a fully-connected layer with binary output. The output is the probability that the word is from the ground truth given the past and future words of the sequence, and in the case of phredGANa, the responding speaker’s embedding.
  Attribute Discriminator: The attribute discriminator RNN,DattRNN is a unidirectional RNN with a 3-layer GRU cell, each of hidden state size 512. A softmax layer is then applied to project the final hidden state to a prespecified number of attributes, Vc. The output is the probability distribution over the attributes.
  Others: All parameters are initialized with Xavier uniform random initialization (Glorot & Bengio, 2010). Due to the large word vocabulary size, we use sampled softmax loss (Jean et al., 2015) for MLE loss to expedite the training process. However, we use full softmax for model evaluation. For both systems, parameters updates are conditioned on the word-level discriminator accuracy performance as in Olabiyi et al. (2018) with accDthadv = 0.99 and accGth = 0.75. The model is trained end-to-end using the stochastic gradient descent algorithm. Finally, the model is implemented, trained, and evaluated using the TensorFlow deep learning framework.
sections.heading: 3.2 MODEL INFERENCE
sections.text: We use an inference strategy similar to the approach in Olabiyi et al. (2018).
  For the modified noise sample, we perform a linear search for αwith sample size L = 1 based on the average word-level discriminator loss, −logDadv(G(.)) (Olabiyi et al., 2018) using trained models run in autoregressive mode to reflect performance in actual deployment. The optimum α value is then used for all inferences and evaluations. During inference, we condition the dialogue response generation on the encoder outputs, noise samples, word embedding and the attribute embedding of the intended responder. With multiple noise samples, L = 64, we rank the generator outputs by the discriminator which is also conditioned on encoder outputs, and the intended responder’s attribute embedding. The final response is the response ranked highest by the discriminator. For phredGANd, we average the confidences produced by Dadv and Datt.
sections.heading: 4 EXPERIMENTS AND RESULTS
sections.text: In this section, we explore the performance of PHRED, phredGANa and phredGANd on two conversational datasets and compare its performance to non-adversarial persona Seq2seq models Li et al. (2016b) as well as to the adversarial hredGAN (Olabiyi et al., 2018) with no explicit persona.
sections.heading: 4.1 DATASETS
sections.text: TV Series Transcripts dataset (Serban et al., 2016). We train all models on transcripts from the two popular TV drama series, Big Bang Theory and Friends. Following a similar preprocessing setup in Li et al. (2016b), we collect utterances from the top 12 speakers from both series to construct a corpus of 5,008 lines of multi-turn dialogue. We split the corpus into training, development, and test set with a 94%, 3%, and 3% proportions, respectively, and pair each set with a corresponding attribute file that maps speaker IDs to utterances in the combined dataset.
  Due to the small size of the combined transcripts dataset, we first train our model on the larger Movie Triplets Corpus (MTC) by Banchs (2012) which consists of 240,000 dialogue triples. We pre-train
  our model on this dataset to initialize our model parameters to avoid overfitting on a relatively small persona TV series dataset. After pre-training on MTC, we reinitialize the attribute embeddings in the generator from a uniform distribution following a Xavier initialization (Glorot & Bengio, 2010) for training on the combined person TV series dataset.
  Ubuntu Dialogue Corpus (UDC) dataset (Serban et al., 2017b). We train our model on 1.85 million conversations of multi-turn dialogue from the Ubuntu community hub, with an average of 5 utterances per conversation. We assign two types of speaker IDs to utterances in this dataset: questioner and helper. We follow a similar training, development, and test split as the UDC dataset in Olabiyi et al. (2018), with 90%, 5%, and 5% proportions, respectively, and pair each set with a corresponding attribute file that maps speaker IDs to utterances in the combined dataset
  While the overwhelming majority of utterances in UDC follow two speaker types, the dataset does include utterances that do not classify under either a questioner or helper speaker type. In order to remain consistent, we assume that there are only two speaker types within this dataset and that the first utterance of every dialogue is from a questioner. This simplifying assumption does introduce a degree of noise into each persona model’s ability to construct attribute embeddings. However, our experiment results demonstrate that both phredGANa and phredGANd is still able to differentiate between the larger two speaker types in the dataset.
sections.heading: 4.2 EVALUATION METRICS
sections.text: We use similar evaluation metrics as in Olabiyi et al. (2018) including perplexity, BLEU (Papineni et al., 2002), ROUGE (Lin, 2014), distinct n-gram (Li et al., 2016a) and normalized average sequence length (NASL) scores. For human evaluation, we follow a similar setup as Li et al. (2016a), employing crowd-sourced judges to evaluate a random selection of 200 samples. We present both the multi-turn context and the generated responses from the models to 3 judges and asked them to rank the general response quality in terms of relevance, informativeness, and persona. For N models, the model with the lowest quality is assigned a score 0 and the highest is assigned a score N-1. Ties are not allowed. The scores are normalized between 0 and 1 and averaged over the total number of samples and judges.
sections.heading: 4.3 BASELINE
sections.text: We compare the non-adversarial persona HRED model, PHRED with the adversarially trained ones, i.e. hredGAN , phredGANa and phredGANd, to demonstrate the impact of adversarial training. Please note that no noise was added to the PHRED model.
  We also compare the persona models to Li et al.’s work (Li et al., 2016b) which uses a Seq2Seq framework in conjunction with learnable persona embeddings. Their work explores two persona models in order to incorporate vector representations of speaker interaction and speaker attributes into the decoder of their Seq2Seq model i.e., Speaker model (SM) and Speaker-Addressee model (SAM). All reported results are based on our implementation of their models in Li et al. (2016b).
sections.heading: 4.4 HYPERPARAMETER SEARCH
sections.text: For both phredGANa and phredGANd, we determine the noise injection method and the optimum noise variance α that allows for the best performance on both datasets. We find that phredGANd performs optimally with word-level noise injection on both Ubuntu and TV transcripts, while phredGANa performs the best with utterance-level noise injection on TV transcripts and word-level injection on UDC. For all phredGAN models, we perform a linear search for optimal noise variance values between 1 and 30 at an increment of 1, with a sample size of L = 1. For phredGANd, we obtain an optimal α of 4 and 6 for the UDC and TV Transcripts respectively. For phredGANa,
  we obtain an optimal value of 2 and 5 for the combined TV series dataset and the much larger UDC respectively.
sections.heading: 4.5 RESULTS
sections.text: We will now present our assessment of performance comparisons of phredGAN against the baselines, PHRED, hredGAN and Li et al.’s persona Seq2Seq models.
sections.heading: 4.6 QUANTITATIVE ANALYSIS
sections.text: We first report the performance on TV series transcripts in table 1. The performance of both SM and SAM models in Li et al. (2016b) compared to the hredGAN shows a strong baseline and indicates that the effect of persona is more important than that of multi-turn and adversarial training for datasets with weak multiple persona. However, once the persona information is added to the hredGAN , the resulting phredGAN shows a significant improvement over the SM and SAM baselines with phredGANa performing best. We also observe that PHRED performs worse than the baseline S(A)M models on a number of metrics but we attribute this to the effect of persona on a limited dataset that results into less informative responses. This behavior was also reported in Li et al. (2016b) where the persona models produce less informative responses than the non-personal Seq2seq models but it seems to be even worse in multi-turn context. However, unlike the SpeakerAddressee and PHRED models that suffer from lower response quality due to persona conditioning, we note that conditioning the generator and discriminator of phredGAN on speaker embeddings does not compromise the systems ability to produce diverse responses. This problem might have been alleviated by the adversarial training that encourages the generator model to produce longer, more informative, and diverse responses that have high persona relevance even with a limited dataset.
  We also compare the models performances on the UDC. The evaluation result is summarized in table 2. While the deleterious effect of persona conditioning on response diversity is still worse with PHRED than with S(A)M models, we note that hredGAN performs much better than the S(A)M models. This is because, the external persona only provides just a little more information than is already available from the UDC utterances. We also note an improvement of phredGAN variants over the hredGAN in a variety of evaluation metrics including perplexity, ROUGE with the exception of distinct n-grams. This is expected as phredGAN should be generally less diverse than hredGAN since the number of distinct data distribution modes is more for phredGAN dataset due to the persona attributes. However, this leads to better response quality with persona, something not achievable with hredGAN . Also, the much better ROUGE(F1) score indicates that phredGAN is able to strike a better balance between diversity and precision while still capturing the characteristics of the speaker attribute modality in the UDC dataset. Within the phredGAN variants, phredGANd seems to perform better. This is not surprising as speaker classification is much easier on UDC than on TV series. The attribute discriminator, Datt is able to provide more informative feedback on UDC than on TV series where it is more difficult to accurately predict the speaker. Therefore, we recommend phredGANa for datasets with weak attribute distinction and phredGANd for strong attribute distinction.
sections.heading: 4.7 QUALITATIVE ANALYSIS
sections.text: In addition to the quantitative analysis above, we report the results of the human evaluation in the last column of tables 1 and 2 for the TV Series and UDC datasets respectively. The human evaluation scores largely agrees with the automatic evaluations on the TV Series with phredGANa clearly giving the best performance. However, on the UDC, both hredGAN and phredGANd performs similarly which indicates that there is a trade off between diversity and persona by each model. We believe this is due to the strong persona information that already exists in the UDC utterances.
  An additional qualitative assessment of these results are in Table 3 with responses from several characters in the TV series dataset and the two characters in UDC.
  We see that for TV drama series, phredGAN responses are comparatively more informative than that of the Speaker-Addressee model of Li et al. (2016b). For example, all the characters in the TV series respond the same to the dialogue context. Similar behavior is reported in Li et al. (2016b) where for the Speaker-Addressee model, nearly all the characters in the TV series respond with
  “Of course I love you.” to the dialogue context, “Do you love me?” despite the fact that some of the responders sometimes have unfriendly relationship with the addressee. Many of the novel situations explored by phredGAN are unachievable with the Speaker-Addressee model due to lack of informative responses. For example, by conditioning as Sheldon from The Big Bang Theory and asking “Do you like me?”, our model responds with annoyance if conditioned as Penny (“No, you don’t understand. You’re an idiot”), brevity with Leonard (“Yes?”) and sarcasm with Raj (“Well , you know , we could be a little more than my friend’s friends.”) The wide range of responses indicate our model’s ability to construct distinct attribute embeddings for each character even from a limited dataset. The other interesting responses in table 3 indicate phredGAN ’s ability to infer not only the context of the conversation but important character information about the addressee.
  We also see similar results with our model’s output on UDC in table 4. We demonstrate that by conditioning as either a helper or questioner from the UDC dataset, phredGAN models are able to respond differently to input utterances as well as stay close to the context of the conversation.
sections.heading: 5 CONCLUSION AND FUTURE WORK
sections.text: In this paper, we improve upon state-of-the-art persona-based response generation models by exploring two persona conversational models: phredGANa which passes the attribute representation as an additional input into a traditional adversarial discriminator, and phredGANd a dual discriminator system which in addition to the adversarial discriminator from hredGAN , collaboratively predicts the attribute(s) that are intrinsic to the input utterance. Both systems demonstrate quantitative improvements upon state-of-the-art persona conversational systems such as the work from Li et al. (2016b) with respect to both quantitative automatic and qualitative human measures.
  Our analysis also demonstrates how both variants of phredGAN perform differently on datasets with weak and strong modality. One of our future direction is to take advantage of phredGANd’s ability to predict utterance attribute such as speaker identity from just the utterance. We believe its performance can be improved even with weak modality by further conditioning adversarial updates on both the attribute and adversarial discriminator accuracies. Overall, this paper demonstrates clear benefits from adversarial training of persona generative dialogue system and leaves the door open for more interesting work to be accomplished in this domain.
sections.heading: 6 RESULTS - DISCRIMINATOR
sections.text: After training both phredGAN models on the TV series and UDC datasets, we ran inference on some example dialogue contexts. The responses and their discriminator scores from phredGANs are listed in Tables 6, and 7. The tables shows that phredGAN (i) can handle multi-turn dialogue context with utterances and corresponding persona attributes; (ii) generates responses conditioned on a persona attribute; (iii) generates multiple responses per dialogue context and score their human likelihood by the discriminator; and (iv) in case of phredGANd, can predict the attribute such as speaker identity that might have produced the utterance. We observe that the discriminator score(s) is/are generally reasonable with longer, more informative and more persona-related responses receiving higher scores. It worth to note that this behavior, although similar to the behavior of a human judge is learned without supervision. More so, we observe that phredGAN responses retain contextual consistency sometimes referencing background information that is inherent in the conversation between two speakers. For example, in the second sample of the TV series in Table 6, phredGANa generator, conditioned on Leonard refers to Sheldon by name who is the second interlocutor. Also, in the third sample, phredGANa, conditioned on Raj refers to Penny when responding to Leonard who happens to be Penny’s boy friend. We see similar persona-based response generation for the UDC dataset with distinct communication style between the asker and the helper. For example, in Table 7, when the asker could not hear some music, phredGANd, conditioned on helper suggested the asker might not be using the right driver. For the purpose of completion, we also show some samples from PHRED generator on both UDC and TV series dataset in Table 5.
  Context 0 Sheldon NA NA NA Did I? Well, that cant be right. No ones ever done that before. Except me,because I just did it. Sheldon and his brain, yeah. Response 0 Leonard 0.7028 Rachel 0.3805 You ’ re really good . Response 1 Leonard 0.5998 Rachel 0.3805 You know , I can ’ t believe you can ’ to do that . Response 2 Leonard 0.4384 Rachel 0.3805 You ’ re right .
  Context 0 Leonard NA NA NA Shes gotten really hooked on Age of Conan, shes playing non-stop. Response 0 Raj 0.6707 Rachel 0.2867 You know , I , I just want to be friends with you . Response 1 Raj 0.6451 Rachel 0.2867 You ’ want on to do that ? Response 2 Raj 0.4138 Rachel 0.2867 You okay ?
  UDC Context 0 asker NA NA NA all i need some quick amarok help. i cant hear my music Context 1 helper NA NA NA is amarok muted? Context 2 asker NA NA NA no Response 0 helper 0.4489 helper 0.8582 ok , so you ’ re not using the right driver for the network card , you ’ re using the UNK ? Response 1 helper 0.2312 helper 0.8582 ok , so you ’ re not using the right driver , right ? Response 2 helper 0.1381 helper 0.8582 ok , so you are you using the UNK ?
  Context 0 asker NA NA NA anyone had problems with the kernel update from today? giving me a kernel panic Context 1 helper NA NA NA you can select previous kernels at the bootloader (grub) menu on booth. Response 0 asker 0.3431 asker 0.8126 ok , so i ’ ll have to reinstall the new kernel , i ’ ll try that . Response 1 asker 0.2518 asker 0.8126 ok , so i ’ just reinstall the ubuntu version ? Response 2 asker 0.1005 asker 0.8126 ok , thanks :)
  Context 0 asker NA NA NA how do I install Ubuntu? Response 0 helper 0.4306 helper 0.8540 ok , so you have to reinstall the kernel from the CD , and you can ’ t install the iso to the CD Response 1 helper 0.3783 helper 0.8540 ok , so you have to go to the ubuntu site and see if you have the same version ? Response 2 helper 0.1618 helper 0.8540 ok , so are you using the ubuntu version ? ?