Skip to main content
QUICK REVIEW

[Paper Review] End-to-end Adversarial Learning for Generative Conversational Agents

Oswaldo Ludwig|arXiv (Cornell University)|Nov 28, 2017
Topic ModelingComputer Science23 references9 citations
TL;DR

This paper proposes an end-to-end adversarial training method for generative conversational agents (GCA) that uses a token-level discriminator to distinguish between human- and machine-generated utterance tokens in context. By enabling backpropagation through the discriminator, the method improves response quality and diversity, achieving 70.11% human preference for adversarially trained responses versus 29.88% for teacher forcing, with a Jaccard score of 0.58 between human and adversarial rankings.

ABSTRACT

This paper presents a new adversarial learning method for generative conversational agents (GCA) besides a new model of GCA. Similar to previous works on adversarial learning for dialogue generation, our method assumes the GCA as a generator that aims at fooling a discriminator that labels dialogues as human-generated or machine-generated; however, in our approach, the discriminator performs token-level classification, i.e. it indicates whether the current token was generated by humans or machines. To do so, the discriminator also receives the context utterances (the dialogue history) and the incomplete answer up to the current token as input. This new approach makes possible the end-to-end training by backpropagation. A self-conversation process enables to produce a set of generated data with more diversity for the adversarial training. This approach improves the performance on questions not related to the training data. Experimental results with human and adversarial evaluations show that the adversarial method yields significant performance gains over the usual teacher forcing training.

Motivation & Objective

  • To address the issue of generic, low-diversity responses in generative conversational agents trained via teacher forcing.
  • To improve response quality and diversity by enabling end-to-end backpropagation through a discriminator that classifies individual tokens as human- or machine-generated.
  • To develop a trained discriminator that can rank and select the best response among multiple models, improving performance beyond individual training.
  • To explore context retention and subject shift detection by dynamically adjusting the number of dialogue history turns used in encoding.

Proposed method

  • The model uses a sequence-to-sequence architecture with an encoder that processes dialogue history into a thought vector, updated at each decoding step to maintain context.
  • A discriminator performs token-level classification, determining whether each generated token is likely from a human or machine, conditioned on the dialogue history and partial response.
  • The discriminator is trained via adversarial loss, enabling end-to-end backpropagation through both generator and discriminator using standard backpropagation, not reinforcement learning.
  • A self-conversation process generates diverse training data to improve generalization on out-of-domain questions.
  • The discriminator’s output at each token is used as a score (via geometric mean of outputs) to rank candidate responses, improving selection accuracy.
  • The method uses a hybrid loss combining standard cross-entropy and a geometric mean of discriminator scores to balance fluency and human-likeness.

Experimental results

Research questions

  • RQ1Can a token-level discriminator enable end-to-end adversarial training in generative conversational agents through backpropagation?
  • RQ2Does adversarial training with a context-aware discriminator improve response quality and diversity compared to teacher forcing?
  • RQ3Can the trained discriminator effectively rank and select the best response among multiple models?
  • RQ4How does the number of dialogue history turns affect context retention and subject shift handling in the model?

Key findings

  • The adversarially trained model achieved 70.11% human preference in direct evaluation, significantly outperforming teacher forcing, which received only 29.88% of votes.
  • Using the discriminator’s geometric mean score (Equation 10) to rank responses yielded a Jaccard index of 0.58 with human judgments, indicating strong alignment between human preference and adversarial scoring.
  • The adversarial model received 570 human votes (69.34% of total) compared to 252 votes (30.66%) for the teacher-forced model, demonstrating superior perceived quality.
  • The discriminator trained via adversarial learning can be reused to select the best response among multiple models, achieving 61.96% of votes when used as a selection criterion.
  • With $ N_u = 1 $, context retention fails; with $ N_u > 2 $, the model struggles to shift topics, indicating a need for dynamic context windowing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.